mirror of
https://github.com/nix-community/disko
synced 2024-11-10 14:24:27 +00:00
08435eec4b
Apply standard formatting and some statix conventions using; ```sh nixpkgs-fmt **.nix && statix fix . ``` With the intent of making contribution a bit easier and reducing mental load in hand formatting (in the same vein as [black]). [black]: https://github.com/psf/black#the-uncompromising-code-formatter
9 lines
135 B
Nix
9 lines
135 B
Nix
let
|
|
pkgs = import <nixpkgs> { };
|
|
in
|
|
{
|
|
test = pkgs.writeScript "test" ''
|
|
#!/bin/sh
|
|
nix-build "${toString ./tests}";
|
|
'';
|
|
}
|