nitropy as attribute

main
Denis Knauf 2023-05-25 17:18:01 +02:00
parent a5fbe03b27
commit cb3049ec84
1 changed files with 3 additions and 2 deletions

View File

@ -2,13 +2,14 @@
{
description = "nitropy cli";
inputs.nixpkgs.url = github:NixOS/nixpkgs/nixos-23.05-small;
outputs = { self, nixpkgs }: {
defaultPackage.x86_64-linux =
outputs = { self, nixpkgs }: rec {
nitropy =
# Notice the reference to nixpkgs here.
with import nixpkgs {
system = "x86_64-linux";
config.allowUnfree = true;
};
callPackage ./pynitrokey.nix { };
defaultPackage.x86_64-linux = nitropy;
};
}