Commit Graph
14 Commits
Author SHA1 Message Date
github-actions[bot]andgithub-actions[bot] <github-actions[bot]@users.noreply.github.com> 5bec140d06 flake.lock: Update (#4674)
Flake lock file updates:

• Updated input 'devenv':
    'github:cachix/devenv/45ae910e145829df787050560621b94551d7edd7?narHash=sha256-vQTLhyBh9PuP7gP9IZrbnEzcJV1p%2BPOEDdVTH5nBVdo%3D' (2025-04-11)
  → 'github:cachix/devenv/6599a8c6d02c1d37fe5b7804f70a39c262298729?narHash=sha256-045veG11u/fdRjYI%2B9dc19/u/14j7UFitwKWisE11Iw%3D' (2025-04-18)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/f9ebe33a928b5d529c895202263a5ce46bdf12f7?narHash=sha256-QZnNHM823am8apCqKSPdtnzPGTy2ZB4zIXOVoBp5%2BW0%3D' (2025-04-10)
  → 'github:NixOS/nixpkgs/26d499fc9f1d567283d5d56fcf367edd815dba1d?narHash=sha256-FHlSkNqFmPxPJvy%2B6fNLaNeWnF1lZSgqVCl/eWaJRc4%3D' (2025-04-12)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/815e4121d6a5d504c0f96e5be2dd7f871e4fd99d?narHash=sha256-uhjnlaVTWo5iD3LXics1rp9gaKgDRQj6660%2BgbUU3cE%3D' (2025-04-04)
  → 'github:numtide/treefmt-nix/8d404a69efe76146368885110f29a2ca3700bee6?narHash=sha256-aRmUh0AMwcbdjJHnytg1e5h5ECcaWtIFQa6d9gI85AI%3D' (2025-04-18)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-04-22 11:46:19 +02:00
github-actions[bot]andgithub-actions[bot] <github-actions[bot]@users.noreply.github.com> 89d1d1c8fe build(deps): update flake.lock (#4653)
Flake lock file updates:

• Updated input 'devenv':
    'github:cachix/devenv/2f53e2f867e0c2ba18b880e66169366e5f8ca554?narHash=sha256-5wPsNCnWmeLpLxavsftA9L7tnYgtlexV7FwLegxtpy4%3D' (2025-04-04)
  → 'github:cachix/devenv/45ae910e145829df787050560621b94551d7edd7?narHash=sha256-vQTLhyBh9PuP7gP9IZrbnEzcJV1p%2BPOEDdVTH5nBVdo%3D' (2025-04-11)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/bdb91860de2f719b57eef819b5617762f7120c70?narHash=sha256-s1KLDALEeqy%2BttrvqV3jx9mBZEvmthQErTVOAzbjHZs%3D' (2025-04-03)
  → 'github:NixOS/nixpkgs/f9ebe33a928b5d529c895202263a5ce46bdf12f7?narHash=sha256-QZnNHM823am8apCqKSPdtnzPGTy2ZB4zIXOVoBp5%2BW0%3D' (2025-04-10)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-04-15 12:48:56 +02:00
github-actions[bot]github-actions[bot] <github-actions[bot]@users.noreply.github.com>Jakob Lichterfeld
d633c19838 build(deps): update flake.lock (#4603)
* flake.lock: Update

Flake lock file updates:

• Updated input 'devenv':
    'github:cachix/devenv/7b073d15e76a543be50426cfdcb2b0c575720560?narHash=sha256-7PDgSUMVnJCWLMAvcIGmMwhPjCaChLVE3LtB5Y1T6ZU%3D' (2025-03-21)
  → 'github:cachix/devenv/2f53e2f867e0c2ba18b880e66169366e5f8ca554?narHash=sha256-5wPsNCnWmeLpLxavsftA9L7tnYgtlexV7FwLegxtpy4%3D' (2025-04-04)
• Updated input 'devenv/cachix':
    'github:cachix/cachix/f65a3cd5e339c223471e64c051434616e18cc4f5?narHash=sha256-8HFvG7fvIFbgtaYAY2628Tb89fA55nPm2jSiNs0/Cws%3D' (2025-01-23)
  → 'github:cachix/cachix/a624d3eaf4b1d225f918de8543ed739f2f574203?narHash=sha256-D0gP8srrX0qj%2BwNYNPdtVJsQuFzIng3q43thnHXQ/es%3D' (2025-03-15)
• Updated input 'devenv/git-hooks':
    'github:cachix/git-hooks.nix/4a709a8ce9f8c08fa7ddb86761fe488ff7858a07?narHash=sha256-oy33%2Bt09FraucSZ2rZ6qnD1Y1c8azKKmQuCvF2ytUko%3D' (2025-03-01)
  → 'github:cachix/git-hooks.nix/dcf5072734cb576d2b0c59b2ac44f5050b5eac82?narHash=sha256-DwOTp7nvfi8mRfuL1escHDXabVXFGT1VlPD1JHrtrco%3D' (2025-03-22)
• Updated input 'flake-parts':
    'github:hercules-ci/flake-parts/f4330d22f1c5d2ba72d3d22df5597d123fdb60a9?narHash=sha256-%2Bu2UunDA4Cl5Fci3m7S643HzKmIDAe%2BfiXrLqYsR2fs%3D' (2025-03-07)
  → 'github:hercules-ci/flake-parts/c621e8422220273271f52058f618c94e405bb0f5?narHash=sha256-hIshGgKZCgWh6AYJpJmRgFdR3WUbkY04o82X05xqQiY%3D' (2025-04-01)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/7105ae3957700a9646cc4b766f5815b23ed0c682?narHash=sha256-8XfURTDxOm6%2B33swQJu/hx6xw1Tznl8vJJN5HwVqckg%3D' (2025-03-20)
  → 'github:NixOS/nixpkgs/bdb91860de2f719b57eef819b5617762f7120c70?narHash=sha256-s1KLDALEeqy%2BttrvqV3jx9mBZEvmthQErTVOAzbjHZs%3D' (2025-04-03)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/adc195eef5da3606891cedf80c0d9ce2d3190808?narHash=sha256-XRE8hL4vKIQyVMDXykFh4ceo3KSpuJF3ts8GKwh5bIU%3D' (2025-03-19)
  → 'github:numtide/treefmt-nix/815e4121d6a5d504c0f96e5be2dd7f871e4fd99d?narHash=sha256-uhjnlaVTWo5iD3LXics1rp9gaKgDRQj6660%2BgbUU3cE%3D' (2025-04-04)

* docs: update changelog

* ci: switch to cache-nix-action as Magic Nix Cache is deprecated (#4626)

* ci: switch to cache-nix-action as Magic Nix Cache is kind of deprecated

see #4544 for more information

* docs: update changelog

* docs: update changelog

* ci: update Nix installation and caching strategy in update-flake-lock

- Switch to nixbuild/nix-quick-install-action for Nix installation
- Implement caching with nix-community/cache-nix-action for improved performance
- Configure cache restoration and garbage collection settings

* docs: update changelog

* ci: switch to cache-nix-action as Magic Nix Cache is deprecated (#4626)

* ci: switch to cache-nix-action as Magic Nix Cache is kind of deprecated

see #4544 for more information

* docs: update changelog

* docs: update changelog

* ci: update Nix installation and caching strategy in update-flake-lock

- Switch to nixbuild/nix-quick-install-action for Nix installation
- Implement caching with nix-community/cache-nix-action for improved performance
- Configure cache restoration and garbage collection settings

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Jakob Lichterfeld <jakob-lichterfeld@gmx.de>
2025-04-05 10:09:26 +02:00
github-actions[bot]andgithub-actions[bot] <github-actions[bot]@users.noreply.github.com> 548eb9af52 flake.lock: Update (#4562)
Flake lock file updates:

• Updated input 'devenv':
    'github:cachix/devenv/8ebde3cd7f36655cd75bb5eb5702f6fb6bf2f915?narHash=sha256-qOISplHXR7FTkSYDWa8QwnxSGnIK4YKJdeMDqTxYbYI%3D' (2025-02-21)
  → 'github:cachix/devenv/7b073d15e76a543be50426cfdcb2b0c575720560?narHash=sha256-7PDgSUMVnJCWLMAvcIGmMwhPjCaChLVE3LtB5Y1T6ZU%3D' (2025-03-21)
• Updated input 'devenv/git-hooks':
    'github:cachix/git-hooks.nix/9364dc02281ce2d37a1f55b6e51f7c0f65a75f17?narHash=sha256-R10v2hoJRLq8jcL4syVFag7nIGE7m13qO48wRIukWNg%3D' (2025-01-21)
  → 'github:cachix/git-hooks.nix/4a709a8ce9f8c08fa7ddb86761fe488ff7858a07?narHash=sha256-oy33%2Bt09FraucSZ2rZ6qnD1Y1c8azKKmQuCvF2ytUko%3D' (2025-03-01)
• Updated input 'devenv/nix':
    'github:domenkozar/nix/bde6a1a0d1f2af86caa4d20d23eca019f3d57eee?narHash=sha256-n52PUzub5jZWc8nI/sR7UICOheU8rNA%2BYZ73YaHeCBg%3D' (2024-12-13)
  → 'github:domenkozar/nix/f3f44b2baaf6c4c6e179de8cbb1cc6db031083cd?narHash=sha256-E3j%2B3MoY8Y96mG1dUIiLFm2tZmNbRvSiyN7CrSKuAVg%3D' (2025-03-12)
• Updated input 'flake-parts':
    'github:hercules-ci/flake-parts/32ea77a06711b758da0ad9bd6a844c5740a87abd?narHash=sha256-7H9XgNiGLKN1G1CgRh0vUL4AheZSYzPm%2BzmZ7vxbJdo%3D' (2025-02-01)
  → 'github:hercules-ci/flake-parts/f4330d22f1c5d2ba72d3d22df5597d123fdb60a9?narHash=sha256-%2Bu2UunDA4Cl5Fci3m7S643HzKmIDAe%2BfiXrLqYsR2fs%3D' (2025-03-07)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/36864ed72f234b9540da4cf7a0c49e351d30d3f1?narHash=sha256-BqUY8tz0AQ4to2Z4%2BuaKczh81zsGZSYxjgvtw%2BfvIfM%3D' (2025-02-19)
  → 'github:NixOS/nixpkgs/7105ae3957700a9646cc4b766f5815b23ed0c682?narHash=sha256-8XfURTDxOm6%2B33swQJu/hx6xw1Tznl8vJJN5HwVqckg%3D' (2025-03-20)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/3d0579f5cc93436052d94b73925b48973a104204?narHash=sha256-mL1szCeIsjh6Khn3nH2cYtwO5YXG6gBiTw1A30iGeDU%3D' (2025-02-17)
  → 'github:numtide/treefmt-nix/adc195eef5da3606891cedf80c0d9ce2d3190808?narHash=sha256-XRE8hL4vKIQyVMDXykFh4ceo3KSpuJF3ts8GKwh5bIU%3D' (2025-03-19)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-03-28 12:58:22 +01:00
github-actions[bot]andgithub-actions[bot] <github-actions[bot]@users.noreply.github.com> 1e627c1654 build(deps): update flake.lock (#4455)
Flake lock file updates:

• Updated input 'devenv':
    'github:cachix/devenv/f81cf7dc4cbfa46de11618af94e5983c5e600d8c?narHash=sha256-RfNqLS5f9s3aiRZIOjSbM8Vz7x2dT/7zwJhyt9TLEmE%3D' (2024-12-19)
  → 'github:cachix/devenv/8ebde3cd7f36655cd75bb5eb5702f6fb6bf2f915?narHash=sha256-qOISplHXR7FTkSYDWa8QwnxSGnIK4YKJdeMDqTxYbYI%3D' (2025-02-21)
• Updated input 'devenv/cachix':
    'github:cachix/cachix/aac51f698309fd0f381149214b7eee213c66ef0a?narHash=sha256-KxuGSoVUFnQLB2ZcYODW7AVPAh9JqRlD5BrfsC/Q4qs%3D' (2024-10-11)
  → 'github:cachix/cachix/f65a3cd5e339c223471e64c051434616e18cc4f5?narHash=sha256-8HFvG7fvIFbgtaYAY2628Tb89fA55nPm2jSiNs0/Cws%3D' (2025-01-23)
• Updated input 'devenv/cachix/nixpkgs':
    'github:NixOS/nixpkgs/7ffd9ae656aec493492b44d0ddfb28e79a1ea25d?narHash=sha256-Dqg6si5CqIzm87sp57j5nTaeBbWhHFaVyG7V6L8k3lY%3D' (2024-11-02)
  → 'github:NixOS/nixpkgs/55d15ad12a74eb7d4646254e13638ad0c4128776?narHash=sha256-M1%2BuCoV5igihRfcUKrr1riygbe73/dzNnzPsmaLCmpo%3D' (2024-12-03)
• Updated input 'devenv/flake-compat':
    'github:edolstra/flake-compat/0f9255e01c2351cc7d116c072cb317785dd33b33?narHash=sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U%3D' (2023-10-04)
  → 'github:edolstra/flake-compat/ff81ac966bb2cae68946d5ed5fc4994f96d0ffec?narHash=sha256-NeCCThCEP3eCl2l/%2B27kNNK7QrwZB1IJCrXfrbv5oqU%3D' (2024-12-04)
• Updated input 'devenv/git-hooks':
    'github:cachix/git-hooks.nix/af8a16fe5c264f5e9e18bcee2859b40a656876cf?narHash=sha256-W1MIJpADXQCgosJZT8qBYLRuZls2KSiKdpnTVdKBuvU%3D' (2024-10-30)
  → 'github:cachix/git-hooks.nix/9364dc02281ce2d37a1f55b6e51f7c0f65a75f17?narHash=sha256-R10v2hoJRLq8jcL4syVFag7nIGE7m13qO48wRIukWNg%3D' (2025-01-21)
• Removed input 'devenv/git-hooks/nixpkgs-stable'
• Updated input 'devenv/nix':
    'github:domenkozar/nix/f6c5ae4c1b2e411e6b1e6a8181cc84363d6a7546?narHash=sha256-X8ES7I1cfNhR9oKp06F6ir4Np70WGZU5sfCOuNBEwMg%3D' (2024-09-27)
  → 'github:domenkozar/nix/bde6a1a0d1f2af86caa4d20d23eca019f3d57eee?narHash=sha256-n52PUzub5jZWc8nI/sR7UICOheU8rNA%2BYZ73YaHeCBg%3D' (2024-12-13)
• Updated input 'devenv/nixpkgs':
    'github:cachix/devenv-nixpkgs/4267e705586473d3e5c8d50299e71503f16a6fb6?narHash=sha256-Q1UQzYcMJH4RscmpTkjlgqQDX5yi1tZL0O345Ri6vXQ%3D' (2024-05-29)
  → 'github:cachix/devenv-nixpkgs/7bd9e84d0452f6d2e63b6e6da29fe73fac951857?narHash=sha256-qamMCz5mNpQmgBwc8SB5tVMlD5sbwVIToVZtSxMph9s%3D' (2024-12-06)
• Updated input 'flake-parts':
    'github:hercules-ci/flake-parts/205b12d8b7cd4802fbcb8e8ef6a0f1408781a4f9?narHash=sha256-4pDvzqnegAfRkPwO3wmwBhVi/Sye1mzps0zHWYnP88c%3D' (2024-12-04)
  → 'github:hercules-ci/flake-parts/32ea77a06711b758da0ad9bd6a844c5740a87abd?narHash=sha256-7H9XgNiGLKN1G1CgRh0vUL4AheZSYzPm%2BzmZ7vxbJdo%3D' (2025-02-01)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/b47fd6fa00c6afca88b8ee46cfdb00e104f50bca?narHash=sha256-nbG9TijTMcfr%2Bau7ZVbKpAhMJzzE2nQBYmRvSdXUD8g%3D' (2024-12-19)
  → 'github:NixOS/nixpkgs/36864ed72f234b9540da4cf7a0c49e351d30d3f1?narHash=sha256-BqUY8tz0AQ4to2Z4%2BuaKczh81zsGZSYxjgvtw%2BfvIfM%3D' (2025-02-19)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/65712f5af67234dad91a5a4baee986a8b62dbf8f?narHash=sha256-MMi74%2BWckoyEWBRcg/oaGRvXC9BVVxDZNRMpL%2B72wBI%3D' (2024-12-20)
  → 'github:numtide/treefmt-nix/3d0579f5cc93436052d94b73925b48973a104204?narHash=sha256-mL1szCeIsjh6Khn3nH2cYtwO5YXG6gBiTw1A30iGeDU%3D' (2025-02-17)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-02-22 09:52:43 +01:00
github-actions[bot]andgithub-actions[bot] <github-actions[bot]@users.noreply.github.com> 9e2edb55b0 flake.lock: Update (#4440)
Flake lock file updates:

• Updated input 'devenv':
    'github:cachix/devenv/d74232153d60ccdeba6f41eec8ce8b2be0b33ac6?narHash=sha256-vzMpFBValKbheQQ5x5op7/hBjn0omn3CDyiPUghJl1w%3D' (2024-12-06)
  → 'github:cachix/devenv/f81cf7dc4cbfa46de11618af94e5983c5e600d8c?narHash=sha256-RfNqLS5f9s3aiRZIOjSbM8Vz7x2dT/7zwJhyt9TLEmE%3D' (2024-12-19)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/4dc2fc4e62dbf62b84132fe526356fbac7b03541?narHash=sha256-FillH0qdWDt/nlO6ED7h4cmN%2BG9uXwGjwmCnHs0QVYM%3D' (2024-12-05)
  → 'github:NixOS/nixpkgs/b47fd6fa00c6afca88b8ee46cfdb00e104f50bca?narHash=sha256-nbG9TijTMcfr%2Bau7ZVbKpAhMJzzE2nQBYmRvSdXUD8g%3D' (2024-12-19)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/50862ba6a8a0255b87377b9d2d4565e96f29b410?narHash=sha256-qKL3vjO%2BIXFQ0nTinFDqNq/sbbnnS5bMI1y0xX215fU%3D' (2024-12-05)
  → 'github:numtide/treefmt-nix/65712f5af67234dad91a5a4baee986a8b62dbf8f?narHash=sha256-MMi74%2BWckoyEWBRcg/oaGRvXC9BVVxDZNRMpL%2B72wBI%3D' (2024-12-20)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-12-23 13:12:08 +01:00
github-actions[bot]andgithub-actions[bot] <github-actions[bot]@users.noreply.github.com> 5b82682f19 flake.lock: Update (#4427)
Flake lock file updates:

• Updated input 'devenv':
    'github:cachix/devenv/2c928a199d56191d7a53f29ccafa56238c8ce4e5?narHash=sha256-eS0vSZT0ZUguR6Jf6CyupvDn4m%2Br/mgN6Vtg61ECYC0%3D' (2024-11-29)
  → 'github:cachix/devenv/d74232153d60ccdeba6f41eec8ce8b2be0b33ac6?narHash=sha256-vzMpFBValKbheQQ5x5op7/hBjn0omn3CDyiPUghJl1w%3D' (2024-12-06)
• Updated input 'flake-parts':
    'github:hercules-ci/flake-parts/506278e768c2a08bec68eb62932193e341f55c90?narHash=sha256-hgmguH29K2fvs9szpq2r3pz2/8cJd2LPS%2Bb4tfNFCwE%3D' (2024-11-01)
  → 'github:hercules-ci/flake-parts/205b12d8b7cd4802fbcb8e8ef6a0f1408781a4f9?narHash=sha256-4pDvzqnegAfRkPwO3wmwBhVi/Sye1mzps0zHWYnP88c%3D' (2024-12-04)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/62c435d93bf046a5396f3016472e8f7c8e2aed65?narHash=sha256-F7thesZPvAMSwjRu0K8uFshTk3ZZSNAsXTIFvXBT%2B34%3D' (2024-11-30)
  → 'github:NixOS/nixpkgs/4dc2fc4e62dbf62b84132fe526356fbac7b03541?narHash=sha256-FillH0qdWDt/nlO6ED7h4cmN%2BG9uXwGjwmCnHs0QVYM%3D' (2024-12-05)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/6209c381904cab55796c5d7350e89681d3b2a8ef?narHash=sha256-2qbdorpq0TXHBWbVXaTqKoikN4bqAtAplTwGuII%2BoAc%3D' (2024-11-29)
  → 'github:numtide/treefmt-nix/50862ba6a8a0255b87377b9d2d4565e96f29b410?narHash=sha256-qKL3vjO%2BIXFQ0nTinFDqNq/sbbnnS5bMI1y0xX215fU%3D' (2024-12-05)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-12-07 12:53:57 +01:00
Brian May 7a96e31910 build(nix): switch to nixos-24.11 (#4420) 2024-12-05 07:37:09 +11:00
github-actions[bot]andgithub-actions[bot] <github-actions[bot]@users.noreply.github.com> 138fa6d844 flake.lock: Update (#4381)
Flake lock file updates:

• Updated input 'devenv':
    'github:cachix/devenv/006016cf4191c34c17cfdb6669e0690e24302ac0?narHash=sha256-3vhSEs2ufSvv2Oct8G9CWEPFI57c4NAZ2wR2accHELM%3D' (2024-10-20)
  → 'github:cachix/devenv/741e23a22f3dc9e53075be3eaa795ea9ed6f5129?narHash=sha256-WXlcDNMaMJeI4JO4VfQM2ZZCBJBds7j7N04tS9UjiYU%3D' (2024-11-22)
• Updated input 'devenv/cachix':
    'github:cachix/cachix/695525f9086542dfb09fde0871dbf4174abbf634?narHash=sha256-jOsaBmJ/EtX5t/vbylCdS7pWYcKGmWOKg4QKUzKr6dA%3D' (2024-09-16)
  → 'github:cachix/cachix/aac51f698309fd0f381149214b7eee213c66ef0a?narHash=sha256-KxuGSoVUFnQLB2ZcYODW7AVPAh9JqRlD5BrfsC/Q4qs%3D' (2024-10-11)
• Updated input 'devenv/cachix/devenv':
    'github:cachix/devenv/ff5eb4f2accbcda963af67f1a1159e3f6c7f5f91?narHash=sha256-0JrfahRMJ37Rf1i0iOOn%2B8Z4CLvbcGNwa2ChOAVrp/8%3D' (2024-08-08)
  → follows 'devenv'
• Removed input 'devenv/cachix/devenv/cachix'
• Removed input 'devenv/cachix/devenv/cachix/devenv'
• Removed input 'devenv/cachix/devenv/cachix/devenv/flake-compat'
• Removed input 'devenv/cachix/devenv/cachix/devenv/nix'
• Removed input 'devenv/cachix/devenv/cachix/devenv/nix/flake-compat'
• Removed input 'devenv/cachix/devenv/cachix/devenv/nix/nixpkgs'
• Removed input 'devenv/cachix/devenv/cachix/devenv/nix/nixpkgs-regression'
• Removed input 'devenv/cachix/devenv/cachix/devenv/nixpkgs'
• Removed input 'devenv/cachix/devenv/cachix/devenv/poetry2nix'
• Removed input 'devenv/cachix/devenv/cachix/devenv/poetry2nix/flake-utils'
• Removed input 'devenv/cachix/devenv/cachix/devenv/poetry2nix/flake-utils/systems'
• Removed input 'devenv/cachix/devenv/cachix/devenv/poetry2nix/nix-github-actions'
• Removed input 'devenv/cachix/devenv/cachix/devenv/poetry2nix/nix-github-actions/nixpkgs'
• Removed input 'devenv/cachix/devenv/cachix/devenv/poetry2nix/nixpkgs'
• Removed input 'devenv/cachix/devenv/cachix/devenv/pre-commit-hooks'
• Removed input 'devenv/cachix/devenv/cachix/flake-compat'
• Removed input 'devenv/cachix/devenv/cachix/nixpkgs'
• Removed input 'devenv/cachix/devenv/cachix/pre-commit-hooks'
• Removed input 'devenv/cachix/devenv/flake-compat'
• Removed input 'devenv/cachix/devenv/nix'
• Removed input 'devenv/cachix/devenv/nix/flake-compat'
• Removed input 'devenv/cachix/devenv/nix/nixpkgs'
• Removed input 'devenv/cachix/devenv/nix/nixpkgs-regression'
• Removed input 'devenv/cachix/devenv/nixpkgs'
• Removed input 'devenv/cachix/devenv/pre-commit-hooks'
• Updated input 'devenv/cachix/flake-compat':
    follows 'devenv/flake-compat'
  → follows 'devenv'
• Updated input 'devenv/cachix/git-hooks':
    follows 'devenv/pre-commit-hooks'
  → follows 'devenv'
• Updated input 'devenv/cachix/nixpkgs':
    follows 'devenv/nixpkgs'
  → 'github:NixOS/nixpkgs/7ffd9ae656aec493492b44d0ddfb28e79a1ea25d?narHash=sha256-Dqg6si5CqIzm87sp57j5nTaeBbWhHFaVyG7V6L8k3lY%3D' (2024-11-02)
• Added input 'devenv/git-hooks':
    'github:cachix/git-hooks.nix/af8a16fe5c264f5e9e18bcee2859b40a656876cf?narHash=sha256-W1MIJpADXQCgosJZT8qBYLRuZls2KSiKdpnTVdKBuvU%3D' (2024-10-30)
• Added input 'devenv/git-hooks/flake-compat':
    follows 'devenv'
• Added input 'devenv/git-hooks/gitignore':
    'github:hercules-ci/gitignore.nix/637db329424fd7e46cf4185293b9cc8c88c95394?narHash=sha256-HG2cCnktfHsKV0s4XW83gU3F57gaTljL9KNSuG6bnQs%3D' (2024-02-28)
• Added input 'devenv/git-hooks/gitignore/nixpkgs':
    follows 'devenv/git-hooks/nixpkgs'
• Added input 'devenv/git-hooks/nixpkgs':
    follows 'devenv/nixpkgs'
• Added input 'devenv/git-hooks/nixpkgs-stable':
    follows 'devenv'
• Updated input 'devenv/nix/flake-compat':
    follows 'devenv/flake-compat'
  → follows 'devenv'
• Updated input 'devenv/nix/nixpkgs-23-11':
    'github:NixOS/nixpkgs/a62e6edd6d5e1fa0329b8653c801147986f8d446?narHash=sha256-oamiKNfr2MS6yH64rUn99mIZjc45nGJlj9eGth/3Xuw%3D' (2024-05-31)
  → follows 'devenv'
• Updated input 'devenv/nix/nixpkgs-regression':
    'github:NixOS/nixpkgs/215d4d0fd80ca5163643b03a33fde804a29cc1e2?narHash=sha256-uGJ0VXIhWKGXxkeNnq4TvV3CIOkUJ3PAoLZ3HMzNVMw%3D' (2022-01-24)
  → follows 'devenv'
• Updated input 'devenv/nix/pre-commit-hooks':
    'github:cachix/pre-commit-hooks.nix/40e6053ecb65fcbf12863338a6dcefb3f55f1bf8?narHash=sha256-nMirxrGteNAl9sWiOhoN5tIHyjBbVi5e2tgZUgZlK3Y%3D' (2024-04-12)
  → follows 'devenv'
• Removed input 'devenv/nix/pre-commit-hooks/flake-compat'
• Removed input 'devenv/nix/pre-commit-hooks/flake-utils'
• Removed input 'devenv/nix/pre-commit-hooks/gitignore'
• Removed input 'devenv/nix/pre-commit-hooks/nixpkgs'
• Removed input 'devenv/nix/pre-commit-hooks/nixpkgs-stable'
• Removed input 'devenv/pre-commit-hooks'
• Removed input 'devenv/pre-commit-hooks/flake-compat'
• Removed input 'devenv/pre-commit-hooks/gitignore'
• Removed input 'devenv/pre-commit-hooks/gitignore/nixpkgs'
• Removed input 'devenv/pre-commit-hooks/nixpkgs'
• Removed input 'devenv/pre-commit-hooks/nixpkgs-stable'
• Updated input 'flake-parts':
    'github:hercules-ci/flake-parts/3d04084d54bedc3d6b8b736c70ef449225c361b1?narHash=sha256-K5ZLCyfO/Zj9mPFldf3iwS6oZStJcU4tSpiXTMYaaL0%3D' (2024-10-01)
  → 'github:hercules-ci/flake-parts/506278e768c2a08bec68eb62932193e341f55c90?narHash=sha256-hgmguH29K2fvs9szpq2r3pz2/8cJd2LPS%2Bb4tfNFCwE%3D' (2024-11-01)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/bc947f541ae55e999ffdb4013441347d83b00feb?narHash=sha256-NOiTvBbRLIOe5F6RbHaAh6%2B%2BBNjsb149fGZd1T4%2BKBg%3D' (2024-10-04)
  → 'github:NixOS/nixpkgs/23e89b7da85c3640bbc2173fe04f4bd114342367?narHash=sha256-y/MEyuJ5oBWrWAic/14LaIr/u5E0wRVzyYsouYY3W6w%3D' (2024-11-19)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/d986489c1c757f6921a48c1439f19bfb9b8ecab5?narHash=sha256-6jWSWxv2crIXmYSEb3LEVsFkCkyVHNllk61X4uhqfCs%3D' (2024-10-18)
  → 'github:numtide/treefmt-nix/705df92694af7093dfbb27109ce16d828a79155f?narHash=sha256-5WSng844vXt8uytT5djmqBCkopyle6ciFgteuA9bJpw%3D' (2024-11-22)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-11-23 11:27:02 +01:00
scottbot95andJakob Lichterfeld dffdea99ef refactor: Cleanup nix code (#4265)
* refactor: Extract package creation to separate flake-module

* refactor: move module.nix to nix folder

* refactor: extract checks into their own flake module

* refactor: extract devShell into its own flake module

* refactor: Extract nix dev dependencies to a separate partition

* fix: spelling error

* fix: Checks break on darwin

Looks like `mkIf` doesn't work properly with flake-parts/perSystem

* fix: Remove partitions to make `devenv up` work

RIP partitions :(

* style: linter findings

---------

Co-authored-by: Jakob Lichterfeld <jakob-lichterfeld@gmx.de>
2024-10-21 15:40:49 +02:00
JakobLichterfeldandscottbot95 fdf8185ce2 ci: add treefmt as code formatting multiplexer, refactor CI to avoid duplication, reorg CI into DevOps workflow (#4219)
* ci: add treefmt as code formatting multiplexer

* style: linter findings in entrypoint.sh script

* style: linter findings for yaml and yml

* style: linter findings for json files

* style: linter findings for nix files

* style: linter findings for js files

* style: linter findings for dashboards.sh

* style: linter findings for md and mdx files

* chore: remove unused clang formatter in treefmt config

* style: linter findings for mdx files

* ci: exclude Grafana dashboard JSON files from prettier formatting

* Revert "style: linter findings for json files"

This reverts commit f40c2e1759.

* ci: exclude Grafana dashboard JSON files from all formatting as we use the grafana export style

* style: linter findings for json files

* doc: update changelog

* ci(refactor): use composite action to avoid duplication in elixir workflow

* doc: update changelog

* ci: prevent workflow runs for certain conditions and allow scheduled runs

* ci(refactor): use reusable workflow to check paths

* ci(fix): correct output syntax for check_paths workflow and setting base branch

* ci(refactor): use reusable workflows for streamlined DevOps pipeline

* ci(fix): add write permission for packages in DevOps workflow

* ci(test): test DevOps workflow

* ci(test): test DevOps workflow

* ci(fix): Update condition for spell_check, ensure_linting, elixir, and ghcr_build workflows to reflect empty result instead of false

* ci: revert test DevOps

* ci(refactor): allow ghcr_build parallel to elixir test

* ci(refactor): Remove redundant check_paths job from elixir.yml, elixir_test.yml, and spell_check.yml workflows, check is done in devops.yml

* feat: add treefmt-nix to nix flake (#4219 - @JakobLichterfeld)

* ci: ensure proper linting via treefmt

* ci(test): test ensure_linting workflow

* ci(fix): checkout code for spell_checker to access file to check

* ci(fix): allow impure in ensure_linting workflow

* Revert "ci(test): test ensure_linting workflow"

This reverts commit a67b17ec09.

* ci(fix): correct use of flake-utils for formatter and checks

Co-authored-by: scottbot95 <scottbot95@gmail.com>

* ci(fix): correct use of flake-utils for treefmt

Co-authored-by: scottbot95 <scottbot95@gmail.com>

* refactor: Remove unnecessary imports in flake

* ci(fix): correct syntax in flake

* ci(refactor): Remove unused code in flake.nix

* style: standardised style for input url in flake

* ci(fix): treefmt-nix config with existing options

* ci(feat): Add Nix binary cache and update treefmt command in CI workflow

* ci(refactor): Remove unused code in flake.nix

* fix: include devShell packages only on supported platforms

* fix: update hash for mix-deps package in flake.nix

* ci(fix): Update treefmt command in CI workflow

* ci(test): test ensure_linting workflow

* feat: ensure mix deps are present in devShell

* ci(feat): use flake-parts to enable treefmt-nix

* feat: use flake-parts

* fix: correct use of flake-parts for package build

* doc: update CI badge URL for devops workflow

* ci(fix): handle empty path filter output

* ci: remove --impure flag from treefmt command in CI workflow

* fix: correct treefmt.config settings in formatter.nix

* fix: correct flake-parts inputs, avoid with in imports

* fix: correct program name for mix-format in formatter.nix

* feat: devenv via flake-parts

* fix: correct use of legacy nix code with flake-parts

* ci(fix): correct nix develop command in ensure_linting.yml

* refactor: list imports explicitly in flake, rename folder to flake-modules to be precise

* style: use tabs for indent size to format sh

* style: use nixfmt-rfc-style

* Revert "style: use nixfmt-rfc-style"

This reverts commit 082056159e.

* style: use nixfmt style

* fix: remove glibcLocales from optional dependencies to avoid  "A definition for option `packages."[definition 4-entry 16]"' is not of type `package'."

* fix: remove inotify-tools from optional dependencies to avoid  "A definition for option `packages."[definition 4-entry 16]"' is not of type `package'."

* fix: Remove inotify-tools and glibcLocales from optional dependencie

* fix: correct file paths in flake.nix to version

* fix: add ELIXIR_ERL_OPTIONS to shell environment to force utf8 locale

* fix: add LOCALE_ARCHIVE to shell environment in flake.nix

* Revert "fix: add LOCALE_ARCHIVE to shell environment in flake.nix"

This reverts commit d45f6e32ee.

* ci(refactor): rename workflow to elixir_dep_verification_and_static_analysis.yml to better reflect the intention,, remove duplicate checks

* ci(debug): debug locale settings

* Revert "ci(debug): debug locale settings"

This reverts commit 9b402f3c5f.

* Revert "fix: add ELIXIR_ERL_OPTIONS to shell environment to force utf8 locale"

This reverts commit d02419cba4.

* fix: add LOCALE_ARCHIVE to shell environment in flake.nix

* Revert "fix: add LOCALE_ARCHIVE to shell environment in flake.nix"

This reverts commit 761b437e69.

* fix: add LANG=C.UTF-8 to shell environment in flake.nix

* fix: add mix local.rebar and mix local.hex commands to flake.nix

* fix: pin devenv to version without unix socket bug

* chore: update nixpkgs to nixos-24.05 and update dependencies

* doc: add treefmt config comments

* ci: do not expose treefmt formatter programs in devshell

* fix: correct use of module option to enable PostgreSQL server in flake.nix

* Revert "chore: update nixpkgs to nixos-24.05 and update dependencies"

This reverts commit a6ea3f25aa.

* feat: consistent use of erlang 26 and elixir 1_16 in flake

* ci: switch to macOS runner for linting workflow

* Revert "ci: do not expose treefmt formatter programs in devshell"

This reverts commit 1ecfa451dc.

* Revert "ci: switch to macOS runner for linting workflow"

This reverts commit 7b430667d8.

* ci: Remove nixpkgs channel specification in ensure_linting workflow

* ci(debug): Add debug output for PATH and NIX_PATH in flake.nix

* Revert "ci(debug): Add debug output for PATH and NIX_PATH in flake.nix"

This reverts commit 07faec5ddf.

* fix: avoid the need for impure for devenv

see #4245

* fix: remove invalid custom build.check for formatter and use default

* style: linter findings

* fix: Add emptyTest to avoid nix flake check test execution on non-Linux systems

* chore: Remove LANG=C.UTF-8 from enterShell in flake.nix

* ci(fix): Remove --impure flag from treefmt command in CI mode

* ci(fix): avoid impure mode in ensure_linting workflow

* style: linter findings

* ci(debug): debug elixir version and locale

* chore: Update flake.lock dependencies

* feat: use newer devenv as unix socket bug is fixed in upstream

https://github.com/cachix/devenv/issues/1497

* fix: set rebar3 path in devenv

* Revert "ci(debug): debug elixir version and locale"

This reverts commit 7ecdc77c16.

* ci: re-enable path check in DevOps workflow

* doc: update Development and Contributing guide with nix and treefmt

* ci: use PostgreSQL 17

* style: linter findings

* ci(fix): ensure cache name in build action does not contain invalid characters to avoid invalid reference format

* doc: update changelog

* Revert "ci(fix): ensure cache name in build action does not contain invalid characters to avoid invalid reference format"

This reverts commit 02abb0359d.

* ci: remove branch restriction for check_paths workflow to increase sec

* ci(fix): run ghcr build workflow only for specific conditions

- Ensure workflow only run if there are no changes to the .github folder
- Allow workflow to run on workflow call or PRs from forks
- Prevent duplicate runs for PRs from non-forks
- Avoid invalid reference format for cache name in PRs from our repository

* doc: update changelog

* fix: update hash for mix-deps package in flake.nix

* fix: disable flakeCheck for formatter, as mix format need the dep to be fetched beforehand

* ci(fix): run ghcr build workflow only for specific conditions

* fix: move nixosModules.default to top-level attribute set

* refactor: remove unnecessary config nesting in formatter.nix

* ci(fix): ensure version for buildx is set to correct name

---------

Co-authored-by: scottbot95 <scottbot95@gmail.com>
2024-10-14 08:54:10 +02:00
Brian May a4f47518d8 fix: Avoid the need for impure for devenv (#4245)
Based on https://github.com/cachix/devenv/pull/1018/files
2024-10-06 08:35:54 +02:00
Brian May e5b2c12449 Update to latest devenv in nix flake (#3760)
Latest version - after rewrite in Rust - just released yesterday is much
nicer and has fewer bugs.

For example, it now uses process-compose which is full screen interface
for showing running processes.

Blog post: https://devenv.sh/blog/2024/03/20/devenv-10-rewrite-in-rust/
2024-03-22 09:16:47 +11:00
Brian May 2b5cdbdffd Add nix flake (#3485)
This will add support for nix flakes. Which really helps with my
development on nixos. This has two basic parts:

1. DEVELOPMENT

After this you can use the following commands on computer with nix and a
patched version of direnv:

direnv allow
devenv up

And it will automatically start and instance of postgresql and mosquitto
for development.

And the environment variables are already configured for teslamate.

So then can start teslamate with:

npm install --prefix ./assets && npm run deploy --prefix ./assets
iex -S mix phx.server

This part is all working as designed. And pretty simple and straight
forward.

2. NIX PACKAGE OF TESLA

This is 99% complete, but some pain points I haven't addressed yet.
Because I don't yet know of good solutions.

* There are two checksums in flake.nix that needs to be updated whenever
  mix.lock or package-lock.json changes.
2024-03-19 09:37:17 +01:00