diff options
author | Arun Isaac | 2023-06-06 14:47:17 +0100 |
---|---|---|
committer | Arun Isaac | 2023-10-04 15:35:43 +0100 |
commit | 53919e07cfea2d906b685985937c34ee1fd2c13e (patch) | |
tree | 539c706e41e28d5c8fe3367eea8f07f4e5e572b6 | |
parent | c5eff75e31839c87ed5a82ec966d4b34002534a3 (diff) | |
download | gn-machines-53919e07cfea2d906b685985937c34ee1fd2c13e.tar.gz |
Use switch-symlinks from (guix build utils).
switch-symlinks was recently moved from (guix utils) to (guix build
utils). It can now be safely used in build-side code.
* genenetwork-development.scm (install-laminar-template-gexp): Use
switch-symlinks from (guix build utils).
-rw-r--r-- | genenetwork-development.scm | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/genenetwork-development.scm b/genenetwork-development.scm index 3a16c60..3e8d034 100644 --- a/genenetwork-development.scm +++ b/genenetwork-development.scm @@ -957,11 +957,6 @@ menu link to channels.scm and the issue tracker at ISSUE-TRACKER-URI." #~(begin (use-modules (guix build utils)) - (define (switch-symlinks link target) - (let ((pivot (string-append link ".new"))) - (symlink target pivot) - (rename-file pivot link))) - (mkdir-p "/var/lib/laminar/custom") (switch-symlinks "/var/lib/laminar/custom/index.html" #$template)))) |