diff options
author | Karel Kočí <cynerd@email.cz> | 2024-01-16 17:00:20 +0100 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2024-01-16 17:00:20 +0100 |
commit | cfacd69575b5888bf3e054c9f8056a19c4b5903e (patch) | |
tree | a2f1c475ef872e95211bf648a5a0fe48965c66a0 /pkgs | |
parent | 55296b643fe2934b875561dd58861b69d4951e9c (diff) | |
download | nixos-personal-cfacd69575b5888bf3e054c9f8056a19c4b5903e.tar.gz nixos-personal-cfacd69575b5888bf3e054c9f8056a19c4b5903e.tar.bz2 nixos-personal-cfacd69575b5888bf3e054c9f8056a19c4b5903e.zip |
Rework
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/default.nix | 43 |
1 files changed, 19 insertions, 24 deletions
diff --git a/pkgs/default.nix b/pkgs/default.nix index b1246cc..bed1bc4 100644 --- a/pkgs/default.nix +++ b/pkgs/default.nix @@ -1,28 +1,23 @@ -pkgs: let - callPackage = pkgs.newScope personalpkgs; - - personalpkgs = rec { - luks-hw-password = callPackage ./luks-hw-password {}; - dev = callPackage ./dev { - devShells = import ../devShells pkgs; - }; +final: prev: { + luks-hw-password = final.callPackage ./luks-hw-password {}; + dev = final.callPackage ./dev { + devShells = import ../devShells final; + }; - delft-icon-theme = callPackage ./theme/delft-icon-theme.nix {}; - background-lnxpcs = callPackage ./theme/background-lnxpcs.nix {}; - swaybackground = callPackage ./theme/swaybackground.nix {}; - myswaylock = callPackage ./theme/myswaylock.nix {}; + delft-icon-theme = final.callPackage ./theme/delft-icon-theme.nix {}; + background-lnxpcs = final.callPackage ./theme/background-lnxpcs.nix {}; + swaybackground = final.callPackage ./theme/swaybackground.nix {}; + myswaylock = final.callPackage ./theme/myswaylock.nix {}; - stardict-unwrapped = callPackage ./stardict {}; - stardict = callPackage ./stardict/wrapper.nix {stardict = stardict-unwrapped;}; - stardict-en-cz = callPackage ./stardict/en-cz.nix {}; - stardict-de-cz = callPackage ./stardict/de-cz.nix {}; - stardict-cz = callPackage ./stardict/cz.nix {}; - sdcv-unwrapped = callPackage ./sdcv {}; - sdcv = callPackage ./stardict/wrapper.nix {stardict = sdcv-unwrapped;}; + stardict-unwrapped = final.callPackage ./stardict {}; + stardict = final.callPackage ./stardict/wrapper.nix {stardict = final.stardict-unwrapped;}; + stardict-en-cz = final.callPackage ./stardict/en-cz.nix {}; + stardict-de-cz = final.callPackage ./stardict/de-cz.nix {}; + stardict-cz = final.callPackage ./stardict/cz.nix {}; + sdcv-unwrapped = final.callPackage ./sdcv {}; + sdcv = final.callPackage ./stardict/wrapper.nix {stardict = final.sdcv-unwrapped;}; - lorem-text = callPackage ./lorem-text {}; + lorem-text = final.callPackage ./lorem-text {}; - bigclown-leds = callPackage ./bigclown-leds {}; - }; -in - personalpkgs + bigclown-leds = final.callPackage ./bigclown-leds {}; +} |