requireFile: use correct absolute path syntax
commit622eb5f69971d60c43e7bbb00195f5c1b1b41762
authorDomen Kožar <domen@dev.si>
dateThu 14 Jan 2016, 14:13 (11 years ago)
parentd432b4d
pkgs/build-support/trivial-builders.nix+1−1
@@ -108,7 +108,7 @@ rec {
108108 using either
109109 nix-store --add-fixed ${hashAlgo} ${name_}
110110 or
111− nix-prefetch-url --type ${hashAlgo} file://path/to/${name_}
111+ nix-prefetch-url --type ${hashAlgo} file:///path/to/${name_}
112112 '';
113113 hashAlgo = if sha256 != null then "sha256" else "sha1";
114114 hash = if sha256 != null then sha256 else sha1;