mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-03 21:40:12 +00:00
We are migrating packages that meet below requirements:
1. using `callPackage`
2. called path is a directory
3. overriding set is empty (`{ }`)
4. not containing path expressions other than relative path (to
makenixpkgs-vet happy)
5. not referenced by nix files outside of the directory, other
than`pkgs/top-level/all-packages.nix`
6. not referencing nix files outside of the directory
7. not referencing `default.nix` (since it's changed to `package.nix`)
8. `outPath` doesn't change after migration
The tool is here: https://github.com/Aleksanaa/by-name-migrate.
22 lines
798 B
Diff
22 lines
798 B
Diff
diff --git a/data_for_test.go b/data_for_test.go
|
|
index c0b8980..691e270 100644
|
|
--- a/data_for_test.go
|
|
+++ b/data_for_test.go
|
|
@@ -555,14 +555,14 @@ var suites = []FixtureSuite{
|
|
"--endpoint", "{{endpoint}}",
|
|
"--verbose", "--fail",
|
|
"--attrs", "zy=ab", // ensure CLI args still propagate
|
|
- "--", "/bin/echo", "a", "z",
|
|
+ "--", "echo", "a", "z",
|
|
},
|
|
},
|
|
Expect: Results{
|
|
SpanCount: 1,
|
|
CliOutput: "a z\n",
|
|
SpanData: map[string]string{
|
|
- "attributes": "/^process.command=/bin/echo,process.command_args=/bin/echo,a,z,process.owner=\\w+,process.parent_pid=\\d+,process.pid=\\d+,zy=ab/",
|
|
+ "attributes": "/^process.command=echo,process.command_args=echo,a,z,process.owner=\\w+,process.parent_pid=\\d+,process.pid=\\d+,zy=ab/",
|
|
},
|
|
},
|
|
},
|