disko/flake.nix

20 lines
473 B
Nix
Raw Normal View History

2022-08-17 12:53:51 +00:00
{
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;
2022-08-25 13:16:26 +00:00
in
2022-08-17 12:53:51 +00:00
# Run tests: nix flake check -L
2022-08-25 13:16:26 +00:00
import ./tests {
inherit pkgs;
2022-08-17 12:53:51 +00:00
makeTest = import (pkgs.path + "/nixos/tests/make-test-python.nix");
};
};
}