artiq-full.nix: use sinaraSystemsSrc just as build input #40

Merged
sb10q merged 2 commits from astro/nix-scripts:sinara-srcs into master 2021-02-02 15:11:52 +08:00

A simple fix for issue #21. Did these commands have a reason?

A simple fix for issue #21. Did these commands have a reason?

Won't this change prevent user installation of board packages, unless they manually set -I sinaraSystemsSrc to the exact Git checkout that hydra used?

Won't this change prevent user installation of board packages, unless they manually set ``-I sinaraSystemsSrc`` to the exact Git checkout that hydra used?
astro force-pushed sinara-srcs from 6c954f9387 to 2469638fd0 2021-01-29 09:07:06 +08:00 Compare

Interesting. I have no experience publishing channels.

Updated.

Interesting. I have no experience publishing channels. Updated.

Isn't that just copying the sinara-systems files into the channel instead of having them in another entry in the nix store?

Isn't that just copying the sinara-systems files into the channel instead of having them in another entry in the nix store?
astro force-pushed sinara-srcs from 2469638fd0 to b158b85257 2021-02-02 09:13:31 +08:00 Compare
astro force-pushed sinara-srcs from b158b85257 to 5e3f6840a1 2021-02-02 11:00:03 +08:00 Compare

I took another long look and found the two culprits.

No need to change the way sinaraSystemsSrc is imported.

I took another long look and found the two culprits. No need to change the way sinaraSystemsSrc is imported.
astro force-pushed sinara-srcs from 5e3f6840a1 to b917c0bf2d 2021-02-02 11:02:50 +08:00 Compare
sb10q merged commit 70a0b8f90f into master 2021-02-02 15:11:52 +08:00
hydra-eval-jobs returned exit code 1:
error: --- Error --- hydra-eval-jobs
worker error: error: --- RestrictedPathError --- hydra-eval-jobs
access to path '/nix/store/xq8mnh5rf5v0www2amzvlbf8m6r0ckjv-pm405hs1s21h4p3bq7fg2vcwwc1gqcfv-source/apm.json' is forbidden in restricted mode
``` hydra-eval-jobs returned exit code 1: error: --- Error --- hydra-eval-jobs worker error: error: --- RestrictedPathError --- hydra-eval-jobs access to path '/nix/store/xq8mnh5rf5v0www2amzvlbf8m6r0ckjv-pm405hs1s21h4p3bq7fg2vcwwc1gqcfv-source/apm.json' is forbidden in restricted mode ```

Sorry for these oversights. My local Hydra is busy testing the other issue. I repushed to master with a fix.

Sorry for these oversights. My local Hydra is busy testing the other issue. I repushed to master with a fix.
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: M-Labs/nix-scripts#40
There is no content yet.