initial commit

This commit is contained in:
Rakarake 2025-12-08 02:37:34 +01:00
commit 0d3340713c
6 changed files with 104 additions and 0 deletions

30
flake.nix Normal file
View file

@ -0,0 +1,30 @@
{
description = "glonkers glonkers glonkers";
inputs = {
flake-utils.url = "github:numtide/flake-utils";
nixpkgs.url = "nixpkgs/nixos-unstable";
};
outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs { inherit system; };
in
{
defaultPackage = pkgs.stdenv.mkDerivation {
name = "glonkers";
src = ./.;
naitiveBuildInputs = with pkgs; [
gcc
pkg-config
];
buildInputs = with pkgs; [
sdl3
];
installPhase = ''
mkdir -p $out/bin
cp glonkers $out/bin
'';
};
}
);
}