diff options
author | Jan Malakhovski <oxij@oxij.org> | 2023-07-25 13:27:31 +0000 |
---|---|---|
committer | Jan Malakhovski <oxij@oxij.org> | 2023-08-03 16:32:03 +0000 |
commit | 5852f26bdcdca4a33b37d1631cfb3897bcc36fcc (patch) | |
tree | 84541d3de93f39e98f7fabc53094498c6defbc74 /pkgs/applications/audio | |
parent | 9aabdcf43f70b18bdebc39d7796c984672603d3e (diff) |
treewide: noop: refer to `src.name` or similar in `sourceRoot` where appropriate, part 1: trivial cases
Diffstat (limited to 'pkgs/applications/audio')
-rw-r--r-- | pkgs/applications/audio/alsa-scarlett-gui/default.nix | 2 | ||||
-rw-r--r-- | pkgs/applications/audio/miniaudicle/default.nix | 2 | ||||
-rw-r--r-- | pkgs/applications/audio/muse/default.nix | 2 | ||||
-rw-r--r-- | pkgs/applications/audio/picoloop/default.nix | 2 | ||||
-rw-r--r-- | pkgs/applications/audio/soundkonverter/default.nix | 2 | ||||
-rw-r--r-- | pkgs/applications/audio/speech-denoiser/default.nix | 2 | ||||
-rw-r--r-- | pkgs/applications/audio/tagutil/default.nix | 2 | ||||
-rw-r--r-- | pkgs/applications/audio/yoshimi/default.nix | 2 |
8 files changed, 8 insertions, 8 deletions
diff --git a/pkgs/applications/audio/alsa-scarlett-gui/default.nix b/pkgs/applications/audio/alsa-scarlett-gui/default.nix index fec5cd3044765..9740c2f71861e 100644 --- a/pkgs/applications/audio/alsa-scarlett-gui/default.nix +++ b/pkgs/applications/audio/alsa-scarlett-gui/default.nix @@ -21,7 +21,7 @@ stdenv.mkDerivation rec { NIX_CFLAGS_COMPILE = [ "-Wno-error=deprecated-declarations" ]; makeFlags = [ "DESTDIR=\${out}" "PREFIX=''" ]; - sourceRoot = "source/src"; + sourceRoot = "${src.name}/src"; nativeBuildInputs = [ pkg-config wrapGAppsHook4 ]; buildInputs = [ gtk4 alsa-lib ]; postInstall = '' diff --git a/pkgs/applications/audio/miniaudicle/default.nix b/pkgs/applications/audio/miniaudicle/default.nix index 832bd59c4da69..2ff8accecb24a 100644 --- a/pkgs/applications/audio/miniaudicle/default.nix +++ b/pkgs/applications/audio/miniaudicle/default.nix @@ -25,7 +25,7 @@ stdenv.mkDerivation (finalAttrs: { fetchSubmodules = true; }; - sourceRoot = "source/src"; + sourceRoot = "${finalAttrs.src.name}/src"; postPatch = '' echo '#define GIT_REVISION "${finalAttrs.version}-NixOS"' > git-rev.h diff --git a/pkgs/applications/audio/muse/default.nix b/pkgs/applications/audio/muse/default.nix index 5663070d7dfeb..01940bfc4f328 100644 --- a/pkgs/applications/audio/muse/default.nix +++ b/pkgs/applications/audio/muse/default.nix @@ -14,7 +14,7 @@ stdenv.mkDerivation rec { sha256 = "1rasp2v1ds2aw296lbf27rzw0l9fjl0cvbvw85d5ycvh6wkm301p"; }; - sourceRoot = "source/muse3"; + sourceRoot = "${src.name}/muse3"; patches = [ ./fix-parallel-building.patch ]; diff --git a/pkgs/applications/audio/picoloop/default.nix b/pkgs/applications/audio/picoloop/default.nix index 8f11ec809c3a4..e92319127d7d2 100644 --- a/pkgs/applications/audio/picoloop/default.nix +++ b/pkgs/applications/audio/picoloop/default.nix @@ -21,7 +21,7 @@ stdenv.mkDerivation rec { libjack2 ]; - sourceRoot = "source/picoloop"; + sourceRoot = "${src.name}/picoloop"; makeFlags = [ "-f Makefile.PatternPlayer_debian_RtAudio_sdl20" ]; diff --git a/pkgs/applications/audio/soundkonverter/default.nix b/pkgs/applications/audio/soundkonverter/default.nix index d853676264162..95fe9c5880d10 100644 --- a/pkgs/applications/audio/soundkonverter/default.nix +++ b/pkgs/applications/audio/soundkonverter/default.nix @@ -68,7 +68,7 @@ mkDerivation rec { buildInputs = [ taglib ] ++ runtimeDeps; # encoder plugins go to ${out}/lib so they're found by kbuildsycoca5 cmakeFlags = [ "-DCMAKE_INSTALL_PREFIX=$out" ]; - sourceRoot = "source/src"; + sourceRoot = "${src.name}/src"; # add runt-time deps to PATH postInstall = '' wrapProgram $out/bin/soundkonverter --prefix PATH : ${lib.makeBinPath runtimeDeps } diff --git a/pkgs/applications/audio/speech-denoiser/default.nix b/pkgs/applications/audio/speech-denoiser/default.nix index 8bce5c83a6912..415bf352cae9f 100644 --- a/pkgs/applications/audio/speech-denoiser/default.nix +++ b/pkgs/applications/audio/speech-denoiser/default.nix @@ -12,7 +12,7 @@ let pname = "rnnoise-nu"; version = "unstable-07-10-2019"; src = speech-denoiser-src; - sourceRoot = "source/rnnoise"; + sourceRoot = "${speech-denoiser-src.name}/rnnoise"; nativeBuildInputs = [ autoreconfHook ]; configureFlags = [ "--disable-examples" "--disable-doc" "--disable-shared" "--enable-static" ]; installTargets = [ "install-rnnoise-nu" ]; diff --git a/pkgs/applications/audio/tagutil/default.nix b/pkgs/applications/audio/tagutil/default.nix index e5076188301a5..9cd9946be60db 100644 --- a/pkgs/applications/audio/tagutil/default.nix +++ b/pkgs/applications/audio/tagutil/default.nix @@ -15,7 +15,7 @@ stdenv.mkDerivation rec { sha256 = "sha256-oY1aGl5CKVtpOfh8Wskio/huWYMiPuxWPqxlooTutcw="; }; - sourceRoot = "source/src"; + sourceRoot = "${src.name}/src"; nativeBuildInputs = [ cmake diff --git a/pkgs/applications/audio/yoshimi/default.nix b/pkgs/applications/audio/yoshimi/default.nix index 5e00a016334f4..63ecd18e4641b 100644 --- a/pkgs/applications/audio/yoshimi/default.nix +++ b/pkgs/applications/audio/yoshimi/default.nix @@ -31,7 +31,7 @@ stdenv.mkDerivation rec { hash = "sha256-zFwfKy8CVecGhgr48T+eDNHfMdctfrNGenc/XJctyw8="; }; - sourceRoot = "source/src"; + sourceRoot = "${src.name}/src"; postPatch = '' substituteInPlace Misc/Config.cpp --replace /usr $out |