-
Notifications
You must be signed in to change notification settings - Fork 1
/
shell.nix
45 lines (39 loc) · 970 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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
{ ... }:
with builtins;
let
sources = import ./nix/sources.nix;
pkgs = import sources.nixpkgs { };
cBin = pkgs.writeScriptBin "c" (readFile ./bin/c);
morph = import sources.morph { inherit pkgs; };
nix-eval-jobs = pkgs.callPackage sources.nix-eval-jobs { };
# .overrideAttrs (orig: {
# patches = orig.patches ++ [
# ./0001-libexpr-improve-invalid-value-error.patch
# ./0002-libexpr-add-blackhole-InternalType-to-printValue.patch
# ];
# });
in pkgs.mkShell {
NIX_PATH = "nixpkgs=${sources.nixpkgs}";
NIXPKGS_ALLOW_UNFREE = "1";
buildInputs = with pkgs; [
niv
morph
nix-prefetch-scripts
nix-prefetch-github
nixos-generators
# cBin
jq
# nix-eval-jobs
wireguard-tools
nix-output-monitor
google-cloud-sdk
openssh # first use: sk gen for sd-initrd remote unlock
coreutils
flamegraph
step-ca
openssl
];
shellHook = ''
export PATH="$PATH:$(pwd)/bin"
'';
}