From 88e9c357bb00cd5000db8b9c2db4c8a3a7c24d4d Mon Sep 17 00:00:00 2001 From: Nejc Zupan Date: Sun, 16 Jul 2023 12:52:11 +0200 Subject: [PATCH] no longer needed --- nix/buildableShell.nix | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 nix/buildableShell.nix diff --git a/nix/buildableShell.nix b/nix/buildableShell.nix deleted file mode 100644 index fcc7920..0000000 --- a/nix/buildableShell.nix +++ /dev/null @@ -1,15 +0,0 @@ -# This function takes a `nix-shell`-able derivation and returns a derivation -# that can be built. The runtime dependencies of the resulting derivation are -# the buildtime dependencies of the input derivation. -{ pkgs, drv }: -let - config = import ; -in -derivation (drv.drvAttrs // { - name = "${drv.name}-env"; - system = drv.system; - _derivation_original_builder = drv.builder; - _derivation_original_args = drv.args; - builder = pkgs.stdenv.shell; - args = [ "-c" " export > $out" ]; -})