forked from inbucket/inbucket
-
Notifications
You must be signed in to change notification settings - Fork 0
/
shell.nix
40 lines (37 loc) · 808 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
{ pkgs ? import <nixpkgs> { } }:
let
scripts = {
# Quick test script.
qt = pkgs.writeScriptBin "qt" ''
# Builds & starts inbucket, then sends it some test mail.
make build test inbucket || exit
(sleep 3; etc/swaks-tests/run-tests.sh >/dev/null) &
env INBUCKET_LOGLEVEL=debug ./inbucket
'';
};
in
pkgs.mkShell {
buildInputs = with pkgs; [
act
dpkg
delve
elmPackages.elm
elmPackages.elm-analyse
elmPackages.elm-format
elmPackages.elm-json
elmPackages.elm-language-server
elmPackages.elm-test
go_1_21
golangci-lint
golint
gopls
nodejs_20
nodePackages.node-gyp
nodePackages.yarn
rpm
swaks
scripts.qt
];
# Prevents launch errors with delve debugger.
hardeningDisable = [ "fortify" ];
}