1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 11:40:45 +00:00

cudaPackages.saxpy: Avoid unnecessary rebuilds (#319886)

E.g. when changing the Nix file
This commit is contained in:
Silvan Mosberger 2024-06-14 23:18:42 +02:00 committed by GitHub
parent fb2a419d54
commit a8b2953b19
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -18,12 +18,19 @@ let
setupCudaHook
;
inherit (lib) getDev getLib getOutput;
fs = lib.fileset;
in
backendStdenv.mkDerivation {
pname = "saxpy";
version = "unstable-2023-07-11";
src = ./.;
src = fs.toSource {
root = ./.;
fileset = fs.unions [
./CMakeLists.txt
./saxpy.cu
];
};
__structuredAttrs = true;
strictDeps = true;