aboutsummaryrefslogtreecommitdiff
path: root/perl/lib/Nix/Store.xs
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2023-01-06 12:24:20 -0500
committerJohn Ericson <John.Ericson@Obsidian.Systems>2023-01-06 12:24:20 -0500
commit6a168254ce068c067259c913ee7d6ee2e0d1dc7e (patch)
tree7fd9315876cdca5224a978cba8b0a792bbd6710d /perl/lib/Nix/Store.xs
parent8623143921f8683b88d46aaebe9f707e5b9a912b (diff)
Use named field initialization for references
Diffstat (limited to 'perl/lib/Nix/Store.xs')
-rw-r--r--perl/lib/Nix/Store.xs2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl/lib/Nix/Store.xs b/perl/lib/Nix/Store.xs
index 9cb078660..3ccd3c722 100644
--- a/perl/lib/Nix/Store.xs
+++ b/perl/lib/Nix/Store.xs
@@ -299,7 +299,7 @@ SV * makeFixedOutputPath(int recursive, char * algo, char * hash, char * name)
.method = method,
.hash = h,
},
- {},
+ .references = {},
});
XPUSHs(sv_2mortal(newSVpv(store()->printStorePath(path).c_str(), 0)));
} catch (Error & e) {