mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-22 09:21:57 -05:00
Toolchain/nix: Format nix files
The nixfmt-rfc-style package was used.
This commit is contained in:
parent
5909661f10
commit
8307797859
3 changed files with 24 additions and 8 deletions
|
@ -1,4 +1,7 @@
|
|||
{ pkgs ? import <nixpkgs> { } }: with pkgs;
|
||||
{
|
||||
pkgs ? import <nixpkgs> { },
|
||||
}:
|
||||
with pkgs;
|
||||
|
||||
mkShell.override { stdenv = gcc13Stdenv; } {
|
||||
packages = [
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
{ pkgs ? import <nixpkgs> { } }: with pkgs;
|
||||
{
|
||||
pkgs ? import <nixpkgs> { },
|
||||
}:
|
||||
with pkgs;
|
||||
|
||||
mkShell.override { stdenv = gcc13Stdenv; } {
|
||||
packages = [
|
||||
|
|
22
flake.nix
22
flake.nix
|
@ -6,10 +6,20 @@
|
|||
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; };
|
||||
});
|
||||
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; };
|
||||
}
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue