vaguerent/flake.nix
Paul Hinze 072ae3a467
Start with straight copy/paste from waypoint project
Only names / descriptions are changed... lots of extras in here we'll
need to clean out
2022-04-25 12:25:55 -05:00

25 lines
693 B
Nix

{
description = "HashiCorp Vagrant project";
inputs.nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
inputs.flake-utils.url = "github:numtide/flake-utils";
outputs = { self, nixpkgs, flake-utils }:
let
localOverlay = import ./nix/overlay.nix;
overlays = [ localOverlay ];
in flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs {
inherit system overlays;
};
in {
legacyPackages = pkgs;
inherit (pkgs) devShell;
}) // {
# platform independent attrs
overlay = final: prev: (nixpkgs.lib.composeManyExtensions overlays) final prev;
inherit overlays;
};
}