summaryrefslogtreecommitdiff
path: root/overlay/fish.nix
diff options
context:
space:
mode:
Diffstat (limited to 'overlay/fish.nix')
-rw-r--r--overlay/fish.nix14
1 files changed, 14 insertions, 0 deletions
diff --git a/overlay/fish.nix b/overlay/fish.nix
new file mode 100644
index 0000000..4e7fffc
--- /dev/null
+++ b/overlay/fish.nix
@@ -0,0 +1,14 @@
+_: prev: {
+ fish =
+ if prev.stdenv.isLinux
+ then
+ prev.symlinkJoin {
+ inherit (prev.fish) passthru;
+ name = "fish-nodesktop";
+ paths = [prev.fish];
+ postBuild = ''
+ rm $out/share/applications/fish.desktop
+ '';
+ }
+ else prev.fish;
+}