add CI "all" target

This commit is contained in:
Daniel Barlow
2024-10-06 16:39:24 +01:00
parent ca9efc4b26
commit f8c579b41e
3 changed files with 12 additions and 14 deletions

View File

@@ -1,9 +1,9 @@
let
overlay = import <liminix/overlay.nix>;
nixpkgs = import <nixpkgs> { overlays = [overlay]; };
fixture = nixpkgs.callPackage ./fixture.nix {};
in nixpkgs.runCommand "check" {
nativeBuildInputs = with <nixpkgs>; [ squashfsTools qprint ] ;
pkgs = import <nixpkgs> { overlays = [overlay]; };
fixture = pkgs.callPackage ./fixture.nix {};
in pkgs.runCommand "check" {
nativeBuildInputs = with pkgs; [ squashfsTools qprint ] ;
} ''
set -e
diff ${fixture} ${./result.expected}