mirror of
https://github.com/Jovian-Experiments/Jovian-NixOS.git
synced 2025-10-06 00:22:54 +02:00
treewide: use replaceVars instead of substituteAll
The latter is now deprecated.
This commit is contained in:
@@ -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
|
||||
|
@@ -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;
|
||||
})
|
||||
];
|
||||
|
||||
|
@@ -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;
|
||||
})
|
||||
];
|
||||
|
||||
|
Reference in New Issue
Block a user