1
Fork 0
mirror of https://github.com/RGBCube/dix synced 2025-07-28 04:07:46 +00:00

initial commit

This commit is contained in:
Bloxx12 2025-05-04 10:14:31 +02:00
commit 6ed66b4351
No known key found for this signature in database
7 changed files with 353 additions and 0 deletions

35
flake.nix Normal file
View file

@ -0,0 +1,35 @@
{
description = "Nix version differ";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
systems.url = "github:nix-systems/default-linux";
};
outputs = inputs: let
eachSystem = inputs.nixpkgs.lib.genAttrs (import inputs.systems);
pkgsFor = inputs.nixpkgs.legacyPackages;
in {
packages = eachSystem (system: {
default = inputs.self.packages.${system}.ralc;
ralc = pkgsFor.${system}.callPackage ./nix/package.nix {};
});
devShells = eachSystem (system: {
default = pkgsFor.${system}.mkShell {
packages = builtins.attrValues {
inherit
(pkgsFor.${system})
cargo
rustc
rustfmt
bacon
;
inherit
(pkgsFor.${system}.rustPackages)
clippy
;
};
};
});
};
}