Compare commits
2 Commits
69f6a41dbc
...
af59ba6a25
Author | SHA1 | Date | |
---|---|---|---|
af59ba6a25 | |||
f211a10328 |
@ -4,18 +4,8 @@ on: push
|
|||||||
jobs:
|
jobs:
|
||||||
nix-flake-update:
|
nix-flake-update:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
container: nixpkgs/nix-flakes
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Install Nix
|
|
||||||
run: |
|
|
||||||
sh <(curl -L https://nixos.org/nix/install) --no-daemon --no-channel-add
|
|
||||||
mkdir -p ~/.config/nix
|
|
||||||
touch ~/.config/nix/nix.conf
|
|
||||||
echo "max-jobs = auto" >> ~/.config/nix/nix.conf
|
|
||||||
echo "cores = 0" >> ~/.config/nix/nix.conf
|
|
||||||
echo "experimental-features = nix-command flakes" >> ~/.config/nix/nix.conf
|
|
||||||
echo "/nix/var/nix/profiles/per-user/$USER/profile/bin" >> "$GITHUB_PATH"
|
|
||||||
echo "/nix/var/nix/profiles/default/bin" >> "$GITHUB_PATH"
|
|
||||||
- name: Check flake
|
- name: Check flake
|
||||||
run: nix flake check --all-systems
|
run: nix flake check
|
||||||
|
|
||||||
|
6
flake.lock
generated
6
flake.lock
generated
@ -212,11 +212,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1736344531,
|
"lastModified": 1736523798,
|
||||||
"narHash": "sha256-8YVQ9ZbSfuUk2bUf2KRj60NRraLPKPS0Q4QFTbc+c2c=",
|
"narHash": "sha256-Xb8mke6UCYjge9kPR9o4P1nVrhk7QBbKv3xQ9cj7h2s=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "bffc22eb12172e6db3c5dde9e3e5628f8e3e7912",
|
"rev": "130595eba61081acde9001f43de3248d8888ac4a",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user