mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 06:45:54 +03:00
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";
|
||||
};
|
||||
|
||||
buildInputs = [ autoreconfHook ];
|
||||
preConfigure = ''
|
||||
export configureFlags="$configureFlags --libdir=$out/lib"
|
||||
'';
|
||||
nativeBuildInputs = [ autoreconfHook ];
|
||||
|
||||
patchPhase = ''
|
||||
substituteInPlace src/bin/torsocks.in \
|
||||
|
Loading…
Reference in New Issue
Block a user