env and toto update
This commit is contained in:
parent
3a163d03a7
commit
11d58b18ac
3 changed files with 26 additions and 24 deletions
3
TODO.org
3
TODO.org
|
@ -1,3 +1,4 @@
|
||||||
#+TITLE: Project TODO
|
#+TITLE: Project TODO
|
||||||
|
|
||||||
* TODO Display size of current page (text + images)
|
* DONE Display size of current page (text + images)
|
||||||
|
CLOSED: [2020-02-23 Sun 00:18]
|
||||||
|
|
1
src/posts/0010-Haskell-Now/.envrc
Normal file
1
src/posts/0010-Haskell-Now/.envrc
Normal file
|
@ -0,0 +1 @@
|
||||||
|
use nix
|
|
@ -1,5 +1,5 @@
|
||||||
{ nixpkgs ? import (fetchTarball https://github.com/NixOS/nixpkgs/archive/19.09.tar.gz) {} }:
|
{ nixpkgs ? import (fetchTarball https://github.com/NixOS/nixpkgs/archive/19.09.tar.gz) {} }:
|
||||||
let
|
let
|
||||||
inherit (nixpkgs) pkgs;
|
inherit (nixpkgs) pkgs;
|
||||||
inherit (pkgs) haskellPackages;
|
inherit (pkgs) haskellPackages;
|
||||||
|
|
||||||
|
@ -16,11 +16,11 @@
|
||||||
pkgs.gdb
|
pkgs.gdb
|
||||||
haskellPackages.cabal-install
|
haskellPackages.cabal-install
|
||||||
];
|
];
|
||||||
in
|
in
|
||||||
pkgs.stdenv.mkDerivation {
|
pkgs.stdenv.mkDerivation {
|
||||||
name = "env";
|
name = "env";
|
||||||
buildInputs = nixPackages;
|
buildInputs = nixPackages;
|
||||||
shellHook = ''
|
shellHook = ''
|
||||||
export PS1="\n\[[hs:\033[1;32m\]\W\[\033[0m\]]> "
|
export PS1="\n\[[hs:\033[1;32m\]\W\[\033[0m\]]> "
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue