From e019e80eac1b03a5c177ef5d358b720bdbc774ac Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sun, 5 Dec 2021 16:56:41 +0100 Subject: gkleen@sif: taffybar --- accounts/gkleen@sif/xmobar/shell.nix | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 accounts/gkleen@sif/xmobar/shell.nix (limited to 'accounts/gkleen@sif/xmobar/shell.nix') diff --git a/accounts/gkleen@sif/xmobar/shell.nix b/accounts/gkleen@sif/xmobar/shell.nix deleted file mode 100644 index 16beb322..00000000 --- a/accounts/gkleen@sif/xmobar/shell.nix +++ /dev/null @@ -1,28 +0,0 @@ -{ nixpkgs ? import ./nixpkgs.nix {} }: - -let - inherit (nixpkgs {}) pkgs; - haskellPackages = import ./stackage.nix { inherit nixpkgs; }; - - drv = haskellPackages.callPackage ./xmobar-yggdrasil.nix {}; - override = oldAttrs: { - nativeBuildInputs = oldAttrs.nativeBuildInputs ++ (with pkgs; []) ++ (with haskellPackages; [ stack cabal-install cabal2nix ]); - shellHook = '' - export PROMPT_INFO="${oldAttrs.name}" - - if [ -n "$ZSH_VERSION" ]; then - autoload -U +X compinit && compinit - autoload -U +X bashcompinit && bashcompinit - fi - eval "$(stack --bash-completion-script stack)" - - ${oldAttrs.shellHook} - ''; - }; - - dummy = pkgs.stdenv.mkDerivation { - name = "interactive-xmobar-environment"; - shellHook = ""; - }; -in pkgs.lib.overrideDerivation dummy override - #pkgs.lib.overrideDerivation drv.env override -- cgit v1.2.3