diff options
l--------- | .direnv/flake-profile | 2 | ||||
-rw-r--r-- | .direnv/flake-profile.rc | 42 | ||||
-rw-r--r-- | default.nix | 13 | ||||
-rw-r--r-- | flake.lock | 58 | ||||
-rw-r--r-- | flake.nix | 34 | ||||
-rw-r--r-- | shell.nix | 13 |
6 files changed, 119 insertions, 43 deletions
diff --git a/.direnv/flake-profile b/.direnv/flake-profile index 85ef145..594de2e 120000 --- a/.direnv/flake-profile +++ b/.direnv/flake-profile | |||
@@ -1 +1 @@ | |||
/nix/store/9cnp7wppdlz68wjs949mbyfid4a6kl9c-nix-shell-env \ No newline at end of file | /nix/store/anbyxpip22cr5f9v8akxz3grbxhd1ldp-nix-shell-env \ No newline at end of file | ||
diff --git a/.direnv/flake-profile.rc b/.direnv/flake-profile.rc index 9491dc5..74a6e3c 100644 --- a/.direnv/flake-profile.rc +++ b/.direnv/flake-profile.rc | |||
@@ -4,17 +4,17 @@ AR=ar | |||
4 | export AR | 4 | export AR |
5 | AS=as | 5 | AS=as |
6 | export AS | 6 | export AS |
7 | BASH=/nix/store/yyy7wr7r9jwjjqkr1yn643g3wzv010zd-bash-4.4-p23/bin/bash | 7 | BASH=/nix/store/jdi2v7ir1sr6vp7pc5x0nhb6lpcmg6xg-bash-4.4-p23/bin/bash |
8 | CC=gcc | 8 | CC=gcc |
9 | export CC | 9 | export CC |
10 | CONFIG_SHELL=/nix/store/yyy7wr7r9jwjjqkr1yn643g3wzv010zd-bash-4.4-p23/bin/bash | 10 | CONFIG_SHELL=/nix/store/jdi2v7ir1sr6vp7pc5x0nhb6lpcmg6xg-bash-4.4-p23/bin/bash |
11 | export CONFIG_SHELL | 11 | export CONFIG_SHELL |
12 | CXX=g++ | 12 | CXX=g++ |
13 | export CXX | 13 | export CXX |
14 | DIRSTACK=() | 14 | DIRSTACK=() |
15 | GROUPS=() | 15 | GROUPS=() |
16 | HOSTTYPE=x86_64 | 16 | HOSTTYPE=x86_64 |
17 | HOST_PATH=/nix/store/ypsd29c5hgj1x7xz5ddffanxw5d8fh7b-coreutils-8.32/bin:/nix/store/nq9l23mrm8irvl9qvxgvxqqkm5sfnc9d-findutils-4.7.0/bin:/nix/store/7yq29nnglh2s576n7vdmzqryym22f8rj-diffutils-3.7/bin:/nix/store/0839nqri8w69c91amlsq9bawaqlzpmh9-gnused-4.8/bin:/nix/store/wmiyjdsaydyv024al5ddqd3liljrfvk7-gnugrep-3.6/bin:/nix/store/snmar11l5w9jrxva2s5d6143nqmdgzqb-gawk-5.1.0/bin:/nix/store/cisss0pcfh72kmnsv4qa6h41wcwb9mkv-gnutar-1.32/bin:/nix/store/prdifiyrxwgf6sp4rwmrqvfdnvf72gw2-gzip-1.10/bin:/nix/store/pp9shwhcdxxbhgp96fcaj0g8x5g54zrl-bzip2-1.0.6.0.1-bin/bin:/nix/store/fydw5vhlhpq438cxv4vwpa8pf8p8fv5s-gnumake-4.3/bin:/nix/store/yyy7wr7r9jwjjqkr1yn643g3wzv010zd-bash-4.4-p23/bin:/nix/store/qcw3qagp709qwfza259zqss5qh4wg789-patch-2.7.6/bin:/nix/store/q0jqhjabwaaak30l4sq3z0xi6jrkpnbn-xz-5.2.5-bin/bin | 17 | HOST_PATH=/nix/store/lr96h3dlny8aiba9p3rmxcxfda0ijj08-coreutils-8.32/bin:/nix/store/6kjrp5p21icxr38zws6yzbdsbf8z66b6-findutils-4.7.0/bin:/nix/store/9xc5vvy9gyzddq1c8kgl8hhzwcz4whpj-diffutils-3.7/bin:/nix/store/4nf4ih03fcq7gk08spjzxvwph1vyx1kr-gnused-4.8/bin:/nix/store/3v5i98i92j0f3lbb7d58kvf8nxnhw7s7-gnugrep-3.6/bin:/nix/store/cmnds461yxhh17076pdm5g6maralf85b-gawk-5.1.0/bin:/nix/store/sg7xqwqwg9aizcl4mcg7w1kkiwxrvg06-gnutar-1.34/bin:/nix/store/dp05lhn18njhyd3iqh64jvwyx38qvmjp-gzip-1.10/bin:/nix/store/5kmzagplvnq64lkyfpp72ncfw6kgpdvk-bzip2-1.0.6.0.2-bin/bin:/nix/store/dk7s6714az7paaqwrca488z7xryh6wf3-gnumake-4.3/bin:/nix/store/jdi2v7ir1sr6vp7pc5x0nhb6lpcmg6xg-bash-4.4-p23/bin:/nix/store/4mj3vpx0yxpcz1fnb4dv5xalxxh8c469-patch-2.7.6/bin:/nix/store/dzy00w2rw5gjh0gdrldxdkgrvzz7rqas-xz-5.2.5-bin/bin |
18 | export HOST_PATH | 18 | export HOST_PATH |
19 | IFS=$' \t\n' | 19 | IFS=$' \t\n' |
20 | IN_NIX_SHELL=impure | 20 | IN_NIX_SHELL=impure |
@@ -22,17 +22,17 @@ export IN_NIX_SHELL | |||
22 | LD=ld | 22 | LD=ld |
23 | export LD | 23 | export LD |
24 | MACHTYPE=x86_64-unknown-linux-gnu | 24 | MACHTYPE=x86_64-unknown-linux-gnu |
25 | NIX_BINTOOLS=/nix/store/f4w8p656gg6v2k1v0whwmyk09kz3k8ic-binutils-wrapper-2.35.1 | 25 | NIX_BINTOOLS=/nix/store/asz7nxxc07srk1x7kxn2mbjh393lrh89-binutils-wrapper-2.35.1 |
26 | export NIX_BINTOOLS | 26 | export NIX_BINTOOLS |
27 | NIX_BINTOOLS_WRAPPER_TARGET_HOST_x86_64_unknown_linux_gnu=1 | 27 | NIX_BINTOOLS_WRAPPER_TARGET_HOST_x86_64_unknown_linux_gnu=1 |
28 | export NIX_BINTOOLS_WRAPPER_TARGET_HOST_x86_64_unknown_linux_gnu | 28 | export NIX_BINTOOLS_WRAPPER_TARGET_HOST_x86_64_unknown_linux_gnu |
29 | NIX_BUILD_CORES=8 | 29 | NIX_BUILD_CORES=8 |
30 | export NIX_BUILD_CORES | 30 | export NIX_BUILD_CORES |
31 | NIX_CC=/nix/store/i9a3zzf2spmw67jppvkj2yavnbka62id-gcc-wrapper-10.2.0 | 31 | NIX_CC=/nix/store/xicw4xz0fnd9kmbdlnj6kajd4wz5im7l-gcc-wrapper-10.2.0 |
32 | export NIX_CC | 32 | export NIX_CC |
33 | NIX_CC_WRAPPER_TARGET_HOST_x86_64_unknown_linux_gnu=1 | 33 | NIX_CC_WRAPPER_TARGET_HOST_x86_64_unknown_linux_gnu=1 |
34 | export NIX_CC_WRAPPER_TARGET_HOST_x86_64_unknown_linux_gnu | 34 | export NIX_CC_WRAPPER_TARGET_HOST_x86_64_unknown_linux_gnu |
35 | NIX_CFLAGS_COMPILE=' -frandom-seed=9cnp7wppdl -isystem /nix/store/0kjgp9j1vcrwmdwpp8znv0k6c1czi1x8-SDL2-2.0.14-dev/include -isystem /nix/store/rj0lg9wwx8v6bigqhjswrackfj4xkqfn-libGL-1.3.2-dev/include -isystem /nix/store/mm0bcynpsivwl82naasln400wdd7bx8a-libglvnd-1.3.2-dev/include -isystem /nix/store/jhdcj3yxxdvv4fag74x9inqsrvnzf044-libX11-1.7.0-dev/include -isystem /nix/store/3dwc6z983ar11ihdqm942qvwvbkaqx9a-xorgproto-2020.1/include -isystem /nix/store/af3ssamyq8v2lsf76471gyiymzwv1jvp-libxcb-1.14-dev/include -isystem /nix/store/ivxsjy95vfgigyvwrxyc3v8k05igjc0q-SDL2_ttf-2.0.15/include -isystem /nix/store/0kjgp9j1vcrwmdwpp8znv0k6c1czi1x8-SDL2-2.0.14-dev/include -isystem /nix/store/rj0lg9wwx8v6bigqhjswrackfj4xkqfn-libGL-1.3.2-dev/include -isystem /nix/store/mm0bcynpsivwl82naasln400wdd7bx8a-libglvnd-1.3.2-dev/include -isystem /nix/store/jhdcj3yxxdvv4fag74x9inqsrvnzf044-libX11-1.7.0-dev/include -isystem /nix/store/3dwc6z983ar11ihdqm942qvwvbkaqx9a-xorgproto-2020.1/include -isystem /nix/store/af3ssamyq8v2lsf76471gyiymzwv1jvp-libxcb-1.14-dev/include -isystem /nix/store/ivxsjy95vfgigyvwrxyc3v8k05igjc0q-SDL2_ttf-2.0.15/include' | 35 | NIX_CFLAGS_COMPILE=' -frandom-seed=anbyxpip22 -isystem /nix/store/wvk4kfgn5nhc2sb1cxwdyhxnli8bpfmv-SDL2-2.0.14-dev/include -isystem /nix/store/y58kc97a7xfamzb7am619mqr6phmfxff-libGL-1.3.2-dev/include -isystem /nix/store/nzpxf3a1kr034yxy9bq0ridghz3z75n6-libglvnd-1.3.2-dev/include -isystem /nix/store/a8avrn0dlxq5x5i85qrhjyza9l5nw8yb-libX11-1.7.0-dev/include -isystem /nix/store/5fvrlz5rjwg0as3ab8ws5ms0qlhivja6-xorgproto-2021.3/include -isystem /nix/store/dqkl0mm989nn8dchsgqn970zffysp3bq-libxcb-1.14-dev/include -isystem /nix/store/xlgi5b9vxn24qj1prqxpxdpriyim6nzr-SDL2_ttf-2.0.15/include -isystem /nix/store/wvk4kfgn5nhc2sb1cxwdyhxnli8bpfmv-SDL2-2.0.14-dev/include -isystem /nix/store/y58kc97a7xfamzb7am619mqr6phmfxff-libGL-1.3.2-dev/include -isystem /nix/store/nzpxf3a1kr034yxy9bq0ridghz3z75n6-libglvnd-1.3.2-dev/include -isystem /nix/store/a8avrn0dlxq5x5i85qrhjyza9l5nw8yb-libX11-1.7.0-dev/include -isystem /nix/store/5fvrlz5rjwg0as3ab8ws5ms0qlhivja6-xorgproto-2021.3/include -isystem /nix/store/dqkl0mm989nn8dchsgqn970zffysp3bq-libxcb-1.14-dev/include -isystem /nix/store/xlgi5b9vxn24qj1prqxpxdpriyim6nzr-SDL2_ttf-2.0.15/include' |
36 | export NIX_CFLAGS_COMPILE | 36 | export NIX_CFLAGS_COMPILE |
37 | NIX_ENFORCE_NO_NATIVE=1 | 37 | NIX_ENFORCE_NO_NATIVE=1 |
38 | export NIX_ENFORCE_NO_NATIVE | 38 | export NIX_ENFORCE_NO_NATIVE |
@@ -40,7 +40,7 @@ NIX_HARDENING_ENABLE='fortify stackprotector pic strictoverflow format relro bin | |||
40 | export NIX_HARDENING_ENABLE | 40 | export NIX_HARDENING_ENABLE |
41 | NIX_INDENT_MAKE=1 | 41 | NIX_INDENT_MAKE=1 |
42 | export NIX_INDENT_MAKE | 42 | export NIX_INDENT_MAKE |
43 | NIX_LDFLAGS='-rpath /home/np/code/rust/obi/outputs/out/lib64 -rpath /home/np/code/rust/obi/outputs/out/lib -L/nix/store/jsf76r23d3s8sgj3irnnx3701c9mfcs0-libGL-1.3.2/lib -L/nix/store/0vbk3b7fzdjikrl6l36bfrmfwc2pw1p1-libglvnd-1.3.2/lib -L/nix/store/cgjnqiby59x6kz9c33g73007ry8bs8qa-libxcb-1.14/lib -L/nix/store/yq0m2kngxbjkh8y1kizshl4ym4ydnw7m-libX11-1.7.0/lib -L/nix/store/3xcgzy0nkq71fh2npf45p38sz0d06x77-SDL2-2.0.14/lib -L/nix/store/ivxsjy95vfgigyvwrxyc3v8k05igjc0q-SDL2_ttf-2.0.15/lib -L/nix/store/58syiz9158g5s53gjh8f5b89bhhp1m0s-rust-1.53.0-nightly-2021-03-30-74874a690/lib -L/nix/store/jsf76r23d3s8sgj3irnnx3701c9mfcs0-libGL-1.3.2/lib -L/nix/store/0vbk3b7fzdjikrl6l36bfrmfwc2pw1p1-libglvnd-1.3.2/lib -L/nix/store/cgjnqiby59x6kz9c33g73007ry8bs8qa-libxcb-1.14/lib -L/nix/store/yq0m2kngxbjkh8y1kizshl4ym4ydnw7m-libX11-1.7.0/lib -L/nix/store/3xcgzy0nkq71fh2npf45p38sz0d06x77-SDL2-2.0.14/lib -L/nix/store/ivxsjy95vfgigyvwrxyc3v8k05igjc0q-SDL2_ttf-2.0.15/lib -L/nix/store/58syiz9158g5s53gjh8f5b89bhhp1m0s-rust-1.53.0-nightly-2021-03-30-74874a690/lib' | 43 | NIX_LDFLAGS='-rpath /home/np/code/rust/obi/outputs/out/lib64 -rpath /home/np/code/rust/obi/outputs/out/lib -L/nix/store/v3xi47p44wfdgc06hw9i90nqdja7d2xn-libGL-1.3.2/lib -L/nix/store/w4ydr5lczfnqkz1dg3ga0gakiddzbqh7-libglvnd-1.3.2/lib -L/nix/store/70491s2xfn4j75xmv0r2bw9xhr5ayw4q-libxcb-1.14/lib -L/nix/store/nwfn0qi7lk2fskjh7x0hr1ak7slvgr6x-libX11-1.7.0/lib -L/nix/store/chl23z7j5xxfcpc5rz2mg3id430l4zij-SDL2-2.0.14/lib -L/nix/store/xlgi5b9vxn24qj1prqxpxdpriyim6nzr-SDL2_ttf-2.0.15/lib -L/nix/store/0lw6gz3yz0lm430ilw276bmmizpy8lnm-rust-1.53.0-nightly-2021-03-30-74874a690/lib -L/nix/store/v3xi47p44wfdgc06hw9i90nqdja7d2xn-libGL-1.3.2/lib -L/nix/store/w4ydr5lczfnqkz1dg3ga0gakiddzbqh7-libglvnd-1.3.2/lib -L/nix/store/70491s2xfn4j75xmv0r2bw9xhr5ayw4q-libxcb-1.14/lib -L/nix/store/nwfn0qi7lk2fskjh7x0hr1ak7slvgr6x-libX11-1.7.0/lib -L/nix/store/chl23z7j5xxfcpc5rz2mg3id430l4zij-SDL2-2.0.14/lib -L/nix/store/xlgi5b9vxn24qj1prqxpxdpriyim6nzr-SDL2_ttf-2.0.15/lib -L/nix/store/0lw6gz3yz0lm430ilw276bmmizpy8lnm-rust-1.53.0-nightly-2021-03-30-74874a690/lib' |
44 | export NIX_LDFLAGS | 44 | export NIX_LDFLAGS |
45 | NIX_LIB64_IN_SELF_RPATH=1 | 45 | NIX_LIB64_IN_SELF_RPATH=1 |
46 | NIX_NO_SELF_RPATH=1 | 46 | NIX_NO_SELF_RPATH=1 |
@@ -55,7 +55,7 @@ export OBJDUMP | |||
55 | OPTERR=1 | 55 | OPTERR=1 |
56 | OPTIND=1 | 56 | OPTIND=1 |
57 | OSTYPE=linux-gnu | 57 | OSTYPE=linux-gnu |
58 | PATH=/nix/store/0kjgp9j1vcrwmdwpp8znv0k6c1czi1x8-SDL2-2.0.14-dev/bin:/nix/store/58syiz9158g5s53gjh8f5b89bhhp1m0s-rust-1.53.0-nightly-2021-03-30-74874a690/bin:/nix/store/pj3m562kh9lr7wjk3hlyandhd1qpapgh-rust-analyzer-unstable-2021-02-22/bin:/nix/store/rfx0jz6pr3n2dcxm99finhbp99v45qx4-rustfmt-1.49.0/bin:/nix/store/9p0yf4yzsc8by6xviags56c3mb3fxkkw-cargo-1.49.0/bin:/nix/store/d7lyvmvzf1a8qqhsxhdc3r6dwbdmfcap-patchelf-0.12/bin:/nix/store/i9a3zzf2spmw67jppvkj2yavnbka62id-gcc-wrapper-10.2.0/bin:/nix/store/wxri3dc14yd1w997vjfvsnn6qml64l4r-gcc-10.2.0/bin:/nix/store/fr2k1vwmyd5ngmb3y0v090nh21nn6gqp-glibc-2.32-35-bin/bin:/nix/store/ypsd29c5hgj1x7xz5ddffanxw5d8fh7b-coreutils-8.32/bin:/nix/store/f4w8p656gg6v2k1v0whwmyk09kz3k8ic-binutils-wrapper-2.35.1/bin:/nix/store/9f8y44vmjnwdjvzlff0gm3f3g6ycyyqy-binutils-2.35.1/bin:/nix/store/fr2k1vwmyd5ngmb3y0v090nh21nn6gqp-glibc-2.32-35-bin/bin:/nix/store/ypsd29c5hgj1x7xz5ddffanxw5d8fh7b-coreutils-8.32/bin:/nix/store/ypsd29c5hgj1x7xz5ddffanxw5d8fh7b-coreutils-8.32/bin:/nix/store/nq9l23mrm8irvl9qvxgvxqqkm5sfnc9d-findutils-4.7.0/bin:/nix/store/7yq29nnglh2s576n7vdmzqryym22f8rj-diffutils-3.7/bin:/nix/store/0839nqri8w69c91amlsq9bawaqlzpmh9-gnused-4.8/bin:/nix/store/wmiyjdsaydyv024al5ddqd3liljrfvk7-gnugrep-3.6/bin:/nix/store/snmar11l5w9jrxva2s5d6143nqmdgzqb-gawk-5.1.0/bin:/nix/store/cisss0pcfh72kmnsv4qa6h41wcwb9mkv-gnutar-1.32/bin:/nix/store/prdifiyrxwgf6sp4rwmrqvfdnvf72gw2-gzip-1.10/bin:/nix/store/pp9shwhcdxxbhgp96fcaj0g8x5g54zrl-bzip2-1.0.6.0.1-bin/bin:/nix/store/fydw5vhlhpq438cxv4vwpa8pf8p8fv5s-gnumake-4.3/bin:/nix/store/yyy7wr7r9jwjjqkr1yn643g3wzv010zd-bash-4.4-p23/bin:/nix/store/qcw3qagp709qwfza259zqss5qh4wg789-patch-2.7.6/bin:/nix/store/q0jqhjabwaaak30l4sq3z0xi6jrkpnbn-xz-5.2.5-bin/bin | 58 | PATH=/nix/store/wvk4kfgn5nhc2sb1cxwdyhxnli8bpfmv-SDL2-2.0.14-dev/bin:/nix/store/0lw6gz3yz0lm430ilw276bmmizpy8lnm-rust-1.53.0-nightly-2021-03-30-74874a690/bin:/nix/store/35xfbg7wzr1k1jzavi55a4rni5cjf443-rust-analyzer-2021-04-19/bin:/nix/store/zfl9mbj1xfc1pkphj5h2vnv69pdzv9f2-rustfmt-1.51.0/bin:/nix/store/fai5k6hdj41zfkd54kr0m4yf58k2y33l-cargo-1.51.0/bin:/nix/store/ga6xyhwqff2h7f6zrfdh79hvwhia11vw-patchelf-0.12/bin:/nix/store/xicw4xz0fnd9kmbdlnj6kajd4wz5im7l-gcc-wrapper-10.2.0/bin:/nix/store/hhqbd2y172i0kawplf2m4jqi2rmspk5c-gcc-10.2.0/bin:/nix/store/h68c6qvm6fwfzzj2b1q9xpi0x5qln25i-glibc-2.32-40-bin/bin:/nix/store/lr96h3dlny8aiba9p3rmxcxfda0ijj08-coreutils-8.32/bin:/nix/store/asz7nxxc07srk1x7kxn2mbjh393lrh89-binutils-wrapper-2.35.1/bin:/nix/store/8xiqj7nkx1z0mxhda9pcl8fa51zmxqd1-binutils-2.35.1/bin:/nix/store/lr96h3dlny8aiba9p3rmxcxfda0ijj08-coreutils-8.32/bin:/nix/store/6kjrp5p21icxr38zws6yzbdsbf8z66b6-findutils-4.7.0/bin:/nix/store/9xc5vvy9gyzddq1c8kgl8hhzwcz4whpj-diffutils-3.7/bin:/nix/store/4nf4ih03fcq7gk08spjzxvwph1vyx1kr-gnused-4.8/bin:/nix/store/3v5i98i92j0f3lbb7d58kvf8nxnhw7s7-gnugrep-3.6/bin:/nix/store/cmnds461yxhh17076pdm5g6maralf85b-gawk-5.1.0/bin:/nix/store/sg7xqwqwg9aizcl4mcg7w1kkiwxrvg06-gnutar-1.34/bin:/nix/store/dp05lhn18njhyd3iqh64jvwyx38qvmjp-gzip-1.10/bin:/nix/store/5kmzagplvnq64lkyfpp72ncfw6kgpdvk-bzip2-1.0.6.0.2-bin/bin:/nix/store/dk7s6714az7paaqwrca488z7xryh6wf3-gnumake-4.3/bin:/nix/store/jdi2v7ir1sr6vp7pc5x0nhb6lpcmg6xg-bash-4.4-p23/bin:/nix/store/4mj3vpx0yxpcz1fnb4dv5xalxxh8c469-patch-2.7.6/bin:/nix/store/dzy00w2rw5gjh0gdrldxdkgrvzz7rqas-xz-5.2.5-bin/bin |
59 | export PATH | 59 | export PATH |
60 | PIPESTATUS=([0]="0") | 60 | PIPESTATUS=([0]="0") |
61 | PS4='+ ' | 61 | PS4='+ ' |
@@ -67,11 +67,11 @@ RUST_BACKTRACE=1 | |||
67 | export RUST_BACKTRACE | 67 | export RUST_BACKTRACE |
68 | RUST_LOG=info | 68 | RUST_LOG=info |
69 | export RUST_LOG | 69 | export RUST_LOG |
70 | RUST_SRC_PATH=/nix/store/m0k4il8v2wv0c7nniqndcxh72qmzvvg2-rust-src-1.53.0-nightly-2021-03-30-74874a690/lib/rustlib/src/rust/library | 70 | RUST_SRC_PATH=/nix/store/vic11264p37zx02284r4j8vv35ycrcls-rust-src-1.53.0-nightly-2021-03-30-74874a690/lib/rustlib/src/rust/library |
71 | export RUST_SRC_PATH | 71 | export RUST_SRC_PATH |
72 | SDL2_PATH='/nix/store/0kjgp9j1vcrwmdwpp8znv0k6c1czi1x8-SDL2-2.0.14-dev/include/SDL2 /nix/store/ivxsjy95vfgigyvwrxyc3v8k05igjc0q-SDL2_ttf-2.0.15/include/SDL2 /nix/store/0kjgp9j1vcrwmdwpp8znv0k6c1czi1x8-SDL2-2.0.14-dev/include/SDL2 /nix/store/ivxsjy95vfgigyvwrxyc3v8k05igjc0q-SDL2_ttf-2.0.15/include/SDL2 /nix/store/0kjgp9j1vcrwmdwpp8znv0k6c1czi1x8-SDL2-2.0.14-dev/include/SDL2 /nix/store/ivxsjy95vfgigyvwrxyc3v8k05igjc0q-SDL2_ttf-2.0.15/include/SDL2' | 72 | SDL2_PATH='/nix/store/wvk4kfgn5nhc2sb1cxwdyhxnli8bpfmv-SDL2-2.0.14-dev/include/SDL2 /nix/store/xlgi5b9vxn24qj1prqxpxdpriyim6nzr-SDL2_ttf-2.0.15/include/SDL2 /nix/store/wvk4kfgn5nhc2sb1cxwdyhxnli8bpfmv-SDL2-2.0.14-dev/include/SDL2 /nix/store/xlgi5b9vxn24qj1prqxpxdpriyim6nzr-SDL2_ttf-2.0.15/include/SDL2 /nix/store/wvk4kfgn5nhc2sb1cxwdyhxnli8bpfmv-SDL2-2.0.14-dev/include/SDL2 /nix/store/xlgi5b9vxn24qj1prqxpxdpriyim6nzr-SDL2_ttf-2.0.15/include/SDL2' |
73 | export SDL2_PATH | 73 | export SDL2_PATH |
74 | SHELL=/nix/store/yyy7wr7r9jwjjqkr1yn643g3wzv010zd-bash-4.4-p23/bin/bash | 74 | SHELL=/nix/store/jdi2v7ir1sr6vp7pc5x0nhb6lpcmg6xg-bash-4.4-p23/bin/bash |
75 | export SHELL | 75 | export SHELL |
76 | SIZE=size | 76 | SIZE=size |
77 | export SIZE | 77 | export SIZE |
@@ -81,18 +81,18 @@ STRINGS=strings | |||
81 | export STRINGS | 81 | export STRINGS |
82 | STRIP=strip | 82 | STRIP=strip |
83 | export STRIP | 83 | export STRIP |
84 | XDG_DATA_DIRS=/nix/store/0kjgp9j1vcrwmdwpp8znv0k6c1czi1x8-SDL2-2.0.14-dev/share:/nix/store/3dwc6z983ar11ihdqm942qvwvbkaqx9a-xorgproto-2020.1/share:/nix/store/yq0m2kngxbjkh8y1kizshl4ym4ydnw7m-libX11-1.7.0/share:/nix/store/58syiz9158g5s53gjh8f5b89bhhp1m0s-rust-1.53.0-nightly-2021-03-30-74874a690/share:/nix/store/9p0yf4yzsc8by6xviags56c3mb3fxkkw-cargo-1.49.0/share:/nix/store/d7lyvmvzf1a8qqhsxhdc3r6dwbdmfcap-patchelf-0.12/share | 84 | XDG_DATA_DIRS=/nix/store/wvk4kfgn5nhc2sb1cxwdyhxnli8bpfmv-SDL2-2.0.14-dev/share:/nix/store/5fvrlz5rjwg0as3ab8ws5ms0qlhivja6-xorgproto-2021.3/share:/nix/store/nwfn0qi7lk2fskjh7x0hr1ak7slvgr6x-libX11-1.7.0/share:/nix/store/0lw6gz3yz0lm430ilw276bmmizpy8lnm-rust-1.53.0-nightly-2021-03-30-74874a690/share:/nix/store/fai5k6hdj41zfkd54kr0m4yf58k2y33l-cargo-1.51.0/share:/nix/store/ga6xyhwqff2h7f6zrfdh79hvwhia11vw-patchelf-0.12/share |
85 | export XDG_DATA_DIRS | 85 | export XDG_DATA_DIRS |
86 | _=export | 86 | _=export |
87 | buildInputs= | 87 | buildInputs= |
88 | export buildInputs | 88 | export buildInputs |
89 | builder=/nix/store/yyy7wr7r9jwjjqkr1yn643g3wzv010zd-bash-4.4-p23/bin/bash | 89 | builder=/nix/store/jdi2v7ir1sr6vp7pc5x0nhb6lpcmg6xg-bash-4.4-p23/bin/bash |
90 | export builder | 90 | export builder |
91 | commonStripFlags=--enable-deterministic-archives | 91 | commonStripFlags=--enable-deterministic-archives |
92 | configureFlags= | 92 | configureFlags= |
93 | export configureFlags | 93 | export configureFlags |
94 | defaultBuildInputs= | 94 | defaultBuildInputs= |
95 | defaultNativeBuildInputs='/nix/store/d7lyvmvzf1a8qqhsxhdc3r6dwbdmfcap-patchelf-0.12 /nix/store/mjjy30kxz775bhhi6j9phw81qh6dsbrf-move-docs.sh /nix/store/kxw6q8v6isaqjm702d71n2421cxamq68-make-symlinks-relative.sh /nix/store/cl3qd985p1yxyfkj96v0hqxiy3w69xq5-compress-man-pages.sh /nix/store/h54dzwd7rdh2jlcv91424csl6d0ccgjy-strip.sh /nix/store/bnj8d7mvbkg3vdb07yz74yhl3g107qq5-patch-shebangs.sh /nix/store/cickvswrvann041nqxb0rxilc46svw1n-prune-libtool-files.sh /nix/store/8zxndz5ag0p6s526c2xyllhk1nrn4c3i-audit-tmpdir.sh /nix/store/c8n9kcdddp9np665xz6ri61b383nxvz8-move-systemd-user-units.sh /nix/store/1i5y55x4b4m9qkx5dqbmr1r6bvrqbanw-multiple-outputs.sh /nix/store/kd4xwxjpjxi71jkm6ka0np72if9rm3y0-move-sbin.sh /nix/store/fyaryjvghbkpfnsyw97hb3lyb37s1pd6-move-lib64.sh /nix/store/ngg1cv31c8c7bcm2n8ww4g06nq7s4zhm-set-source-date-epoch-to-latest.sh /nix/store/pr6nzbscdpg94yvr151lrif2kg0csx7b-reproducible-builds.sh /nix/store/i9a3zzf2spmw67jppvkj2yavnbka62id-gcc-wrapper-10.2.0' | 95 | defaultNativeBuildInputs='/nix/store/ga6xyhwqff2h7f6zrfdh79hvwhia11vw-patchelf-0.12 /nix/store/mjjy30kxz775bhhi6j9phw81qh6dsbrf-move-docs.sh /nix/store/kxw6q8v6isaqjm702d71n2421cxamq68-make-symlinks-relative.sh /nix/store/cl3qd985p1yxyfkj96v0hqxiy3w69xq5-compress-man-pages.sh /nix/store/h54dzwd7rdh2jlcv91424csl6d0ccgjy-strip.sh /nix/store/bnj8d7mvbkg3vdb07yz74yhl3g107qq5-patch-shebangs.sh /nix/store/cickvswrvann041nqxb0rxilc46svw1n-prune-libtool-files.sh /nix/store/8zxndz5ag0p6s526c2xyllhk1nrn4c3i-audit-tmpdir.sh /nix/store/c8n9kcdddp9np665xz6ri61b383nxvz8-move-systemd-user-units.sh /nix/store/1i5y55x4b4m9qkx5dqbmr1r6bvrqbanw-multiple-outputs.sh /nix/store/kd4xwxjpjxi71jkm6ka0np72if9rm3y0-move-sbin.sh /nix/store/fyaryjvghbkpfnsyw97hb3lyb37s1pd6-move-lib64.sh /nix/store/ngg1cv31c8c7bcm2n8ww4g06nq7s4zhm-set-source-date-epoch-to-latest.sh /nix/store/pr6nzbscdpg94yvr151lrif2kg0csx7b-reproducible-builds.sh /nix/store/xicw4xz0fnd9kmbdlnj6kajd4wz5im7l-gcc-wrapper-10.2.0' |
96 | depsBuildBuild= | 96 | depsBuildBuild= |
97 | export depsBuildBuild | 97 | export depsBuildBuild |
98 | depsBuildBuildPropagated= | 98 | depsBuildBuildPropagated= |
@@ -121,10 +121,10 @@ envBuildTargetHooks=([0]="addSDL2Path") | |||
121 | envHostHostHooks=([0]="ccWrapper_addCVars" [1]="bintoolsWrapper_addLDVars") | 121 | envHostHostHooks=([0]="ccWrapper_addCVars" [1]="bintoolsWrapper_addLDVars") |
122 | envHostTargetHooks=([0]="ccWrapper_addCVars" [1]="bintoolsWrapper_addLDVars") | 122 | envHostTargetHooks=([0]="ccWrapper_addCVars" [1]="bintoolsWrapper_addLDVars") |
123 | fixupOutputHooks=([0]="if [ -z \"\${dontPatchELF-}\" ]; then patchELF \"\$prefix\"; fi" [1]="_makeSymlinksRelative" [2]="if [ -z \"\${dontGzipMan-}\" ]; then compressManPages \"\$prefix\"; fi" [3]="_doStrip" [4]="patchShebangsAuto" [5]="_pruneLibtoolFiles" [6]="if [[ -z \"\${noAuditTmpdir-}\" && -e \"\$prefix\" ]]; then auditTmpdir \"\$prefix\"; fi" [7]="_moveSystemdUserUnits" [8]="_moveSbin" [9]="_moveLib64") | 123 | fixupOutputHooks=([0]="if [ -z \"\${dontPatchELF-}\" ]; then patchELF \"\$prefix\"; fi" [1]="_makeSymlinksRelative" [2]="if [ -z \"\${dontGzipMan-}\" ]; then compressManPages \"\$prefix\"; fi" [3]="_doStrip" [4]="patchShebangsAuto" [5]="_pruneLibtoolFiles" [6]="if [[ -z \"\${noAuditTmpdir-}\" && -e \"\$prefix\" ]]; then auditTmpdir \"\$prefix\"; fi" [7]="_moveSystemdUserUnits" [8]="_moveSbin" [9]="_moveLib64") |
124 | initialPath='/nix/store/ypsd29c5hgj1x7xz5ddffanxw5d8fh7b-coreutils-8.32 /nix/store/nq9l23mrm8irvl9qvxgvxqqkm5sfnc9d-findutils-4.7.0 /nix/store/7yq29nnglh2s576n7vdmzqryym22f8rj-diffutils-3.7 /nix/store/0839nqri8w69c91amlsq9bawaqlzpmh9-gnused-4.8 /nix/store/wmiyjdsaydyv024al5ddqd3liljrfvk7-gnugrep-3.6 /nix/store/snmar11l5w9jrxva2s5d6143nqmdgzqb-gawk-5.1.0 /nix/store/cisss0pcfh72kmnsv4qa6h41wcwb9mkv-gnutar-1.32 /nix/store/prdifiyrxwgf6sp4rwmrqvfdnvf72gw2-gzip-1.10 /nix/store/pp9shwhcdxxbhgp96fcaj0g8x5g54zrl-bzip2-1.0.6.0.1-bin /nix/store/fydw5vhlhpq438cxv4vwpa8pf8p8fv5s-gnumake-4.3 /nix/store/yyy7wr7r9jwjjqkr1yn643g3wzv010zd-bash-4.4-p23 /nix/store/qcw3qagp709qwfza259zqss5qh4wg789-patch-2.7.6 /nix/store/q0jqhjabwaaak30l4sq3z0xi6jrkpnbn-xz-5.2.5-bin' | 124 | initialPath='/nix/store/lr96h3dlny8aiba9p3rmxcxfda0ijj08-coreutils-8.32 /nix/store/6kjrp5p21icxr38zws6yzbdsbf8z66b6-findutils-4.7.0 /nix/store/9xc5vvy9gyzddq1c8kgl8hhzwcz4whpj-diffutils-3.7 /nix/store/4nf4ih03fcq7gk08spjzxvwph1vyx1kr-gnused-4.8 /nix/store/3v5i98i92j0f3lbb7d58kvf8nxnhw7s7-gnugrep-3.6 /nix/store/cmnds461yxhh17076pdm5g6maralf85b-gawk-5.1.0 /nix/store/sg7xqwqwg9aizcl4mcg7w1kkiwxrvg06-gnutar-1.34 /nix/store/dp05lhn18njhyd3iqh64jvwyx38qvmjp-gzip-1.10 /nix/store/5kmzagplvnq64lkyfpp72ncfw6kgpdvk-bzip2-1.0.6.0.2-bin /nix/store/dk7s6714az7paaqwrca488z7xryh6wf3-gnumake-4.3 /nix/store/jdi2v7ir1sr6vp7pc5x0nhb6lpcmg6xg-bash-4.4-p23 /nix/store/4mj3vpx0yxpcz1fnb4dv5xalxxh8c469-patch-2.7.6 /nix/store/dzy00w2rw5gjh0gdrldxdkgrvzz7rqas-xz-5.2.5-bin' |
125 | name=nix-shell | 125 | name=nix-shell |
126 | export name | 126 | export name |
127 | nativeBuildInputs='/nix/store/0kjgp9j1vcrwmdwpp8znv0k6c1czi1x8-SDL2-2.0.14-dev /nix/store/ivxsjy95vfgigyvwrxyc3v8k05igjc0q-SDL2_ttf-2.0.15 /nix/store/58syiz9158g5s53gjh8f5b89bhhp1m0s-rust-1.53.0-nightly-2021-03-30-74874a690 /nix/store/m0k4il8v2wv0c7nniqndcxh72qmzvvg2-rust-src-1.53.0-nightly-2021-03-30-74874a690 /nix/store/pj3m562kh9lr7wjk3hlyandhd1qpapgh-rust-analyzer-unstable-2021-02-22 /nix/store/rfx0jz6pr3n2dcxm99finhbp99v45qx4-rustfmt-1.49.0 /nix/store/9p0yf4yzsc8by6xviags56c3mb3fxkkw-cargo-1.49.0' | 127 | nativeBuildInputs='/nix/store/wvk4kfgn5nhc2sb1cxwdyhxnli8bpfmv-SDL2-2.0.14-dev /nix/store/xlgi5b9vxn24qj1prqxpxdpriyim6nzr-SDL2_ttf-2.0.15 /nix/store/0lw6gz3yz0lm430ilw276bmmizpy8lnm-rust-1.53.0-nightly-2021-03-30-74874a690 /nix/store/vic11264p37zx02284r4j8vv35ycrcls-rust-src-1.53.0-nightly-2021-03-30-74874a690 /nix/store/35xfbg7wzr1k1jzavi55a4rni5cjf443-rust-analyzer-2021-04-19 /nix/store/zfl9mbj1xfc1pkphj5h2vnv69pdzv9f2-rustfmt-1.51.0 /nix/store/fai5k6hdj41zfkd54kr0m4yf58k2y33l-cargo-1.51.0' |
128 | export nativeBuildInputs | 128 | export nativeBuildInputs |
129 | nobuildPhase=$'echo\necho "This derivation is not meant to be built, aborting";\necho\nexit 1\n' | 129 | nobuildPhase=$'echo\necho "This derivation is not meant to be built, aborting";\necho\nexit 1\n' |
130 | export nobuildPhase | 130 | export nobuildPhase |
@@ -145,8 +145,8 @@ patches= | |||
145 | export patches | 145 | export patches |
146 | phases=nobuildPhase | 146 | phases=nobuildPhase |
147 | export phases | 147 | export phases |
148 | pkg=/nix/store/i9a3zzf2spmw67jppvkj2yavnbka62id-gcc-wrapper-10.2.0 | 148 | pkg=/nix/store/xicw4xz0fnd9kmbdlnj6kajd4wz5im7l-gcc-wrapper-10.2.0 |
149 | pkgsBuildHost=([0]="/nix/store/0kjgp9j1vcrwmdwpp8znv0k6c1czi1x8-SDL2-2.0.14-dev" [1]="/nix/store/rj0lg9wwx8v6bigqhjswrackfj4xkqfn-libGL-1.3.2-dev" [2]="/nix/store/jsf76r23d3s8sgj3irnnx3701c9mfcs0-libGL-1.3.2" [3]="/nix/store/0vbk3b7fzdjikrl6l36bfrmfwc2pw1p1-libglvnd-1.3.2" [4]="/nix/store/mm0bcynpsivwl82naasln400wdd7bx8a-libglvnd-1.3.2-dev" [5]="/nix/store/jhdcj3yxxdvv4fag74x9inqsrvnzf044-libX11-1.7.0-dev" [6]="/nix/store/3dwc6z983ar11ihdqm942qvwvbkaqx9a-xorgproto-2020.1" [7]="/nix/store/af3ssamyq8v2lsf76471gyiymzwv1jvp-libxcb-1.14-dev" [8]="/nix/store/cgjnqiby59x6kz9c33g73007ry8bs8qa-libxcb-1.14" [9]="/nix/store/yq0m2kngxbjkh8y1kizshl4ym4ydnw7m-libX11-1.7.0" [10]="/nix/store/3xcgzy0nkq71fh2npf45p38sz0d06x77-SDL2-2.0.14" [11]="/nix/store/ivxsjy95vfgigyvwrxyc3v8k05igjc0q-SDL2_ttf-2.0.15" [12]="/nix/store/58syiz9158g5s53gjh8f5b89bhhp1m0s-rust-1.53.0-nightly-2021-03-30-74874a690" [13]="/nix/store/m0k4il8v2wv0c7nniqndcxh72qmzvvg2-rust-src-1.53.0-nightly-2021-03-30-74874a690" [14]="/nix/store/pj3m562kh9lr7wjk3hlyandhd1qpapgh-rust-analyzer-unstable-2021-02-22" [15]="/nix/store/rfx0jz6pr3n2dcxm99finhbp99v45qx4-rustfmt-1.49.0" [16]="/nix/store/9p0yf4yzsc8by6xviags56c3mb3fxkkw-cargo-1.49.0" [17]="/nix/store/d7lyvmvzf1a8qqhsxhdc3r6dwbdmfcap-patchelf-0.12" [18]="/nix/store/mjjy30kxz775bhhi6j9phw81qh6dsbrf-move-docs.sh" [19]="/nix/store/kxw6q8v6isaqjm702d71n2421cxamq68-make-symlinks-relative.sh" [20]="/nix/store/cl3qd985p1yxyfkj96v0hqxiy3w69xq5-compress-man-pages.sh" [21]="/nix/store/h54dzwd7rdh2jlcv91424csl6d0ccgjy-strip.sh" [22]="/nix/store/bnj8d7mvbkg3vdb07yz74yhl3g107qq5-patch-shebangs.sh" [23]="/nix/store/cickvswrvann041nqxb0rxilc46svw1n-prune-libtool-files.sh" [24]="/nix/store/8zxndz5ag0p6s526c2xyllhk1nrn4c3i-audit-tmpdir.sh" [25]="/nix/store/c8n9kcdddp9np665xz6ri61b383nxvz8-move-systemd-user-units.sh" [26]="/nix/store/1i5y55x4b4m9qkx5dqbmr1r6bvrqbanw-multiple-outputs.sh" [27]="/nix/store/kd4xwxjpjxi71jkm6ka0np72if9rm3y0-move-sbin.sh" [28]="/nix/store/fyaryjvghbkpfnsyw97hb3lyb37s1pd6-move-lib64.sh" [29]="/nix/store/ngg1cv31c8c7bcm2n8ww4g06nq7s4zhm-set-source-date-epoch-to-latest.sh" [30]="/nix/store/pr6nzbscdpg94yvr151lrif2kg0csx7b-reproducible-builds.sh" [31]="/nix/store/i9a3zzf2spmw67jppvkj2yavnbka62id-gcc-wrapper-10.2.0" [32]="/nix/store/f4w8p656gg6v2k1v0whwmyk09kz3k8ic-binutils-wrapper-2.35.1") | 149 | pkgsBuildHost=([0]="/nix/store/wvk4kfgn5nhc2sb1cxwdyhxnli8bpfmv-SDL2-2.0.14-dev" [1]="/nix/store/y58kc97a7xfamzb7am619mqr6phmfxff-libGL-1.3.2-dev" [2]="/nix/store/v3xi47p44wfdgc06hw9i90nqdja7d2xn-libGL-1.3.2" [3]="/nix/store/w4ydr5lczfnqkz1dg3ga0gakiddzbqh7-libglvnd-1.3.2" [4]="/nix/store/nzpxf3a1kr034yxy9bq0ridghz3z75n6-libglvnd-1.3.2-dev" [5]="/nix/store/a8avrn0dlxq5x5i85qrhjyza9l5nw8yb-libX11-1.7.0-dev" [6]="/nix/store/5fvrlz5rjwg0as3ab8ws5ms0qlhivja6-xorgproto-2021.3" [7]="/nix/store/dqkl0mm989nn8dchsgqn970zffysp3bq-libxcb-1.14-dev" [8]="/nix/store/70491s2xfn4j75xmv0r2bw9xhr5ayw4q-libxcb-1.14" [9]="/nix/store/nwfn0qi7lk2fskjh7x0hr1ak7slvgr6x-libX11-1.7.0" [10]="/nix/store/chl23z7j5xxfcpc5rz2mg3id430l4zij-SDL2-2.0.14" [11]="/nix/store/xlgi5b9vxn24qj1prqxpxdpriyim6nzr-SDL2_ttf-2.0.15" [12]="/nix/store/0lw6gz3yz0lm430ilw276bmmizpy8lnm-rust-1.53.0-nightly-2021-03-30-74874a690" [13]="/nix/store/vic11264p37zx02284r4j8vv35ycrcls-rust-src-1.53.0-nightly-2021-03-30-74874a690" [14]="/nix/store/35xfbg7wzr1k1jzavi55a4rni5cjf443-rust-analyzer-2021-04-19" [15]="/nix/store/zfl9mbj1xfc1pkphj5h2vnv69pdzv9f2-rustfmt-1.51.0" [16]="/nix/store/fai5k6hdj41zfkd54kr0m4yf58k2y33l-cargo-1.51.0" [17]="/nix/store/ga6xyhwqff2h7f6zrfdh79hvwhia11vw-patchelf-0.12" [18]="/nix/store/mjjy30kxz775bhhi6j9phw81qh6dsbrf-move-docs.sh" [19]="/nix/store/kxw6q8v6isaqjm702d71n2421cxamq68-make-symlinks-relative.sh" [20]="/nix/store/cl3qd985p1yxyfkj96v0hqxiy3w69xq5-compress-man-pages.sh" [21]="/nix/store/h54dzwd7rdh2jlcv91424csl6d0ccgjy-strip.sh" [22]="/nix/store/bnj8d7mvbkg3vdb07yz74yhl3g107qq5-patch-shebangs.sh" [23]="/nix/store/cickvswrvann041nqxb0rxilc46svw1n-prune-libtool-files.sh" [24]="/nix/store/8zxndz5ag0p6s526c2xyllhk1nrn4c3i-audit-tmpdir.sh" [25]="/nix/store/c8n9kcdddp9np665xz6ri61b383nxvz8-move-systemd-user-units.sh" [26]="/nix/store/1i5y55x4b4m9qkx5dqbmr1r6bvrqbanw-multiple-outputs.sh" [27]="/nix/store/kd4xwxjpjxi71jkm6ka0np72if9rm3y0-move-sbin.sh" [28]="/nix/store/fyaryjvghbkpfnsyw97hb3lyb37s1pd6-move-lib64.sh" [29]="/nix/store/ngg1cv31c8c7bcm2n8ww4g06nq7s4zhm-set-source-date-epoch-to-latest.sh" [30]="/nix/store/pr6nzbscdpg94yvr151lrif2kg0csx7b-reproducible-builds.sh" [31]="/nix/store/xicw4xz0fnd9kmbdlnj6kajd4wz5im7l-gcc-wrapper-10.2.0" [32]="/nix/store/asz7nxxc07srk1x7kxn2mbjh393lrh89-binutils-wrapper-2.35.1") |
150 | postFixupHooks=([0]="_multioutPropagateDev") | 150 | postFixupHooks=([0]="_multioutPropagateDev") |
151 | postUnpackHooks=([0]="_updateSourceDateEpochFromSourceRoot") | 151 | postUnpackHooks=([0]="_updateSourceDateEpochFromSourceRoot") |
152 | preConfigureHooks=([0]="_multioutConfig") | 152 | preConfigureHooks=([0]="_multioutConfig") |
@@ -159,11 +159,11 @@ propagatedHostDepFiles=([0]="propagated-host-host-deps" [1]="propagated-build-in | |||
159 | propagatedNativeBuildInputs= | 159 | propagatedNativeBuildInputs= |
160 | export propagatedNativeBuildInputs | 160 | export propagatedNativeBuildInputs |
161 | propagatedTargetDepFiles=([0]="propagated-target-target-deps") | 161 | propagatedTargetDepFiles=([0]="propagated-target-target-deps") |
162 | shell=/nix/store/yyy7wr7r9jwjjqkr1yn643g3wzv010zd-bash-4.4-p23/bin/bash | 162 | shell=/nix/store/jdi2v7ir1sr6vp7pc5x0nhb6lpcmg6xg-bash-4.4-p23/bin/bash |
163 | export shell | 163 | export shell |
164 | shellHook= | 164 | shellHook= |
165 | export shellHook | 165 | export shellHook |
166 | stdenv=/nix/store/sx5hrbrr1g47klxk7x429qd1xwhq9dqq-stdenv-linux | 166 | stdenv=/nix/store/bmnhfb10m2s3whl6478dmqhcrkjwk77y-stdenv-linux |
167 | export stdenv | 167 | export stdenv |
168 | strictDeps= | 168 | strictDeps= |
169 | export strictDeps | 169 | export strictDeps |
@@ -567,7 +567,7 @@ addToSearchPathWithCustomDelimiter () | |||
567 | local delimiter="$1"; | 567 | local delimiter="$1"; |
568 | local varName="$2"; | 568 | local varName="$2"; |
569 | local dir="$3"; | 569 | local dir="$3"; |
570 | if [ -d "$dir" ]; then | 570 | if [[ -d "$dir" && "${!varName:+${delimiter}${!varName}${delimiter}}" != *"${delimiter}${dir}${delimiter}"* ]]; then |
571 | export "${varName}=${!varName:+${!varName}${delimiter}}${dir}"; | 571 | export "${varName}=${!varName:+${!varName}${delimiter}}${dir}"; |
572 | fi | 572 | fi |
573 | } | 573 | } |
diff --git a/default.nix b/default.nix new file mode 100644 index 0000000..9eb132a --- /dev/null +++ b/default.nix | |||
@@ -0,0 +1,13 @@ | |||
1 | (import | ||
2 | ( | ||
3 | let | ||
4 | lock = builtins.fromJSON (builtins.readFile ./flake.lock); | ||
5 | in | ||
6 | fetchTarball { | ||
7 | url = "https://github.com/edolstra/flake-compat/archive/${lock.nodes.flake-compat.locked.rev}.tar.gz"; | ||
8 | sha256 = lock.nodes.flake-compat.locked.narHash; | ||
9 | } | ||
10 | ) | ||
11 | { | ||
12 | src = ./.; | ||
13 | }).shellNix | ||
@@ -1,5 +1,37 @@ | |||
1 | { | 1 | { |
2 | "nodes": { | 2 | "nodes": { |
3 | "flake-compat": { | ||
4 | "flake": false, | ||
5 | "locked": { | ||
6 | "lastModified": 1606424373, | ||
7 | "narHash": "sha256-oq8d4//CJOrVj+EcOaSXvMebvuTkmBJuT5tzlfewUnQ=", | ||
8 | "owner": "edolstra", | ||
9 | "repo": "flake-compat", | ||
10 | "rev": "99f1c2157fba4bfe6211a321fd0ee43199025dbf", | ||
11 | "type": "github" | ||
12 | }, | ||
13 | "original": { | ||
14 | "owner": "edolstra", | ||
15 | "repo": "flake-compat", | ||
16 | "type": "github" | ||
17 | } | ||
18 | }, | ||
19 | "gitignore": { | ||
20 | "flake": false, | ||
21 | "locked": { | ||
22 | "lastModified": 1611672876, | ||
23 | "narHash": "sha256-qHu3uZ/o9jBHiA3MEKHJ06k7w4heOhA+4HCSIvflRxo=", | ||
24 | "owner": "hercules-ci", | ||
25 | "repo": "gitignore", | ||
26 | "rev": "211907489e9f198594c0eb0ca9256a1949c9d412", | ||
27 | "type": "github" | ||
28 | }, | ||
29 | "original": { | ||
30 | "owner": "hercules-ci", | ||
31 | "repo": "gitignore", | ||
32 | "type": "github" | ||
33 | } | ||
34 | }, | ||
3 | "mozillapkgs": { | 35 | "mozillapkgs": { |
4 | "flake": false, | 36 | "flake": false, |
5 | "locked": { | 37 | "locked": { |
@@ -21,11 +53,11 @@ | |||
21 | "nixpkgs": "nixpkgs" | 53 | "nixpkgs": "nixpkgs" |
22 | }, | 54 | }, |
23 | "locked": { | 55 | "locked": { |
24 | "lastModified": 1613655351, | 56 | "lastModified": 1618844365, |
25 | "narHash": "sha256-BLBnt3BYsh92qKgqZljckM9s5sZUt30cBQF5b/5pVCU=", | 57 | "narHash": "sha256-Z9t0rr+5OG/ru3jdg3jivfYVU4ydV/nqt8UwIut7uHs=", |
26 | "owner": "nmattia", | 58 | "owner": "nmattia", |
27 | "repo": "naersk", | 59 | "repo": "naersk", |
28 | "rev": "1a9e5ddc51bc44c1bf872e02fe2702dc40e8af48", | 60 | "rev": "32e3ba39d9d83098b13720a4384bdda191dd0445", |
29 | "type": "github" | 61 | "type": "github" |
30 | }, | 62 | }, |
31 | "original": { | 63 | "original": { |
@@ -36,11 +68,11 @@ | |||
36 | }, | 68 | }, |
37 | "nixpkgs": { | 69 | "nixpkgs": { |
38 | "locked": { | 70 | "locked": { |
39 | "lastModified": 1614267055, | 71 | "lastModified": 1619105186, |
40 | "narHash": "sha256-DGhx+THNuZK4btDwp++TlJYXfMxiuhMw3nNLt5w1uA8=", | 72 | "narHash": "sha256-n/+A1JUMhJjs2eQAcWFrC9FRNENWaiLr+q9NKSd1EQU=", |
41 | "owner": "NixOS", | 73 | "owner": "NixOS", |
42 | "repo": "nixpkgs", | 74 | "repo": "nixpkgs", |
43 | "rev": "1d982f3677cf9df4cbd5095558a6d954d97e3cc2", | 75 | "rev": "cd0ffd3f5fad719586a9b2d06b1faa603da6ba8d", |
44 | "type": "github" | 76 | "type": "github" |
45 | }, | 77 | }, |
46 | "original": { | 78 | "original": { |
@@ -50,11 +82,11 @@ | |||
50 | }, | 82 | }, |
51 | "nixpkgs_2": { | 83 | "nixpkgs_2": { |
52 | "locked": { | 84 | "locked": { |
53 | "lastModified": 1614267055, | 85 | "lastModified": 1619105186, |
54 | "narHash": "sha256-DGhx+THNuZK4btDwp++TlJYXfMxiuhMw3nNLt5w1uA8=", | 86 | "narHash": "sha256-n/+A1JUMhJjs2eQAcWFrC9FRNENWaiLr+q9NKSd1EQU=", |
55 | "owner": "NixOS", | 87 | "owner": "NixOS", |
56 | "repo": "nixpkgs", | 88 | "repo": "nixpkgs", |
57 | "rev": "1d982f3677cf9df4cbd5095558a6d954d97e3cc2", | 89 | "rev": "cd0ffd3f5fad719586a9b2d06b1faa603da6ba8d", |
58 | "type": "github" | 90 | "type": "github" |
59 | }, | 91 | }, |
60 | "original": { | 92 | "original": { |
@@ -64,6 +96,8 @@ | |||
64 | }, | 96 | }, |
65 | "root": { | 97 | "root": { |
66 | "inputs": { | 98 | "inputs": { |
99 | "flake-compat": "flake-compat", | ||
100 | "gitignore": "gitignore", | ||
67 | "mozillapkgs": "mozillapkgs", | 101 | "mozillapkgs": "mozillapkgs", |
68 | "naersk": "naersk", | 102 | "naersk": "naersk", |
69 | "nixpkgs": "nixpkgs_2", | 103 | "nixpkgs": "nixpkgs_2", |
@@ -72,11 +106,11 @@ | |||
72 | }, | 106 | }, |
73 | "utils": { | 107 | "utils": { |
74 | "locked": { | 108 | "locked": { |
75 | "lastModified": 1610051610, | 109 | "lastModified": 1618868421, |
76 | "narHash": "sha256-U9rPz/usA1/Aohhk7Cmc2gBrEEKRzcW4nwPWMPwja4Y=", | 110 | "narHash": "sha256-vyoJhLV6cJ8/tWz+l9HZLIkb9Rd9esE7p+0RL6zDR6Y=", |
77 | "owner": "numtide", | 111 | "owner": "numtide", |
78 | "repo": "flake-utils", | 112 | "repo": "flake-utils", |
79 | "rev": "3982c9903e93927c2164caa727cd3f6a0e6d14cc", | 113 | "rev": "eed214942bcfb3a8cc09eb3b28ca7d7221e44a94", |
80 | "type": "github" | 114 | "type": "github" |
81 | }, | 115 | }, |
82 | "original": { | 116 | "original": { |
@@ -6,12 +6,22 @@ | |||
6 | url = "github:mozilla/nixpkgs-mozilla"; | 6 | url = "github:mozilla/nixpkgs-mozilla"; |
7 | flake = false; | 7 | flake = false; |
8 | }; | 8 | }; |
9 | gitignore = { | ||
10 | url = "github:hercules-ci/gitignore"; | ||
11 | flake = false; | ||
12 | }; | ||
13 | flake-compat = { | ||
14 | url = "github:edolstra/flake-compat"; | ||
15 | flake = false; | ||
16 | }; | ||
17 | |||
9 | }; | 18 | }; |
10 | 19 | ||
11 | outputs = { self, nixpkgs, utils, naersk, mozillapkgs }: | 20 | outputs = { self, nixpkgs, utils, naersk, mozillapkgs, gitignore, ... }: |
12 | utils.lib.eachDefaultSystem (system: | 21 | utils.lib.eachDefaultSystem (system: |
13 | let | 22 | let |
14 | pkgs = nixpkgs.legacyPackages."${system}"; | 23 | pkgs = nixpkgs.legacyPackages."${system}"; |
24 | inherit (import gitignore { inherit (pkgs) lib; }) gitignoreSource; | ||
15 | 25 | ||
16 | # Get a specific rust version | 26 | # Get a specific rust version |
17 | mozilla = pkgs.callPackage (mozillapkgs + "/package-set.nix") { }; | 27 | mozilla = pkgs.callPackage (mozillapkgs + "/package-set.nix") { }; |
@@ -20,24 +30,31 @@ | |||
20 | channel = "nightly"; | 30 | channel = "nightly"; |
21 | sha256 = "oK5ebje09MRn988saJMT3Zze/tRE7u9zTeFPV1CEeLc="; # set zeros after modifying channel or date | 31 | sha256 = "oK5ebje09MRn988saJMT3Zze/tRE7u9zTeFPV1CEeLc="; # set zeros after modifying channel or date |
22 | }; | 32 | }; |
23 | rust = (mozilla.rustChannelOf chanspec).rust; | ||
24 | rust-src = (mozilla.rustChannelOf chanspec).rust-src; | ||
25 | 33 | ||
26 | nativeBuildInputs = with pkgs; [ | 34 | rustChannel = mozilla.rustChannelOf chanspec; |
27 | SDL2 | 35 | rust = rustChannel.rust; |
28 | SDL2_ttf | 36 | rust-src = rustChannel.rust-src; |
29 | ]; | ||
30 | 37 | ||
31 | naersk-lib = naersk.lib."${system}".override { | 38 | naersk-lib = naersk.lib."${system}".override { |
32 | cargo = rust; | 39 | cargo = rust; |
33 | rustc = rust; | 40 | rustc = rust; |
34 | }; | 41 | }; |
42 | |||
43 | nativeBuildInputs = with pkgs; [ | ||
44 | SDL2 | ||
45 | SDL2_ttf | ||
46 | ]; | ||
47 | |||
35 | in | 48 | in |
36 | rec { | 49 | rec { |
37 | packages.my-project = naersk-lib.buildPackage { | 50 | packages.my-project = naersk-lib.buildPackage { |
38 | pname = "obi"; | 51 | pname = "obiv"; |
39 | version = "0.1.0"; | 52 | version = "0.1.0"; |
40 | root = ./.; | 53 | root = ./.; |
54 | inherit nativeBuildInputs; | ||
55 | cargoBuildOptions = | ||
56 | v: | ||
57 | [ "$cargo_release" ''-j "$NIX_BUILD_CORES"'' "--out-dir" "out" "--all-features" "--bin" "obiv" "--message-format=$cargo_message_format" ]; | ||
41 | }; | 58 | }; |
42 | defaultPackage = packages.my-project; | 59 | defaultPackage = packages.my-project; |
43 | apps.my-project = utils.lib.mkApp { | 60 | apps.my-project = utils.lib.mkApp { |
@@ -55,7 +72,6 @@ | |||
55 | RUST_SRC_PATH = "${rust-src}/lib/rustlib/src/rust/library"; | 72 | RUST_SRC_PATH = "${rust-src}/lib/rustlib/src/rust/library"; |
56 | RUST_LOG = "info"; | 73 | RUST_LOG = "info"; |
57 | RUST_BACKTRACE = 1; | 74 | RUST_BACKTRACE = 1; |
58 | |||
59 | }; | 75 | }; |
60 | }); | 76 | }); |
61 | } | 77 | } |
diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..9eb132a --- /dev/null +++ b/shell.nix | |||
@@ -0,0 +1,13 @@ | |||
1 | (import | ||
2 | ( | ||
3 | let | ||
4 | lock = builtins.fromJSON (builtins.readFile ./flake.lock); | ||
5 | in | ||
6 | fetchTarball { | ||
7 | url = "https://github.com/edolstra/flake-compat/archive/${lock.nodes.flake-compat.locked.rev}.tar.gz"; | ||
8 | sha256 = lock.nodes.flake-compat.locked.narHash; | ||
9 | } | ||
10 | ) | ||
11 | { | ||
12 | src = ./.; | ||
13 | }).shellNix | ||