18 lines
317 B
Nix
18 lines
317 B
Nix
{
|
|
pkgs ? import <nixpkgs> { },
|
|
}:
|
|
with pkgs;
|
|
let
|
|
buildNimSbom = pkgs.callPackage (import <build-nim-sbom.nix>) { };
|
|
in
|
|
buildNimSbom (finalAttrs: {
|
|
src = if lib.inNixShell then null else lib.cleanSource ./.;
|
|
buildInputs = [
|
|
postgresql.out
|
|
sqlite
|
|
libxml2
|
|
libxslt
|
|
openssl
|
|
];
|
|
}) ./sbom.json
|