Skip to content

Commit

Permalink
Remove .envrc and update flox manifest to include initialization step…
Browse files Browse the repository at this point in the history
…s for rustup and dioxus-cli
  • Loading branch information
MH0386 committed Feb 9, 2025
1 parent 9b66684 commit d611f9d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 12 deletions.
9 changes: 0 additions & 9 deletions .envrc

This file was deleted.

4 changes: 3 additions & 1 deletion .flox/env/manifest.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
"pkg-path": "rustup"
}
},
"hook": {},
"hook": {
"on-activate": "# # -> Set variables, create files and directories\n# # -> Perform initialization steps, e.g. create a python venv\n# # -> Useful environment variables:\n# # - FLOX_ENV_PROJECT=/home/user/example\n# # - FLOX_ENV=/home/user/example/.flox/run\n# # - FLOX_ENV_CACHE=/home/user/example/.flox/cache\nrustup default stable\ncargo install cargo-binstall\ncargo binstall dioxus-cli\n"
},
"profile": {},
"options": {
"systems": [
Expand Down
7 changes: 5 additions & 2 deletions .flox/env/manifest.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,17 @@ rustup.pkg-path = "rustup"
## ... run by _bash_ shell when you run 'flox activate'.
## -------------------------------------------------------------------
[hook]
# on-activate = '''
on-activate = '''
# # -> Set variables, create files and directories
# # -> Perform initialization steps, e.g. create a python venv
# # -> Useful environment variables:
# # - FLOX_ENV_PROJECT=/home/user/example
# # - FLOX_ENV=/home/user/example/.flox/run
# # - FLOX_ENV_CACHE=/home/user/example/.flox/cache
# '''
rustup default stable
cargo install cargo-binstall
cargo binstall dioxus-cli
'''

## Profile script ----------------------------------------------------
## ... sourced by _your shell_ when you run 'flox activate'.
Expand Down

0 comments on commit d611f9d

Please sign in to comment.