mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-22 01:11:58 -05:00
26 lines
536 B
Nix
26 lines
536 B
Nix
{
|
|
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; };
|
|
formatter = pkgs.nixfmt-rfc-style;
|
|
}
|
|
);
|
|
}
|