From b46ef672a70560f4da9df1b99c0b966b4a51553c Mon Sep 17 00:00:00 2001 From: Sean Buckley Date: Tue, 29 Mar 2022 14:31:30 -0400 Subject: [PATCH] use emptyDirectory instead of runCommand --- pkgs/default.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkgs/default.nix b/pkgs/default.nix index c4f3ec4..1e857bc 100644 --- a/pkgs/default.nix +++ b/pkgs/default.nix @@ -1,11 +1,10 @@ pkgs: let - empty = pkgs.runCommand "empty" { } "mkdir $out"; pkg = path: args: let p = pkgs.callPackage path args; in - if p.meta.available then p else empty; + if p.meta.available then p else pkgs.emptyDirectory; in rec {