nix-store-veritysetup-generator: 0.1.0 -> 1.0.0 (#458092)
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user