mirror of
https://github.com/nix-community/disko.git
synced 2024-11-04 05:44:29 +03:00
20 lines
473 B
Nix
20 lines
473 B
Nix
{
|
|
description = "Description for the project";
|
|
|
|
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
|
|
outputs = { self, nixpkgs, ... }: {
|
|
lib = import ./. {
|
|
inherit (nixpkgs) lib;
|
|
};
|
|
checks.x86_64-linux = let
|
|
pkgs = nixpkgs.legacyPackages.x86_64-linux;
|
|
in
|
|
# Run tests: nix flake check -L
|
|
import ./tests {
|
|
inherit pkgs;
|
|
makeTest = import (pkgs.path + "/nixos/tests/make-test-python.nix");
|
|
};
|
|
};
|
|
}
|