Loading pkgs/applications/audio/faust/faust2.nix→pkgs/by-name/fa/faust2/package.nix +2 −4 Original line number Diff line number Diff line Loading @@ -21,8 +21,6 @@ fetchpatch, }: with lib.strings; let version = "2.79.3"; Loading Loading @@ -170,7 +168,7 @@ let runHook preInstall mkdir -p "$out/bin" for script in ${concatStringsSep " " scripts}; do for script in ${lib.concatStringsSep " " scripts}; do cp "${dir}/$script" "$out/bin/" done Loading Loading @@ -267,7 +265,7 @@ let let runtimePath = concatStringsSep ":" (map (p: "${p}/bin") ([ faust ] ++ runtimeInputs)); runtimePath = lib.concatStringsSep ":" (map (p: "${p}/bin") ([ faust ] ++ runtimeInputs)); in stdenv.mkDerivation ( Loading pkgs/applications/audio/faust/faust2alqt.nix→pkgs/by-name/fa/faust2alqt/package.nix +4 −4 Original line number Diff line number Diff line { faust, alsa-lib, qtbase, qt5, writeText, buildPackages, }: Loading @@ -14,7 +14,7 @@ let cd -- "$(dirname "$p")" binary=$(basename --suffix=.dsp "$p") rm -f .$binary-wrapped wrapProgram $binary --set QT_PLUGIN_PATH "${qtbase}/${qtbase.qtPluginPrefix}" wrapProgram $binary --set QT_PLUGIN_PATH "${qt5.qtbase}/${qt5.qtbase.qtPluginPrefix}" sed -i $binary -e 's@exec@cd "$(dirname "$(readlink -f "''${BASH_SOURCE[0]}")")" \&\& exec@g' cd $workpath done Loading @@ -26,7 +26,7 @@ faust.wrapWithBuildEnv { propagatedBuildInputs = [ alsa-lib qtbase qt5.qtbase ]; dontWrapQtApps = true; Loading @@ -36,7 +36,7 @@ faust.wrapWithBuildEnv { # append the wrapping code to the compilation script cat ${wrapBinary} >> $script # prevent the qmake error when running the script sed -i "/QMAKE=/c\ QMAKE="${qtbase.dev}/bin/qmake"" $script sed -i "/QMAKE=/c\ QMAKE="${qt5.qtbase.dev}/bin/qmake"" $script done ''; } pkgs/applications/audio/faust/faust2alsa.nix→pkgs/by-name/fa/faust2alsa/package.nix +0 −0 File moved. View file pkgs/applications/audio/faust/faust2csound.nix→pkgs/by-name/fa/faust2csound/package.nix +0 −0 File moved. View file pkgs/applications/audio/faust/faust2firefox.nix→pkgs/by-name/fa/faust2firefox/package.nix +0 −0 File moved. View file Loading
pkgs/applications/audio/faust/faust2.nix→pkgs/by-name/fa/faust2/package.nix +2 −4 Original line number Diff line number Diff line Loading @@ -21,8 +21,6 @@ fetchpatch, }: with lib.strings; let version = "2.79.3"; Loading Loading @@ -170,7 +168,7 @@ let runHook preInstall mkdir -p "$out/bin" for script in ${concatStringsSep " " scripts}; do for script in ${lib.concatStringsSep " " scripts}; do cp "${dir}/$script" "$out/bin/" done Loading Loading @@ -267,7 +265,7 @@ let let runtimePath = concatStringsSep ":" (map (p: "${p}/bin") ([ faust ] ++ runtimeInputs)); runtimePath = lib.concatStringsSep ":" (map (p: "${p}/bin") ([ faust ] ++ runtimeInputs)); in stdenv.mkDerivation ( Loading
pkgs/applications/audio/faust/faust2alqt.nix→pkgs/by-name/fa/faust2alqt/package.nix +4 −4 Original line number Diff line number Diff line { faust, alsa-lib, qtbase, qt5, writeText, buildPackages, }: Loading @@ -14,7 +14,7 @@ let cd -- "$(dirname "$p")" binary=$(basename --suffix=.dsp "$p") rm -f .$binary-wrapped wrapProgram $binary --set QT_PLUGIN_PATH "${qtbase}/${qtbase.qtPluginPrefix}" wrapProgram $binary --set QT_PLUGIN_PATH "${qt5.qtbase}/${qt5.qtbase.qtPluginPrefix}" sed -i $binary -e 's@exec@cd "$(dirname "$(readlink -f "''${BASH_SOURCE[0]}")")" \&\& exec@g' cd $workpath done Loading @@ -26,7 +26,7 @@ faust.wrapWithBuildEnv { propagatedBuildInputs = [ alsa-lib qtbase qt5.qtbase ]; dontWrapQtApps = true; Loading @@ -36,7 +36,7 @@ faust.wrapWithBuildEnv { # append the wrapping code to the compilation script cat ${wrapBinary} >> $script # prevent the qmake error when running the script sed -i "/QMAKE=/c\ QMAKE="${qtbase.dev}/bin/qmake"" $script sed -i "/QMAKE=/c\ QMAKE="${qt5.qtbase.dev}/bin/qmake"" $script done ''; }
pkgs/applications/audio/faust/faust2alsa.nix→pkgs/by-name/fa/faust2alsa/package.nix +0 −0 File moved. View file
pkgs/applications/audio/faust/faust2csound.nix→pkgs/by-name/fa/faust2csound/package.nix +0 −0 File moved. View file
pkgs/applications/audio/faust/faust2firefox.nix→pkgs/by-name/fa/faust2firefox/package.nix +0 −0 File moved. View file