more attempts
This commit is contained in:
parent
7c7b789886
commit
741bde62dd
1 changed files with 5 additions and 1 deletions
|
@ -12,7 +12,7 @@
|
||||||
naersk-lib = pkgs.callPackage naersk { };
|
naersk-lib = pkgs.callPackage naersk { };
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
defaultPackage = with pkgs; naersk-lib.buildPackage {
|
packages.default = with pkgs; naersk-lib.buildPackage {
|
||||||
name = "openpgp-card";
|
name = "openpgp-card";
|
||||||
src = ./.;
|
src = ./.;
|
||||||
buildInputs = [ cargo rustc rustfmt pcsclite nettle pre-commit rustPackages.clippy ];
|
buildInputs = [ cargo rustc rustfmt pcsclite nettle pre-commit rustPackages.clippy ];
|
||||||
|
@ -24,5 +24,9 @@
|
||||||
nativeBuildInputs = [ pkg-config rustPlatform.bindgenHook ];
|
nativeBuildInputs = [ pkg-config rustPlatform.bindgenHook ];
|
||||||
RUST_SRC_PATH = rustPlatform.rustLibSrc;
|
RUST_SRC_PATH = rustPlatform.rustLibSrc;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
overlays.default = (final: prev: {
|
||||||
|
openpgp-card = self.packages.${prev.system}.default;
|
||||||
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue