summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOleg Pykhalov <go.wigust@gmail.com>2019-07-28 11:49:40 +0300
committerOleg Pykhalov <go.wigust@gmail.com>2019-07-28 11:51:19 +0300
commitc81bff1cf6e5cd7e4837ef0816a04e6af22036e0 (patch)
treed8f7e233e2c89b7a89f142c52ecf8335b39ea9f6
parent.gitlab-ci.yml: Update. (diff)
downloadguix-wigust-c81bff1cf6e5cd7e4837ef0816a04e6af22036e0.tar.gz
.gitlab-ci.yml: Update.
* .gitlab-ci.yml: Update. * channels.scm: New file.
-rw-r--r--.gitlab-ci.yml6
-rw-r--r--channels.scm5
2 files changed, 8 insertions, 3 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 5c4a799..863d41d 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,9 +1,9 @@
.build:
tags:
- - server
- - shell
+ - guixsd
script:
- - GUIX_PACKAGE_PATH=. ~/.config/guix/current/bin/guix build --no-grafts --fallback $(grep define-public $FILE | cut -f2 -d' ')
+ - guix pull --profile=.guix-profile --channels=channels.scm
+ - GUIX_PACKAGE_PATH=. .guix-profile/bin/guix build --no-grafts --fallback $(grep define-public $FILE | cut -f2 -d' ')
admin:
extends: .build
diff --git a/channels.scm b/channels.scm
new file mode 100644
index 0000000..0452bee
--- /dev/null
+++ b/channels.scm
@@ -0,0 +1,5 @@
+(list (channel
+ (name 'guix)
+ (url "https://git.savannah.gnu.org/git/guix.git")
+ (commit
+ "24446ce299943efe3dfded6c9dd0cf9421d8da04")))