A profiles.mk => profiles.mk +25 -0
@@ 0,0 1,25 @@
+
+#
+# Profiles
+#
+
+# Store items doesn't have useful mtime, so we rely on guix.lock to prevent
+# unecessary rebuilds
+guix: target/guix-time-marker
+
+target/profiles:
+ mkdir -p target/profiles
+
+target/guix-time-marker: rde/channels-lock.scm
+ make target/profiles/guix
+ touch $@
+
+target/profiles/guix: target/profiles rde/channels-lock.scm
+ guix pull -C rde/channels-lock.scm -p ${GUIX_PROFILE} \
+ ${PULL_EXTRA_OPTIONS}
+
+rde/channels-lock.scm: rde/channels.scm
+ echo -e "(use-modules (guix channels))\n" > ./rde/channels-lock-tmp.scm
+ guix time-machine -C ./rde/channels.scm ${GUIX_EXTRA_ARGS} -- \
+ describe -f channels >> ./rde/channels-lock-tmp.scm
+ mv ./rde/channels-lock-tmp.scm ./rde/channels-lock.scm
A rde/channels-lock.scm => rde/channels-lock.scm +24 -0
@@ 0,0 1,24 @@
+(use-modules (guix channels))
+
+(list (channel
+ (name 'rde)
+ (url "https://git.sr.ht/~abcdw/rde")
+ (branch "master")
+ (commit
+ "38e9f3233c38e4809681feeab6c5e2abae55d0bb")
+ (introduction
+ (make-channel-introduction
+ "257cebd587b66e4d865b3537a9a88cccd7107c95"
+ (openpgp-fingerprint
+ "2841 9AC6 5038 7440 C7E9 2FFA 2208 D209 58C1 DEB0"))))
+ (channel
+ (name 'guix)
+ (url "https://git.savannah.gnu.org/git/guix.git")
+ (branch "master")
+ (commit
+ "c371555a4b46a5c9288f54753b0f158f9c4b8abc")
+ (introduction
+ (make-channel-introduction
+ "9edb3f66fd807b096b48283debdcddccfea34bad"
+ (openpgp-fingerprint
+ "BBB0 2DDF 2CEA F6A8 0D1D E643 A2A0 6DF2 A33A 54FA")))))
A rde/channels.scm => rde/channels.scm +13 -0
@@ 0,0 1,13 @@
+(use-modules (guix ci)
+ (guix channels))
+
+(list
+ %default-guix-channel
+ (channel
+ (name 'rde)
+ (url "https://git.sr.ht/~abcdw/rde")
+ (introduction
+ (make-channel-introduction
+ "257cebd587b66e4d865b3537a9a88cccd7107c95"
+ (openpgp-fingerprint
+ "2841 9AC6 5038 7440 C7E9 2FFA 2208 D209 58C1 DEB0")))))