mirror of
https://github.com/zaphar/durnitisp.git
synced 2025-07-21 18:10:27 -04:00
26 lines
723 B
Nix
26 lines
723 B
Nix
{
|
|
inputs = {
|
|
nixpkgs.url = "nixpkgs";
|
|
flake-utils.url = "github:numtide/flake-utils";
|
|
naersk = {
|
|
url = "github:nix-community/naersk";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
flake-compat = { url = "github:edolstra/flake-compat"; flake = false; };
|
|
};
|
|
|
|
outputs = {self, flake-utils, naersk, flake-compat, nixpkgs}:
|
|
flake-utils.lib.eachDefaultSystem (system:
|
|
let
|
|
naersk-lib = naersk.lib."${system}";
|
|
in
|
|
{
|
|
defaultPackage = naersk-lib.buildPackage rec {
|
|
pname = "durnitisp";
|
|
src = ./.;
|
|
};
|
|
}
|
|
);
|
|
|
|
}
|