1# A script for regenerating nix for tests
3 haskellNix = (import ../default.nix {});
5{ pkgs ? import nixpkgs nixpkgsArgs
6, nixpkgs ? haskellNix.sources.nixpkgs
7, nixpkgsArgs ? haskellNix.nixpkgsArgs
12writeScript "regen-tests.sh" ''
13 #!${pkgs.runtimeShell}
17 export PATH="${lib.makeBinPath [ coreutils glibc haskell-nix.nix-tools cabal-install haskell-nix.compiler.ghc865 ]}"
21 --with-compiler ghc-8.6.5 \
22 --constraint 'transformers == 0.5.6.2' \
23 --constraint 'process == 1.6.5.0'
27 plan-to-nix -o . --plan-json dist-newstyle/cache/plan.json
31 cabal-to-nix $1.cabal > $1.nix
57 regen test-with-packages
66 plan-to-nix -o . --plan-json dist-newstyle/cache/plan.json --cabal-project cabal.project
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list