diff --git a/pkgs/build-support/trivial-builders.nix b/pkgs/build-support/trivial-builders.nix index 13ed5b3e996..b7237a1f69c 100644 --- a/pkgs/build-support/trivial-builders.nix +++ b/pkgs/build-support/trivial-builders.nix @@ -108,7 +108,7 @@ rec { using either nix-store --add-fixed ${hashAlgo} ${name_} or - nix-prefetch-url --type ${hashAlgo} file://path/to/${name_} + nix-prefetch-url --type ${hashAlgo} file:///path/to/${name_} ''; hashAlgo = if sha256 != null then "sha256" else "sha1"; hash = if sha256 != null then sha256 else sha1;