uninsane/flake.nix

28 lines
742 B
Nix
Raw Permalink Normal View History

2022-07-09 21:21:16 +00:00
{
description = "https://uninsane.org blog";
2023-12-18 19:27:06 +00:00
inputs.nixpkgs.url = "nixpkgs/nixos-23.11";
2022-07-09 21:21:16 +00:00
outputs = { self, nixpkgs }:
let
pkgs = import nixpkgs {
system = "x86_64-linux";
overlays = [ self.outputs.overlays.default ];
};
in with self.outputs.packages.x86_64-linux;
{
overlays.default = final: prev: with final; {
uninsane-dot-org = callPackage ./default.nix { };
};
packages.x86_64-linux = {
# avoid exposing ALL of nixpkgs
inherit (pkgs) uninsane-dot-org;
};
2022-10-11 09:58:24 +00:00
defaultPackage.x86_64-linux = uninsane-dot-org;
# doesn't work... ?
# devShells.default = pkgs.mkShell {
# buildInputs = with uninsane-dot-org; (buildInputs ++ nativeBuildInputs);
# };
};
2022-07-09 21:21:16 +00:00
}