summaryrefslogtreecommitdiff
path: root/vars/guix.groovy
diff options
context:
space:
mode:
Diffstat (limited to 'vars/guix.groovy')
-rw-r--r--vars/guix.groovy7
1 files changed, 7 insertions, 0 deletions
diff --git a/vars/guix.groovy b/vars/guix.groovy
new file mode 100644
index 0000000..ab95ada
--- /dev/null
+++ b/vars/guix.groovy
@@ -0,0 +1,7 @@
+def build(String pack) {
+ try {
+ sh "guix build --no-grafts ${pack}"
+ } catch (Exception error) {
+ echo "Stage failed, but we still continue"
+ }
+}