mirror of
https://github.com/ilyakooo0/nix-bundle.git
synced 2024-09-11 06:55:53 +03:00
Fixup nix_file locaiton
This commit is contained in:
parent
80a769483f
commit
061c3317a7
1
Makefile
1
Makefile
@ -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
|
||||
|
@ -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\"; }"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user