-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
80 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- a/dmd/src/inifile.c | ||
+++ b/dmd/src/inifile.c | ||
@@ -106,9 +106,7 @@ const char *findConfFile(const char *argv0, const char *inifile) | ||
} | ||
|
||
// Search /etc/ for inifile | ||
-#ifndef SYSCONFDIR | ||
-# error SYSCONFDIR not defined | ||
-#endif | ||
+#define SYSCONFDIR "@out@/etc/" | ||
assert(SYSCONFDIR != NULL && strlen(SYSCONFDIR)); | ||
filename = FileName::combine(SYSCONFDIR, inifile); | ||
#endif // __linux__ || __APPLE__ || __FreeBSD__ || __OpenBSD__ || __sun |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,7 @@ | ||
{ callPackage }: | ||
callPackage ./binary.nix { | ||
version = "2.090.1"; | ||
hashes = { | ||
# Get these from `nix-prefetch-url http://downloads.dlang.org/releases/2.x/2.090.1/dmd.2.090.1.linux.tar.xz` etc.. | ||
osx = "sha256-9HwGVO/8jfZ6aTiDIUi8w4C4Ukry0uUS8ACP3Ig8dmU="; | ||
linux = "sha256-ByCrIA4Nt7i9YT0L19VXIL1IqIp+iObcZux407amZu4="; | ||
}; | ||
import ./generic.nix { | ||
version = "2.076.1"; | ||
dmdRevision = "54c21a585da7ee7a6af24963a7e0973ea5b4d99b"; | ||
dmdHash = "sha256-APagC4FykwYZMTpC7gMy9bz5K4BRkcBRz1g2GsKohB8="; | ||
phobosHash = "sha256-sSxhATBYlJ0mSrDZzmM6UZU6t7SWTtNECFsvY3ds0Gw="; | ||
bootstrap = true; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters