build-configs/templates/fractal/flake.nix.twig

23 lines
524 B
Twig
Raw Normal View History

# {{ managedText|raw }}
{
2024-03-30 18:03:40 +00:00
description = "A Nix Flake for {{ name }}";
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
2024-03-30 18:03:40 +00:00
outputs = { nixpkgs, ... }:
let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
2024-03-30 18:03:40 +00:00
inherit (pkgs) mkShell;
in {
devShells.${system}.default = mkShell { buildInputs = with pkgs; [
{% for package in flake.devshell.packages %}
{{ package }}
{% endfor %}
]; };
2024-03-30 18:03:40 +00:00
formatter.${system} = pkgs.nixfmt;
};
}