diff options
author | Ludovic Courtès <ludo@gnu.org> | 2014-07-07 23:54:28 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2014-07-08 00:12:30 +0200 |
commit | b3342b545a0147e2b501a94179cea6257fbe5213 (patch) | |
tree | 18ba3256994c86802ee671d818642c05f332d13b /gnu/packages/patches/dmd-getpw.patch | |
parent | ac47a7c240955bd7cc23179e2cb95fed207d98ba (diff) | |
download | guix-b3342b545a0147e2b501a94179cea6257fbe5213.tar guix-b3342b545a0147e2b501a94179cea6257fbe5213.tar.gz |
gnu: dmd: Update to 0.2.
* gnu/packages/admin.scm (dmd): Update to 0.2; remove 'patches'.
* gnu/packages/patches/dmd-getpw.patch,
gnu/packages/patches/dmd-tests-longer-sleeps.patch: Remove.
* gnu-system.am (dist_patch_DATA): Adjust accordingly.
Diffstat (limited to 'gnu/packages/patches/dmd-getpw.patch')
-rw-r--r-- | gnu/packages/patches/dmd-getpw.patch | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/gnu/packages/patches/dmd-getpw.patch b/gnu/packages/patches/dmd-getpw.patch deleted file mode 100644 index c4f9c35951..0000000000 --- a/gnu/packages/patches/dmd-getpw.patch +++ /dev/null @@ -1,19 +0,0 @@ -When bootstrapping and running as PID 1, /etc/{passwd,shadow} may be unavailable. -Gracefully handle that. - -diff --git a/modules/dmd/support.scm b/modules/dmd/support.scm -index 9b592c5..602e409 100644 ---- a/modules/dmd/support.scm -+++ b/modules/dmd/support.scm -@@ -151,7 +151,10 @@ There is NO WARRANTY, to the extent permitted by law."))) - - - ;; Home directory of the user. --(define user-homedir (passwd:dir (getpwuid (getuid)))) -+(define user-homedir -+ (or (false-if-exception (passwd:dir (getpwuid (getuid)))) -+ (getenv "HOME") -+ "/")) - - ;; Logfile. - (define default-logfile |