-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Support generating containers using devenv.
- Loading branch information
Showing
14 changed files
with
108 additions
and
86 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
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
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 |
---|---|---|
|
@@ -7,6 +7,8 @@ | |
}: | ||
|
||
{ | ||
name = "inception"; | ||
|
||
# https://devenv.sh/packages/ | ||
packages = with pkgs; [ | ||
cargo | ||
|
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 |
---|---|---|
@@ -1,15 +1,10 @@ | ||
# yaml-language-server: $schema=https://devenv.sh/devenv.schema.json | ||
inputs: | ||
nix2container: | ||
url: github:nlewo/nix2container | ||
inputs: | ||
nixpkgs: | ||
follows: nixpkgs | ||
mk-shell-bin: | ||
url: github:rrbutani/nix-mk-shell-bin | ||
nixpkgs: | ||
url: github:cachix/devenv-nixpkgs/rolling | ||
|
||
# If you're using non-OSS software, you can set allowUnfree to true. | ||
# allowUnfree: true | ||
|
||
# If you're willing to use a package that's vulnerable | ||
# permittedInsecurePackages: | ||
# - "openssl-1.1.1w" | ||
|
||
# If you have more than one devenv you can merge them | ||
#imports: | ||
# - ./backend |
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
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,10 @@ | ||
inputs: | ||
nix2container: | ||
url: github:nlewo/nix2container | ||
inputs: | ||
nixpkgs: | ||
follows: nixpkgs | ||
mk-shell-bin: | ||
url: github:rrbutani/nix-mk-shell-bin | ||
nixpkgs: | ||
url: github:cachix/devenv-nixpkgs/rolling |
15 changes: 0 additions & 15 deletions
15
template/{% if language == 'Go' %}{{ project_name }}{% endif %}/devenv.yaml
This file was deleted.
Oops, something went wrong.
1 change: 1 addition & 0 deletions
1
template/{% if language == 'Go' %}{{ project_name }}{% endif %}/devenv.yaml.jinja
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 @@ | ||
{% include pathjoin("includes", "devenv.yaml") %} |
15 changes: 0 additions & 15 deletions
15
template/{% if language == 'Node.js' %}{{ project_name }}{% endif %}/devenv.yaml
This file was deleted.
Oops, something went wrong.
1 change: 1 addition & 0 deletions
1
template/{% if language == 'Node.js' %}{{ project_name }}{% endif %}/devenv.yaml.jinja
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 @@ | ||
{% include pathjoin("includes", "devenv.yaml") %} |
15 changes: 0 additions & 15 deletions
15
template/{% if language == 'Python' %}{{ project_name }}{% endif %}/devenv.yaml
This file was deleted.
Oops, something went wrong.
1 change: 1 addition & 0 deletions
1
template/{% if language == 'Python' %}{{ project_name }}{% endif %}/devenv.yaml.jinja
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 @@ | ||
{% include pathjoin("includes", "devenv.yaml") %} |
17 changes: 0 additions & 17 deletions
17
template/{% if language == 'Rust' %}{{ project_name }}{% endif %}/devenv.yaml
This file was deleted.
Oops, something went wrong.
1 change: 1 addition & 0 deletions
1
template/{% if language == 'Rust' %}{{ project_name }}{% endif %}/devenv.yaml.jina
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 @@ | ||
{% include pathjoin("includes", "devenv.yaml") %} |