summary refs log tree commit diff
diff options
context:
space:
mode:
authorRobert Hensing <roberth@users.noreply.github.com>2021-08-01 12:37:00 +0200
committerGitHub <noreply@github.com>2021-08-01 12:37:00 +0200
commitab5b6828af26215bf2646c31961da5d3749591ef (patch)
tree24c48efa11fd98ca8b772b8022cb7dffa320a618
parentdd153421ed7ed59500d4c2ff83bc76be4994d1cf (diff)
parent2808286add3e873db6e16e01b7062d3811d61afb (diff)
downloadnixpkgs-ab5b6828af26215bf2646c31961da5d3749591ef.tar
nixpkgs-ab5b6828af26215bf2646c31961da5d3749591ef.tar.gz
nixpkgs-ab5b6828af26215bf2646c31961da5d3749591ef.tar.bz2
nixpkgs-ab5b6828af26215bf2646c31961da5d3749591ef.tar.lz
nixpkgs-ab5b6828af26215bf2646c31961da5d3749591ef.tar.xz
nixpkgs-ab5b6828af26215bf2646c31961da5d3749591ef.tar.zst
nixpkgs-ab5b6828af26215bf2646c31961da5d3749591ef.zip
Merge pull request #132292 from JJJollyjim/passthru-squashfs
squashfsTools: add NixOS cdrom boot as passthru test
-rw-r--r--pkgs/tools/filesystems/squashfs/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/tools/filesystems/squashfs/default.nix b/pkgs/tools/filesystems/squashfs/default.nix
index bec34463151..ee6a9d9a4c3 100644
--- a/pkgs/tools/filesystems/squashfs/default.nix
+++ b/pkgs/tools/filesystems/squashfs/default.nix
@@ -7,6 +7,7 @@
 , lz4
 , lzo
 , zstd
+, nixosTests
 }:
 
 stdenv.mkDerivation rec {
@@ -47,6 +48,10 @@ stdenv.mkDerivation rec {
     "LZO_SUPPORT=1"
   ];
 
+  passthru.tests = {
+    nixos-iso-boots-and-verifies = nixosTests.boot.biosCdrom;
+  };
+
   meta = with lib; {
     homepage = "https://github.com/plougher/squashfs-tools";
     description = "Tool for creating and unpacking squashfs filesystems";