Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: try flox #8045

Draft
wants to merge 1 commit into
base: develop
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .flox/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
run/
cache/
lib/
log/
4 changes: 4 additions & 0 deletions .flox/env.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"name": "insomnia",
"version": 1
}
266 changes: 266 additions & 0 deletions .flox/env/manifest.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,266 @@
{
"lockfile-version": 1,
"manifest": {
"version": 1,
"install": {
"nodejs": {
"pkg-path": "nodejs"
},
"yarn": {
"pkg-path": "yarn"
}
},
"hook": {},
"profile": {},
"options": {
"systems": [
"aarch64-darwin",
"aarch64-linux",
"x86_64-darwin",
"x86_64-linux"
],
"allow": {
"licenses": []
},
"semver": {}
}
},
"packages": [
{
"attr_path": "nodejs",
"broken": false,
"derivation": "/nix/store/ynhixqy7ih4sjpww3y7ra64fn3s92y6j-nodejs-20.17.0.drv",
"description": "Event-driven I/O framework for the V8 JavaScript engine",
"install_id": "nodejs",
"license": "MIT",
"locked_url": "https://github.com/flox/nixpkgs?rev=27e30d177e57d912d614c88c622dcfdb2e6e6515",
"name": "nodejs-20.17.0",
"pname": "nodejs",
"rev": "27e30d177e57d912d614c88c622dcfdb2e6e6515",
"rev_count": 687768,
"rev_date": "2024-10-01T17:15:20Z",
"scrape_date": "2024-10-03T03:20:29Z",
"stabilities": [
"unstable"
],
"unfree": false,
"version": "20.17.0",
"outputs_to_install": [
"out"
],
"outputs": {
"libv8": "/nix/store/baf3p9zf8dn2arp6wjkdi3v0g2xgfd6y-nodejs-20.17.0-libv8",
"out": "/nix/store/hxl1k8qgmrm1vfq5f419iv4wybz9szqq-nodejs-20.17.0"
},
"system": "aarch64-darwin",
"group": "toplevel",
"priority": 5
},
{
"attr_path": "nodejs",
"broken": false,
"derivation": "/nix/store/fr04z10588nlfmms64ask1g6nvg48vk1-nodejs-20.17.0.drv",
"description": "Event-driven I/O framework for the V8 JavaScript engine",
"install_id": "nodejs",
"license": "MIT",
"locked_url": "https://github.com/flox/nixpkgs?rev=27e30d177e57d912d614c88c622dcfdb2e6e6515",
"name": "nodejs-20.17.0",
"pname": "nodejs",
"rev": "27e30d177e57d912d614c88c622dcfdb2e6e6515",
"rev_count": 687768,
"rev_date": "2024-10-01T17:15:20Z",
"scrape_date": "2024-10-03T03:20:29Z",
"stabilities": [
"unstable"
],
"unfree": false,
"version": "20.17.0",
"outputs_to_install": [
"out"
],
"outputs": {
"libv8": "/nix/store/0c57mzp5bqf0pp4a0pdj8wynphsgi92c-nodejs-20.17.0-libv8",
"out": "/nix/store/vc64zpxndmp3xh9699yb2vpbl81pxbk0-nodejs-20.17.0"
},
"system": "aarch64-linux",
"group": "toplevel",
"priority": 5
},
{
"attr_path": "nodejs",
"broken": false,
"derivation": "/nix/store/pmw8kl5dckr1zfb4ny27v6gjk9aa9nrp-nodejs-20.17.0.drv",
"description": "Event-driven I/O framework for the V8 JavaScript engine",
"install_id": "nodejs",
"license": "MIT",
"locked_url": "https://github.com/flox/nixpkgs?rev=27e30d177e57d912d614c88c622dcfdb2e6e6515",
"name": "nodejs-20.17.0",
"pname": "nodejs",
"rev": "27e30d177e57d912d614c88c622dcfdb2e6e6515",
"rev_count": 687768,
"rev_date": "2024-10-01T17:15:20Z",
"scrape_date": "2024-10-03T03:20:29Z",
"stabilities": [
"unstable"
],
"unfree": false,
"version": "20.17.0",
"outputs_to_install": [
"out"
],
"outputs": {
"libv8": "/nix/store/n4xvswmgb3ql2440bkl8xk4i3b11w46x-nodejs-20.17.0-libv8",
"out": "/nix/store/lgyrki1i0205nwh51c1h22bhl95x0nyd-nodejs-20.17.0"
},
"system": "x86_64-darwin",
"group": "toplevel",
"priority": 5
},
{
"attr_path": "nodejs",
"broken": false,
"derivation": "/nix/store/3hxn26fh3cpz4rnx3lcwm5cb0vg15rzk-nodejs-20.17.0.drv",
"description": "Event-driven I/O framework for the V8 JavaScript engine",
"install_id": "nodejs",
"license": "MIT",
"locked_url": "https://github.com/flox/nixpkgs?rev=27e30d177e57d912d614c88c622dcfdb2e6e6515",
"name": "nodejs-20.17.0",
"pname": "nodejs",
"rev": "27e30d177e57d912d614c88c622dcfdb2e6e6515",
"rev_count": 687768,
"rev_date": "2024-10-01T17:15:20Z",
"scrape_date": "2024-10-03T03:20:29Z",
"stabilities": [
"unstable"
],
"unfree": false,
"version": "20.17.0",
"outputs_to_install": [
"out"
],
"outputs": {
"libv8": "/nix/store/bsqha32xvv1j20bwkhr2wsnclk4qsi3a-nodejs-20.17.0-libv8",
"out": "/nix/store/w78sh036dyn14f29w8za9ni9syrmwm3q-nodejs-20.17.0"
},
"system": "x86_64-linux",
"group": "toplevel",
"priority": 5
},
{
"attr_path": "yarn",
"broken": false,
"derivation": "/nix/store/8brn40302fkwarnw0x2s9dlz0pm1cn7g-yarn-1.22.22.drv",
"description": "Fast, reliable, and secure dependency management for javascript",
"install_id": "yarn",
"license": "BSD-2-Clause",
"locked_url": "https://github.com/flox/nixpkgs?rev=27e30d177e57d912d614c88c622dcfdb2e6e6515",
"name": "yarn-1.22.22",
"pname": "yarn",
"rev": "27e30d177e57d912d614c88c622dcfdb2e6e6515",
"rev_count": 687768,
"rev_date": "2024-10-01T17:15:20Z",
"scrape_date": "2024-10-03T03:20:29Z",
"stabilities": [
"unstable"
],
"unfree": false,
"version": "1.22.22",
"outputs_to_install": [
"out"
],
"outputs": {
"out": "/nix/store/6j0fflbrszc5k5kd7m36mn9ga6ds8zmr-yarn-1.22.22"
},
"system": "aarch64-darwin",
"group": "toplevel",
"priority": 5
},
{
"attr_path": "yarn",
"broken": false,
"derivation": "/nix/store/y916q507bvddl74fd91fa94bw9w532h5-yarn-1.22.22.drv",
"description": "Fast, reliable, and secure dependency management for javascript",
"install_id": "yarn",
"license": "BSD-2-Clause",
"locked_url": "https://github.com/flox/nixpkgs?rev=27e30d177e57d912d614c88c622dcfdb2e6e6515",
"name": "yarn-1.22.22",
"pname": "yarn",
"rev": "27e30d177e57d912d614c88c622dcfdb2e6e6515",
"rev_count": 687768,
"rev_date": "2024-10-01T17:15:20Z",
"scrape_date": "2024-10-03T03:20:29Z",
"stabilities": [
"unstable"
],
"unfree": false,
"version": "1.22.22",
"outputs_to_install": [
"out"
],
"outputs": {
"out": "/nix/store/d1f5qfjkc24v2ng46x0qjsbiwrdfa6d3-yarn-1.22.22"
},
"system": "aarch64-linux",
"group": "toplevel",
"priority": 5
},
{
"attr_path": "yarn",
"broken": false,
"derivation": "/nix/store/z1fwf55r5wgwqdx0drh0cwl336qwxz9g-yarn-1.22.22.drv",
"description": "Fast, reliable, and secure dependency management for javascript",
"install_id": "yarn",
"license": "BSD-2-Clause",
"locked_url": "https://github.com/flox/nixpkgs?rev=27e30d177e57d912d614c88c622dcfdb2e6e6515",
"name": "yarn-1.22.22",
"pname": "yarn",
"rev": "27e30d177e57d912d614c88c622dcfdb2e6e6515",
"rev_count": 687768,
"rev_date": "2024-10-01T17:15:20Z",
"scrape_date": "2024-10-03T03:20:29Z",
"stabilities": [
"unstable"
],
"unfree": false,
"version": "1.22.22",
"outputs_to_install": [
"out"
],
"outputs": {
"out": "/nix/store/vfi9zsfiwq5yia28nx04zdmr9ij6nhi3-yarn-1.22.22"
},
"system": "x86_64-darwin",
"group": "toplevel",
"priority": 5
},
{
"attr_path": "yarn",
"broken": false,
"derivation": "/nix/store/kkxl249mw9yl8hcnxivc0x7dfip8zz3c-yarn-1.22.22.drv",
"description": "Fast, reliable, and secure dependency management for javascript",
"install_id": "yarn",
"license": "BSD-2-Clause",
"locked_url": "https://github.com/flox/nixpkgs?rev=27e30d177e57d912d614c88c622dcfdb2e6e6515",
"name": "yarn-1.22.22",
"pname": "yarn",
"rev": "27e30d177e57d912d614c88c622dcfdb2e6e6515",
"rev_count": 687768,
"rev_date": "2024-10-01T17:15:20Z",
"scrape_date": "2024-10-03T03:20:29Z",
"stabilities": [
"unstable"
],
"unfree": false,
"version": "1.22.22",
"outputs_to_install": [
"out"
],
"outputs": {
"out": "/nix/store/9yd6frl42syv6vncdy619zblj2vg406g-yarn-1.22.22"
},
"system": "x86_64-linux",
"group": "toplevel",
"priority": 5
}
]
}
60 changes: 60 additions & 0 deletions .flox/env/manifest.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
#
# This is a Flox environment manifest.
# Visit flox.dev/docs/concepts/manifest/
# or see flox-edit(1), manifest.toml(5) for more information.
#
# Flox manifest version managed by Flox CLI
version = 1

