mirror of
https://github.com/LnL7/nix-darwin.git
synced 2025-03-13 20:30:02 +00:00
use current branch as darwin input for flakes
Overriding the registry was supposed to handle this but it seems the behaviour changed at some point or never worked as intended if an url is defined for the input.
This commit is contained in:
parent
d4deef8194
commit
d2bbe72e18
1 changed files with 3 additions and 4 deletions
7
.github/workflows/test.yml
vendored
7
.github/workflows/test.yml
vendored
|
@ -52,10 +52,9 @@ jobs:
|
|||
export NIX_PATH=$HOME/.nix-defexpr/channels
|
||||
nix-shell -A installer
|
||||
- run: |
|
||||
nix registry add darwin $PWD
|
||||
nix build ./modules/examples#darwinConfigurations.simple.system
|
||||
nix build ./modules/examples#darwinConfigurations.simple.system --override-input darwin .
|
||||
- run: |
|
||||
./result/sw/bin/darwin-rebuild switch --flake ./modules/examples#simple
|
||||
./result/sw/bin/darwin-rebuild switch --flake ./modules/examples#simple --override-input darwin .
|
||||
- run: |
|
||||
. /etc/static/bashrc
|
||||
darwin-rebuild build --flake ./modules/examples#simple
|
||||
darwin-rebuild build --flake ./modules/examples#simple --override-input darwin .
|
||||
|
|
Loading…
Add table
Reference in a new issue