mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-05 21:03:40 +00:00
@@ -46,7 +46,8 @@ symlinkJoin {
|
||||
|
||||
# Point to wrapped binary in all service files
|
||||
for file in "share/dbus-1/services/nemo.FileManager1.service" \
|
||||
"share/dbus-1/services/nemo.service"
|
||||
"share/dbus-1/services/nemo.service" \
|
||||
"share/polkit-1/actions/org.nemo.root.policy"
|
||||
do
|
||||
rm "$out/$file"
|
||||
substitute "${nemo}/$file" "$out/$file" \
|
||||
|
||||
@@ -87,13 +87,6 @@ stdenv.mkDerivation rec {
|
||||
"--localedir=${cinnamon-translations}/share/locale"
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
# This fixes open as root and handles nemo-with-extensions well.
|
||||
# https://github.com/NixOS/nixpkgs/issues/297570
|
||||
substituteInPlace $out/share/polkit-1/actions/org.nemo.root.policy \
|
||||
--replace-fail "$out/bin/nemo" "/run/current-system/sw/bin/nemo"
|
||||
'';
|
||||
|
||||
preFixup = ''
|
||||
gappsWrapperArgs+=(
|
||||
--prefix XDG_DATA_DIRS : "${
|
||||
|
||||
Reference in New Issue
Block a user