-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e480766
commit a4e4d1e
Showing
8 changed files
with
486 additions
and
119 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
source_url "https://raw.githubusercontent.com/flox/flox-direnv/v1.1.0/direnv.rc" 'sha256-c2YCane8WGmYeCDc9wIZyVL8AgbdfhPaEoM+5aFuysw=' | ||
|
||
use flox |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
run/ | ||
cache/ | ||
lib/ | ||
log/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"name": "terraform-provider-porkbun", | ||
"version": 1 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,276 @@ | ||
{ | ||
"lockfile-version": 1, | ||
"manifest": { | ||
"version": 1, | ||
"install": { | ||
"direnv": { | ||
"pkg-path": "direnv" | ||
}, | ||
"go": { | ||
"pkg-path": "go", | ||
"version": "1.22" | ||
} | ||
}, | ||
"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": { | ||
"bash": " eval \"$(direnv hook bash)\"\n", | ||
"zsh": " eval \"$(direnv hook zsh)\"\n" | ||
}, | ||
"options": { | ||
"systems": [ | ||
"aarch64-darwin", | ||
"aarch64-linux", | ||
"x86_64-darwin", | ||
"x86_64-linux" | ||
], | ||
"allow": { | ||
"licenses": [] | ||
}, | ||
"semver": {} | ||
} | ||
}, | ||
"packages": [ | ||
{ | ||
"attr_path": "direnv", | ||
"broken": false, | ||
"derivation": "/nix/store/0k9pnllqbv5388vdvwk2v92c9abwscnx-direnv-2.35.0.drv", | ||
"description": "Shell extension that manages your environment", | ||
"install_id": "direnv", | ||
"license": "MIT", | ||
"locked_url": "https://github.com/flox/nixpkgs?rev=5633bcff0c6162b9e4b5f1264264611e950c8ec7", | ||
"name": "direnv-2.35.0", | ||
"pname": "direnv", | ||
"rev": "5633bcff0c6162b9e4b5f1264264611e950c8ec7", | ||
"rev_count": 690827, | ||
"rev_date": "2024-10-09T16:51:18Z", | ||
"scrape_date": "2024-10-11T03:53:01Z", | ||
"stabilities": [ | ||
"staging", | ||
"unstable" | ||
], | ||
"unfree": false, | ||
"version": "2.35.0", | ||
"outputs_to_install": [ | ||
"out" | ||
], | ||
"outputs": { | ||
"out": "/nix/store/b862impi4vy6hx7irfhnp3y5padbw0jl-direnv-2.35.0" | ||
}, | ||
"system": "aarch64-darwin", | ||
"group": "toplevel", | ||
"priority": 5 | ||
}, | ||
{ | ||
"attr_path": "direnv", | ||
"broken": false, | ||
"derivation": "/nix/store/l2r714yib5h88kx9nlkbqypdpjsyy4vz-direnv-2.35.0.drv", | ||
"description": "Shell extension that manages your environment", | ||
"install_id": "direnv", | ||
"license": "MIT", | ||
"locked_url": "https://github.com/flox/nixpkgs?rev=5633bcff0c6162b9e4b5f1264264611e950c8ec7", | ||
"name": "direnv-2.35.0", | ||
"pname": "direnv", | ||
"rev": "5633bcff0c6162b9e4b5f1264264611e950c8ec7", | ||
"rev_count": 690827, | ||
"rev_date": "2024-10-09T16:51:18Z", | ||
"scrape_date": "2024-10-11T03:53:01Z", | ||
"stabilities": [ | ||
"staging", | ||
"unstable" | ||
], | ||
"unfree": false, | ||
"version": "2.35.0", | ||
"outputs_to_install": [ | ||
"out" | ||
], | ||
"outputs": { | ||
"out": "/nix/store/z2kgy6bcdn3h0rplawv2nj09hmffknhx-direnv-2.35.0" | ||
}, | ||
"system": "aarch64-linux", | ||
"group": "toplevel", | ||
"priority": 5 | ||
}, | ||
{ | ||
"attr_path": "direnv", | ||
"broken": false, | ||
"derivation": "/nix/store/dkxqyskhr3x4v1ag8gblgjh1kpcb8k92-direnv-2.35.0.drv", | ||
"description": "Shell extension that manages your environment", | ||
"install_id": "direnv", | ||
"license": "MIT", | ||
"locked_url": "https://github.com/flox/nixpkgs?rev=5633bcff0c6162b9e4b5f1264264611e950c8ec7", | ||
"name": "direnv-2.35.0", | ||
"pname": "direnv", | ||
"rev": "5633bcff0c6162b9e4b5f1264264611e950c8ec7", | ||
"rev_count": 690827, | ||
"rev_date": "2024-10-09T16:51:18Z", | ||
"scrape_date": "2024-10-11T03:53:01Z", | ||
"stabilities": [ | ||
"staging", | ||
"unstable" | ||
], | ||
"unfree": false, | ||
"version": "2.35.0", | ||
"outputs_to_install": [ | ||
"out" | ||
], | ||
"outputs": { | ||
"out": "/nix/store/djl7k7rvngmjr8pbhgmzhccv82hlaxms-direnv-2.35.0" | ||
}, | ||
"system": "x86_64-darwin", | ||
"group": "toplevel", | ||
"priority": 5 | ||
}, | ||
{ | ||
"attr_path": "direnv", | ||
"broken": false, | ||
"derivation": "/nix/store/rjm1mfaxgj9r10a919xf2jvxnr1mmapy-direnv-2.35.0.drv", | ||
"description": "Shell extension that manages your environment", | ||
"install_id": "direnv", | ||
"license": "MIT", | ||
"locked_url": "https://github.com/flox/nixpkgs?rev=5633bcff0c6162b9e4b5f1264264611e950c8ec7", | ||
"name": "direnv-2.35.0", | ||
"pname": "direnv", | ||
"rev": "5633bcff0c6162b9e4b5f1264264611e950c8ec7", | ||
"rev_count": 690827, | ||
"rev_date": "2024-10-09T16:51:18Z", | ||
"scrape_date": "2024-10-11T03:53:01Z", | ||
"stabilities": [ | ||
"staging", | ||
"unstable" | ||
], | ||
"unfree": false, | ||
"version": "2.35.0", | ||
"outputs_to_install": [ | ||
"out" | ||
], | ||
"outputs": { | ||
"out": "/nix/store/0cc1cyiifsb6g6vr2271448va439q73b-direnv-2.35.0" | ||
}, | ||
"system": "x86_64-linux", | ||
"group": "toplevel", | ||
"priority": 5 | ||
}, | ||
{ | ||
"attr_path": "go", | ||
"broken": false, | ||
"derivation": "/nix/store/x1p2gf1jcqn29l4agdqrb0w09rib7w3m-go-1.22.7.drv", | ||
"description": "Go Programming language", | ||
"install_id": "go", | ||
"license": "BSD-3-Clause", | ||
"locked_url": "https://github.com/flox/nixpkgs?rev=5633bcff0c6162b9e4b5f1264264611e950c8ec7", | ||
"name": "go-1.22.7", | ||
"pname": "go", | ||
"rev": "5633bcff0c6162b9e4b5f1264264611e950c8ec7", | ||
"rev_count": 690827, | ||
"rev_date": "2024-10-09T16:51:18Z", | ||
"scrape_date": "2024-10-11T03:53:01Z", | ||
"stabilities": [ | ||
"staging", | ||
"unstable" | ||
], | ||
"unfree": false, | ||
"version": "1.22.7", | ||
"outputs_to_install": [ | ||
"out" | ||
], | ||
"outputs": { | ||
"out": "/nix/store/rfcwglhhspqx5v5h0sl4b3py14i6vpxa-go-1.22.7" | ||
}, | ||
"system": "aarch64-darwin", | ||
"group": "toplevel", | ||
"priority": 5 | ||
}, | ||
{ | ||
"attr_path": "go", | ||
"broken": false, | ||
"derivation": "/nix/store/qk95aryv3n1mhmk0lxf55sg9yr0l6138-go-1.22.7.drv", | ||
"description": "Go Programming language", | ||
"install_id": "go", | ||
"license": "BSD-3-Clause", | ||
"locked_url": "https://github.com/flox/nixpkgs?rev=5633bcff0c6162b9e4b5f1264264611e950c8ec7", | ||
"name": "go-1.22.7", | ||
"pname": "go", | ||
"rev": "5633bcff0c6162b9e4b5f1264264611e950c8ec7", | ||
"rev_count": 690827, | ||
"rev_date": "2024-10-09T16:51:18Z", | ||
"scrape_date": "2024-10-11T03:53:01Z", | ||
"stabilities": [ | ||
"staging", | ||
"unstable" | ||
], | ||
"unfree": false, | ||
"version": "1.22.7", | ||
"outputs_to_install": [ | ||
"out" | ||
], | ||
"outputs": { | ||
"out": "/nix/store/64z59pb0ss407rbv1fcvq0ynngrwfa6k-go-1.22.7" | ||
}, | ||
"system": "aarch64-linux", | ||
"group": "toplevel", | ||
"priority": 5 | ||
}, | ||
{ | ||
"attr_path": "go", | ||
"broken": false, | ||
"derivation": "/nix/store/4bjrs6k4a0xjyy5zanbc8igv0cffsi0a-go-1.22.7.drv", | ||
"description": "Go Programming language", | ||
"install_id": "go", | ||
"license": "BSD-3-Clause", | ||
"locked_url": "https://github.com/flox/nixpkgs?rev=5633bcff0c6162b9e4b5f1264264611e950c8ec7", | ||
"name": "go-1.22.7", | ||
"pname": "go", | ||
"rev": "5633bcff0c6162b9e4b5f1264264611e950c8ec7", | ||
"rev_count": 690827, | ||
"rev_date": "2024-10-09T16:51:18Z", | ||
"scrape_date": "2024-10-11T03:53:01Z", | ||
"stabilities": [ | ||
"staging", | ||
"unstable" | ||
], | ||
"unfree": false, | ||
"version": "1.22.7", | ||
"outputs_to_install": [ | ||
"out" | ||
], | ||
"outputs": { | ||
"out": "/nix/store/r8199g59rmp6ac0lnx86fpk57fbxc3bk-go-1.22.7" | ||
}, | ||
"system": "x86_64-darwin", | ||
"group": "toplevel", | ||
"priority": 5 | ||
}, | ||
{ | ||
"attr_path": "go", | ||
"broken": false, | ||
"derivation": "/nix/store/gp0ma9f4n4nxmgbgl1g65kvlf05cl22y-go-1.22.7.drv", | ||
"description": "Go Programming language", | ||
"install_id": "go", | ||
"license": "BSD-3-Clause", | ||
"locked_url": "https://github.com/flox/nixpkgs?rev=5633bcff0c6162b9e4b5f1264264611e950c8ec7", | ||
"name": "go-1.22.7", | ||
"pname": "go", | ||
"rev": "5633bcff0c6162b9e4b5f1264264611e950c8ec7", | ||
"rev_count": 690827, | ||
"rev_date": "2024-10-09T16:51:18Z", | ||
"scrape_date": "2024-10-11T03:53:01Z", | ||
"stabilities": [ | ||
"staging", | ||
"unstable" | ||
], | ||
"unfree": false, | ||
"version": "1.22.7", | ||
"outputs_to_install": [ | ||
"out" | ||
], | ||
"outputs": { | ||
"out": "/nix/store/chzgk756zb2cqlzbjr86m0lfxi63cdfy-go-1.22.7" | ||
}, | ||
"system": "x86_64-linux", | ||
"group": "toplevel", | ||
"priority": 5 | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
# | ||
# 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] | ||
go = { pkg-path = "go", version = "1.22" } | ||
direnv.pkg-path = "direnv" | ||
|
||
# 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. | ||
|
||
[profile] | ||
zsh = """ | ||
eval "$(direnv hook zsh)" | ||
""" | ||
bash = """ | ||
eval "$(direnv hook bash)" | ||
""" | ||
[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 | ||
''' | ||
|
||
# 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. | ||
|
||
# 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.