mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
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.
27 lines
653 B
Diff
27 lines
653 B
Diff
diff --git a/core/config_reader.c b/core/config_reader.c
|
|
index 451fc48..737d27c 100644
|
|
--- a/core/config_reader.c
|
|
+++ b/core/config_reader.c
|
|
@@ -17,7 +17,7 @@
|
|
#include "../directories.h"
|
|
#include "macros.h"
|
|
#include <errno.h>
|
|
-
|
|
+#include <stdlib.h>
|
|
/*
|
|
* These variables are used to read the configuration.
|
|
*/
|
|
diff --git a/core/gimx.c b/core/gimx.c
|
|
index 700cae9..693f72f 100755
|
|
--- a/core/gimx.c
|
|
+++ b/core/gimx.c
|
|
@@ -8,7 +8,7 @@
|
|
#include <errno.h> //to print errors
|
|
#include <string.h> //to print errors
|
|
#include <limits.h> //PATH_MAX
|
|
-
|
|
+#include <stdlib.h>
|
|
#ifndef WIN32
|
|
#include <termios.h> //to disable/enable echo
|
|
#include <unistd.h>
|