571c71e6f7
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.
26 lines
585 B
Diff
26 lines
585 B
Diff
From e799a7e0a64696e4ef6c088d36e4db09f8323581 Mon Sep 17 00:00:00 2001
|
|
From: Maximilian Bosch <maximilian@mbosch.me>
|
|
Date: Sun, 19 Jan 2020 22:37:04 +0100
|
|
Subject: [PATCH] Fix build for glibc>=2.28
|
|
|
|
The major/minor macros are defined in <sys/sysmacros.h> now.
|
|
---
|
|
lib/io.h | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/lib/io.h b/lib/io.h
|
|
index 8703cc8..e3d0d10 100644
|
|
--- a/lib/io.h
|
|
+++ b/lib/io.h
|
|
@@ -33,6 +33,7 @@
|
|
#include <sys/types.h>
|
|
#include <sys/stat.h>
|
|
#include <sys/mman.h>
|
|
+#include <sys/sysmacros.h>
|
|
|
|
|
|
void read_all(int fd, void *buf, size_t len);
|
|
--
|
|
2.23.1
|
|
|