Loading pkgs/by-name/fa/faustPhysicalModeling/package.nix +21 −1 Original line number Diff line number Diff line { stdenv, lib, bash, fetchFromGitHub, faust2jaqt, faust2lv2, Loading @@ -16,28 +17,45 @@ stdenv.mkDerivation rec { sha256 = "sha256-j5Qg/H7aMBZ6A8gh6v6+ICxmCZ7ya2tVF2FjueVtvHo="; }; buildInputs = [ nativeBuildInputs = [ faust2jaqt faust2lv2 ]; buildInputs = [ bash ]; # ld: /nix/store/*-gcc-14-20241116/lib/gcc/x86_64-unknown-linux-gnu/14.2.1/crtbegin.o: # relocation R_X86_64_32 against hidden symbol `__TMC_END__' can not be used when making a PIE object hardeningDisable = [ "pie" ]; dontWrapQtApps = true; buildPhase = '' runHook preBuild cd examples/physicalModeling for f in *MIDI.dsp; do faust2jaqt -time -vec -double -midi -nvoices 16 -t 99999 $f faust2lv2 -time -vec -double -gui -nvoices 16 -t 99999 $f done runHook postBuild ''; installPhase = '' runHook preInstall mkdir -p $out/lib/lv2 $out/bin mv *.lv2/ $out/lib/lv2 for f in $(find . -executable -type f); do cp $f $out/bin/ done patchShebangs --host $out/bin runHook postInstall ''; meta = with lib; { Loading @@ -46,5 +64,7 @@ stdenv.mkDerivation rec { license = licenses.mit; platforms = platforms.linux; maintainers = with maintainers; [ magnetophon ]; # compiles stuff for the build platform, difficult to do properly broken = stdenv.hostPlatform != stdenv.buildPlatform; }; } Loading
pkgs/by-name/fa/faustPhysicalModeling/package.nix +21 −1 Original line number Diff line number Diff line { stdenv, lib, bash, fetchFromGitHub, faust2jaqt, faust2lv2, Loading @@ -16,28 +17,45 @@ stdenv.mkDerivation rec { sha256 = "sha256-j5Qg/H7aMBZ6A8gh6v6+ICxmCZ7ya2tVF2FjueVtvHo="; }; buildInputs = [ nativeBuildInputs = [ faust2jaqt faust2lv2 ]; buildInputs = [ bash ]; # ld: /nix/store/*-gcc-14-20241116/lib/gcc/x86_64-unknown-linux-gnu/14.2.1/crtbegin.o: # relocation R_X86_64_32 against hidden symbol `__TMC_END__' can not be used when making a PIE object hardeningDisable = [ "pie" ]; dontWrapQtApps = true; buildPhase = '' runHook preBuild cd examples/physicalModeling for f in *MIDI.dsp; do faust2jaqt -time -vec -double -midi -nvoices 16 -t 99999 $f faust2lv2 -time -vec -double -gui -nvoices 16 -t 99999 $f done runHook postBuild ''; installPhase = '' runHook preInstall mkdir -p $out/lib/lv2 $out/bin mv *.lv2/ $out/lib/lv2 for f in $(find . -executable -type f); do cp $f $out/bin/ done patchShebangs --host $out/bin runHook postInstall ''; meta = with lib; { Loading @@ -46,5 +64,7 @@ stdenv.mkDerivation rec { license = licenses.mit; platforms = platforms.linux; maintainers = with maintainers; [ magnetophon ]; # compiles stuff for the build platform, difficult to do properly broken = stdenv.hostPlatform != stdenv.buildPlatform; }; }