ctucx.git: nixfiles

ctucx' nixfiles

commit dd4e3a37f0092ead3de5e4bffd700bcbb264dbda
parent be2ba138090ab597ac49ca5c2a466766dd4d1e90
Author: Leah (ctucx) <git@ctu.cx>
Date: Sat, 10 Dec 2022 16:39:43 +0100

pkgs: include darwin packages only on darwin-systems
1 file changed, 6 insertions(+), 6 deletions(-)
M
pkgs/default.nix
|
12
++++++------
diff --git a/pkgs/default.nix b/pkgs/default.nix
@@ -18,12 +18,6 @@
         ];
       });
 
-      yabai                  = final.callPackage ./yabai.nix {};
-      asitop                 = final.callPackage ./asitop.nix {};
-      bgiparser              = final.callPackage ./bgiparser.nix {};
-      XPCEventStreamHandler  = final.callPackage ./XPCEventStreamHandler {};
-      SpeakerDaemon          = final.callPackage ./SpeakerDaemon {inherit inputs;};
-
       garminexport           = final.callPackage ./garminexport.nix {};
       phockup                = final.callPackage ./phockup.nix {};
       gotosocial             = final.callPackage ./gotosocial {};

@@ -36,6 +30,12 @@
     })
     (if (currentSystem == "aarch64-darwin") then (final: prev: {
 
+      yabai                  = final.callPackage ./yabai.nix {};
+      asitop                 = final.callPackage ./asitop.nix {};
+      bgiparser              = final.callPackage ./bgiparser.nix {};
+      XPCEventStreamHandler  = final.callPackage ./XPCEventStreamHandler {};
+      SpeakerDaemon          = final.callPackage ./SpeakerDaemon {inherit inputs;};
+
       # jemalloc depends on llvm10 which is doesn't supports darwin-aarch64
       # however bind seems to build fine w/o jemalloc
       bind = prev.bind.override { jemalloc = null; };