first elm template

This commit is contained in:
jsz4n
2024-02-06 13:14:30 +01:00
parent 9a911ab42e
commit 580651eb55
2 changed files with 37 additions and 0 deletions

19
elm/flake.nix Normal file
View File

@@ -0,0 +1,19 @@
{
description = "A very basic Haskell flake";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
};
outputs = { self, nixpkgs, ...}:
let
supportedSystems = [ "x86_64-linux" "x86_64-darwin" "aarch64-linux" "aarch64-darwin" ];
forAllSystems = nixpkgs.lib.genAttrs supportedSystems;
pkgs = forAllSystems (system: nixpkgs.legacyPackages.${system});
in
{
devShells = forAllSystems (system: {
default = pkgs.${system}.callPackage ./shell.nix {};
});
};
}