We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df6d1a1 commit 7d9ea3fCopy full SHA for 7d9ea3f
flake.nix
@@ -69,6 +69,21 @@
69
in
70
rec {
71
# `nix build`
72
+ defaultPackage = packages.workspace;
73
+
74
+ packages.workspace = naersk-lib.buildPackage rec {
75
+ root = ./.;
76
+ cargoBuildOptions = x: x ++ [
77
+ "--target" "wasm32-unknown-unknown"
78
+ ];
79
+ cargoTestOptions = x: x ++ [
80
81
82
+ compressTarget = false;
83
+ copyBins = false;
84
+ copyTarget = true;
85
+ };
86
87
packages.icfs = naersk-lib.buildPackage rec {
88
pname = "icfs";
89
root = ./.;
@@ -101,8 +116,6 @@
101
116
copyTarget = true;
102
117
};
103
118
104
- defaultPackage = packages.icfs;
105
-
106
119
# `nix develop`
107
120
devShell = pkgs.mkShell {
108
121
buildInputs = [
0 commit comments