Created
February 4, 2022 11:39
-
-
Save nixinator/08a9b9a64b96b406ee2701cc09858650 to your computer and use it in GitHub Desktop.
nix flake for build a single package from nixpkgs, this builds an unfree package.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
inputs = { | |
nixpkgs.url = "github:nixos/nixpkgs/nixos-21.11"; | |
}; | |
outputs = { self, nixpkgs }: | |
let | |
myNixpkgs = import nixpkgs { config.allowUnfree = true; system = "x86_64-linux"; }; | |
in | |
{ | |
packages.x86_64-linux.cudaThing = myNixpkgs.python3Packages.tensorflowWithCuda; | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment