mirror of
https://github.com/opdavies/build-configs.git
synced 2025-01-22 18:27:31 +00:00
23 lines
524 B
Twig
23 lines
524 B
Twig
# {{ managedText|raw }}
|
|
{
|
|
description = "A Nix Flake for {{ name }}";
|
|
|
|
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
|
|
outputs = { nixpkgs, ... }:
|
|
let
|
|
system = "x86_64-linux";
|
|
pkgs = nixpkgs.legacyPackages.${system};
|
|
|
|
inherit (pkgs) mkShell;
|
|
in {
|
|
devShells.${system}.default = mkShell { buildInputs = with pkgs; [
|
|
{% for package in flake.devshell.packages %}
|
|
{{ package }}
|
|
{% endfor %}
|
|
]; };
|
|
|
|
formatter.${system} = pkgs.nixfmt;
|
|
};
|
|
}
|