Loading pkgs/build-support/fetchhg/default.nix +8 −10 Original line number Diff line number Diff line Loading @@ -30,9 +30,7 @@ lib.extendMkDerivation { outputHashAlgo = if finalAttrs.hash != null && finalAttrs.hash != "" then null else "sha256"; outputHashMode = "recursive"; outputHash = lib.throwIf (finalAttrs.hash != null && sha256 != null) "Only one of sha256 or hash can be set" ( outputHash = lib.throwIf (hash != null && sha256 != null) "Only one of sha256 or hash can be set" ( if finalAttrs.hash != null then finalAttrs.hash else if sha256 != null then Loading Loading
pkgs/build-support/fetchhg/default.nix +8 −10 Original line number Diff line number Diff line Loading @@ -30,9 +30,7 @@ lib.extendMkDerivation { outputHashAlgo = if finalAttrs.hash != null && finalAttrs.hash != "" then null else "sha256"; outputHashMode = "recursive"; outputHash = lib.throwIf (finalAttrs.hash != null && sha256 != null) "Only one of sha256 or hash can be set" ( outputHash = lib.throwIf (hash != null && sha256 != null) "Only one of sha256 or hash can be set" ( if finalAttrs.hash != null then finalAttrs.hash else if sha256 != null then Loading