Skip to content

Commit

Permalink
fix: make vm tests eval
Browse files Browse the repository at this point in the history
  • Loading branch information
RossComputerGuy committed Feb 6, 2025
1 parent 15f034f commit 3685503
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packaging/components.nix
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ in
{
version = with zixVersion; baseVersion + versionSuffix;
inherit (zixVersion) versionSuffix;
inherit nixVersion;
inherit nixVersion zixVersion;

nix-util = callPackage ../src/libutil/package.nix { };
nix-util-c = callPackage ../src/libutil-c/package.nix { };
Expand Down
5 changes: 3 additions & 2 deletions src/nix/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

version,
nixVersion,
zixVersion,
}:

let
Expand All @@ -19,7 +20,7 @@ in

mkMesonExecutable (finalAttrs: {
pname = "zix";
inherit version;
inherit (nixVersion) version;

workDir = ./.;
fileset = fileset.unions (
Expand Down Expand Up @@ -102,7 +103,7 @@ mkMesonExecutable (finalAttrs: {
echo ${nixVersion.version} > ../../../.version
chmod u+w ./.zix-version
echo ${nixVersion.version} > ../../../.zix-version
echo ${version} > ../../../.zix-version
'';

mesonFlags = [
Expand Down

0 comments on commit 3685503

Please sign in to comment.