Strip/patchelf the bin output
This commit is contained in:
parent
b96ab17658
commit
53661fda0b
@ -34,6 +34,12 @@ stdenv.mkDerivation (args // {
|
||||
echo "$propagatedBuildNativeInputs $out" > "$dev/nix-support/propagated-build-native-inputs"
|
||||
propagatedBuildNativeInputs=
|
||||
fi
|
||||
|
||||
if [ -n "$bin" ]; then
|
||||
prefix="$bin" stripDirs "bin sbin" "${stripDebugFlags:--S}"
|
||||
prefix="$bin" patchELF
|
||||
patchShebangs "$bin"
|
||||
fi
|
||||
''; # */
|
||||
|
||||
})
|
||||
|
@ -1,6 +1,6 @@
|
||||
{ stdenv, fetchurl, pkgconfig, fftw, libsndfile }:
|
||||
{ stdenv, fetchurl, multipleOutputs, pkgconfig, fftw, libsndfile }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
multipleOutputs rec {
|
||||
name = "libsamplerate-0.1.7";
|
||||
|
||||
src = fetchurl {
|
||||
@ -15,6 +15,8 @@ stdenv.mkDerivation rec {
|
||||
#--disable-fftw disable usage of FFTW
|
||||
#--disable-cpu-clip disable tricky cpu specific clipper
|
||||
|
||||
outputs = [ "dev" "bin" "out" ];
|
||||
|
||||
meta = {
|
||||
description = "Sample Rate Converter for audio";
|
||||
homepage = http://www.mega-nerd.com/SRC/index.html;
|
||||
|
Loading…
Reference in New Issue
Block a user