mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-02 13:00:23 +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.
23 lines
565 B
Diff
23 lines
565 B
Diff
--- a/get-edid/classic.c
|
|
+++ b/get-edid/classic.c
|
|
@@ -26,7 +26,7 @@ typedef byte* real_ptr;
|
|
#define dosmemput(buffer,length,offset) memcpy(offset,buffer,length)
|
|
|
|
#define display(...) if (quiet == 0) { fprintf(stderr, __VA_ARGS__); }
|
|
-int quiet;
|
|
+extern int quiet;
|
|
|
|
real_ptr far_ptr_to_real_ptr( uint32 farptr )
|
|
{
|
|
--- a/get-edid/i2c.c
|
|
+++ b/get-edid/i2c.c
|
|
@@ -15,7 +15,7 @@
|
|
|
|
//Ideas (but not too much actual code) taken from i2c-tools. Thanks guys.
|
|
|
|
-int quiet;
|
|
+extern int quiet;
|
|
|
|
#define display(...) if (quiet == 0) { fprintf(stderr, __VA_ARGS__); }
|
|
|