Compare commits

..

11 commits

Author SHA1 Message Date
1cfef95fc4
flake.lock: Update
Flake lock file updates:

• Updated input 'hyprland':
    'git+https://github.com/hyprwm/Hyprland/?ref=refs/heads/main&rev=b03f41efec14273cf25c42d4cef326acc36cb319' (2024-07-08)
  → 'git+https://github.com/hyprwm/Hyprland/?ref=refs/heads/main&rev=e728e56cbc6af0a9be1276b2cf8e019a894016e7' (2024-07-11)
• Updated input 'hyprland/hyprutils':
    'github:hyprwm/hyprutils/a8c3a135701a7b64db0a88ec353a392f402d2a87' (2024-07-05)
  → 'github:hyprwm/hyprutils/6174a2a25f4e216c0f1d0c4278adc23c476b1d09' (2024-07-09)
• Updated input 'hyprland/nixpkgs':
    'github:NixOS/nixpkgs/9f4128e00b0ae8ec65918efeba59db998750ead6' (2024-07-03)
  → 'github:NixOS/nixpkgs/feb2849fdeb70028c70d73b848214b00d324a497' (2024-07-09)
• Updated input 'hyprland-contrib':
    'github:hyprwm/contrib/29a8374f4b9206d5c4af84aceb7fb5dff441ea60' (2024-06-15)
  → 'github:hyprwm/contrib/65d42dcbfde2229a75ccdb195c318dfe241f9ade' (2024-07-11)
• Updated input 'lix':
    '3dced96741.tar.gz?narHash=sha256-waTt93GpWt/yHi6ZME%2BB9I9V%2BEavX0qyny%2B8WvWuC3c%3D' (2024-07-10)
  → '4b109ec1a8.tar.gz?narHash=sha256-vq9CLDvqSSvH4L7YhDa0ihTOrAry4jntKiuoNb5n98M%3D' (2024-07-11)
• Updated input 'lix-module':
    '5d9d94089f.tar.gz?narHash=sha256-86NBqDxAP20ET/UoKX0WvSItblNQ97czXb2q7lkMrwk%3D' (2024-06-25)
  → 'd70318fb94.tar.gz?narHash=sha256-8Oqzl9QPjEe/n8y0R2tC6%2B2v/H6xBgABHXOJwxmnBg0%3D' (2024-07-11)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/16e401f01842c5bb2499e78c1fe227f939c0c474' (2024-07-10)
  → 'github:nixos/nixpkgs/212defe037698e18fc9521dfe451779a8979844c' (2024-07-11)
• Updated input 'nixpkgs-wayland':
    'github:nix-community/nixpkgs-wayland/813f608e25bc14b16053c005b05ebf8b18d25503' (2024-07-08)
  → 'github:nix-community/nixpkgs-wayland/8f132445454c6b9f0b21952953885007b961310a' (2024-07-11)
• Updated input 'nixpkgs-wayland/nixpkgs':
    'github:nixos/nixpkgs/655a58a72a6601292512670343087c2d75d859c1' (2024-07-08)
  → 'github:nixos/nixpkgs/feb2849fdeb70028c70d73b848214b00d324a497' (2024-07-09)
• Updated input 'zig2nix':
    'github:Cloudef/zig2nix/edb7dc2318e536bf78181eedd9dab0b5f27aa2a1' (2024-07-10)
  → 'github:Cloudef/zig2nix/141b1b633b585e52388620b84c4d2f438b92a45a' (2024-07-12)
• Updated input 'zls':
    'github:zigtools/zls/fbd8b9a87a3cd5ab8389054815d9e3f81dfd430b' (2024-07-07)
  → 'github:zigtools/zls/b8dd9cbbcc7591159f28eb41c21315f5ef5ca995' (2024-07-11)
2024-07-12 00:52:58 -05:00
e454e4fb39
let it build a broken system nightly for now 2024-07-12 00:52:47 -05:00
fb92186fa5
test without magic cache 2024-07-12 00:32:28 -05:00
b02e51e163
git push force 2024-07-12 00:16:33 -05:00
b8038f521b
delete flake-lock if system buil fails 2024-07-12 00:09:26 -05:00
4a284cce19
build system 2024-07-12 00:06:11 -05:00
192243b425
push to origin 2024-07-11 23:52:58 -05:00
96f04adb30
syntax error 2024-07-11 23:38:18 -05:00
070df62490
change name 2024-07-11 23:36:44 -05:00
b392b9002e
not needed with --minimal 2024-07-11 23:35:39 -05:00
c4002388aa
cache minimal then build full 2024-07-11 23:33:26 -05:00
3 changed files with 91 additions and 42 deletions

View file

@ -30,7 +30,7 @@ jobs:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v4
- uses: ./.github/actions/clean-disk # - uses: ./.github/actions/clean-disk
- uses: DeterminateSystems/nix-installer-action@v12 - uses: DeterminateSystems/nix-installer-action@v12
with: with:

View file

