safefile: replace <nixpkgs> with path

This commit is contained in:
Orivej Desh 2017-12-07 22:02:52 +00:00
parent e91f5f9144
commit c3818426b8

View File

@ -1,4 +1,4 @@
{stdenv, fetchurl}:
{ stdenv, fetchurl, path }:
stdenv.mkDerivation rec {
name = "${pname}-${version}";
pname = "safefile";
@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
passthru = {
updateScript = ''
cd ${toString ./.}
${toString <nixpkgs/pkgs/build-support/upstream-updater/update-walker.sh>} default.nix
${toString path}/pkgs/build-support/upstream-updater/update-walker.sh default.nix
'';
};