Rev | Line | |
---|
[420782f] | 1 | #
|
---|
| 2 | # Profiles
|
---|
| 3 | #
|
---|
| 4 |
|
---|
| 5 | # Store items doesn't have useful mtime, so we rely on guix.lock to prevent
|
---|
| 6 | # unecessary rebuilds
|
---|
| 7 | guix: target/guix-time-marker
|
---|
| 8 |
|
---|
| 9 | target/profiles:
|
---|
| 10 | mkdir -p target/profiles
|
---|
| 11 |
|
---|
| 12 | target/guix-time-marker: rde/channels-lock.scm
|
---|
| 13 | make target/profiles/guix
|
---|
| 14 | touch $@
|
---|
| 15 |
|
---|
| 16 | target/profiles/guix: target/profiles rde/channels-lock.scm
|
---|
| 17 | guix pull -C rde/channels-lock.scm -p ${GUIX_PROFILE} \
|
---|
| 18 | ${PULL_EXTRA_OPTIONS}
|
---|
| 19 |
|
---|
| 20 | target/profiles/guix-local: target/profiles rde/channels-lock-local.scm
|
---|
| 21 | guix pull -C rde/channels-lock-local.scm -p ${GUIX_PROFILE} \
|
---|
| 22 | ${PULL_EXTRA_OPTIONS}
|
---|
| 23 |
|
---|
| 24 | rde/channels-lock.scm: rde/channels.scm
|
---|
| 25 | echo -e "(use-modules (guix channels))\n" > ./rde/channels-lock-tmp.scm
|
---|
| 26 | guix time-machine -C ./rde/channels.scm -- \
|
---|
| 27 | describe -f channels >> ./rde/channels-lock-tmp.scm
|
---|
| 28 | mv ./rde/channels-lock-tmp.scm ./rde/channels-lock.scm
|
---|
| 29 |
|
---|
| 30 | rde/channels-lock-local.scm: rde/channels-local.scm
|
---|
| 31 | echo -e "(use-modules (guix channels))\n" > ./rde/channels-lock-tmp.scm
|
---|
| 32 | guix time-machine -C ./rde/channels-local.scm -- \
|
---|
| 33 | describe -f channels >> ./rde/channels-lock-tmp.scm
|
---|
| 34 | mv ./rde/channels-lock-tmp.scm ./rde/channels-lock-local.scm
|
---|
Note:
See
TracBrowser
for help on using the repository browser.