Skip to content

Commit da61704

Browse files
authored
use idris2 from nixpkgs (#109)
1 parent 35e8fb0 commit da61704

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

flake.nix

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,13 @@
2121
npkgs = import nixpkgs { inherit system; };
2222
inherit (npkgs)
2323
dhall
24+
idris2
2425
lib;
2526
inherit (npkgs.haskellPackages)
2627
dhall-json;
2728

2829
version = import ./version.nix;
29-
idrisPkgs = idris.packages.${system} // papers;
30+
idrisPkgs = papers;
3031

3132
callPackage = lib.callPackageWith (npkgs // packages);
3233

@@ -76,7 +77,7 @@
7677
};
7778

7879
devShells.default = npkgs.mkShell {
79-
packages = [ idrisPkgs.idris2 papersLib npkgs.rlwrap dhall dhall-json ];
80+
packages = [ idris2 papersLib npkgs.rlwrap dhall dhall-json ];
8081
shellHook = ''
8182
alias idris2="rlwrap -s 1000 idris2 --no-banner"
8283
${self.checks.${system}.pre-commit-check.shellHook}

0 commit comments

Comments
 (0)