Commit 842a0d94 authored by Yureka's avatar Yureka Committed by Raphael Megzari
Browse files

fetchYarnDeps: use fakeSha256 if no hash is given

parent 1565ab97
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -49,7 +49,7 @@ in {
      hash_ =
        if hash != "" then { outputHashAlgo = null; outputHash = hash; }
        else if sha256 != "" then { outputHashAlgo = "sha256"; outputHash = sha256; }
        else throw "fetchYarnDeps requires a hash";
        else { outputHashAlgo = "sha256"; outputHash = lib.fakeSha256; };
    in stdenv.mkDerivation {
      inherit name;