about summary refs log tree commit diff
path: root/hosts
diff options
context:
space:
mode:
authorBaitinq <manuelpalenzuelamerino@gmail.com>2022-08-25 22:31:16 +0200
committerBaitinq <manuelpalenzuelamerino@gmail.com>2022-08-25 22:31:16 +0200
commit9af79ad4d3e77f9b6c332d65aefcd4f9b1ce851d (patch)
treed1bd21b965e5bfb4b7e98fc29821ed2819f9a0d3 /hosts
parentAdd new disko partitioning method in guide (diff)
downloadnixos-config-9af79ad4d3e77f9b6c332d65aefcd4f9b1ce851d.tar.gz
nixos-config-9af79ad4d3e77f9b6c332d65aefcd4f9b1ce851d.tar.bz2
nixos-config-9af79ad4d3e77f9b6c332d65aefcd4f9b1ce851d.zip
Switch from buildEnv to symLinkJoin for merging disko scripts in module
Diffstat (limited to 'hosts')
-rw-r--r--hosts/luna/disks.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/hosts/luna/disks.nix b/hosts/luna/disks.nix
index 8fc4b1f..6bbb67c 100644
--- a/hosts/luna/disks.nix
+++ b/hosts/luna/disks.nix
@@ -160,7 +160,7 @@ in
 
   options.disko-create = with lib; mkOption {
     type = types.package;
-    default = pkgs.buildEnv {
+    default = pkgs.symlinkJoin {
       name = "disko-create";
       paths = [ (pkgs.writeScriptBin "disko-create" (inputs.disko.lib.create partitionsConfig)) pkgs.parted ];
     };
@@ -168,7 +168,7 @@ in
 
   options.disko-mount = with lib; mkOption {
     type = types.package;
-    default = pkgs.buildEnv {
+    default = pkgs.symlinkJoin {
       name = "disko-mount";
       paths = [ (pkgs.writeScriptBin "disko-mount" (inputs.disko.lib.mount partitionsConfig)) pkgs.parted ];
     };