Skip to content

Commit 8cd3d40

Browse files
committed
Use SwiftWasm
1 parent 032cfa3 commit 8cd3d40

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

flake.lock

+6-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{
22
inputs = {
3-
# nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
4-
nixpkgs.url = "github:stephank/nixpkgs?ref=feat/swift-darwin";
3+
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
54

65
crane = {
76
url = "github:ipetkov/crane";
@@ -37,7 +36,6 @@
3736
flake-utils,
3837
ic-repl-src,
3938
rust-overlay,
40-
...
4139
}:
4240
let
4341
supportedSystems = [
@@ -124,8 +122,10 @@
124122
inputsFrom = builtins.attrValues self.checks;
125123
nativeBuildInputs = with pkgs; [
126124
dfinitySdk
127-
swift
128125
];
126+
shellHook = ''
127+
export PATH=/Library/Developer/Toolchains/swift-wasm-5.6.0-RELEASE.xctoolchain/usr/bin:"$PATH";
128+
'';
129129
};
130130
});
131131
}

0 commit comments

Comments
 (0)