mirror of
https://gitlab.com/upRootNutrition/website.git
synced 2025-06-15 12:05:12 -05:00
28 lines
634 B
Nix
Executable file
28 lines
634 B
Nix
Executable file
{
|
|
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,
|
|
...
|
|
}: let
|
|
system = "x86_64-linux";
|
|
in
|
|
flake-parts.lib.mkFlake {inherit inputs;} {
|
|
imports = [
|
|
./parts
|
|
];
|
|
systems = [system];
|
|
perSystem = {pkgs, ...}: {
|
|
_module.args.pkgs = import inputs.nixpkgs {
|
|
inherit system;
|
|
};
|
|
_module.args.pkgs-stable = import inputs.nixpkgs-stable {
|
|
inherit system;
|
|
};
|
|
};
|
|
};
|
|
}
|