replace hardcoded guess path with what i hope is the proper nixos path
This commit is contained in:
parent
63c3b7ce10
commit
944f0b01a4
@ -10,6 +10,7 @@ stdenv.mkDerivation rec {
|
||||
patchPhase = ''
|
||||
sed -i "s|PREFIX = /usr/local|PREFIX = $out|g" Makefile
|
||||
sed -i "s|/bin/bash|${bash}/bin/bash|g" usertable.cpp
|
||||
sed -i "s|/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin|/run/current-system/sw/bin|g" usertable.cpp
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
|
Loading…
Reference in New Issue
Block a user