Commit 47674555 authored by Sigmanificient's avatar Sigmanificient
Browse files

kmscon: add nixosTests.kmscon to passthru.tests

parent a97d0c59
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -19,6 +19,7 @@
  bash,
  buildPackages,
  nix-update-script,
  nixosTests,
}:
stdenv.mkDerivation (finalAttrs: {
  pname = "kmscon";
@@ -63,7 +64,10 @@ stdenv.mkDerivation (finalAttrs: {
    ./sandbox.patch # Generate system units where they should be (nix store) instead of /etc/systemd/system
  ];

  passthru.updateScript = nix-update-script { extraArgs = [ "--use-github-releases" ]; };
  passthru = {
    tests.kmscon = nixosTests.kmscon;
    updateScript = nix-update-script { extraArgs = [ "--use-github-releases" ]; };
  };

  meta = {
    description = "KMS/DRM based System Console";