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:
parent
fb2a419d54
commit
a8b2953b19
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue