about summary refs log tree commit diff
diff options
context:
space:
mode:
-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 ];
     };