summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorJamie McClymont <jamie@kwiius.com>2021-08-01 21:31:07 +1200
committerJamie McClymont <jamie@kwiius.com>2021-08-01 21:35:10 +1200
commit2808286add3e873db6e16e01b7062d3811d61afb (patch)
tree839772187489ab0ca2832916eea1270d742e4848 /pkgs
parentbc3416a2dddd3c7a2a3182373c392292ed8e22b6 (diff)
downloadnixpkgs-2808286add3e873db6e16e01b7062d3811d61afb.tar
nixpkgs-2808286add3e873db6e16e01b7062d3811d61afb.tar.gz
nixpkgs-2808286add3e873db6e16e01b7062d3811d61afb.tar.bz2
nixpkgs-2808286add3e873db6e16e01b7062d3811d61afb.tar.lz
nixpkgs-2808286add3e873db6e16e01b7062d3811d61afb.tar.xz
nixpkgs-2808286add3e873db6e16e01b7062d3811d61afb.tar.zst
nixpkgs-2808286add3e873db6e16e01b7062d3811d61afb.zip
squashfsTools: add NixOS cdrom boot as passthru test
This is the same test which blocks nixos-unstable-small. It recently
caused a long blockage, due to a regression in squashfsTools itself
corrupting the iso image, see #132286.
Diffstat (limited to 'pkgs')
-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";