nitropy as attribute

This commit is contained in:
Denis Knauf 2023-05-25 17:18:01 +02:00
parent a5fbe03b27
commit cb3049ec84

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;
};
}