From 9af79ad4d3e77f9b6c332d65aefcd4f9b1ce851d Mon Sep 17 00:00:00 2001 From: Baitinq Date: Thu, 25 Aug 2022 22:31:16 +0200 Subject: Switch from buildEnv to symLinkJoin for merging disko scripts in module --- hosts/luna/disks.nix | 4 ++-- 1 file 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 ]; }; -- cgit 1.4.1