summaryrefslogtreecommitdiff
path: root/asm/packages.nix
diff options
context:
space:
mode:
Diffstat (limited to 'asm/packages.nix')
-rw-r--r--asm/packages.nix16
1 files changed, 16 insertions, 0 deletions
diff --git a/asm/packages.nix b/asm/packages.nix
new file mode 100644
index 0000000..75154ae
--- /dev/null
+++ b/asm/packages.nix
@@ -0,0 +1,16 @@
+pkgs: lcq: {
+ native = pkgs.pkgsMusl.stdenv.mkDerivation {
+ pname = "libcolonq-asm";
+ version = "git";
+ src = ./.;
+ hardeningDisable = ["all"];
+ buildInputs = [
+ lcq.prelude.native
+ lcq.pit.native
+ lcq.elf.native
+ ];
+ installPhase = ''
+ make prefix=$out install
+ '';
+ };
+}