initial commit
This commit is contained in:
commit
4b8dff4d24
18 changed files with 1290 additions and 0 deletions
18
flake.nix
Normal file
18
flake.nix
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
description = "Declaratively update your data.";
|
||||
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
||||
outputs = { nixpkgs, ... }: {
|
||||
lib = builtins.import ./lib.nix { pkgs = nixpkgs; };
|
||||
overlays.default = final: prev: {
|
||||
fooud = prev.stdenv.mkDerivation rec {
|
||||
pname = "fooud";
|
||||
version = "1.0";
|
||||
|
||||
src = ./.;
|
||||
deps = prev.callPackage ./build.zig.zon.nix {};
|
||||
nativeBuildInputs = [ nixpkgs.zig.hook ];
|
||||
zigBuildFlags = [ "--system" "${deps}" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue