ctucx.git: nixfiles

ctucx' nixfiles

commit e9973a7243c4c7c0d67cff59980b83b7274fcca5
parent 2fc4a22034ed191cc0797c77399c3da0c6800912
Author: Leah (ctucx) <leah@ctu.cx>
Date: Tue, 13 Sep 2022 19:13:37 +0200

pkgs: use `final` instead of `pkgs` to reference to the nixpkgs
1 file changed, 19 insertions(+), 19 deletions(-)
M
pkgs/default.nix
|
38
+++++++++++++++++++-------------------
diff --git a/pkgs/default.nix b/pkgs/default.nix
@@ -1,4 +1,4 @@
-{ inputs, pkgs, lib, currentSystem, ... }:
+{ inputs, lib, currentSystem, ... }:
 
 {
 

@@ -15,28 +15,28 @@
     (final: prev: {
       unstable               = inputs.nixpkgsUnstable.legacyPackages.${prev.system};
 
-      writePythonScriptBin   = (pkgs.callPackage ./writePythonScriptBin.nix {}).writePythonScriptBin;
+      writePythonScriptBin   = (final.callPackage ./writePythonScriptBin.nix {}).writePythonScriptBin;
       dns                    = inputs.dns;
 
       agenix                 = inputs.agenix.defaultPackage."${currentSystem}";
 
-      yabai                  = pkgs.callPackage ./yabai.nix {};
-      asitop                 = pkgs.callPackage ./asitop.nix {};
-      bgiparser              = pkgs.callPackage ./bgiparser.nix {};
-      XPCEventStreamHandler  = pkgs.callPackage ./XPCEventStreamHandler {};
-      SpeakerDaemon          = pkgs.callPackage ./SpeakerDaemon {inherit inputs;};
-
-      garminexport           = pkgs.callPackage ./garminexport.nix {};
-      phockup                = pkgs.callPackage ./phockup.nix {};
-      stagit                 = pkgs.callPackage ./stagit.nix {};
-      maddy                  = pkgs.callPackage ./maddy.nix {};
-      gotosocial             = pkgs.callPackage ./gotosocial {};
-      AirSane                = pkgs.callPackage ./AirSane {};
-      cinny                  = pkgs.callPackage ./cinny.nix {};
-      ctucx-gallery          = pkgs.callPackage ./gallery.nim {};
-      kvg-station-departures = pkgs.callPackage ./kvg-station-departures.nix {};
-      smartied               = pkgs.callPackage ./smartied.nix {};
-      smartiePWA             = pkgs.callPackage ./smartie-pwa {};
+      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 {};
+      stagit                 = final.callPackage ./stagit.nix {};
+      maddy                  = final.callPackage ./maddy.nix {};
+      gotosocial             = final.callPackage ./gotosocial {};
+      AirSane                = final.callPackage ./AirSane {};
+      cinny                  = final.callPackage ./cinny.nix {};
+      ctucx-gallery          = final.callPackage ./gallery.nim {};
+      kvg-station-departures = final.callPackage ./kvg-station-departures.nix {};
+      smartied               = final.callPackage ./smartied.nix {};
+      smartiePWA             = final.callPackage ./smartie-pwa {};
 
     })
   ];