-
Notifications
You must be signed in to change notification settings - Fork 11
/
shell.nix
28 lines (20 loc) · 772 Bytes
/
shell.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Using a fixed nix commit for maximum reproducability
{ pkgs ? import <nixpkgs> {
}
}:
pkgs.mkShell {
buildInputs = with pkgs; [
git sass zip gnumake
];
shellHook = ''
'';
####################################################################
# Without this, almost everything fails with locale issues when
# using `nix-shell --pure` (at least on NixOS).
# See
# + https://github.com/NixOS/nix/issues/318#issuecomment-52986702
# + http://lists.linuxfromscratch.org/pipermail/lfs-support/2004-June/023900.html
####################################################################
LOCALE_ARCHIVE = if pkgs.stdenv.isLinux then "${pkgs.glibcLocales}/lib/locale/locale-archive" else "";
}
# vim: set tabstop=2 shiftwidth=2 expandtab: