run nixfmt
This commit is contained in:
parent
477bce6897
commit
9415d40508
41 changed files with 384 additions and 262 deletions
23
shell.nix
23
shell.nix
|
@ -1,14 +1,17 @@
|
|||
# Shell for bootstrapping flake-enabled nix and other tooling
|
||||
{ pkgs ? let
|
||||
lock = (builtins.fromJSON (builtins.readFile ./flake.lock)).nodes.nixpkgs.locked;
|
||||
nixpkgs = fetchTarball {
|
||||
url = "https://github.com/nixos/nixpkgs/archive/${lock.rev}.tar.gz";
|
||||
sha256 = lock.narHash;
|
||||
};
|
||||
in
|
||||
import nixpkgs { overlays = [ ]; }
|
||||
, ...
|
||||
}: {
|
||||
{
|
||||
pkgs ?
|
||||
let
|
||||
lock = (builtins.fromJSON (builtins.readFile ./flake.lock)).nodes.nixpkgs.locked;
|
||||
nixpkgs = fetchTarball {
|
||||
url = "https://github.com/nixos/nixpkgs/archive/${lock.rev}.tar.gz";
|
||||
sha256 = lock.narHash;
|
||||
};
|
||||
in
|
||||
import nixpkgs { overlays = [ ]; },
|
||||
...
|
||||
}:
|
||||
{
|
||||
default = pkgs.mkShell {
|
||||
NIX_CONFIG = "extra-experimental-features = nix-command flakes";
|
||||
nativeBuildInputs = with pkgs; [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue