From a3591b85a52027d8ed8e63fb286b06839167b958 Mon Sep 17 00:00:00 2001 From: Eric Date: Fri, 6 Mar 2026 20:03:15 +0100 Subject: [PATCH] chore: update nix lib --- .../arl2vkxnjyw2zri2g2v6g4k6x165iidj-source | 1 - ...-profile-a5d5b61aa8a61b7d9d765e1daf971a9a578f1cfa | 2 +- ...ofile-a5d5b61aa8a61b7d9d765e1daf971a9a578f1cfa.rc | 10 +++++----- .pre-commit-config.yaml | 2 +- flake.lock | 12 ++++++------ flake.nix | 2 +- 6 files changed, 14 insertions(+), 15 deletions(-) delete mode 120000 .direnv/flake-inputs/arl2vkxnjyw2zri2g2v6g4k6x165iidj-source diff --git a/.direnv/flake-inputs/arl2vkxnjyw2zri2g2v6g4k6x165iidj-source b/.direnv/flake-inputs/arl2vkxnjyw2zri2g2v6g4k6x165iidj-source deleted file mode 120000 index c66b1da..0000000 --- a/.direnv/flake-inputs/arl2vkxnjyw2zri2g2v6g4k6x165iidj-source +++ /dev/null @@ -1 +0,0 @@ -/nix/store/arl2vkxnjyw2zri2g2v6g4k6x165iidj-source \ No newline at end of file diff --git a/.direnv/flake-profile-a5d5b61aa8a61b7d9d765e1daf971a9a578f1cfa b/.direnv/flake-profile-a5d5b61aa8a61b7d9d765e1daf971a9a578f1cfa index c003cc8..55fd219 120000 --- a/.direnv/flake-profile-a5d5b61aa8a61b7d9d765e1daf971a9a578f1cfa +++ b/.direnv/flake-profile-a5d5b61aa8a61b7d9d765e1daf971a9a578f1cfa @@ -1 +1 @@ -/nix/store/khk85hba90fc8fa8h8b920qqry6nz0qw-nix-shell-env \ No newline at end of file +/nix/store/wmfpcy0yqb4igdizfrdcy5i3a9b3yjlg-nix-shell-env \ No newline at end of file diff --git a/.direnv/flake-profile-a5d5b61aa8a61b7d9d765e1daf971a9a578f1cfa.rc b/.direnv/flake-profile-a5d5b61aa8a61b7d9d765e1daf971a9a578f1cfa.rc index 850c6d2..7a0f2ce 100644 --- a/.direnv/flake-profile-a5d5b61aa8a61b7d9d765e1daf971a9a578f1cfa.rc +++ b/.direnv/flake-profile-a5d5b61aa8a61b7d9d765e1daf971a9a578f1cfa.rc @@ -46,7 +46,7 @@ NIX_CC='/nix/store/vl936sd1vj8s008akm3gibkgyqk30qhz-clang-wrapper-21.1.8' export NIX_CC NIX_CC_WRAPPER_TARGET_HOST_arm64_apple_darwin='1' export NIX_CC_WRAPPER_TARGET_HOST_arm64_apple_darwin -NIX_CFLAGS_COMPILE=' -frandom-seed=khk85hba90 -isystem /nix/store/h2y0a3x6hgznqq54rjszbi2x0rdnlgvb-python3-3.13.12/include -fmacro-prefix-map=/nix/store/h2y0a3x6hgznqq54rjszbi2x0rdnlgvb-python3-3.13.12=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-python3-3.13.12 -isystem /nix/store/g0r7lnyajlqwkkshzwcasa1swnqlr6fs-libcxx-20.1.0+apple-sdk-26.0/include -fmacro-prefix-map=/nix/store/g0r7lnyajlqwkkshzwcasa1swnqlr6fs-libcxx-20.1.0+apple-sdk-26.0=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-libcxx-20.1.0+apple-sdk-26.0 -isystem /nix/store/2adqlqhmwxglc2f0r7fxa5wdlavjn21r-compiler-rt-libc-21.1.8-dev/include -fmacro-prefix-map=/nix/store/2adqlqhmwxglc2f0r7fxa5wdlavjn21r-compiler-rt-libc-21.1.8-dev=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-compiler-rt-libc-21.1.8-dev -isystem /nix/store/qzgxkh5rnlswnj5ywhag0djwvn83kr3r-python3-3.13.11/include -fmacro-prefix-map=/nix/store/qzgxkh5rnlswnj5ywhag0djwvn83kr3r-python3-3.13.11=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-python3-3.13.11 -isystem /nix/store/gkyk559bh4zzxh0wfvzqi6zj3rdn0d9q-libiconv-109.100.2-dev/include -fmacro-prefix-map=/nix/store/gkyk559bh4zzxh0wfvzqi6zj3rdn0d9q-libiconv-109.100.2-dev=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-libiconv-109.100.2-dev -isystem /nix/store/y02fcdl0bx02pkmbsbxks8nmy7yxvanf-libresolv-91-dev/include -fmacro-prefix-map=/nix/store/y02fcdl0bx02pkmbsbxks8nmy7yxvanf-libresolv-91-dev=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-libresolv-91-dev -isystem /nix/store/w1q5dsq93j18clmn9pzqgl88n7v5j2v9-libsbuf-14.1.0-dev/include -fmacro-prefix-map=/nix/store/w1q5dsq93j18clmn9pzqgl88n7v5j2v9-libsbuf-14.1.0-dev=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-libsbuf-14.1.0-dev -isystem /nix/store/h2y0a3x6hgznqq54rjszbi2x0rdnlgvb-python3-3.13.12/include -fmacro-prefix-map=/nix/store/h2y0a3x6hgznqq54rjszbi2x0rdnlgvb-python3-3.13.12=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-python3-3.13.12 -isystem /nix/store/g0r7lnyajlqwkkshzwcasa1swnqlr6fs-libcxx-20.1.0+apple-sdk-26.0/include -fmacro-prefix-map=/nix/store/g0r7lnyajlqwkkshzwcasa1swnqlr6fs-libcxx-20.1.0+apple-sdk-26.0=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-libcxx-20.1.0+apple-sdk-26.0 -isystem /nix/store/2adqlqhmwxglc2f0r7fxa5wdlavjn21r-compiler-rt-libc-21.1.8-dev/include -fmacro-prefix-map=/nix/store/2adqlqhmwxglc2f0r7fxa5wdlavjn21r-compiler-rt-libc-21.1.8-dev=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-compiler-rt-libc-21.1.8-dev -isystem /nix/store/qzgxkh5rnlswnj5ywhag0djwvn83kr3r-python3-3.13.11/include -fmacro-prefix-map=/nix/store/qzgxkh5rnlswnj5ywhag0djwvn83kr3r-python3-3.13.11=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-python3-3.13.11 -isystem /nix/store/gkyk559bh4zzxh0wfvzqi6zj3rdn0d9q-libiconv-109.100.2-dev/include -fmacro-prefix-map=/nix/store/gkyk559bh4zzxh0wfvzqi6zj3rdn0d9q-libiconv-109.100.2-dev=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-libiconv-109.100.2-dev -isystem /nix/store/y02fcdl0bx02pkmbsbxks8nmy7yxvanf-libresolv-91-dev/include -fmacro-prefix-map=/nix/store/y02fcdl0bx02pkmbsbxks8nmy7yxvanf-libresolv-91-dev=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-libresolv-91-dev -isystem /nix/store/w1q5dsq93j18clmn9pzqgl88n7v5j2v9-libsbuf-14.1.0-dev/include -fmacro-prefix-map=/nix/store/w1q5dsq93j18clmn9pzqgl88n7v5j2v9-libsbuf-14.1.0-dev=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-libsbuf-14.1.0-dev' +NIX_CFLAGS_COMPILE=' -frandom-seed=wmfpcy0yqb -isystem /nix/store/h2y0a3x6hgznqq54rjszbi2x0rdnlgvb-python3-3.13.12/include -fmacro-prefix-map=/nix/store/h2y0a3x6hgznqq54rjszbi2x0rdnlgvb-python3-3.13.12=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-python3-3.13.12 -isystem /nix/store/g0r7lnyajlqwkkshzwcasa1swnqlr6fs-libcxx-20.1.0+apple-sdk-26.0/include -fmacro-prefix-map=/nix/store/g0r7lnyajlqwkkshzwcasa1swnqlr6fs-libcxx-20.1.0+apple-sdk-26.0=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-libcxx-20.1.0+apple-sdk-26.0 -isystem /nix/store/2adqlqhmwxglc2f0r7fxa5wdlavjn21r-compiler-rt-libc-21.1.8-dev/include -fmacro-prefix-map=/nix/store/2adqlqhmwxglc2f0r7fxa5wdlavjn21r-compiler-rt-libc-21.1.8-dev=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-compiler-rt-libc-21.1.8-dev -isystem /nix/store/qzgxkh5rnlswnj5ywhag0djwvn83kr3r-python3-3.13.11/include -fmacro-prefix-map=/nix/store/qzgxkh5rnlswnj5ywhag0djwvn83kr3r-python3-3.13.11=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-python3-3.13.11 -isystem /nix/store/gkyk559bh4zzxh0wfvzqi6zj3rdn0d9q-libiconv-109.100.2-dev/include -fmacro-prefix-map=/nix/store/gkyk559bh4zzxh0wfvzqi6zj3rdn0d9q-libiconv-109.100.2-dev=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-libiconv-109.100.2-dev -isystem /nix/store/y02fcdl0bx02pkmbsbxks8nmy7yxvanf-libresolv-91-dev/include -fmacro-prefix-map=/nix/store/y02fcdl0bx02pkmbsbxks8nmy7yxvanf-libresolv-91-dev=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-libresolv-91-dev -isystem /nix/store/w1q5dsq93j18clmn9pzqgl88n7v5j2v9-libsbuf-14.1.0-dev/include -fmacro-prefix-map=/nix/store/w1q5dsq93j18clmn9pzqgl88n7v5j2v9-libsbuf-14.1.0-dev=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-libsbuf-14.1.0-dev -isystem /nix/store/h2y0a3x6hgznqq54rjszbi2x0rdnlgvb-python3-3.13.12/include -fmacro-prefix-map=/nix/store/h2y0a3x6hgznqq54rjszbi2x0rdnlgvb-python3-3.13.12=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-python3-3.13.12 -isystem /nix/store/g0r7lnyajlqwkkshzwcasa1swnqlr6fs-libcxx-20.1.0+apple-sdk-26.0/include -fmacro-prefix-map=/nix/store/g0r7lnyajlqwkkshzwcasa1swnqlr6fs-libcxx-20.1.0+apple-sdk-26.0=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-libcxx-20.1.0+apple-sdk-26.0 -isystem /nix/store/2adqlqhmwxglc2f0r7fxa5wdlavjn21r-compiler-rt-libc-21.1.8-dev/include -fmacro-prefix-map=/nix/store/2adqlqhmwxglc2f0r7fxa5wdlavjn21r-compiler-rt-libc-21.1.8-dev=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-compiler-rt-libc-21.1.8-dev -isystem /nix/store/qzgxkh5rnlswnj5ywhag0djwvn83kr3r-python3-3.13.11/include -fmacro-prefix-map=/nix/store/qzgxkh5rnlswnj5ywhag0djwvn83kr3r-python3-3.13.11=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-python3-3.13.11 -isystem /nix/store/gkyk559bh4zzxh0wfvzqi6zj3rdn0d9q-libiconv-109.100.2-dev/include -fmacro-prefix-map=/nix/store/gkyk559bh4zzxh0wfvzqi6zj3rdn0d9q-libiconv-109.100.2-dev=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-libiconv-109.100.2-dev -isystem /nix/store/y02fcdl0bx02pkmbsbxks8nmy7yxvanf-libresolv-91-dev/include -fmacro-prefix-map=/nix/store/y02fcdl0bx02pkmbsbxks8nmy7yxvanf-libresolv-91-dev=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-libresolv-91-dev -isystem /nix/store/w1q5dsq93j18clmn9pzqgl88n7v5j2v9-libsbuf-14.1.0-dev/include -fmacro-prefix-map=/nix/store/w1q5dsq93j18clmn9pzqgl88n7v5j2v9-libsbuf-14.1.0-dev=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-libsbuf-14.1.0-dev' export NIX_CFLAGS_COMPILE NIX_DONT_SET_RPATH='1' export NIX_DONT_SET_RPATH @@ -74,7 +74,7 @@ OLDPWD='' export OLDPWD OPTERR='1' OSTYPE='darwin25.2.0' -PATH='/nix/store/igl44md7ljf5c3hx6s6ys6325fkpldny-nixfmt-1.2.0/bin:/nix/store/4ygyyjm4ad5q9382wiik7nn59b60rk63-gitlint-0.19.1/bin:/nix/store/h2y0a3x6hgznqq54rjszbi2x0rdnlgvb-python3-3.13.12/bin:/nix/store/r0xwfwva8p84gqlv5jp8icl26mk0zw76-gitleaks-8.30.0/bin:/nix/store/sc8kb91395fw69qcmij89m3bxdmj8gwb-shfmt-3.12.0/bin:/nix/store/hj3rkkp4azj65qvalnbl6ax0sgrfgmgh-go-1.25.7/bin:/nix/store/5498nh3pn799k53gwqlpmzwhvapj7qn6-gopls-0.21.1/bin:/nix/store/vlqqxb8xci50ck2f0dw8rh4mf8mwqyg5-gotools-0.34.0/bin:/nix/store/7x4dmbrjq24hgpzs1g6jxi3gm207ypkd-bun-1.3.10/bin:/nix/store/xdyrcv7zr12n61nz4fzjf5knix0nj0xx-bazel/bin:/nix/store/62jd6i5pz1rc4ilnbgsk6ialpbm3xm8j-bazel-buildtools-8.5.1/bin:/nix/store/kr5mq8lvcas1wxdm8h5jrs085nspmidx-release/bin:/nix/store/59rqcmzdr53ay0pfgqc3mpa9l9lr1wx6-oxfmt-0.27.0/bin:/nix/store/vv99xympv0hjcqiky7sjni5mgrb6yp69-oxlint-1.50.0/bin:/nix/store/vl936sd1vj8s008akm3gibkgyqk30qhz-clang-wrapper-21.1.8/bin:/nix/store/rr64nnycczvx7s1b110qmvqrlfcb6lsm-clang-21.1.8/bin:/nix/store/chdj76m79c3lbwdn6bflwlqa2n2igx02-coreutils-9.10/bin:/nix/store/qkqww6ccw4n4px5jzs1fkcg9yh1jnbxl-cctools-binutils-darwin-wrapper-1010.6/bin:/nix/store/020z53qny5xbgxi1r5j3l27r135zmrjy-cctools-binutils-darwin-1010.6/bin:/nix/store/4wy2b9dipk7h7c6i444ipys9kq00f4qc-xcbuild-0.1.1-unstable-2019-11-20-xcrun/bin:/nix/store/hhdx8wizaynj5203x02wyj7srqyig87r-gitlint-0.19.1/bin:/nix/store/qzgxkh5rnlswnj5ywhag0djwvn83kr3r-python3-3.13.11/bin:/nix/store/d8p3k8wlvbxv4cdpgs0vqv3rr2ck0fqv-treefmt/bin:/nix/store/ik1b3z19bgk8lagf461zq222kxrpdynb-libiconv-109.100.2/bin:/nix/store/chdj76m79c3lbwdn6bflwlqa2n2igx02-coreutils-9.10/bin:/nix/store/laagkkm7lnm746374c4cii932b77pmaw-findutils-4.10.0/bin:/nix/store/0xkxjb418kdssdxx3c8filikjqhzxwcx-diffutils-3.12/bin:/nix/store/xzsihjm86aqgqarrzifrzr4sfchw4225-gnused-4.9/bin:/nix/store/5f96fidrw1fhyv8kxmx1d31m7qymlqdd-gnugrep-3.12/bin:/nix/store/i45ysli6zxj414lyyyhrl19ir3jkfdna-gawk-5.3.2/bin:/nix/store/2q9piicbr4dws7xi4xggb1nqs08k541h-gnutar-1.35/bin:/nix/store/ayfjrsaf6firgmr4h0a2v3g61yl07a6n-gzip-1.14/bin:/nix/store/7bp4xz524b106ay6hxp27k83p50ziv4w-bzip2-1.0.8-bin/bin:/nix/store/l8jkq4dnsknlxz436w6gw5rcm09mvq6p-gnumake-4.4.1/bin:/nix/store/3zrx6av2d1141igkcn8477cvbfqpcmcf-bash-5.3p9/bin:/nix/store/67a37s907bmcms143slallmjnsh2s7w8-patch-2.8/bin:/nix/store/61cj6q1qv2dibpmryaccn4drwc55ysv8-xz-5.8.2-bin/bin:/nix/store/z4nj80nfcllba9n6drf4axylzb24s15k-file-5.45/bin' +PATH='/nix/store/igl44md7ljf5c3hx6s6ys6325fkpldny-nixfmt-1.2.0/bin:/nix/store/4ygyyjm4ad5q9382wiik7nn59b60rk63-gitlint-0.19.1/bin:/nix/store/h2y0a3x6hgznqq54rjszbi2x0rdnlgvb-python3-3.13.12/bin:/nix/store/r0xwfwva8p84gqlv5jp8icl26mk0zw76-gitleaks-8.30.0/bin:/nix/store/sc8kb91395fw69qcmij89m3bxdmj8gwb-shfmt-3.12.0/bin:/nix/store/hj3rkkp4azj65qvalnbl6ax0sgrfgmgh-go-1.25.7/bin:/nix/store/5498nh3pn799k53gwqlpmzwhvapj7qn6-gopls-0.21.1/bin:/nix/store/vlqqxb8xci50ck2f0dw8rh4mf8mwqyg5-gotools-0.34.0/bin:/nix/store/7x4dmbrjq24hgpzs1g6jxi3gm207ypkd-bun-1.3.10/bin:/nix/store/xdyrcv7zr12n61nz4fzjf5knix0nj0xx-bazel/bin:/nix/store/62jd6i5pz1rc4ilnbgsk6ialpbm3xm8j-bazel-buildtools-8.5.1/bin:/nix/store/kx3g9mlnlx8bafb9cwmnmvv7q8b76lsk-release/bin:/nix/store/59rqcmzdr53ay0pfgqc3mpa9l9lr1wx6-oxfmt-0.27.0/bin:/nix/store/vv99xympv0hjcqiky7sjni5mgrb6yp69-oxlint-1.50.0/bin:/nix/store/vl936sd1vj8s008akm3gibkgyqk30qhz-clang-wrapper-21.1.8/bin:/nix/store/rr64nnycczvx7s1b110qmvqrlfcb6lsm-clang-21.1.8/bin:/nix/store/chdj76m79c3lbwdn6bflwlqa2n2igx02-coreutils-9.10/bin:/nix/store/qkqww6ccw4n4px5jzs1fkcg9yh1jnbxl-cctools-binutils-darwin-wrapper-1010.6/bin:/nix/store/020z53qny5xbgxi1r5j3l27r135zmrjy-cctools-binutils-darwin-1010.6/bin:/nix/store/4wy2b9dipk7h7c6i444ipys9kq00f4qc-xcbuild-0.1.1-unstable-2019-11-20-xcrun/bin:/nix/store/hhdx8wizaynj5203x02wyj7srqyig87r-gitlint-0.19.1/bin:/nix/store/qzgxkh5rnlswnj5ywhag0djwvn83kr3r-python3-3.13.11/bin:/nix/store/d8p3k8wlvbxv4cdpgs0vqv3rr2ck0fqv-treefmt/bin:/nix/store/ik1b3z19bgk8lagf461zq222kxrpdynb-libiconv-109.100.2/bin:/nix/store/chdj76m79c3lbwdn6bflwlqa2n2igx02-coreutils-9.10/bin:/nix/store/laagkkm7lnm746374c4cii932b77pmaw-findutils-4.10.0/bin:/nix/store/0xkxjb418kdssdxx3c8filikjqhzxwcx-diffutils-3.12/bin:/nix/store/xzsihjm86aqgqarrzifrzr4sfchw4225-gnused-4.9/bin:/nix/store/5f96fidrw1fhyv8kxmx1d31m7qymlqdd-gnugrep-3.12/bin:/nix/store/i45ysli6zxj414lyyyhrl19ir3jkfdna-gawk-5.3.2/bin:/nix/store/2q9piicbr4dws7xi4xggb1nqs08k541h-gnutar-1.35/bin:/nix/store/ayfjrsaf6firgmr4h0a2v3g61yl07a6n-gzip-1.14/bin:/nix/store/7bp4xz524b106ay6hxp27k83p50ziv4w-bzip2-1.0.8-bin/bin:/nix/store/l8jkq4dnsknlxz436w6gw5rcm09mvq6p-gnumake-4.4.1/bin:/nix/store/3zrx6av2d1141igkcn8477cvbfqpcmcf-bash-5.3p9/bin:/nix/store/67a37s907bmcms143slallmjnsh2s7w8-patch-2.8/bin:/nix/store/61cj6q1qv2dibpmryaccn4drwc55ysv8-xz-5.8.2-bin/bin:/nix/store/z4nj80nfcllba9n6drf4axylzb24s15k-file-5.45/bin' export PATH PATH_LOCALE='/nix/store/njmig5gp6llav5ds1yhvi7r0l38ihds3-locale-118/share/locale' export PATH_LOCALE @@ -162,7 +162,7 @@ mesonFlags='' export mesonFlags name='nix-shell-env' export name -nativeBuildInputs='/nix/store/igl44md7ljf5c3hx6s6ys6325fkpldny-nixfmt-1.2.0 /nix/store/4ygyyjm4ad5q9382wiik7nn59b60rk63-gitlint-0.19.1 /nix/store/r0xwfwva8p84gqlv5jp8icl26mk0zw76-gitleaks-8.30.0 /nix/store/sc8kb91395fw69qcmij89m3bxdmj8gwb-shfmt-3.12.0 /nix/store/hj3rkkp4azj65qvalnbl6ax0sgrfgmgh-go-1.25.7 /nix/store/5498nh3pn799k53gwqlpmzwhvapj7qn6-gopls-0.21.1 /nix/store/vlqqxb8xci50ck2f0dw8rh4mf8mwqyg5-gotools-0.34.0 /nix/store/7x4dmbrjq24hgpzs1g6jxi3gm207ypkd-bun-1.3.10 /nix/store/xdyrcv7zr12n61nz4fzjf5knix0nj0xx-bazel /nix/store/62jd6i5pz1rc4ilnbgsk6ialpbm3xm8j-bazel-buildtools-8.5.1 /nix/store/kr5mq8lvcas1wxdm8h5jrs085nspmidx-release /nix/store/59rqcmzdr53ay0pfgqc3mpa9l9lr1wx6-oxfmt-0.27.0 /nix/store/vv99xympv0hjcqiky7sjni5mgrb6yp69-oxlint-1.50.0' +nativeBuildInputs='/nix/store/igl44md7ljf5c3hx6s6ys6325fkpldny-nixfmt-1.2.0 /nix/store/4ygyyjm4ad5q9382wiik7nn59b60rk63-gitlint-0.19.1 /nix/store/r0xwfwva8p84gqlv5jp8icl26mk0zw76-gitleaks-8.30.0 /nix/store/sc8kb91395fw69qcmij89m3bxdmj8gwb-shfmt-3.12.0 /nix/store/hj3rkkp4azj65qvalnbl6ax0sgrfgmgh-go-1.25.7 /nix/store/5498nh3pn799k53gwqlpmzwhvapj7qn6-gopls-0.21.1 /nix/store/vlqqxb8xci50ck2f0dw8rh4mf8mwqyg5-gotools-0.34.0 /nix/store/7x4dmbrjq24hgpzs1g6jxi3gm207ypkd-bun-1.3.10 /nix/store/xdyrcv7zr12n61nz4fzjf5knix0nj0xx-bazel /nix/store/62jd6i5pz1rc4ilnbgsk6ialpbm3xm8j-bazel-buildtools-8.5.1 /nix/store/kx3g9mlnlx8bafb9cwmnmvv7q8b76lsk-release /nix/store/59rqcmzdr53ay0pfgqc3mpa9l9lr1wx6-oxfmt-0.27.0 /nix/store/vv99xympv0hjcqiky7sjni5mgrb6yp69-oxlint-1.50.0' export nativeBuildInputs out='/Users/eric/Projects/rules_bun/outputs/out' export out @@ -183,7 +183,7 @@ phases='buildPhase' export phases pkg='/nix/store/49rnbvkp4nywgr2pqcmii0dr4sbj9zs7-apple-sdk-14.4' declare -a pkgsBuildBuild=() -declare -a pkgsBuildHost=('/nix/store/igl44md7ljf5c3hx6s6ys6325fkpldny-nixfmt-1.2.0' '/nix/store/4ygyyjm4ad5q9382wiik7nn59b60rk63-gitlint-0.19.1' '/nix/store/3xza1grhkwh3mnwd0j29a9hsbbgxhdak-python3.13-arrow-1.4.0' '/nix/store/qflvkqlgrxij13pljw5bfjjy8293423y-python3.13-python-dateutil-2.9.0.post0' '/nix/store/3fklla4b6nagqd4f0khfnbzc9fq0ff5a-python3.13-six-1.17.0' '/nix/store/h2y0a3x6hgznqq54rjszbi2x0rdnlgvb-python3-3.13.12' '/nix/store/8ilq4kw137gpq10qibiv6rz2xkwq56d8-python3.13-types-python-dateutil-2.9.0.20251115' '/nix/store/pqb998q9642lgg0fb1r8msr0hkzdyg14-python3.13-tzdata-2025.3' '/nix/store/h7wda1dhw18x43b6g4px3kk18m542qaq-python3.13-click-8.3.1' '/nix/store/n8qcvx32nlj1g10py7fg1js051vp7pfd-python3.13-sh-2.2.2' '/nix/store/r0xwfwva8p84gqlv5jp8icl26mk0zw76-gitleaks-8.30.0' '/nix/store/sc8kb91395fw69qcmij89m3bxdmj8gwb-shfmt-3.12.0' '/nix/store/hj3rkkp4azj65qvalnbl6ax0sgrfgmgh-go-1.25.7' '/nix/store/5498nh3pn799k53gwqlpmzwhvapj7qn6-gopls-0.21.1' '/nix/store/vlqqxb8xci50ck2f0dw8rh4mf8mwqyg5-gotools-0.34.0' '/nix/store/7x4dmbrjq24hgpzs1g6jxi3gm207ypkd-bun-1.3.10' '/nix/store/xdyrcv7zr12n61nz4fzjf5knix0nj0xx-bazel' '/nix/store/62jd6i5pz1rc4ilnbgsk6ialpbm3xm8j-bazel-buildtools-8.5.1' '/nix/store/kr5mq8lvcas1wxdm8h5jrs085nspmidx-release' '/nix/store/59rqcmzdr53ay0pfgqc3mpa9l9lr1wx6-oxfmt-0.27.0' '/nix/store/vv99xympv0hjcqiky7sjni5mgrb6yp69-oxlint-1.50.0' '/nix/store/23c6sxdfaa5r38ihc7y575vv7j4qs4sk-update-autotools-gnu-config-scripts-hook' '/nix/store/0y5xmdb7qfvimjwbq7ibg1xdgkgjwqng-no-broken-symlinks.sh' '/nix/store/cv1d7p48379km6a85h4zp6kr86brh32q-audit-tmpdir.sh' '/nix/store/85clx3b0xkdf58jn161iy80y5223ilbi-compress-man-pages.sh' '/nix/store/p3l1a5y7nllfyrjn2krlwgcc3z0cd3fq-make-symlinks-relative.sh' '/nix/store/5yzw0vhkyszf2d179m0qfkgxmp5wjjx4-move-docs.sh' '/nix/store/fyaryjvghbkpfnsyw97hb3lyb37s1pd6-move-lib64.sh' '/nix/store/kd4xwxjpjxi71jkm6ka0np72if9rm3y0-move-sbin.sh' '/nix/store/pag6l61paj1dc9sv15l7bm5c17xn5kyk-move-systemd-user-units.sh' '/nix/store/cmzya9irvxzlkh7lfy6i82gbp0saxqj3-multiple-outputs.sh' '/nix/store/x8c40nfigps493a07sdr2pm5s9j1cdc0-patch-shebangs.sh' '/nix/store/cickvswrvann041nqxb0rxilc46svw1n-prune-libtool-files.sh' '/nix/store/xyff06pkhki3qy1ls77w10s0v79c9il0-reproducible-builds.sh' '/nix/store/z7k98578dfzi6l3hsvbivzm7hfqlk0zc-set-source-date-epoch-to-latest.sh' '/nix/store/pilsssjjdxvdphlg2h19p0bfx5q0jzkn-strip.sh' '/nix/store/vl936sd1vj8s008akm3gibkgyqk30qhz-clang-wrapper-21.1.8' '/nix/store/qkqww6ccw4n4px5jzs1fkcg9yh1jnbxl-cctools-binutils-darwin-wrapper-1010.6' '/nix/store/4wy2b9dipk7h7c6i444ipys9kq00f4qc-xcbuild-0.1.1-unstable-2019-11-20-xcrun' ) +declare -a pkgsBuildHost=('/nix/store/igl44md7ljf5c3hx6s6ys6325fkpldny-nixfmt-1.2.0' '/nix/store/4ygyyjm4ad5q9382wiik7nn59b60rk63-gitlint-0.19.1' '/nix/store/3xza1grhkwh3mnwd0j29a9hsbbgxhdak-python3.13-arrow-1.4.0' '/nix/store/qflvkqlgrxij13pljw5bfjjy8293423y-python3.13-python-dateutil-2.9.0.post0' '/nix/store/3fklla4b6nagqd4f0khfnbzc9fq0ff5a-python3.13-six-1.17.0' '/nix/store/h2y0a3x6hgznqq54rjszbi2x0rdnlgvb-python3-3.13.12' '/nix/store/8ilq4kw137gpq10qibiv6rz2xkwq56d8-python3.13-types-python-dateutil-2.9.0.20251115' '/nix/store/pqb998q9642lgg0fb1r8msr0hkzdyg14-python3.13-tzdata-2025.3' '/nix/store/h7wda1dhw18x43b6g4px3kk18m542qaq-python3.13-click-8.3.1' '/nix/store/n8qcvx32nlj1g10py7fg1js051vp7pfd-python3.13-sh-2.2.2' '/nix/store/r0xwfwva8p84gqlv5jp8icl26mk0zw76-gitleaks-8.30.0' '/nix/store/sc8kb91395fw69qcmij89m3bxdmj8gwb-shfmt-3.12.0' '/nix/store/hj3rkkp4azj65qvalnbl6ax0sgrfgmgh-go-1.25.7' '/nix/store/5498nh3pn799k53gwqlpmzwhvapj7qn6-gopls-0.21.1' '/nix/store/vlqqxb8xci50ck2f0dw8rh4mf8mwqyg5-gotools-0.34.0' '/nix/store/7x4dmbrjq24hgpzs1g6jxi3gm207ypkd-bun-1.3.10' '/nix/store/xdyrcv7zr12n61nz4fzjf5knix0nj0xx-bazel' '/nix/store/62jd6i5pz1rc4ilnbgsk6ialpbm3xm8j-bazel-buildtools-8.5.1' '/nix/store/kx3g9mlnlx8bafb9cwmnmvv7q8b76lsk-release' '/nix/store/59rqcmzdr53ay0pfgqc3mpa9l9lr1wx6-oxfmt-0.27.0' '/nix/store/vv99xympv0hjcqiky7sjni5mgrb6yp69-oxlint-1.50.0' '/nix/store/23c6sxdfaa5r38ihc7y575vv7j4qs4sk-update-autotools-gnu-config-scripts-hook' '/nix/store/0y5xmdb7qfvimjwbq7ibg1xdgkgjwqng-no-broken-symlinks.sh' '/nix/store/cv1d7p48379km6a85h4zp6kr86brh32q-audit-tmpdir.sh' '/nix/store/85clx3b0xkdf58jn161iy80y5223ilbi-compress-man-pages.sh' '/nix/store/p3l1a5y7nllfyrjn2krlwgcc3z0cd3fq-make-symlinks-relative.sh' '/nix/store/5yzw0vhkyszf2d179m0qfkgxmp5wjjx4-move-docs.sh' '/nix/store/fyaryjvghbkpfnsyw97hb3lyb37s1pd6-move-lib64.sh' '/nix/store/kd4xwxjpjxi71jkm6ka0np72if9rm3y0-move-sbin.sh' '/nix/store/pag6l61paj1dc9sv15l7bm5c17xn5kyk-move-systemd-user-units.sh' '/nix/store/cmzya9irvxzlkh7lfy6i82gbp0saxqj3-multiple-outputs.sh' '/nix/store/x8c40nfigps493a07sdr2pm5s9j1cdc0-patch-shebangs.sh' '/nix/store/cickvswrvann041nqxb0rxilc46svw1n-prune-libtool-files.sh' '/nix/store/xyff06pkhki3qy1ls77w10s0v79c9il0-reproducible-builds.sh' '/nix/store/z7k98578dfzi6l3hsvbivzm7hfqlk0zc-set-source-date-epoch-to-latest.sh' '/nix/store/pilsssjjdxvdphlg2h19p0bfx5q0jzkn-strip.sh' '/nix/store/vl936sd1vj8s008akm3gibkgyqk30qhz-clang-wrapper-21.1.8' '/nix/store/qkqww6ccw4n4px5jzs1fkcg9yh1jnbxl-cctools-binutils-darwin-wrapper-1010.6' '/nix/store/4wy2b9dipk7h7c6i444ipys9kq00f4qc-xcbuild-0.1.1-unstable-2019-11-20-xcrun' ) declare -a pkgsBuildTarget=() declare -a pkgsHostHost=('/nix/store/g0r7lnyajlqwkkshzwcasa1swnqlr6fs-libcxx-20.1.0+apple-sdk-26.0' '/nix/store/2adqlqhmwxglc2f0r7fxa5wdlavjn21r-compiler-rt-libc-21.1.8-dev' '/nix/store/16j7rnr03s8ssn0q9nwf3ncj7aj2pqd3-compiler-rt-libc-21.1.8' ) declare -a pkgsHostTarget=('/nix/store/hhdx8wizaynj5203x02wyj7srqyig87r-gitlint-0.19.1' '/nix/store/yvgibssnyvi4jfcqw3zs8hx07cih80ay-python3.13-arrow-1.3.0' '/nix/store/bdbzfjw1gvyk6lziqxkv7kiwddqk3ncg-python3.13-python-dateutil-2.9.0.post0' '/nix/store/kgkc9bbp2s5k30ryd8pgv7gcbh30cm3f-python3.13-six-1.17.0' '/nix/store/qzgxkh5rnlswnj5ywhag0djwvn83kr3r-python3-3.13.11' '/nix/store/kbhcff5i9v3svjahb5wwjcyc0im5rr98-python3.13-types-python-dateutil-2.9.0.20250708' '/nix/store/nlvajmiq1nwji4bzcz6r5q7y571khj05-python3.13-click-8.3.1' '/nix/store/p030824m0k4zwkicdm1cgz9khvfapbr1-python3.13-sh-2.2.2' '/nix/store/d8p3k8wlvbxv4cdpgs0vqv3rr2ck0fqv-treefmt' '/nix/store/49rnbvkp4nywgr2pqcmii0dr4sbj9zs7-apple-sdk-14.4' '/nix/store/gkyk559bh4zzxh0wfvzqi6zj3rdn0d9q-libiconv-109.100.2-dev' '/nix/store/ik1b3z19bgk8lagf461zq222kxrpdynb-libiconv-109.100.2' '/nix/store/y02fcdl0bx02pkmbsbxks8nmy7yxvanf-libresolv-91-dev' '/nix/store/r0vyrwqczqhfa64ybmz1ag57ssvbxakh-libresolv-91' '/nix/store/w1q5dsq93j18clmn9pzqgl88n7v5j2v9-libsbuf-14.1.0-dev' '/nix/store/q0l5wfnkkhynp14mpl1pk33xhzsaif38-libsbuf-14.1.0' '/nix/store/0zwkfp018d8qpx2lyppvn07rbgvblps4-libutil-72' ) @@ -205,7 +205,7 @@ export propagatedNativeBuildInputs declare -a propagatedTargetDepFiles=('propagated-target-target-deps' ) shell='/nix/store/3zrx6av2d1141igkcn8477cvbfqpcmcf-bash-5.3p9/bin/bash' export shell -shellHook='if true; then'$'\x0a'' if ! /nix/store/dbd3ngiax26c6grkriygc14vdwfqwlvv-git-minimal-2.52.0/bin/git rev-parse --git-dir &> /dev/null; then'$'\x0a'' echo 1>&2 "WARNING: git-hooks.nix: .git not found; skipping installation."'$'\x0a'' else'$'\x0a'' GIT_WC=`/nix/store/dbd3ngiax26c6grkriygc14vdwfqwlvv-git-minimal-2.52.0/bin/git rev-parse --show-toplevel`'$'\x0a'''$'\x0a'' # These update procedures compare before they write, to avoid'$'\x0a'' # filesystem churn. This improves performance with watch tools like lorri'$'\x0a'' # and prevents installation loops by lorri.'$'\x0a'''$'\x0a'' if ! readlink "${GIT_WC}/.pre-commit-config.yaml" >/dev/null \'$'\x0a'' || [[ $(readlink "${GIT_WC}/.pre-commit-config.yaml") != /nix/store/mgb6bn9dy5bpczkl81jp4r03bplwfd8w-pre-commit-config.json ]]; then'$'\x0a'' echo 1>&2 "git-hooks.nix: updating $PWD repo"'$'\x0a'' [ -L "${GIT_WC}/.pre-commit-config.yaml" ] && unlink "${GIT_WC}/.pre-commit-config.yaml"'$'\x0a'''$'\x0a'' if [ -e "${GIT_WC}/.pre-commit-config.yaml" ]; then'$'\x0a'' echo 1>&2 "git-hooks.nix: WARNING: Refusing to install because of an existing config at .pre-commit-config.yaml"'$'\x0a'' echo 1>&2 ""'$'\x0a'' echo 1>&2 " To migrate the existing config to a Nix configuration:"'$'\x0a'' echo 1>&2 " 1. Translate the contents of .pre-commit-config.yaml into a Nix configuration."'$'\x0a'' echo 1>&2 " See https://github.com/cachix/git-hooks.nix#getting-started"'$'\x0a'' echo 1>&2 " 2. Remove .pre-commit-config.yaml"'$'\x0a'' echo 1>&2 " 3. Add .pre-commit-config.yaml to .gitignore"'$'\x0a'' else'$'\x0a'' if true; then'$'\x0a'' nix-store --add-root "${GIT_WC}/.pre-commit-config.yaml" --indirect --realise /nix/store/mgb6bn9dy5bpczkl81jp4r03bplwfd8w-pre-commit-config.json'$'\x0a'' else'$'\x0a'' ln -fs /nix/store/mgb6bn9dy5bpczkl81jp4r03bplwfd8w-pre-commit-config.json "${GIT_WC}/.pre-commit-config.yaml"'$'\x0a'' fi'$'\x0a'' # Remove any previously installed hooks (since pre-commit itself has no convergent design)'$'\x0a'' hooks="commit-msg post-checkout post-commit post-merge post-rewrite pre-commit pre-merge-commit pre-push pre-rebase prepare-commit-msg"'$'\x0a'' for hook in $hooks; do'$'\x0a'' /nix/store/j5pi70fd5x4qjcvdvk2bac03zl9wwims-pre-commit-4.5.1/bin/pre-commit uninstall -t $hook'$'\x0a'' done'$'\x0a'' /nix/store/dbd3ngiax26c6grkriygc14vdwfqwlvv-git-minimal-2.52.0/bin/git config --local core.hooksPath ""'$'\x0a'' # Add hooks for configured stages (only) ...'$'\x0a'' if [ ! -z "pre-commit commit-msg pre-push" ]; then'$'\x0a'' for stage in pre-commit commit-msg pre-push; do'$'\x0a'' case $stage in'$'\x0a'' manual)'$'\x0a'' ;;'$'\x0a'' # if you amend these switches please also review $hooks above'$'\x0a'' commit | merge-commit | push)'$'\x0a'' stage="pre-"$stage'$'\x0a'' /nix/store/j5pi70fd5x4qjcvdvk2bac03zl9wwims-pre-commit-4.5.1/bin/pre-commit install -c .pre-commit-config.yaml -t $stage'$'\x0a'' ;;'$'\x0a'' commit-msg|post-checkout|post-commit|post-merge|post-rewrite|pre-commit|pre-merge-commit|pre-push|pre-rebase|prepare-commit-msg|manual)'$'\x0a'' /nix/store/j5pi70fd5x4qjcvdvk2bac03zl9wwims-pre-commit-4.5.1/bin/pre-commit install -c .pre-commit-config.yaml -t $stage'$'\x0a'' ;;'$'\x0a'' *)'$'\x0a'' echo 1>&2 "ERROR: git-hooks.nix: either $stage is not a valid stage or git-hooks.nix doesn'\''t yet support it."'$'\x0a'' exit 1'$'\x0a'' ;;'$'\x0a'' esac'$'\x0a'' done'$'\x0a'' # ... or default '\''pre-commit'\'' hook'$'\x0a'' else'$'\x0a'' /nix/store/j5pi70fd5x4qjcvdvk2bac03zl9wwims-pre-commit-4.5.1/bin/pre-commit install -c .pre-commit-config.yaml'$'\x0a'' fi'$'\x0a'''$'\x0a'' # Fetch the absolute path to the git common directory. This will normally point to $GIT_WC/.git.'$'\x0a'' common_dir=$(/nix/store/dbd3ngiax26c6grkriygc14vdwfqwlvv-git-minimal-2.52.0/bin/git rev-parse --path-format=absolute --git-common-dir)'$'\x0a'''$'\x0a'' # Convert the absolute path to a path relative to the toplevel working directory.'$'\x0a'' common_dir=${common_dir#$GIT_WC/}'$'\x0a'''$'\x0a'' /nix/store/dbd3ngiax26c6grkriygc14vdwfqwlvv-git-minimal-2.52.0/bin/git config --local core.hooksPath "$common_dir/hooks"'$'\x0a'' fi'$'\x0a'' fi'$'\x0a''fi'$'\x0a''fi'$'\x0a'''$'\x0a''export PATH=/nix/store/j5pi70fd5x4qjcvdvk2bac03zl9wwims-pre-commit-4.5.1/bin:$PATH'$'\x0a'''$'\x0a'''$'\x0a''if [ -t 1 ]; then'$'\x0a'' command -v tput >/dev/null 2>&1 && tput clear || printf '\''\033c'\'''$'\x0a''fi'$'\x0a'''$'\x0a''GREEN='\''\033[1;32m'\'''$'\x0a''CYAN='\''\033[1;36m'\'''$'\x0a''YELLOW='\''\033[1;33m'\'''$'\x0a''BLUE='\''\033[1;34m'\'''$'\x0a''RED='\''\033[1;31m'\'''$'\x0a''MAGENTA='\''\033[1;35m'\'''$'\x0a''WHITE='\''\033[1;37m'\'''$'\x0a''GRAY='\''\033[0;90m'\'''$'\x0a''BOLD='\''\033[1m'\'''$'\x0a''UNDERLINE='\''\033[4m'\'''$'\x0a''RESET='\''\033[0m'\'''$'\x0a'''$'\x0a''printf "\n$GREEN '$'\xf0'''$'\x9f'''$'\x9a'''$'\x80'' Dev shell ready$RESET\n\n"'$'\x0a''if command -v /nix/store/7x4dmbrjq24hgpzs1g6jxi3gm207ypkd-bun-1.3.10/bin/bun >/dev/null 2>&1; then'$'\x0a'' version="$(/nix/store/7x4dmbrjq24hgpzs1g6jxi3gm207ypkd-bun-1.3.10/bin/bun --version 2>/dev/null | head -n 1 | sed -E '\''s/^[[:space:]]+//; s/[[:space:]]+$//'\'')"'$'\x0a'' printf " $CYAN %-6s$RESET $YELLOW%s$RESET\n" "Bun:" "$version"'$'\x0a''fi'$'\x0a''if command -v /nix/store/hj3rkkp4azj65qvalnbl6ax0sgrfgmgh-go-1.25.7/bin/go >/dev/null 2>&1; then'$'\x0a'' version="$(/nix/store/hj3rkkp4azj65qvalnbl6ax0sgrfgmgh-go-1.25.7/bin/go version 2>/dev/null | head -n 1 | sed -E '\''s/^[[:space:]]+//; s/[[:space:]]+$//'\'')"'$'\x0a'' printf " $CYAN %-6s$RESET $CYAN%s$RESET\n" "Go:" "$version"'$'\x0a''fi'$'\x0a''if command -v /nix/store/xdyrcv7zr12n61nz4fzjf5knix0nj0xx-bazel/bin/bazel >/dev/null 2>&1; then'$'\x0a'' version="$(/nix/store/xdyrcv7zr12n61nz4fzjf5knix0nj0xx-bazel/bin/bazel --version 2>/dev/null | head -n 1 | sed -E '\''s/^[[:space:]]+//; s/[[:space:]]+$//'\'')"'$'\x0a'' printf " $CYAN %-6s$RESET $GREEN%s$RESET\n" "Bazel:" "$version"'$'\x0a''fi'$'\x0a'''$'\x0a''printf "\n"'$'\x0a'''$'\x0a''export USE_BAZEL_VERSION="${USE_BAZEL_VERSION:-9.0.0}"'$'\x0a''export BUN_INSTALL="${BUN_INSTALL:-$HOME/.bun}"'$'\x0a''export PATH="$BUN_INSTALL/bin:$PATH"'$'\x0a'''$'\x0a''' +shellHook='if true; then'$'\x0a'' if ! /nix/store/dbd3ngiax26c6grkriygc14vdwfqwlvv-git-minimal-2.52.0/bin/git rev-parse --git-dir &> /dev/null; then'$'\x0a'' echo 1>&2 "WARNING: git-hooks.nix: .git not found; skipping installation."'$'\x0a'' else'$'\x0a'' GIT_WC=`/nix/store/dbd3ngiax26c6grkriygc14vdwfqwlvv-git-minimal-2.52.0/bin/git rev-parse --show-toplevel`'$'\x0a'''$'\x0a'' # These update procedures compare before they write, to avoid'$'\x0a'' # filesystem churn. This improves performance with watch tools like lorri'$'\x0a'' # and prevents installation loops by lorri.'$'\x0a'''$'\x0a'' if ! readlink "${GIT_WC}/.pre-commit-config.yaml" >/dev/null \'$'\x0a'' || [[ $(readlink "${GIT_WC}/.pre-commit-config.yaml") != /nix/store/wrsbzz8sgxnp8xawaxy8nvc3sdwfl5s6-pre-commit-config.json ]]; then'$'\x0a'' echo 1>&2 "git-hooks.nix: updating $PWD repo"'$'\x0a'' [ -L "${GIT_WC}/.pre-commit-config.yaml" ] && unlink "${GIT_WC}/.pre-commit-config.yaml"'$'\x0a'''$'\x0a'' if [ -e "${GIT_WC}/.pre-commit-config.yaml" ]; then'$'\x0a'' echo 1>&2 "git-hooks.nix: WARNING: Refusing to install because of an existing config at .pre-commit-config.yaml"'$'\x0a'' echo 1>&2 ""'$'\x0a'' echo 1>&2 " To migrate the existing config to a Nix configuration:"'$'\x0a'' echo 1>&2 " 1. Translate the contents of .pre-commit-config.yaml into a Nix configuration."'$'\x0a'' echo 1>&2 " See https://github.com/cachix/git-hooks.nix#getting-started"'$'\x0a'' echo 1>&2 " 2. Remove .pre-commit-config.yaml"'$'\x0a'' echo 1>&2 " 3. Add .pre-commit-config.yaml to .gitignore"'$'\x0a'' else'$'\x0a'' if true; then'$'\x0a'' nix-store --add-root "${GIT_WC}/.pre-commit-config.yaml" --indirect --realise /nix/store/wrsbzz8sgxnp8xawaxy8nvc3sdwfl5s6-pre-commit-config.json'$'\x0a'' else'$'\x0a'' ln -fs /nix/store/wrsbzz8sgxnp8xawaxy8nvc3sdwfl5s6-pre-commit-config.json "${GIT_WC}/.pre-commit-config.yaml"'$'\x0a'' fi'$'\x0a'' # Remove any previously installed hooks (since pre-commit itself has no convergent design)'$'\x0a'' hooks="commit-msg post-checkout post-commit post-merge post-rewrite pre-commit pre-merge-commit pre-push pre-rebase prepare-commit-msg"'$'\x0a'' for hook in $hooks; do'$'\x0a'' /nix/store/j5pi70fd5x4qjcvdvk2bac03zl9wwims-pre-commit-4.5.1/bin/pre-commit uninstall -t $hook'$'\x0a'' done'$'\x0a'' /nix/store/dbd3ngiax26c6grkriygc14vdwfqwlvv-git-minimal-2.52.0/bin/git config --local core.hooksPath ""'$'\x0a'' # Add hooks for configured stages (only) ...'$'\x0a'' if [ ! -z "pre-commit commit-msg pre-push" ]; then'$'\x0a'' for stage in pre-commit commit-msg pre-push; do'$'\x0a'' case $stage in'$'\x0a'' manual)'$'\x0a'' ;;'$'\x0a'' # if you amend these switches please also review $hooks above'$'\x0a'' commit | merge-commit | push)'$'\x0a'' stage="pre-"$stage'$'\x0a'' /nix/store/j5pi70fd5x4qjcvdvk2bac03zl9wwims-pre-commit-4.5.1/bin/pre-commit install -c .pre-commit-config.yaml -t $stage'$'\x0a'' ;;'$'\x0a'' commit-msg|post-checkout|post-commit|post-merge|post-rewrite|pre-commit|pre-merge-commit|pre-push|pre-rebase|prepare-commit-msg|manual)'$'\x0a'' /nix/store/j5pi70fd5x4qjcvdvk2bac03zl9wwims-pre-commit-4.5.1/bin/pre-commit install -c .pre-commit-config.yaml -t $stage'$'\x0a'' ;;'$'\x0a'' *)'$'\x0a'' echo 1>&2 "ERROR: git-hooks.nix: either $stage is not a valid stage or git-hooks.nix doesn'\''t yet support it."'$'\x0a'' exit 1'$'\x0a'' ;;'$'\x0a'' esac'$'\x0a'' done'$'\x0a'' # ... or default '\''pre-commit'\'' hook'$'\x0a'' else'$'\x0a'' /nix/store/j5pi70fd5x4qjcvdvk2bac03zl9wwims-pre-commit-4.5.1/bin/pre-commit install -c .pre-commit-config.yaml'$'\x0a'' fi'$'\x0a'''$'\x0a'' # Fetch the absolute path to the git common directory. This will normally point to $GIT_WC/.git.'$'\x0a'' common_dir=$(/nix/store/dbd3ngiax26c6grkriygc14vdwfqwlvv-git-minimal-2.52.0/bin/git rev-parse --path-format=absolute --git-common-dir)'$'\x0a'''$'\x0a'' # Convert the absolute path to a path relative to the toplevel working directory.'$'\x0a'' common_dir=${common_dir#$GIT_WC/}'$'\x0a'''$'\x0a'' /nix/store/dbd3ngiax26c6grkriygc14vdwfqwlvv-git-minimal-2.52.0/bin/git config --local core.hooksPath "$common_dir/hooks"'$'\x0a'' fi'$'\x0a'' fi'$'\x0a''fi'$'\x0a''fi'$'\x0a'''$'\x0a''export PATH=/nix/store/j5pi70fd5x4qjcvdvk2bac03zl9wwims-pre-commit-4.5.1/bin:$PATH'$'\x0a'''$'\x0a'''$'\x0a''if [ -t 1 ]; then'$'\x0a'' command -v tput >/dev/null 2>&1 && tput clear || printf '\''\033c'\'''$'\x0a''fi'$'\x0a'''$'\x0a''GREEN='\''\033[1;32m'\'''$'\x0a''CYAN='\''\033[1;36m'\'''$'\x0a''YELLOW='\''\033[1;33m'\'''$'\x0a''BLUE='\''\033[1;34m'\'''$'\x0a''RED='\''\033[1;31m'\'''$'\x0a''MAGENTA='\''\033[1;35m'\'''$'\x0a''WHITE='\''\033[1;37m'\'''$'\x0a''GRAY='\''\033[0;90m'\'''$'\x0a''BOLD='\''\033[1m'\'''$'\x0a''UNDERLINE='\''\033[4m'\'''$'\x0a''RESET='\''\033[0m'\'''$'\x0a'''$'\x0a''printf "\n$GREEN '$'\xf0'''$'\x9f'''$'\x9a'''$'\x80'' Dev shell ready$RESET\n\n"'$'\x0a''if command -v /nix/store/7x4dmbrjq24hgpzs1g6jxi3gm207ypkd-bun-1.3.10/bin/bun >/dev/null 2>&1; then'$'\x0a'' version="$(/nix/store/7x4dmbrjq24hgpzs1g6jxi3gm207ypkd-bun-1.3.10/bin/bun --version 2>/dev/null | head -n 1 | sed -E '\''s/^[[:space:]]+//; s/[[:space:]]+$//'\'')"'$'\x0a'' printf " $CYAN %-6s$RESET $YELLOW%s$RESET\n" "Bun:" "$version"'$'\x0a''fi'$'\x0a''if command -v /nix/store/hj3rkkp4azj65qvalnbl6ax0sgrfgmgh-go-1.25.7/bin/go >/dev/null 2>&1; then'$'\x0a'' version="$(/nix/store/hj3rkkp4azj65qvalnbl6ax0sgrfgmgh-go-1.25.7/bin/go version 2>/dev/null | head -n 1 | sed -E '\''s/^[[:space:]]+//; s/[[:space:]]+$//'\'')"'$'\x0a'' printf " $CYAN %-6s$RESET $CYAN%s$RESET\n" "Go:" "$version"'$'\x0a''fi'$'\x0a''if command -v /nix/store/xdyrcv7zr12n61nz4fzjf5knix0nj0xx-bazel/bin/bazel >/dev/null 2>&1; then'$'\x0a'' version="$(/nix/store/xdyrcv7zr12n61nz4fzjf5knix0nj0xx-bazel/bin/bazel --version 2>/dev/null | head -n 1 | sed -E '\''s/^[[:space:]]+//; s/[[:space:]]+$//'\'')"'$'\x0a'' printf " $CYAN %-6s$RESET $GREEN%s$RESET\n" "Bazel:" "$version"'$'\x0a''fi'$'\x0a'''$'\x0a''printf "\n"'$'\x0a'''$'\x0a''export USE_BAZEL_VERSION="${USE_BAZEL_VERSION:-9.0.0}"'$'\x0a''export BUN_INSTALL="${BUN_INSTALL:-$HOME/.bun}"'$'\x0a''export PATH="$BUN_INSTALL/bin:$PATH"'$'\x0a'''$'\x0a''' export shellHook stdenv='/nix/store/nssnpv7ghq4f1fdm41q304dmak5aanjv-stdenv-darwin' export stdenv diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c2bbb4a..dca56f1 120000 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1 +1 @@ -/nix/store/mgb6bn9dy5bpczkl81jp4r03bplwfd8w-pre-commit-config.json \ No newline at end of file +/nix/store/wrsbzz8sgxnp8xawaxy8nvc3sdwfl5s6-pre-commit-config.json \ No newline at end of file diff --git a/flake.lock b/flake.lock index b18e560..219148f 100644 --- a/flake.lock +++ b/flake.lock @@ -9,16 +9,16 @@ "treefmt-nix": "treefmt-nix" }, "locked": { - "lastModified": 1772613315, - "narHash": "sha256-RlPTOsyfVwuwEzvaMpwS+giOqQa6KQXMuSHyh1bctjk=", - "ref": "v1.0.5", - "rev": "e445e49baf8b44b385108cd4f26a14d8ccf9fd35", - "revCount": 35, + "lastModified": 1772815059, + "narHash": "sha256-9Mn8t/a7b43omtmKRsF0HmFpCkNpTsvYEq0y85KLL5s=", + "ref": "v2.0.1", + "rev": "80cc529de7060e079d89a69d8daaf0347b53d8f9", + "revCount": 43, "type": "git", "url": "https://git.dgren.dev/eric/nix-flake-lib" }, "original": { - "ref": "v1.0.5", + "ref": "v2.0.1", "type": "git", "url": "https://git.dgren.dev/eric/nix-flake-lib" } diff --git a/flake.nix b/flake.nix index af7892f..4041479 100644 --- a/flake.nix +++ b/flake.nix @@ -3,7 +3,7 @@ inputs = { nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable"; - devshell-lib.url = "git+https://git.dgren.dev/eric/nix-flake-lib?ref=v1.0.5"; + devshell-lib.url = "git+https://git.dgren.dev/eric/nix-flake-lib?ref=v2.0.1"; devshell-lib.inputs.nixpkgs.follows = "nixpkgs"; };