+53
lib/fileset/default.nix
+53
lib/fileset/default.nix
······+The file set containing all files from the first file set that are not in the second file set.+See also [Difference (set theory)](https://en.wikipedia.org/wiki/Complement_(set_theory)#Relative_complement).
+80
lib/fileset/internal.nix
+80
lib/fileset/internal.nix
···+# TODO: Have a `lib.lists.commonPrefixLength` function such that we don't need the list allocation from commonPrefix here+# This here is the filesetTree from the negative file set, but for a base path that matches the positive file set.+# because under the base path of `/foo/bar`, everything from the negative file set is included+# The common prefix is the same as the positive base path, so the second path is equal or longer.+# E.g. for `difference /foo /foo/bar` the common prefix is /foo, equal to the positive file set's base+# So we need to shorten the base of the tree for the negative argument from /foo/bar to just /foo+# E.g. for `difference /foo/bar /foo` the common prefix is /foo, equal to the negative file set's base+# If the second file set is empty, nothing gets removed, so the result is just the first file set
+98
lib/fileset/tests.sh
+98
lib/fileset/tests.sh
···+expectEqual 'toSource { root = ./a; fileset = difference ./a ./b; }' 'toSource { root = ./a; fileset = ./a; }'+expectFailure 'toSource { root = ./a; fileset = difference ./. ./a; }' 'lib.fileset.toSource: `fileset` could contain files in '"$work"', which is not under the `root` \('"$work"'/a\). Potential solutions:+\s*- Set `root` to '"$work"' or any directory higher up. This changes the layout of the resulting store path.+\s*- Set `fileset` to a file set that cannot contain files outside the `root` \('"$work"'/a\). This could change the files included in the result.'
+8
-2
lib/tests/filesystem.sh
+8
-2
lib/tests/filesystem.sh
···-expectFailure "pathType $PWD/non-existent" "error: (evaluation aborted with the following error message: 'lib.filesystem.pathType: Path $PWD/non-existent does not exist.'|getting status of '$PWD/non-existent': No such file or directory)"+"error: evaluation aborted with the following error message: 'lib.filesystem.pathType: Path $PWD/non-existent does not exist.'"
+6
maintainers/maintainer-list.nix
+6
maintainers/maintainer-list.nix
···
+1
-1
nixos/tests/predictable-interface-names.nix
+1
-1
nixos/tests/predictable-interface-names.nix
···
+3
-3
pkgs/applications/audio/reaper/default.nix
+3
-3
pkgs/applications/audio/reaper/default.nix
···
+3
-3
pkgs/applications/networking/cluster/terraform/default.nix
+3
-3
pkgs/applications/networking/cluster/terraform/default.nix
···
+3
-3
pkgs/applications/version-management/gh/default.nix
+3
-3
pkgs/applications/version-management/gh/default.nix
···
+2
-6
pkgs/applications/video/streamlink/default.nix
+2
-6
pkgs/applications/video/streamlink/default.nix
······
+2
-2
pkgs/applications/virtualization/crun/default.nix
+2
-2
pkgs/applications/virtualization/crun/default.nix
···
+2
-2
pkgs/applications/virtualization/runc/default.nix
+2
-2
pkgs/applications/virtualization/runc/default.nix
···
+42
pkgs/by-name/co/cosmic-icons/package.nix
+42
pkgs/by-name/co/cosmic-icons/package.nix
···
+2
-2
pkgs/development/compilers/owl-lisp/default.nix
+2
-2
pkgs/development/compilers/owl-lisp/default.nix
···
+2
-2
pkgs/development/misc/brev-cli/default.nix
+2
-2
pkgs/development/misc/brev-cli/default.nix
···
+5
-3
pkgs/development/python-modules/pandas/default.nix
+5
-3
pkgs/development/python-modules/pandas/default.nix
···# These tests are unreliable on aarch64-darwin. See https://github.com/pandas-dev/pandas/issues/38921.···
+7
-2
pkgs/development/tools/bbin/default.nix
+7
-2
pkgs/development/tools/bbin/default.nix
······
+3
-3
pkgs/development/tools/fblog/default.nix
+3
-3
pkgs/development/tools/fblog/default.nix
···
+26
pkgs/development/tools/language-servers/jq-lsp/default.nix
+26
pkgs/development/tools/language-servers/jq-lsp/default.nix
···
+21
-6
pkgs/development/tools/spring-boot-cli/default.nix
+21
-6
pkgs/development/tools/spring-boot-cli/default.nix
···-url = "https://repo.spring.io/release/org/springframework/boot/${pname}/${version}.RELEASE/${pname}-${version}.RELEASE-bin.zip";+url = "mirror://maven/org/springframework/boot/${finalAttrs.pname}/${finalAttrs.version}/${finalAttrs.pname}-${finalAttrs.version}-bin.zip";······+changelog = "https://github.com/spring-projects/spring-boot/releases/tag/v${finalAttrs.version}";
+30
pkgs/servers/sql/postgresql/ext/pg_embedding.nix
+30
pkgs/servers/sql/postgresql/ext/pg_embedding.nix
···+description = "PostgreSQL extension implementing the HNSW algorithm for vector similarity search";
+2
pkgs/servers/sql/postgresql/packages.nix
+2
pkgs/servers/sql/postgresql/packages.nix
+3
-3
pkgs/tools/admin/triton/default.nix
+3
-3
pkgs/tools/admin/triton/default.nix
···
+2
-2
pkgs/tools/admin/wander/default.nix
+2
-2
pkgs/tools/admin/wander/default.nix
···
+2
-2
pkgs/tools/text/ispell/default.nix
+2
-2
pkgs/tools/text/ispell/default.nix
···
+2
pkgs/top-level/all-packages.nix
+2
pkgs/top-level/all-packages.nix
···