Skip to content

Commit

Permalink
Merge pull request #635 from jmbaur/self-contained-deps
Browse files Browse the repository at this point in the history
Add missing dependencies
  • Loading branch information
Lassulus authored May 16, 2024
2 parents 476eef8 + e9dd5ab commit 5f6dbcc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion lib/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -385,8 +385,9 @@ let
internal = true;
description = ''
packages required by the disko configuration
coreutils is always included
'';
default = pkgs: unique (flatten (map (dev: dev._pkgs pkgs) (flatten (map attrValues (attrValues devices)))));
default = pkgs: unique ((flatten (map (dev: dev._pkgs pkgs) (flatten (map attrValues (attrValues devices))))) ++ [ pkgs.coreutils-full ]);
};
_scripts = lib.mkOption {
internal = true;
Expand All @@ -404,6 +405,8 @@ let
bash
jq
gnused
gawk
coreutils-full
])}:$PATH
${cfg.config._destroy}
'';
Expand Down
2 changes: 1 addition & 1 deletion lib/types/btrfs.nix
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ in
readOnly = true;
type = lib.types.functionTo (lib.types.listOf lib.types.package);
default = pkgs:
[ pkgs.btrfs-progs pkgs.coreutils pkgs.gnugrep ];
[ pkgs.btrfs-progs pkgs.gnugrep ];
description = "Packages";
};
};
Expand Down

0 comments on commit 5f6dbcc

Please sign in to comment.