this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

build: more flexible forAllSystems

+8 -12
+8 -12
flake.nix
··· 6 6 outputs = 7 7 { self, nixpkgs }: 8 8 let 9 - supportedSystems = nixpkgs.lib.genAttrs [ 10 - "x86_64-linux" 11 - "aarch64-linux" 12 - ]; 9 + forAllSystems = 10 + function: 11 + nixpkgs.lib.genAttrs [ 12 + "x86_64-linux" 13 + "aarch64-linux" 14 + ] (system: function (import nixpkgs { inherit system; })); 13 15 in 14 16 { 15 - devShells = supportedSystems (system: { 17 + devShells = forAllSystems (pkgs: { 16 18 default = 17 - with nixpkgs.legacyPackages.${system}; 19 + with pkgs; 18 20 mkShell { 19 21 packages = [ 20 22 age ··· 36 38 wireguard-tools 37 39 yamlfmt 38 40 yamllint 39 - 40 - (python3.withPackages ( 41 - p: with p; [ 42 - kubernetes 43 - ] 44 - )) 45 41 ]; 46 42 }; 47 43 });