``` • Updated input 'flake-utils': 'github:numtide/flake-utils/c0e246b9b83f637f4681389ecabcb2681b4f3af0' (2022-08-07) → 'github:numtide/flake-utils/3db36a8b464d0c4532ba1c7dda728f4576d6d073' (2023-02-13) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/9282141c8bc05568ec0e342eac39df72603aa9fa' (2022-10-09) → 'github:NixOS/nixpkgs/a7cc81913bb3cd1ef05ed0ece048b773e1839e51' (2023-03-07) ```
27 lines
713 B
Nix
27 lines
713 B
Nix
{
|
|
description = "https://uninsane.org blog";
|
|
inputs = {
|
|
nixpkgs.url = "nixpkgs/nixos-22.11";
|
|
flake-utils.url = github:numtide/flake-utils;
|
|
};
|
|
|
|
outputs = { self, nixpkgs, flake-utils }:
|
|
{
|
|
overlay = final: prev: import ./default.nix { pkgs = prev; };
|
|
} //
|
|
(
|
|
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);
|
|
};
|
|
})
|
|
);
|
|
}
|