mirror of
https://git.sr.ht/~roxwize/.dotfiles
synced 2025-01-30 22:53:37 +00:00
~
This commit is contained in:
parent
bc13ec5175
commit
61c1f21f41
4 changed files with 29 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
|||
{ nur, fenix, nixpkgs-unstable, ... }: [
|
||||
nur.overlays.default
|
||||
fenix.overlays.default
|
||||
(import ./pkgs/overlay.nix {})
|
||||
(final: prev: {
|
||||
unstable = import nixpkgs-unstable {
|
||||
system = prev.system;
|
||||
|
|
|
@ -7,12 +7,14 @@
|
|||
environment.systemPackages = with pkgs; [
|
||||
# development
|
||||
cc65 # C compiler for processors of 6502 family
|
||||
chibicc-uxn
|
||||
(fenix.default.withComponents [ "cargo" "rustc" ])
|
||||
gcc # GNU Compiler Collection, version 13.3.0 (wrapper script)
|
||||
git # Distributed version control system
|
||||
godot_4 # Free and Open Source 2D and 3D game engine
|
||||
gtk4 # Multi-platform toolkit for creating graphical user interfaces
|
||||
just # Handy way to save and run project-specific commands
|
||||
gnumake # Tool to control the generation of non-source files from sources
|
||||
meson # Open source, fast and friendly build system made in Python
|
||||
nodejs_23 # Event-driven I/O framework for the V8 JavaScript engine
|
||||
pnpm # Fast, disk space efficient package manager for JavaScript
|
||||
|
|
23
nixos/pkgs/chibicc-uxn/default.nix
Normal file
23
nixos/pkgs/chibicc-uxn/default.nix
Normal 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
3
nixos/pkgs/overlay.nix
Normal file
|
@ -0,0 +1,3 @@
|
|||
{ ... }: final: prev: with final; {
|
||||
chibicc-uxn = callPackage ./chibicc-uxn {};
|
||||
}
|
Loading…
Reference in a new issue