mirror of
https://github.com/nix-community/disko.git
synced 2024-11-04 05:44:29 +03: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
10 lines
135 B
Nix
10 lines
135 B
Nix
let
|
|
pkgs = import <nixpkgs> { };
|
|
in
|
|
{
|
|
test = pkgs.writeScript "test" ''
|
|
#!/bin/sh
|
|
nix-build "${toString ./tests}";
|
|
'';
|
|
}
|