about summary refs log tree commit diff
path: root/pkgs/development/misc/resholve/resholve-package.nix
diff options
context:
space:
mode:
authorTravis A. Everett <travis.a.everett@gmail.com>2022-04-08 01:45:09 -0500
committerYt <raphael@megzari.com>2022-04-08 21:13:20 -0400
commit09d441d21c547254cbd6eb2f2ba8f079b2a16a32 (patch)
tree3b50406c0ef6ab62c460343313ad735c0201049f /pkgs/development/misc/resholve/resholve-package.nix
parent9a83d8ce9490bc240518440f66e9366c6cab1de7 (diff)
resholve: 0.6.9 -> 0.8.0
Also track upstream .nix changes over same window.
Diffstat (limited to 'pkgs/development/misc/resholve/resholve-package.nix')
-rw-r--r--pkgs/development/misc/resholve/resholve-package.nix37
1 files changed, 0 insertions, 37 deletions
diff --git a/pkgs/development/misc/resholve/resholve-package.nix b/pkgs/development/misc/resholve/resholve-package.nix
deleted file mode 100644
index 89852efb8bac8..0000000000000
--- a/pkgs/development/misc/resholve/resholve-package.nix
+++ /dev/null
@@ -1,37 +0,0 @@
-{ stdenv, lib, resholve, resholve-utils }:
-
-{ pname
-, src
-, version
-, passthru ? { }
-, solutions
-, ...
-}@attrs:
-let
-  inherit stdenv;
-
-  self = (stdenv.mkDerivation ((removeAttrs attrs [ "solutions" ])
-    // {
-    inherit pname version src;
-    buildInputs = (lib.optionals (builtins.hasAttr "buildInputs" attrs) attrs.buildInputs) ++ [ resholve ];
-
-    # enable below for verbose debug info if needed
-    # supports default python.logging levels
-    # LOGLEVEL="INFO";
-    /*
-      subshell/PS4/set -x and : command to output resholve envs
-      and invocation. Extra context makes it clearer what the
-      Nix API is doing, makes nix-shell debugging easier, etc.
-    */
-    preFixup = ''
-      (
-        cd "$out"
-        PS4=$'\x1f'"\033[33m[resholve context]\033[0m "
-        set -x
-        : changing directory to $PWD
-        ${builtins.concatStringsSep "\n" (resholve-utils.makeCommands solutions)}
-      )
-    '';
-  }));
-in
-lib.extendDerivation true passthru self