1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 14:11:36 +00:00

gnome-session: enable debug

This commit is contained in:
Alexander Ried 2016-10-03 00:41:37 +02:00
parent a1a364102a
commit 8ec776eb73

View file

@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
for desktopFile in $(grep -rl "Exec=gnome-session" $out/share)
do
echo "Patching gnome-session path in: $desktopFile"
sed -i "s,^Exec=gnome-session,Exec=$out/bin/gnome-session," $desktopFile
sed -i "s,^Exec=gnome-session,Exec=$out/bin/gnome-session --debug," $desktopFile
done
wrapProgram "$out/bin/gnome-session" \
--prefix PATH : "${glib.dev}/bin" \