1
Fork 0
mirror of https://github.com/RGBCube/crash synced 2025-07-28 00:47:43 +00:00

Initial commit

This commit is contained in:
RGBCube 2024-05-15 13:02:25 +03:00
commit 5d7802cdfd
No known key found for this signature in database
8 changed files with 189 additions and 0 deletions

28
flake.nix Normal file
View file

@ -0,0 +1,28 @@
{
description = "Crash";
nixConfig = {
extra-substituters = "https://cache.garnix.io/";
extra-trusted-public-keys = "cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g=";
};
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
outputs = { nixpkgs, ... }: with nixpkgs.lib; foldl' recursiveUpdate {} (map (system: let
pkgs = import nixpkgs { inherit system; };
in {
devShell.${system} = pkgs.mkShell {
packages = with pkgs; [
zig_0_12
zls
zon2nix
];
};
packages.${system} = rec {
crash = pkgs.callPackage ./package.nix {};
default = crash;
};
}) [ "x86_64-linux" "aarch64-linux" "riscv64-linux" ]);
}