feat(shell): Add an action to cache it #200
No reviewers
Labels
No labels
awaiting
awaiting-author
awaiting
awaiting-reviewer
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: DGNum/infrastructure#200
Loading…
Reference in a new issue
No description provided.
Delete branch "cache_shell"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
50587f33bc
to48a09de93a
@ -0,0 +6,4 @@
# Build the derivation and send it to the great beyond
drv=$1
Tu peux juste utiliser $1 à la place de $drv dans la suite et pas rajouter une variable.
IL faudrait aussi tester qu'on passe bien un argument au script:
@ -0,0 +16,4 @@
{ uses = "actions/checkout@v3"; }
{
name = "Build and cache shell";
run = "nix-shell -A eval-shell --run \"nix-instantiate-and-cache -A devShell\"";
48a09de93a
tode08f79cca
de08f79cca
to8b15789c24
@ -55,3 +38,1 @@
"$(nix-store --realise "$drv")"
rm .netrc
nix-cache "$drv"
Autant inline drv du coup
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.