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: Add .flox/ as generated by flox init for https://flox.dev (Nix) [skip changelog] #10763

Closed
wants to merge 1 commit into from
Closed
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
5 changes: 5 additions & 0 deletions .flox/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
run/
cache/
lib/
log/
!env/
4 changes: 4 additions & 0 deletions .flox/env.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"name": "kubo",
"version": 1
}
146 changes: 146 additions & 0 deletions .flox/env/manifest.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,146 @@
{
"lockfile-version": 1,
"manifest": {
"version": 1,
"install": {
"go": {
"pkg-path": "go",
"version": "^1.24"
}
},
"hook": {
"on-activate": " # Autogenerated by Flox\n\n # Point GOENV to Flox environment cache\n export GOENV=\"$FLOX_ENV_CACHE/goenv\"\n\n # Install Go dependencies\n go get .\n\n # End autogenerated by Flox\n"
},
"profile": {},
"options": {
"systems": [
"aarch64-darwin",
"aarch64-linux",
"x86_64-darwin",
"x86_64-linux"
],
"allow": {
"licenses": []
},
"semver": {}
}
},
"packages": [
{
"attr_path": "go",
"broken": false,
"derivation": "/nix/store/3m81p42iv5k7hsh4ddwmgfl4bvk5c0cz-go-1.24.1.drv",
"description": "Go Programming language",
"install_id": "go",
"license": "BSD-3-Clause",
"locked_url": "https://github.com/flox/nixpkgs?rev=a84ebe20c6bc2ecbcfb000a50776219f48d134cc",
"name": "go-1.24.1",
"pname": "go",
"rev": "a84ebe20c6bc2ecbcfb000a50776219f48d134cc",
"rev_count": 770807,
"rev_date": "2025-03-19T22:12:44Z",
"scrape_date": "2025-03-22T01:09:07.268762Z",
"stabilities": [
"unstable"
],
"unfree": false,
"version": "1.24.1",
"outputs_to_install": [
"out"
],
"outputs": {
"out": "/nix/store/ja4jxx60lh1qfqfl4z4p2rff56ia1c3c-go-1.24.1"
},
"system": "aarch64-darwin",
"group": "toplevel",
"priority": 5
},
{
"attr_path": "go",
"broken": false,
"derivation": "/nix/store/0id8swmh8ilp0ivgpxb7qzp35mqn9rb9-go-1.24.1.drv",
"description": "Go Programming language",
"install_id": "go",
"license": "BSD-3-Clause",
"locked_url": "https://github.com/flox/nixpkgs?rev=a84ebe20c6bc2ecbcfb000a50776219f48d134cc",
"name": "go-1.24.1",
"pname": "go",
"rev": "a84ebe20c6bc2ecbcfb000a50776219f48d134cc",
"rev_count": 770807,
"rev_date": "2025-03-19T22:12:44Z",
"scrape_date": "2025-03-22T01:25:55.714961Z",
"stabilities": [
"unstable"
],
"unfree": false,
"version": "1.24.1",
"outputs_to_install": [
"out"
],
"outputs": {
"out": "/nix/store/8ply43gnxk1xwichr81mpgbjcd9a1y5w-go-1.24.1"
},
"system": "aarch64-linux",
"group": "toplevel",
"priority": 5
},
{
"attr_path": "go",
"broken": false,
"derivation": "/nix/store/mrf18v48xzv6kq8ydpg9wa4zzvhpk6q3-go-1.24.1.drv",
"description": "Go Programming language",
"install_id": "go",
"license": "BSD-3-Clause",
"locked_url": "https://github.com/flox/nixpkgs?rev=a84ebe20c6bc2ecbcfb000a50776219f48d134cc",
"name": "go-1.24.1",
"pname": "go",
"rev": "a84ebe20c6bc2ecbcfb000a50776219f48d134cc",
"rev_count": 770807,
"rev_date": "2025-03-19T22:12:44Z",
"scrape_date": "2025-03-22T01:41:11.744336Z",
"stabilities": [
"unstable"
],
"unfree": false,
"version": "1.24.1",
"outputs_to_install": [
"out"
],
"outputs": {
"out": "/nix/store/87yxrfx5lh78bdz393i33cr5z23x06q4-go-1.24.1"
},
"system": "x86_64-darwin",
"group": "toplevel",
"priority": 5
},
{
"attr_path": "go",
"broken": false,
"derivation": "/nix/store/d9678q90mwgfn00ygr1xfgxhg8pfz1y5-go-1.24.1.drv",
"description": "Go Programming language",
"install_id": "go",
"license": "BSD-3-Clause",
"locked_url": "https://github.com/flox/nixpkgs?rev=a84ebe20c6bc2ecbcfb000a50776219f48d134cc",
"name": "go-1.24.1",
"pname": "go",
"rev": "a84ebe20c6bc2ecbcfb000a50776219f48d134cc",
"rev_count": 770807,
"rev_date": "2025-03-19T22:12:44Z",
"scrape_date": "2025-03-22T01:59:12.832128Z",
"stabilities": [
"unstable"
],
"unfree": false,
"version": "1.24.1",
"outputs_to_install": [
"out"
],
"outputs": {
"out": "/nix/store/cfjhl0kn7xc65466pha9fkrvigw3g72n-go-1.24.1"
},
"system": "x86_64-linux",
"group": "toplevel",
"priority": 5
}
]
}
81 changes: 81 additions & 0 deletions .flox/env/manifest.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
## Flox Environment Manifest -----------------------------------------
##
## _Everything_ you need to know about the _manifest_ is here:
##
## https://flox.dev/docs/concepts/manifest
##
## -------------------------------------------------------------------
# Flox manifest version managed by Flox CLI
version = 1


## Install Packages --------------------------------------------------
## $ flox install gum <- puts a package in [install] section below
## $ flox search gum <- search for a package
## $ flox show gum <- show all versions of a package
## -------------------------------------------------------------------
[install]
go = { pkg-path = "go", version = "^1.24" }


## Environment Variables ---------------------------------------------
## ... available for use in the activated environment
## as well as [hook], [profile] scripts and [services] below.
## -------------------------------------------------------------------
[vars]
# INTRO_MESSAGE = "It's gettin' Flox in here"


## Activation Hook ---------------------------------------------------
## ... run by _bash_ shell when you run 'flox activate'.
## -------------------------------------------------------------------
[hook]
on-activate = '''
# Autogenerated by Flox

# Point GOENV to Flox environment cache
export GOENV="$FLOX_ENV_CACHE/goenv"

# Install Go dependencies
go get .

# End autogenerated by Flox
'''


## Profile script ----------------------------------------------------
## ... sourced by _your shell_ when you run 'flox activate'.
## -------------------------------------------------------------------
[profile]
# common = '''
# gum style \
# --foreground 212 --border-foreground 212 --border double \
# --align center --width 50 --margin "1 2" --padding "2 4" \
# $INTRO_MESSAGE
# '''
## Shell specific profiles go here:
# bash = ...
# zsh = ...
# fish = ...


## Services ----------------------------------------------------------
## $ flox services start <- Starts all services
## $ flox services status <- Status of running services
## $ flox activate --start-services <- Activates & starts all
## -------------------------------------------------------------------
[services]
# myservice.command = "python3 -m http.server"


## Other Environment Options -----------------------------------------
[options]
# Systems that environment is compatible with
systems = [
"aarch64-darwin",
"aarch64-linux",
"x86_64-darwin",
"x86_64-linux",
]
# Uncomment to disable CUDA detection.
# cuda-detection = false
Loading