Skip to content

Commit

Permalink
cudaModules.saxpy: Use lib.fileset
Browse files Browse the repository at this point in the history
This prevents unnecessary rebuilds when the default.nix is changed in
any way.
  • Loading branch information
dasJ committed Mar 31, 2024
1 parent b8c4fa5 commit ed903aa
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pkgs/development/cuda-modules/saxpy/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,17 @@ let
cudaVersion
flags
libcublas
setupCudaHook
;
inherit (lib) getDev getLib getOutput;
in
backendStdenv.mkDerivation {
pname = "saxpy";
version = "unstable-2023-07-11";

src = ./.;
src = lib.fileset.toSource {
root = ./.;
fileset = lib.fileset.difference ./. ./default.nix;
};

strictDeps = true;

Expand Down

0 comments on commit ed903aa

Please sign in to comment.