refactor: complete overhaul

This commit is contained in:
Nick 2024-11-10 23:40:39 -06:00
parent 2a2b90020b
commit 502c52e191
35 changed files with 19 additions and 5 deletions

View file

@ -1,10 +1,9 @@
{
description = "Elm Environment";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
nixpkgs-stable.url = "github:NixOS/nixpkgs/nixos-23.11";
};
outputs = inputs @ {
flake-parts,
self,
@ -17,5 +16,13 @@
./parts
];
systems = [system];
perSystem = {pkgs, ...}: {
_module.args.pkgs = import inputs.nixpkgs {
inherit system;
};
_module.args.pkgs-stable = import inputs.nixpkgs-stable {
inherit system;
};
};
};
}

View file

@ -1,4 +1,8 @@
{pkgs, ...}: {
{
pkgs,
pkgs-stable,
...
}: {
devShells = {
default = pkgs.mkShell {
packages = builtins.attrValues {
@ -9,7 +13,7 @@
nil
;
inherit
(pkgs.elmPackages)
(pkgs-stable.elmPackages)
elm
elm-format
elm-land