nitropy as attribute
This commit is contained in:
parent
a5fbe03b27
commit
cb3049ec84
|
@ -2,13 +2,14 @@
|
||||||
{
|
{
|
||||||
description = "nitropy cli";
|
description = "nitropy cli";
|
||||||
inputs.nixpkgs.url = github:NixOS/nixpkgs/nixos-23.05-small;
|
inputs.nixpkgs.url = github:NixOS/nixpkgs/nixos-23.05-small;
|
||||||
outputs = { self, nixpkgs }: {
|
outputs = { self, nixpkgs }: rec {
|
||||||
defaultPackage.x86_64-linux =
|
nitropy =
|
||||||
# Notice the reference to nixpkgs here.
|
# Notice the reference to nixpkgs here.
|
||||||
with import nixpkgs {
|
with import nixpkgs {
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
config.allowUnfree = true;
|
config.allowUnfree = true;
|
||||||
};
|
};
|
||||||
callPackage ./pynitrokey.nix { };
|
callPackage ./pynitrokey.nix { };
|
||||||
|
defaultPackage.x86_64-linux = nitropy;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue