Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nixos-help: fixup .desktop file & smaller refactoring #102916

Merged
merged 3 commits into from Nov 16, 2020

Conversation

andir
Copy link
Member

@andir andir commented Nov 5, 2020

Motivation for this change

This is in the spirit of db236e5. It is one more desktop file that should probably not carry the full path reference. This change was once more mailed to me over at https://lists.sr.ht/~andir/nixpkgs-dev.

Since the desktop file no longer carries a reference to the actual implementation I packed both of them together via symlinkJoin to ensure that neither one exists without the other.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • Built on platform(s)
    • NixOS
  • Switched my system to this commit and ensured that I can still call nixos-help before and afterwards.

klemensn and others added 3 commits November 5, 2020 11:45
…ding derivation

See db236e5 "steam: Do $PATH lookup in steam.desktop [...]".
tl;dr: Otherwise widget/panel/desktop icons in DEs like KDE break.
This is to ensure that whenever we install the desktop item we also have
the script installed. Prior to b02719a we always had the reference to
the script in the desktop item. Since desktop items are being copied to
home directories and thus "bit rod" over time that absolute path was
removed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants