Skip to content

Commit

Permalink
also-core-ucm: replace hardcoded paths to /bin/rm and /bin/mkdir
Browse files Browse the repository at this point in the history
  • Loading branch information
drupol committed Jan 5, 2025
1 parent 0e4036a commit b886c71
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkgs/by-name/al/alsa-ucm-conf/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
fetchurl,
lib,
stdenv,
coreutils,
}:

stdenv.mkDerivation rec {
Expand All @@ -19,6 +20,10 @@ stdenv.mkDerivation rec {
installPhase = ''
runHook preInstall
substituteInPlace ucm2/lib/card-init.conf \
--replace-fail "/bin/rm" "${coreutils}/bin/rm" \
--replace-fail "/bin/mkdir" "${coreutils}/bin/mkdir"
mkdir -p $out/share/alsa
cp -r ucm ucm2 $out/share/alsa
Expand Down

0 comments on commit b886c71

Please sign in to comment.