1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 12:27:36 +00:00

nix: Clean up files, use good practices

This commit is contained in:
RGBCube 2024-03-16 11:36:09 +03:00
parent 3a8bde9ef2
commit 52498f9c79
No known key found for this signature in database
7 changed files with 55 additions and 94 deletions

15
flake.nix Normal file
View file

@ -0,0 +1,15 @@
{
description = "Serenity";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
utils.url = "github:numtide/flake-utils";
};
outputs = { self, nixpkgs, utils, }: utils.lib.eachDefaultSystem (system: let
pkgs = import nixpkgs { inherit system; };
in {
devShells.default = import ./Toolchain { inherit pkgs; };
devShells.ladybird = import ./Ladybird { inherit pkgs; };
});
}