mirror of
https://github.com/LnL7/nix-darwin.git
synced 2024-09-11 12:49:18 +03: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
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…
Reference in New Issue
Block a user