Unverified Commit 2e98a05f authored by WilliButz's avatar WilliButz Committed by GitHub
Browse files

nix-store-veritysetup-generator: 0.1.0 -> 1.0.0 (#458092)

parents 4ba9fd94 faa785b0
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -18,7 +18,7 @@
        partitions = {
          "nix-store" = {
            storePaths = [ config.system.build.toplevel ];
            stripNixStorePrefix = true;
            nixStorePrefix = "/";
            repartConfig = {
              Type = "linux-generic";
              Label = "nix-store";
@@ -89,7 +89,7 @@
        "-f",
        "qcow2",
        "-b",
        "${nodes.machine.system.build.image}/${nodes.machine.image.repart.imageFile}",
        "${nodes.machine.system.build.image}/${nodes.machine.image.fileName}",
        "-F",
        "raw",
        tmp_disk_image.name,
+7 −2
Original line number Diff line number Diff line
@@ -3,17 +3,18 @@
  rustPlatform,
  fetchFromGitHub,
  systemd,
  nixosTests,
}:

rustPlatform.buildRustPackage rec {
  pname = "nix-store-veritysetup-generator";
  version = "0.1.0";
  version = "1.0.0";

  src = fetchFromGitHub {
    owner = "nikstur";
    repo = "nix-store-veritysetup-generator";
    rev = version;
    hash = "sha256-kQ+mFBnvxmEH2+z1sDaehGInEsBpfZu8LMAseGjZ3/I=";
    hash = "sha256-RTGdcLn4zuZAcC1Td4gJcywIerCYyaD0JYz8g5ybmho=";
  };

  sourceRoot = "${src.name}/rust";
@@ -34,6 +35,10 @@ rustPlatform.buildRustPackage rec {

  stripAllList = [ "bin" ];

  passthru.tests = {
    inherit (nixosTests) nix-store-veritysetup;
  };

  meta = with lib; {
    description = "Systemd unit generator for a verity protected Nix Store";
    homepage = "https://github.com/nikstur/nix-store-veritysetup-generator";