1
0
Fork 0
mirror of https://git.sr.ht/~roxwize/.dotfiles synced 2025-05-02 19:53:07 +00:00
Signed-off-by: roxwize <rae@roxwize.xyz>
This commit is contained in:
Rae 5e 2025-01-24 16:08:11 -05:00
parent 062c447374
commit c38f040574
Signed by: rae
GPG key ID: 5B1A0FAB9BAB81EE
21 changed files with 5 additions and 4 deletions

View file

@ -0,0 +1,23 @@
{ lib, stdenv, fetchFromGitHub }: stdenv.mkDerivation {
pname = "chibicc-uxn";
version = "1.0.0";
src = fetchFromGitHub {
owner = "lynn";
repo = "chibicc";
rev = "0a590db363fb8d69b80fc70d9dfb7e655aafe656";
sha256 = "1jf18dh9ns0q79q8ql5yiw7l3zswyy0qjlz089xr3kw4zpqaqfmn";
};
installPhase = ''
mkdir -p $out/bin
cp chibicc $out/bin
'';
meta = {
description = "A small C compiler... for uxn";
homepage = "https://github.com/lynn/chibicc";
license = lib.licenses.mit;
platforms = lib.platforms.unix;
};
}

3
nixos/pkgs/overlay.nix Normal file
View file

@ -0,0 +1,3 @@
{ ... }: final: prev: with final; {
chibicc-uxn = callPackage ./chibicc-uxn {};
}