diff options
author | Naïm Favier <n@monade.li> | 2022-03-14 19:06:00 +0100 |
---|---|---|
committer | Naïm Favier <n@monade.li> | 2022-03-19 09:46:31 +0100 |
commit | 9160044f5f05d0a4ac46f1260beb8604c15ed4fa (patch) | |
tree | baed08f4b9da8509af8f1e126c054d13a0d69ef8 /pkgs/servers/roon-server | |
parent | 10479e4f51ff182651ccff4a71b2a94ab93816c0 (diff) |
treewide/makeWrapper: replace `--run cd` with `--chdir`
Lay the groundwork for switching to binary wrappers by reducing uses of `--run` (which is not supported by `makeBinaryWrapper`).
Diffstat (limited to 'pkgs/servers/roon-server')
-rw-r--r-- | pkgs/servers/roon-server/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/servers/roon-server/default.nix b/pkgs/servers/roon-server/default.nix index b92d871852de2..d79b3ad205fd1 100644 --- a/pkgs/servers/roon-server/default.nix +++ b/pkgs/servers/roon-server/default.nix @@ -61,7 +61,7 @@ stdenv.mkDerivation rec { --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ alsa-lib icu66 ffmpeg openssl ]}" \ --prefix PATH : "$dotnetDir" \ --prefix PATH : "${lib.makeBinPath [ alsa-utils cifs-utils ffmpeg ]}" \ - --run "cd $binDir" \ + --chdir "$binDir" \ --set DOTNET_ROOT "$dotnetDir" ) ''; @@ -80,7 +80,7 @@ stdenv.mkDerivation rec { ${wrapBin "$out/Server/RoonServer"} mkdir -p $out/bin - makeWrapper "$out/Server/RoonServer" "$out/bin/RoonServer" --run "cd $out" + makeWrapper "$out/Server/RoonServer" "$out/bin/RoonServer" --chdir "$out" # This is unused and depends on an ancient version of lttng-ust, so we # just patch it out |