renamings

This commit is contained in:
rhiannon morris 2022-05-04 20:13:56 +02:00
parent 8093e4108a
commit 1931f954fb
5 changed files with 15 additions and 15 deletions

View file

@ -1,8 +0,0 @@
package quox-exe
version = 0
depends = base, contrib, elab-util, sop, quox
executable = quox
sourcedir = "src"
main = Main

8
exe/quox.ipkg Normal file
View file

@ -0,0 +1,8 @@
package quox
version = 0
depends = base, contrib, elab-util, sop, quox-lib
executable = quox
sourcedir = "src"
main = Main

View file

@ -17,13 +17,13 @@
inherit (pkgs.idris2-pkgs._builders) idrisPackage; inherit (pkgs.idris2-pkgs._builders) idrisPackage;
quox = idrisPackage ./lib { }; quox-lib = idrisPackage ./lib { };
quox-exe = idrisPackage ./exe { extraPkgs.quox = quox; }; quox = idrisPackage ./exe { extraPkgs.quox-lib = quox-lib; };
quox-tests = idrisPackage ./tests { extraPkgs.quox = quox; }; quox-tests = idrisPackage ./tests { extraPkgs.quox-lib = quox-lib; };
in in
{ {
packages = { inherit quox quox-exe quox-tests; }; packages = { inherit quox-lib quox quox-tests; };
defaultPackage = quox-exe; defaultPackage = quox;
} }
); );
} }

View file

@ -1,4 +1,4 @@
package quox package quox-lib
version = 0 version = 0
authors = "rhiannon morris" authors = "rhiannon morris"

View file

@ -1,6 +1,6 @@
package quox-tests package quox-tests
depends = base, contrib, elab-util, sop, quox depends = base, contrib, elab-util, sop, quox-lib
executable = quox-tests executable = quox-tests
sourcedir = "src" sourcedir = "src"