gparted: make runtime tools overridable
This commit is contained in:
@@ -16,13 +16,14 @@
|
||||
gpart,
|
||||
hdparm,
|
||||
procps,
|
||||
util-linuxMinimal,
|
||||
polkit,
|
||||
wrapGAppsHook3,
|
||||
replaceVars,
|
||||
mtools,
|
||||
dosfstools,
|
||||
xhost,
|
||||
dosfstools,
|
||||
e2fsprogs,
|
||||
util-linuxMinimal,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
@@ -65,6 +66,12 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
wrapGAppsHook3
|
||||
];
|
||||
|
||||
runtimeDeps = [
|
||||
dosfstools
|
||||
e2fsprogs
|
||||
util-linuxMinimal
|
||||
];
|
||||
|
||||
preConfigure = ''
|
||||
# For ITS rules
|
||||
addToSearchPath "XDG_DATA_DIRS" "${polkit.out}/share"
|
||||
@@ -73,18 +80,19 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
preFixup = ''
|
||||
gappsWrapperArgs+=(
|
||||
--prefix PATH : "${
|
||||
lib.makeBinPath [
|
||||
gpart
|
||||
hdparm
|
||||
util-linuxMinimal
|
||||
procps
|
||||
coreutils
|
||||
gnused
|
||||
gnugrep
|
||||
mtools
|
||||
dosfstools
|
||||
xhost
|
||||
]
|
||||
lib.makeBinPath (
|
||||
[
|
||||
gpart
|
||||
hdparm
|
||||
procps
|
||||
coreutils
|
||||
gnused
|
||||
gnugrep
|
||||
mtools
|
||||
xhost
|
||||
]
|
||||
++ finalAttrs.runtimeDeps
|
||||
)
|
||||
}"
|
||||
)
|
||||
'';
|
||||
|
||||
Reference in New Issue
Block a user