Skip to content

Commit

Permalink
Merge pull request #27 from bwkam/main
Browse files Browse the repository at this point in the history
add haxe
  • Loading branch information
lucperkins authored Jan 18, 2024
2 parents 71047b5 + 4db916a commit 8406ad8
Show file tree
Hide file tree
Showing 4 changed files with 58 additions and 2 deletions.
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Once your preferred template has been initialized, you can use the provided shel
## Available templates

| Language/framework/tool | Template |
| :----------------------- | :-----------------------------|
| :----------------------- | :---------------------------- |
| [Clojure] | [`clojure`](./clojure/) |
| [C#][csharp] | [`csharp`](./csharp/) |
| [Cue] | [`cue`](./cue/) |
Expand All @@ -38,6 +38,7 @@ Once your preferred template has been initialized, you can use the provided shel
| [Gleam] | [`gleam`](./gleam/) |
| [Go] | [`go`](./go/) |
| [Hashicorp] tools | [`hashi`](./hashi/) |
| [Haxe] | [`haxe`](./haxe/) |
| [Java] | [`java`](./java/) |
| [Kotlin] | [`kotlin`](./kotlin/) |
| [LaTeX] | [`latex`](./latex/) |
Expand Down Expand Up @@ -129,6 +130,10 @@ The sections below list what each template includes. In all cases, you're free t
- [GHC][haskell] 9.2.8
- [cabal] 3.10.1.0

### [`haxe`](./haxe/)

- [Haxe] 4.2.5

### [`java`](./java)

- [Java] 20.0.1+9
Expand Down Expand Up @@ -291,6 +296,7 @@ All of the templates have only the root [flake](./flake.nix) as a flake input. T
[gradle]: https://gradle.org
[hashicorp]: https://hashicorp.com
[haskell]: https://haskell.org
[haxe]: https://haxe.org/
[iex]: https://hexdocs.pm/iex/IEx.html
[java]: https://java.com
[jq]: https://jqlang.github.io/jq
Expand Down Expand Up @@ -353,4 +359,3 @@ All of the templates have only the root [flake](./flake.nix) as a flake input. T
[vulnix]: https://github.com/flyingcircusio/vulnix
[yarn]: https://yarnpkg.com
[zig]: https://ziglang.org

1 change: 1 addition & 0 deletions haxe/.envrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
use flake
27 changes: 27 additions & 0 deletions haxe/flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

23 changes: 23 additions & 0 deletions haxe/flake.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
description = "A Nix-flake-based Haxe development environment";

inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";

outputs = {
self,
nixpkgs,
}: let
supportedSystems = ["x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin"];
forEachSupportedSystem = f:
nixpkgs.lib.genAttrs supportedSystems (system:
f {
pkgs = import nixpkgs {inherit system;};
});
in {
devShells = forEachSupportedSystem ({pkgs}: {
default = pkgs.mkShell {
packages = with pkgs; [haxe];
};
});
};
}

0 comments on commit 8406ad8

Please sign in to comment.