make the releases attrsets instead of lists
This commit is contained in:
parent
67dad13a0b
commit
f20a255bce
|
@ -1,7 +1,12 @@
|
|||
let pkgs = import <nixpkgs> {config = import ./nix/.nixpkgs/config.nix;};
|
||||
all_userspace = pkgs.lib.mapAttrs (name: paths: pkgs.buildEnv {inherit name paths;}) pkgs.hosts;
|
||||
in
|
||||
with pkgs;
|
||||
{
|
||||
dotfiles = with (import ./default.nix pkgs); [woodhouse pennyworth frumar];
|
||||
userspace = with (pkgs.lib.mapAttrs (name: paths: pkgs.buildEnv {inherit name paths;}) pkgs.hosts); [woodhouse pennyworth frumar];
|
||||
dotfiles = {
|
||||
inherit (import ./default.nix pkgs) woodhouse pennyworth frumar;
|
||||
};
|
||||
userspace = {
|
||||
inherit (all_userspace) woodhouse pennyworth frumar;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,7 +1,12 @@
|
|||
let pkgs = import <nixpkgs> {config = import ./nix/.nixpkgs/config.nix;};
|
||||
all_userspace = pkgs.lib.mapAttrs (name: paths: pkgs.buildEnv {inherit name paths;}) pkgs.hosts;
|
||||
in
|
||||
with pkgs;
|
||||
{
|
||||
dotfiles = with (import ./default.nix pkgs); [ascanius jarvis];
|
||||
userspace = with (pkgs.lib.mapAttrs (name: paths: pkgs.buildEnv {inherit name paths;}) pkgs.hosts); [ascanius jarvis];
|
||||
dotfiles = {
|
||||
inherit (import ./default.nix pkgs) ascanius jarvis;
|
||||
};
|
||||
userspace = {
|
||||
inherit (all_userspace) ascanius jarvis;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue