diff options
| author | tv <tv@krebsco.de> | 2026-04-09 15:13:46 +0200 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-04-09 15:13:46 +0200 |
| commit | cb09d2601e8d7a560314f881c3431e1f80d7fc69 (patch) | |
| tree | b55bd9f6363e7ac2feb8b71a3cea6d888c7cc36e | |
| parent | 9148d3058d833de2d4445a01a02f5ff845722662 (diff) | |
shell.nix: RIP
| -rw-r--r-- | shell.nix | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/shell.nix b/shell.nix deleted file mode 100644 index 48d4bf4..0000000 --- a/shell.nix +++ /dev/null @@ -1,31 +0,0 @@ -{ compiler ? "default" -, nixpkgs ? import <nixpkgs> {} -}: let - - inherit (nixpkgs) lib pkgs; - - haskellPackages = - if compiler == "default" then - pkgs.haskellPackages - else - pkgs.haskell.packages.${compiler}; - - drv = haskellPackages.callPackage (import ./package.nix) {}; - -in - - lib.overrideDerivation drv.env (oldAttrs: { - buildInputs = [ - pkgs.cabal-install - ]; - shellHook = '' - CABAL_BUILD_DIR=$HOME/tmp/cache/${drv.pname} - cabal() { - command=$1; shift - ${pkgs.cabal-install}/bin/cabal \ - "$command" \ - --builddir="$CABAL_BUILD_DIR" \ - "$@" - } - ''; - }) |
