Fixup nix_file locaiton

This commit is contained in:
Matthew Bauer 2017-04-26 01:51:16 -05:00
parent 80a769483f
commit 061c3317a7
2 changed files with 1 additions and 2 deletions

View File

@ -3,4 +3,3 @@ PREFIX ?= /usr
install: nix-bundle.sh default.nix
mkdir -p ${PREFIX}/share/nix-bundle/
install $^ ${PREFIX}/share/nix-bundle/
mkdir -p ${PREFIX}/bin

View File

@ -23,7 +23,7 @@ target="$1"
exec="$2"
filename=$(basename $exec)
nix_file=./default.nix
nix_file=`dirname $0`/default.nix
expr="with import <nixpkgs> {}; with import $nix_file {}; nix-bootstrap { target = $target; run = \"$exec\"; }"