blob: 8d61170c412af9ef920a4df69d95c72ee40d1b3f (
plain)
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
46
47
48
49
50
51
52
53
54
55
56
57
|
#!/usr/bin/env -S nix-shell --pure
#!nix-shell -i bash
{ pkgs ? import <nixpkgs> {} }:
with pkgs;
mkShell {
buildInputs = [
# ❯❯❯ nix_related
#nix
direnv
#cachix
nixVersions.unstable #nixFlakes
nix-prefetch-git
validatePkgConfig
nix-output-monitor
nix-tree
jq
git
gnumake
ps
# ❯❯❯ d_build_related
# ❯❯ package manager
dub
# ❯❯ compiler
ldc
rund
# ❯❯ linker
#lld
#mold
# ❯❯ builder
#ninja
#meson
# ❯❯❯ sqlite search related
sqlite
# ❯❯❯ tools
#aria #wget #curl
];
shellHook = ''
nix flake update
nix flake check
nix flake show
echo '
shell.nix echo ❯❯
❯❯ nix flake update && nix flake check --show-trace && nix flake show && nix develop ".#devShell" -c zsh
❯❯ nix develop
❯❯ nix develop -c zsh
❯❯ nix build
❯❯ nix build ".#default" --print-build-logs
❯❯ nix build ".#spine-search-dmd" --print-build-logs |& nom
❯❯ nix build ".#spine-search-ldc" --print-build-logs |& nom
❯❯ dub build --compiler=ldmd --build=release --combined --skip-registry=all
'
'';
}
|