add shell.nix and make it work on nixos
This commit is contained in:
parent
527bbf214c
commit
63806ccfe5
19
default.nix
Normal file
19
default.nix
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
{ pkgs ? import <nixpkgs> {} }:
|
||||||
|
|
||||||
|
pkgs.mkShell {
|
||||||
|
buildInputs = with pkgs; [
|
||||||
|
coreutils posix_man_pages bash-completion less
|
||||||
|
gitFull diffutils
|
||||||
|
gnumake which
|
||||||
|
ncurses perl python2 python3
|
||||||
|
|
||||||
|
# keep this line if you use bash
|
||||||
|
bashInteractive
|
||||||
|
];
|
||||||
|
|
||||||
|
shellHook =
|
||||||
|
''
|
||||||
|
alias ..='cd ..'
|
||||||
|
alias ...='cd ../..'
|
||||||
|
'';
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user