simplify CI

* I didn't know what I was doing when I set up Hydra

* it's not certain that I do now either, but hey ho
This commit is contained in:
Daniel Barlow
2024-10-06 15:55:01 +01:00
parent 336fc7e495
commit ca9efc4b26
13 changed files with 29 additions and 84 deletions

View File

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