mirror of
https://github.com/SerenityOS/serenity
synced 2024-11-03 03:29:38 +00:00
20162874e0
This patch updates the flake to track the nixos-unstable branch instead of master for the nixpkgs flake input. This ensures that hydra.nixos.org (the NixOS CI) has built all packages, made them available in the cache.nixos.org binary cache without the risk of a definitions (evalulation) being broken on master.
21 lines
541 B
Nix
21 lines
541 B
Nix
{
|
|
description = "Serenity OS";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
flake-utils.url = "github:numtide/flake-utils";
|
|
};
|
|
outputs = { self, flake-utils, nixpkgs }:
|
|
|
|
flake-utils.lib.eachDefaultSystem
|
|
(system:
|
|
let pkgs = nixpkgs.legacyPackages.${system}; in
|
|
{
|
|
formatter = pkgs.nixpkgs-fmt;
|
|
devShells.default = import ./serenity.nix { inherit pkgs; };
|
|
devShells.ladybird = import ../Ladybird/ladybird.nix { inherit pkgs; };
|
|
}
|
|
);
|
|
|
|
|
|
}
|