mirror of
https://github.com/opdavies/build-configs.git
synced 2025-01-23 10:37:31 +00:00
26 lines
586 B
Twig
26 lines
586 B
Twig
|
# {{ managedText|raw }}
|
||
|
|
||
|
{
|
||
|
inputs = {
|
||
|
devshell.url = "github:numtide/devshell";
|
||
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||
|
};
|
||
|
|
||
|
outputs = inputs@{ flake-parts, ... }:
|
||
|
flake-parts.lib.mkFlake { inherit inputs; } {
|
||
|
imports = [ inputs.devshell.flakeModule ];
|
||
|
|
||
|
systems = [ "x86_64-linux" ];
|
||
|
|
||
|
perSystem = { config, self', inputs', pkgs, system, ... }: {
|
||
|
devshells.default = {
|
||
|
packages = with pkgs; [
|
||
|
{% for package in flake.devshell.packages %}
|
||
|
"{{ package }}"
|
||
|
{% endfor %}
|
||
|
];
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
}
|