Skip to content

Commit 9c4328f

Browse files
committed
chore(nix): update rust module building to latest nix
1 parent e60e7da commit 9c4328f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

nix/unblob/default.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ let
112112
];
113113

114114
preBuild = ''
115-
cp -r --no-preserve=mode ${rust-module} build
115+
cp -r --no-preserve=mode ${rust-module}/unblob .
116116
'';
117117

118118
makeWrapperArgs = [

nix/unblob/rust-module.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,6 @@ craneLib.mkCargoDerivation {
5252
'';
5353
installPhaseCommand = ''
5454
mkdir -p $out
55-
cp -a build/* $out
55+
cp -a build/lib.*/* $out
5656
'';
5757
}

0 commit comments

Comments
 (0)