Unverified Commit 03f99f47 authored by Gaétan Lepage's avatar Gaétan Lepage Committed by GitHub
Browse files

cudaPackages.nsight_systems: support flattened directory structure (#503867)

parents aa49e94b 6a78d900
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -69,7 +69,7 @@ buildRedist (
    ];

    # NOTE(@connorbaker): nsight-exporter and nsight-sys are deprecated scripts wrapping nsys, it's fine to remove them.
    prePatch = ''
    prePatch = lib.optionalString (lib.versionOlder finalAttrs.version "2025.5.2.26") ''
      if [[ -d bin ]]; then
        nixLog "Removing bin wrapper scripts"
        for knownWrapper in bin/{nsys{,-ui},nsight-{exporter,sys}}; do