torsocks: expression cleanups
- Remove redundant preConfigure torsocks installs into $libdir/torsocks, so setting libdir=$out/lib doesn't really help. To put the shared objects into $out/lib we'd have to manually move them into $out and patch various files (the script itself expects $libdir/torsocks). - Use nativeBuildInputs
This commit is contained in:
parent
9353d8c1ea
commit
8aebb6b181
@ -10,10 +10,7 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "1xwkmfaxhhnbmvp37agnby1n53hznwhvx0dg1hj35467qfx985zc";
|
sha256 = "1xwkmfaxhhnbmvp37agnby1n53hznwhvx0dg1hj35467qfx985zc";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ autoreconfHook ];
|
nativeBuildInputs = [ autoreconfHook ];
|
||||||
preConfigure = ''
|
|
||||||
export configureFlags="$configureFlags --libdir=$out/lib"
|
|
||||||
'';
|
|
||||||
|
|
||||||
patchPhase = ''
|
patchPhase = ''
|
||||||
substituteInPlace src/bin/torsocks.in \
|
substituteInPlace src/bin/torsocks.in \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user