uninsane/flake.nix

27 lines
713 B
Nix
Raw Normal View History

2022-07-09 21:21:16 +00:00
{
description = "https://uninsane.org blog";
inputs = {
nixpkgs.url = "nixpkgs/nixos-22.05";
flake-utils.url = github:numtide/flake-utils;
};
outputs = { self, nixpkgs, flake-utils }:
2022-10-11 09:58:24 +00:00
{
2022-10-11 10:03:20 +00:00
overlay = final: prev: import ./default.nix { pkgs = prev; };
2022-10-11 09:58:24 +00:00
} //
(
with flake-utils.lib; eachSystem allSystems (system:
let
pkgs = import nixpkgs { inherit system; };
in
rec {
packages = import ./default.nix { inherit pkgs; };
defaultPackage = packages.uninsane-dot-org;
devShells.default = with pkgs; mkShell {
buildInputs = with packages.uninsane-dot-org; (buildInputs ++ nativeBuildInputs);
};
})
);
2022-07-09 21:21:16 +00:00
}