diff options
author | Alyssa Ross <hi@alyssa.is> | 2023-11-24 14:35:08 +0100 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2023-11-26 12:38:12 +0100 |
commit | 1953476c3dcf7bc66c787fa14b3a061ac91d0fa1 (patch) | |
tree | 9a0f9cef5a7a805aef013c23a80dda29be7523d2 /pkgs | |
parent | 43d58d61acaa2b3b50988c9f3e0205692be3c9a4 (diff) | |
download | spectrum-1953476c3dcf7bc66c787fa14b3a061ac91d0fa1.tar spectrum-1953476c3dcf7bc66c787fa14b3a061ac91d0fa1.tar.gz spectrum-1953476c3dcf7bc66c787fa14b3a061ac91d0fa1.tar.bz2 spectrum-1953476c3dcf7bc66c787fa14b3a061ac91d0fa1.tar.lz spectrum-1953476c3dcf7bc66c787fa14b3a061ac91d0fa1.tar.xz spectrum-1953476c3dcf7bc66c787fa14b3a061ac91d0fa1.tar.zst spectrum-1953476c3dcf7bc66c787fa14b3a061ac91d0fa1.zip |
pkgs: call nixpkgs entrypoint outside of config
By moving this call under our control, we can insert our own default Nixpkgs arguments, for example overlays, or maybe crossSystem. Signed-off-by: Alyssa Ross <hi@alyssa.is>
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/default.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/default.nix b/pkgs/default.nix index 96a31f4..aec09b5 100644 --- a/pkgs/default.nix +++ b/pkgs/default.nix @@ -20,7 +20,8 @@ let fullConfig = default // callConfig config; - inherit (fullConfig) pkgs; + pkgs = fullConfig.pkgsFun fullConfig.pkgsArgs; + inherit (pkgs.lib) cleanSource cleanSourceWith hasSuffix makeScope optionalAttrs; |