diff options
| author | Gregor Kleen <gkleen@yggdrasil.li> | 2021-12-05 16:56:41 +0100 |
|---|---|---|
| committer | Gregor Kleen <gkleen@yggdrasil.li> | 2021-12-05 16:58:32 +0100 |
| commit | e019e80eac1b03a5c177ef5d358b720bdbc774ac (patch) | |
| tree | f2d86a62a62af8f2233c80c115b4943a379996dc /accounts/gkleen@sif/xmobar/shell.nix | |
| parent | 73875ac457ec19f1cabb3d343e0c44c1b1171f3d (diff) | |
| download | nixos-e019e80eac1b03a5c177ef5d358b720bdbc774ac.tar nixos-e019e80eac1b03a5c177ef5d358b720bdbc774ac.tar.gz nixos-e019e80eac1b03a5c177ef5d358b720bdbc774ac.tar.bz2 nixos-e019e80eac1b03a5c177ef5d358b720bdbc774ac.tar.xz nixos-e019e80eac1b03a5c177ef5d358b720bdbc774ac.zip | |
gkleen@sif: taffybar
Diffstat (limited to 'accounts/gkleen@sif/xmobar/shell.nix')
| -rw-r--r-- | accounts/gkleen@sif/xmobar/shell.nix | 28 |
1 files changed, 0 insertions, 28 deletions
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 @@ | |||
| 1 | { nixpkgs ? import ./nixpkgs.nix {} }: | ||
| 2 | |||
| 3 | let | ||
| 4 | inherit (nixpkgs {}) pkgs; | ||
| 5 | haskellPackages = import ./stackage.nix { inherit nixpkgs; }; | ||
| 6 | |||
| 7 | drv = haskellPackages.callPackage ./xmobar-yggdrasil.nix {}; | ||
| 8 | override = oldAttrs: { | ||
| 9 | nativeBuildInputs = oldAttrs.nativeBuildInputs ++ (with pkgs; []) ++ (with haskellPackages; [ stack cabal-install cabal2nix ]); | ||
| 10 | shellHook = '' | ||
| 11 | export PROMPT_INFO="${oldAttrs.name}" | ||
| 12 | |||
| 13 | if [ -n "$ZSH_VERSION" ]; then | ||
| 14 | autoload -U +X compinit && compinit | ||
| 15 | autoload -U +X bashcompinit && bashcompinit | ||
| 16 | fi | ||
| 17 | eval "$(stack --bash-completion-script stack)" | ||
| 18 | |||
| 19 | ${oldAttrs.shellHook} | ||
| 20 | ''; | ||
| 21 | }; | ||
| 22 | |||
| 23 | dummy = pkgs.stdenv.mkDerivation { | ||
| 24 | name = "interactive-xmobar-environment"; | ||
| 25 | shellHook = ""; | ||
| 26 | }; | ||
| 27 | in pkgs.lib.overrideDerivation dummy override | ||
| 28 | #pkgs.lib.overrideDerivation drv.env override | ||