# List packages you wish to install in your environment inside
# the `[install]` section.
[install]
nodejs.pkg-path = "nodejs"
yarn.pkg-path = "yarn"
# hello.pkg-path = "hello"
# nodejs = { version = "^20.15.1", pkg-path = "nodejs" }

# Set environment variables in the `[vars]` section. These variables may not
# reference one another, and are added to the environment without first
# expanding them. They are available for use in the `[profile]` and `[hook]`
# scripts.
[vars]
# message = "Howdy"

# The `hook.on-activate` script is run by the *bash* shell immediately upon
# activating an environment, and will not be invoked if Flox detects that the
# environment has previously been activated. Variables set by the script will
# be inherited by `[profile]` scripts defined below. Note that any stdout
# generated by the script will be redirected to stderr.
[hook]
# on-activate = '''
# # Set variables, create files and directories
# venv_dir="$(mktemp -d)"
# export venv_dir
#
# # Perform initialization steps, e.g. create a python venv
# python -m venv "$venv_dir"
# '''

# Scripts defined in the `[profile]` section are *sourced* by *your shell* and
# inherit environment variables set in the `[vars]` section and by `[hook]` scripts.
# The `profile.common` script is sourced by all shells and special care should be
# taken to ensure compatibility with all shells, after which exactly one of
# `profile.{bash,fish,tcsh,zsh}` is sourced by the corresponding shell.
[profile]
# common = '''
# echo "it's gettin' flox in here"
# '''

# The `[services]` section of the manifest allows you to define services.
# Services defined here use the packages provided by the `[install]` section
# and any variables you've defined in the `[vars]` section or `hook.on-activate` script.
[services]
# postgres.command = "postgres --config-file=pg.conf"

# Additional options can be set in the `[options]` section. Refer to
# manifest.toml(5) for a list of available options.
[options]
systems = ["aarch64-darwin", "aarch64-linux", "x86_64-darwin", "x86_64-linux"]
# Uncomment to disable CUDA detection.
# cuda-detection = false
Loading