summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2022-06-02 15:29:39 +0300
committerEfraim Flashner <efraim@flashner.co.il>2022-06-02 15:29:39 +0300
commit502e43aa45ddbce6504208ff70536e2e5dc88069 (patch)
tree4322416a0a6f11366685a16dc7fe81721eeef616 /gnu
parent3fce3c2c7a24c387b3a2f05347b515d4933a21e4 (diff)
downloadguix-502e43aa45ddbce6504208ff70536e2e5dc88069.tar.gz
gnu: ruby-rails-dom-testing: Fix build.
* gnu/packages/rails.scm (ruby-rails-dom-testing)[arguments]: Add phase
to delete the Gemfile.lock.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/rails.scm10
1 files changed, 9 insertions, 1 deletions
diff --git a/gnu/packages/rails.scm b/gnu/packages/rails.scm
index 45fa5d8606..8f5bda4638 100644
--- a/gnu/packages/rails.scm
+++ b/gnu/packages/rails.scm
@@ -1,7 +1,7 @@
 ;;; GNU Guix --- Functional package management for GNU
 ;;; Copyright © 2016 Matthew Jordan <matthewjordandevops@yandex.com>
 ;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
-;;; Copyright © 2019, 2021 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2019, 2021, 2022 Efraim Flashner <efraim@flashner.co.il>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -20,6 +20,7 @@
 
 (define-module (gnu packages rails)
   #:use-module ((guix licenses) #:prefix license:)
+  #:use-module (guix gexp)
   #:use-module (guix download)
   #:use-module (guix git-download)
   #:use-module (guix packages)
@@ -291,6 +292,13 @@ directly.")
        (base32
         "17vdh273cmmfpzy5m546dd13zqmimv54jjx0f7sl0zi5lwz0gnck"))))
    (build-system ruby-build-system)
+   (arguments
+    (list
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'unpack 'delete-gemfile.lock
+            (lambda _
+              (delete-file "Gemfile.lock"))))))
    (native-inputs
     (list bundler))
    (propagated-inputs