1 nix build nixpkgs#jq.bin -o jq
4 ghcs_nix="https://gitlab.haskell.org/bgamari/ghcs-nix/-/archive/master/ghcs-nix-master.tar.gz"
6 nix build -f "$ghcs_nix" ghc-9_6_5 -o boot_ghc
12 nix build -f "$ghcs_nix" $drv
13 (cd ../; rm -r dist-bootstrap; cabal --distdir=dist-bootstrap build --project-file=cabal.bootstrap.project --dry-run cabal-install:exe:cabal -w bootstrap/result/bin/ghc)
14 jq --sort-keys < ../dist-bootstrap/cache/plan.json > "plan-$ver.json"
15 cabal run --with-ghc-pkg $PWD/boot_ghc/bin/ghc-pkg -w $PWD/boot_ghc/bin/ghc -v0 cabal-bootstrap-gen -- "plan-$ver.json" | jq --sort-keys | tee "linux-$(echo $ver | tr "_" ".").json"