formatting
This commit is contained in:
parent
40ee5cd63f
commit
13eedd1a1c
18
flake.nix
18
flake.nix
|
@ -1,14 +1,16 @@
|
||||||
{ description = "A few random scripts";
|
{
|
||||||
|
description = "A few random scripts";
|
||||||
inputs = {
|
inputs = {
|
||||||
nixpkgs.url = github:nixos/nixpkgs/nixos-23.05;
|
nixpkgs.url = github:nixos/nixpkgs/nixos-23.05;
|
||||||
flake-utils.url = github:numtide/flake-utils;
|
flake-utils.url = github:numtide/flake-utils;
|
||||||
};
|
};
|
||||||
outputs = { self, nixpkgs, flake-utils }:
|
outputs = { self, nixpkgs, flake-utils }:
|
||||||
flake-utils.lib.eachDefaultSystem ( system:
|
flake-utils.lib.eachDefaultSystem (system:
|
||||||
let pkgs = import nixpkgs { inherit system; };
|
let pkgs = import nixpkgs { inherit system; };
|
||||||
in{
|
in {
|
||||||
packages = {
|
packages = {
|
||||||
default = pkgs.callPackage ./default.nix {};
|
default = pkgs.callPackage ./default.nix { };
|
||||||
};
|
};
|
||||||
});
|
formatter = pkgs.nixpkgs-fmt;
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue