Skip to content

Commit

Permalink
tauri release env
Browse files Browse the repository at this point in the history
  • Loading branch information
thedavidmeister committed Jan 23, 2024
1 parent b6ac0dc commit e5448b4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tauri-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
node-version: 20

- name: install rust
run: nix profile install .#rust-toolchain.$(nix eval --impure --raw --expr 'builtins.currentSystem')
run: nix profile install .#tauri-release-env

# - name: install Rust stable
# uses: dtolnay/rust-toolchain@stable
Expand Down
6 changes: 5 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,12 @@
let
pkgs = rainix.pkgs.${system};
in {
rust-toolchain = rainix.rust-toolchain.${system};
packages = rec {
tauri-release-env = pkgs.buildEnv {
name = "Tauri release environment";
paths = rainix.rust-build-inputs.${system};
};

ob-tauri-prelude = rainix.mkTask.${system} {
name = "ob-tauri-prelude";
body = ''
Expand Down

0 comments on commit e5448b4

Please sign in to comment.