mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 06:39:14 +00:00
refactor: reuse nixpkgs instances
https://discourse.nixos.org/t/using-nixpkgs-legacypackages-system-vs-import/17462/8
This commit is contained in:
parent
2a870b66b8
commit
3340d1a1a2
4 changed files with 18 additions and 17 deletions
|
|
@ -2,7 +2,7 @@
|
|||
inherit (inputs.nixpkgs) lib;
|
||||
|
||||
devShellOf = system: let
|
||||
pkgs = import inputs.nixpkgs {inherit system;};
|
||||
pkgs = inputs.nixpkgs.legacyPackages.${system};
|
||||
in
|
||||
{
|
||||
default = let
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue