refactor: reuse nixpkgs instances

https://discourse.nixos.org/t/using-nixpkgs-legacypackages-system-vs-import/17462/8
This commit is contained in:
Primrose 2025-02-11 23:34:21 +01:00
parent 2a870b66b8
commit 3340d1a1a2
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA
4 changed files with 18 additions and 17 deletions

View file

@ -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