File tree Expand file tree Collapse file tree 4 files changed +13
-3
lines changed Expand file tree Collapse file tree 4 files changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -115,3 +115,4 @@ plutus-pab/test-node/alonzo-purple/db
115115.nvimrc
116116release- *
117117TestCert. *
118+ worktrees
Original file line number Diff line number Diff line change 143143
144144 # Path to the stdlib .agda-lib file for shell export.
145145 NIX_AGDA_STDLIB = "${ agda-stdlib } /standard-library.agda-lib" ;
146-
147146in
148147
149148{
Original file line number Diff line number Diff line change 105105 exit 1
106106 fi
107107 '' ;
108-
109108in
110109
111110{
Original file line number Diff line number Diff line change 9797 ghc910 = mkShell project . projectVariants . ghc910 ;
9898 } ;
9999
100+ # The default shell contains the agda-with-stdlib-and-metatheory package which will
101+ # break on `nix develop` if the .lagda files are broken. In order to escape this
102+ # situation we introduce a shell that doesn't contain that executable.
103+ metatheory-jailbreak-shell = non-profiled-shells . default . overrideAttrs ( attrs : {
104+ buildInputs =
105+ lib . remove metatheory . agda-with-stdlib-and-metatheory attrs . buildInputs ;
106+ nativeBuildInputs =
107+ lib . remove metatheory . agda-with-stdlib-and-metatheory attrs . nativeBuildInputs ;
108+ } ) ;
109+
100110 devShells =
101111 ( non-profiled-shells ) //
102- { profiled = mkShell project . projectVariants . ghc96-profiled ; } ;
112+ { profiled = mkShell project . projectVariants . ghc96-profiled ; } //
113+ { metatheory-jailbreak = metatheory-jailbreak-shell ; } ;
103114
104115 nested-ci-jobs = {
105116 "x86_64-linux" =
You can’t perform that action at this time.
0 commit comments