@ -1,4 +1,4 @@
name: Build NixOS (on demand) name: Build NixOS (Nightly)
on: on:
workflow_dispatch: workflow_dispatch:
@ -8,15 +8,23 @@ on:
# concurrency: # concurrency:
# group: ${{ github.workflow }}-${{ github.ref }}-${{ inputs.host }} # group: ${{ github.workflow }}-${{ github.ref }}-${{ inputs.host }}
# cancel-in-progress: true # cancel-in-progress: true
permissions:
contents: write
jobs: jobs:
build: build-minimal:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v4
with:
ref: flake-lock
- uses: ./.github/actions/clean-disk - name: Setup Git Bot
run: |
git --version
git config user.name 'github-actions[bot]'
git config user.email 'github-actions[bot]@users.noreply.github.com'
- uses: DeterminateSystems/nix-installer-action@v12 - uses: DeterminateSystems/nix-installer-action@v12
with: with:
@ -31,8 +39,8 @@ jobs:
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}" authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
- name: Update nix flake - name: Update nix flake
run: run: |
nix flake update >> $GITHUB_STEP_SUMMARY nix flake update --commit-lock-file 2>> $GITHUB_STEP_SUMMARY
- name: Build - name: Build
run: | run: |
@ -45,3 +53,44 @@ jobs:
--debug \ --debug \
-- \ -- \
--print-build-logs --print-build-logs
- name: Commit Updates
run: git push --set-upstream --force-with-lease origin flake-lock
build-full:
needs: build-minimal
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: flake-lock
# - name: Setup Git Bot
# run: |
# git --version
# git config user.name 'github-actions[bot]'
# git config user.email 'github-actions[bot]@users.noreply.github.com'
- uses: DeterminateSystems/nix-installer-action@v12
with:
extra-conf: |
accept-flake-config = true
# - uses: DeterminateSystems/magic-nix-cache-action@v7
- uses: ./.github/actions/clean-disk
with:
purge-packages: 'true'
- name: Build
run: |
system_attr=$(nix run . -- output --host "othalan" --flake .)
nix run . \
-- \
build $system_attr \
--flake . \
--verbose \
--debug \
-- \
--print-build-logs

View file

