-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
Closed
Labels
3.skill: good-first-bugThis seems like it's fixable by a non-expertThis seems like it's fixable by a non-expert3.skill: sprintableA larger issue which is split into distinct actionable tasksA larger issue which is split into distinct actionable tasks5.scope: trackingLong-lived issue tracking long-term fixes or multiple sub-problemsLong-lived issue tracking long-term fixes or multiple sub-problems6.topic: architectureRelating to code and API architecture of NixpkgsRelating to code and API architecture of Nixpkgs
Description
Issue description
Derivations that use src = ./. will be rebuilt on any change to the .nix file that includes them, including formatting changes caused by nixfmt-rfc-style for RFC 166.
List of files where this may be the case
Generated with rg -F 'src = ./.' --sort=path -l -tnix and not very thoroughly audited. Unchecked entries need work or attention.
- doc/default.nix: Minor Nixpkgs doc improvements #319875
- maintainers/scripts/convert-to-import-cargo-lock/default.nix (uses
cleanSourceWith) - nixos/lib/test-driver/default.nix: nixos/lib/test-driver: Prevent unnecessary rebuilds #319878
- pkgs/build-support/node/fetch-npm-deps/default.nix (uses
cleanSourceWith) - pkgs/build-support/release/default.nix (only in a comment)
- pkgs/build-support/rust/test/import-cargo-lock/basic/default.nix tests.importCargoLock: fix self-inclusive src listings in .nix files #303146
- pkgs/build-support/rust/test/import-cargo-lock/basic-dynamic/default.nix tests.importCargoLock: fix self-inclusive src listings in .nix files #303146
- pkgs/build-support/rust/test/import-cargo-lock/git-dependency/default.nix tests.importCargoLock: fix self-inclusive src listings in .nix files #303146
- pkgs/build-support/rust/test/import-cargo-lock/git-dependency-branch/default.nix tests.importCargoLock: fix self-inclusive src listings in .nix files #303146
- pkgs/build-support/rust/test/import-cargo-lock/git-dependency-rev/default.nix tests.importCargoLock: fix self-inclusive src listings in .nix files #303146
- pkgs/build-support/rust/test/import-cargo-lock/git-dependency-rev-non-workspace-nested-crate/default.nix tests.importCargoLock: fix self-inclusive src listings in .nix files #303146
- pkgs/build-support/rust/test/import-cargo-lock/git-dependency-tag/default.nix tests.importCargoLock: fix self-inclusive src listings in .nix files #303146
- pkgs/build-support/rust/test/import-cargo-lock/v1/default.nix tests.importCargoLock: fix self-inclusive src listings in .nix files #303146
- pkgs/by-name/pu/purescm/package.nix
- pkgs/by-name/pu/purescm/package.nix
[ ] pkgs/development/compilers/ghcjs/8.10/stage0.nix(not used)[ ] pkgs/development/compilers/pakcs/curry-frontend.nix(not used)- pkgs/development/compilers/reason/tests/hello/default.nix: reason.tests.hello: Prevent unnecessary rebuilds #319883
- pkgs/development/cuda-modules/saxpy/default.nix: cudaPackages.saxpy: Avoid unnecessary rebuilds #319886
- pkgs/development/interpreters/python/tests/test_nix_pythonprefix/typeddep/default.nix: python3.tests.nix-pythonprefix-mypy: Avoid unnecessary rebuilds #319888
- pkgs/development/julia-modules/tests/julia-top-n/default.nix: julia-top-n: fix self-inclusive src #320580
- pkgs/development/libraries/nanopb/test-message-with-annotations/default.nix: nanopb: Fix self-inclusive src #315684
- pkgs/development/libraries/nanopb/test-message-with-options/default.nix: nanopb: Fix self-inclusive src #315684
- pkgs/development/libraries/nanopb/test-simple-proto2/default.nix: nanopb: Fix self-inclusive src #315684
- pkgs/development/libraries/nanopb/test-simple-proto3/default.nix: nanopb: Fix self-inclusive src #315684
- pkgs/development/libraries/science/math/libtorch/test/default.nix: libtorch-bin: fix test having self-inclusive src #320579
- pkgs/development/libraries/science/math/mkl/test/default.nix mkl: fix self-inclusive test src #323634
- pkgs/development/ocaml-modules/reason-native/tests/console/default.nix ocamlPackages.reason-native: 2022-08-31-a0ddab6 -> <version>-unstable-2024-05-07 #322767
- pkgs/development/python-modules/spacy/annotation-test/default.nix python312Packages.spacy: clean source for annotation test #319939
- pkgs/development/python-modules/spacy-transformers/annotation-test/default.nix python312Packages.spacy: clean source for annotation test #319939
- pkgs/development/python-modules/waitress-django/default.nix python3Packages: format with nixfmt #313628
- pkgs/development/tools/yarn2nix-moretea/yarn2nix/default.nix: yarn2nix: avoid appearing to include src #320578
- pkgs/misc/documentation-highlighter/default.nix (uses
cleanSourceWith) - pkgs/servers/mx-puppet-discord/node-packages.nix
- pkgs/servers/sip/kamailio/test-kamailio-bin/default.nix kamailio: fix test src #312519
- pkgs/test/haskell/cabalSdist/local/generated.nix: tests.haskell: prevent unnecessary rebuilds #320572
- pkgs/test/haskell/setBuildTarget/default.nix: tests.haskell: prevent unnecessary rebuilds #320572
- pkgs/tools/nix/nixos-option/default.nix nixos-option: fix self inclusive src #307564 Revert "nixos-option: fix self inclusive src" #307936 nixos-option: fix self inclusive src (move src) #325614
- pkgs/tools/system/dell-command-configure/default.nix dell-command-configure: fix self inclusive src #307479
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
3.skill: good-first-bugThis seems like it's fixable by a non-expertThis seems like it's fixable by a non-expert3.skill: sprintableA larger issue which is split into distinct actionable tasksA larger issue which is split into distinct actionable tasks5.scope: trackingLong-lived issue tracking long-term fixes or multiple sub-problemsLong-lived issue tracking long-term fixes or multiple sub-problems6.topic: architectureRelating to code and API architecture of NixpkgsRelating to code and API architecture of Nixpkgs
Projects
Status
Done