treewide: use replaceVars instead of substituteAll

The latter is now deprecated.
This commit is contained in:
K900
2025-04-24 12:36:24 +03:00
parent 25ef314fdb
commit 0168e4a65c
3 changed files with 6 additions and 9 deletions

View File

@@ -1,7 +1,7 @@
{
stdenv,
fetchFromGitHub,
substituteAll,
replaceVars,
jovian-steam-protocol-handler,
systemd,
}:
@@ -18,10 +18,9 @@ stdenv.mkDerivation rec {
};
patches = [
(substituteAll {
(replaceVars ./automount-fix-system-paths.patch {
handler = jovian-steam-protocol-handler;
systemd = systemd;
src = ./automount-fix-system-paths.patch;
})
# Remove `deck` username assumption
./0001-Jovian-Ensure-automounting-works-for-any-UID-1000-us.patch

View File

@@ -2,7 +2,7 @@
lib,
stdenv,
fetchFromGitHub,
substituteAll,
replaceVars,
pkg-config,
libevdev,
udev,
@@ -20,9 +20,8 @@ stdenv.mkDerivation(finalAttrs: {
};
patches = [
(substituteAll {
(replaceVars ./jovian.patch {
handler = jovian-steam-protocol-handler;
src = ./jovian.patch;
})
];

View File

@@ -2,7 +2,7 @@
lib,
stdenv,
fetchFromGitHub,
substituteAll,
replaceVars,
meson,
ninja,
pkg-config,
@@ -22,9 +22,8 @@ stdenv.mkDerivation (finalAttrs: {
};
patches = [
(substituteAll {
(replaceVars ./jovian.patch {
handler = jovian-steam-protocol-handler;
src = ./jovian.patch;
})
];