summaryrefslogtreecommitdiff
path: root/overlay/fish.nix
diff options
context:
space:
mode:
authorseth <[email protected]>2023-11-05 11:27:59 -0500
committerseth <[email protected]>2023-11-05 11:28:13 -0500
commit437515004c23213895bf4f81f1421b2c1ee5047d (patch)
treec640a1e3afde759d839f148ff5ccf13b45f43005 /overlay/fish.nix
parentfeda83333b02295d0e5b0bfb4b3856ca3f108514 (diff)
overlay: cleanup file import & rename
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;
+}