the.bay.news

Generating several attribute sets per system for a flake

NixOS Discourse
Generating several attribute sets per system for a flake
I would like to generate a flake top level that is defined like this (very simplified to try and focus on my specific question) mapping doesn’t seem to work very well primarily because it’s return result is a list of containing all the variations instead of an actual attribute set. mkFlake inputs { systems = [ "x86_64-linux" "another-architecture" ]; devShells.default = pkgs: pkgs.mkShellNoCC { buildInputs = with pkgs; [ alejandra nixd ] ; }; } But it’s actual return result is this { ...

0 comments

Sign in to join the discussion — your thebay.events account works here.

No comments yet.