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