@ -305,11 +305,11 @@
"xdph": "xdph" "xdph": "xdph"
}, },
"locked": { "locked": {
"lastModified": 1720453602, "lastModified": 1720731503,
"narHash": "sha256-7+PjJZn/jpqNkVKJ3AGVT9G601rVj/R8KkT+WWjhwyk=", "narHash": "sha256-Qlm0IRnOrI64RW/SEvW9rA1ytVvPS1CsVvRataNvStI=",
"ref": "refs/heads/main", "ref": "refs/heads/main",
"rev": "b03f41efec14273cf25c42d4cef326acc36cb319", "rev": "e728e56cbc6af0a9be1276b2cf8e019a894016e7",
"revCount": 4913, "revCount": 4917,
"submodules": true, "submodules": true,
"type": "git", "type": "git",
"url": "https://github.com/hyprwm/Hyprland/" "url": "https://github.com/hyprwm/Hyprland/"
@ -325,11 +325,11 @@
"nixpkgs": "nixpkgs_3" "nixpkgs": "nixpkgs_3"
}, },
"locked": { "locked": {
"lastModified": 1718476555, "lastModified": 1720709712,
"narHash": "sha256-fuWpgh8KasByIJWE+xVd37Al0LV5YAn6s871T50qVY0=", "narHash": "sha256-78j/cY+AXoMIqqiNc1vWx237EPfpERAcYsb57ABUbwQ=",
"owner": "hyprwm", "owner": "hyprwm",
"repo": "contrib", "repo": "contrib",
"rev": "29a8374f4b9206d5c4af84aceb7fb5dff441ea60", "rev": "65d42dcbfde2229a75ccdb195c318dfe241f9ade",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -426,11 +426,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1720203444, "lastModified": 1720545076,
"narHash": "sha256-lq2dPPPcwMHTLsFrQ2pRp4c2LwDZWoqzSyjuPdeJCP4=", "narHash": "sha256-Pxacc2uoxI00koXp5+CyNqHOTQlqNlK0rlRHDBHX4+g=",
"owner": "hyprwm", "owner": "hyprwm",
"repo": "hyprutils", "repo": "hyprutils",
"rev": "a8c3a135701a7b64db0a88ec353a392f402d2a87", "rev": "6174a2a25f4e216c0f1d0c4278adc23c476b1d09",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -498,11 +498,11 @@
"lix": { "lix": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1720614167, "lastModified": 1720733512,
"narHash": "sha256-waTt93GpWt/yHi6ZME+B9I9V+EavX0qyny+8WvWuC3c=", "narHash": "sha256-vq9CLDvqSSvH4L7YhDa0ihTOrAry4jntKiuoNb5n98M=",
"rev": "3dced96741816db01f9990e0884224d38ee58390", "rev": "4b109ec1a8fc4550150f56f0f46f2f41d844bda8",
"type": "tarball", "type": "tarball",
"url": "https://git.lix.systems/api/v1/repos/lix-project/lix/archive/3dced96741816db01f9990e0884224d38ee58390.tar.gz" "url": "https://git.lix.systems/api/v1/repos/lix-project/lix/archive/4b109ec1a8fc4550150f56f0f46f2f41d844bda8.tar.gz"
}, },
"original": { "original": {
"type": "tarball", "type": "tarball",
@ -521,11 +521,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1719353937, "lastModified": 1720695775,
"narHash": "sha256-86NBqDxAP20ET/UoKX0WvSItblNQ97czXb2q7lkMrwk=", "narHash": "sha256-8Oqzl9QPjEe/n8y0R2tC6+2v/H6xBgABHXOJwxmnBg0=",
"rev": "5d9d94089fb1ca96222a34bfe245ef5c5ebefd37", "rev": "d70318fb946a0e720dfdd1fb10b0645c14e2a02a",
"type": "tarball", "type": "tarball",
"url": "https://git.lix.systems/api/v1/repos/lix-project/nixos-module/archive/5d9d94089fb1ca96222a34bfe245ef5c5ebefd37.tar.gz" "url": "https://git.lix.systems/api/v1/repos/lix-project/nixos-module/archive/d70318fb946a0e720dfdd1fb10b0645c14e2a02a.tar.gz"
}, },
"original": { "original": {
"type": "tarball", "type": "tarball",
@ -679,11 +679,11 @@
"nixpkgs": "nixpkgs_7" "nixpkgs": "nixpkgs_7"
}, },
"locked": { "locked": {
"lastModified": 1720471092, "lastModified": 1720662315,
"narHash": "sha256-05wIPweI6ts1BtVaMYbdL5KEelMfM4g5f/Z/xQzXRQI=", "narHash": "sha256-r0a7rtlx5GzJ57izpq58B30sAzSIH2V/ctwIsMV51rY=",
"owner": "nix-community", "owner": "nix-community",
"repo": "nixpkgs-wayland", "repo": "nixpkgs-wayland",
"rev": "813f608e25bc14b16053c005b05ebf8b18d25503", "rev": "8f132445454c6b9f0b21952953885007b961310a",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -694,11 +694,11 @@
}, },
"nixpkgs_2": { "nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1720031269, "lastModified": 1720542800,
"narHash": "sha256-rwz8NJZV+387rnWpTYcXaRNvzUSnnF9aHONoJIYmiUQ=", "narHash": "sha256-ZgnNHuKV6h2+fQ5LuqnUaqZey1Lqqt5dTUAiAnqH0QQ=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "9f4128e00b0ae8ec65918efeba59db998750ead6", "rev": "feb2849fdeb70028c70d73b848214b00d324a497",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -742,11 +742,11 @@
}, },
"nixpkgs_5": { "nixpkgs_5": {
"locked": { "locked": {
"lastModified": 1720571246, "lastModified": 1720657034,
"narHash": "sha256-nkUXwunTck+hNMt2wZuYRN+jf2ySRjKTzI0fo5TDH78=", "narHash": "sha256-nPhbeFdyN8yn+EXmnPcBWisoypndtQbNIhSKmAinv3E=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "16e401f01842c5bb2499e78c1fe227f939c0c474", "rev": "212defe037698e18fc9521dfe451779a8979844c",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -774,11 +774,11 @@
}, },
"nixpkgs_7": { "nixpkgs_7": {
"locked": { "locked": {
"lastModified": 1720418205, "lastModified": 1720542800,
"narHash": "sha256-cPJoFPXU44GlhWg4pUk9oUPqurPlCFZ11ZQPk21GTPU=", "narHash": "sha256-ZgnNHuKV6h2+fQ5LuqnUaqZey1Lqqt5dTUAiAnqH0QQ=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "655a58a72a6601292512670343087c2d75d859c1", "rev": "feb2849fdeb70028c70d73b848214b00d324a497",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1150,11 +1150,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1720574485, "lastModified": 1720747212,
"narHash": "sha256-PREKdU7GpAqVtEWdIu8f4PdUcmL1x0x+bn6TrX+Tgsk=", "narHash": "sha256-zhxs/o9oNkB9ZszRsseG6qYqfKz29314FE7mdqcAGrc=",
"owner": "Cloudef", "owner": "Cloudef",
"repo": "zig2nix", "repo": "zig2nix",
"rev": "edb7dc2318e536bf78181eedd9dab0b5f27aa2a1", "rev": "141b1b633b585e52388620b84c4d2f438b92a45a",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1174,11 +1174,11 @@
"zig-overlay": "zig-overlay" "zig-overlay": "zig-overlay"
}, },
"locked": { "locked": {
"lastModified": 1720349156, "lastModified": 1720719728,
"narHash": "sha256-eTjMZ/PEkzR+68C1hUwz9Qh/gizxwNG5PkMaDgplEZk=", "narHash": "sha256-uPe4sqNB661tIi4U6YvHR9BpN8ozIcmxUJxcxI9tD1o=",
"owner": "zigtools", "owner": "zigtools",
"repo": "zls", "repo": "zls",
"rev": "fbd8b9a87a3cd5ab8389054815d9e3f81dfd430b", "rev": "b8dd9cbbcc7591159f28eb41c21315f5ef5ca995",
"type": "github" "type": "github"
}, },
"original": { "original": {