stackpkgs/flake.nix
Ryze 43283928d3
Use pkgs with stackpkgs overlay
To access derivations from stackpkgs for building other packages in it via callPackage
2024-10-02 22:08:40 +03:00

22 lines
445 B
Nix

{
description = "Collection of packages and overlays used by me";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
};
outputs = { self, nixpkgs }:
let
system = "x86_64-linux";
overlay = import ./overlay.nix;
pkgs = import nixpkgs {
inherit system;
overlays = [ overlay ];
};
in
{
packages.${system} = pkgs.callPackage ./stackpkgs.nix {};
overlays.default = overlay;
};
}