mirror of
https://github.com/nix-community/disko.git
synced 2026-11-30 21:13:28 +01:00
make-disk-image: allow pkgs to be overriden by disko configuration
This is needed when the nixosConfig you're building for modifies nixpkgs options that lead to evaluation failing unnecessarily
This commit is contained in:
1 parent
f5cc4b55e5
commit
de015d2a44
2 files changed
+10
-1
No files matched your search
@@ -1,6 +1,6 @@
|
||||
{ nixosConfig
|
||||
, diskoLib
|
||||
, pkgs ? nixosConfig.pkgs
|
||||
, pkgs ? nixosConfig.config.disko.imageBuilderPkgs
|
||||
, lib ? pkgs.lib
|
||||
, name ? "${nixosConfig.config.networking.hostName}-disko-images"
|
||||
, extraPostVM ? nixosConfig.config.disko.extraPostVM
|
||||
|
||||
Reference in new issue
Block a user