From 622eb5f69971d60c43e7bbb00195f5c1b1b41762 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Domen=20Ko=C5=BEar?= Date: Thu, 14 Jan 2016 14:13:51 +0100 Subject: [PATCH] requireFile: use correct absolute path syntax --- pkgs/build-support/trivial-builders.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/build-support/trivial-builders.nix b/pkgs/build-support/trivial-builders.nix index 13ed5b3e9961..b7237a1f69c4 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;