mirror of
https://github.com/nix-community/disko.git
synced 2026-12-02 05:53:28 +01:00
add flake
This commit is contained in:
1 parent
cfd8c7ae13
commit
6b3d6452eb
2 files changed
+46
No files matched your search
@@ -0,0 +1,19 @@
|
||||
{
|
||||
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
|
||||
nixos-test = pkgs.callPackage ./tests/test.nix {
|
||||
makeTest = import (pkgs.path + "/nixos/tests/make-test-python.nix");
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user