fix: npmlock2nix refusing to build
commit3270052badb0fd9f1fa9c2166cec6cc2a4db4a75
authorklarkc <walkerleite490@gmail.com>
dateMon 21 Aug 2023, 14:41 (3 years ago)
parent542a607
flake.nix+7
@@ -15,6 +15,13 @@
1515 inherit inputs;
1616 # Limited by ps-tools
1717 systems = [ "x86_64-linux" "x86_64-darwin" ];
18+ make-pkgs = system: import inputs.nixpkgs {
19+ inherit system;
20+ # required by npmlock2nix
21+ config.permittedInsecurePackages = [
22+ "nodejs-16.20.2"
23+ ];
24+ };
1825 }
1926 ({ pkgs, system, ... }:
2027 let