Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(nix): update flake.lock #513

Merged
merged 1 commit into from
Mar 15, 2024
Merged

chore(nix): update flake.lock #513

merged 1 commit into from
Mar 15, 2024

Conversation

xrelkd
Copy link
Contributor

@xrelkd xrelkd commented Mar 15, 2024

Update Nix flake to solve the problem: https://github.com/kamiyaa/joshuto/actions/runs/8303354942/job/22727337031#step:4:1004

This allows us to use a newer rustc while compiling joshuto.

Flake lock file updates:

• Updated input 'devenv':
    'github:cachix/devenv/3654eb5d47218cfa2d12280ba5ac1ace0a9dd225' (2023-08-30)
  → 'github:cachix/devenv/6c0bad0045f1e1802f769f7890f6a59504825f4d' (2024-03-11)
• Updated input 'devenv/pre-commit-hooks':
    'github:cachix/pre-commit-hooks.nix/5843cf069272d92b60c3ed9e55b7a8989c01d4c7' (2023-06-29)
  → 'github:cachix/pre-commit-hooks.nix/ea96f0c05924341c551a797aaba8126334c505d2' (2024-01-08)
• Updated input 'fenix':
    'github:nix-community/fenix/76e468cd74a08edcbabb14ce1698ebd2f5fad9d2' (2023-08-29)
  → 'github:nix-community/fenix/d0439c495e5cd13ff252ade520ca620f52abb40b' (2024-03-15)
• Updated input 'fenix/rust-analyzer-src':
    'github:rust-lang/rust-analyzer/62268e474e9165de0cdb08d3794eec4b6ef1c6cd' (2023-08-28)
  → 'github:rust-lang/rust-analyzer/14558af15ee3d471bf8f4212f7609ae1f9647bc5' (2024-03-14)
• Updated input 'flake-parts':
    'github:hercules-ci/flake-parts/59cf3f1447cfc75087e7273b04b31e689a8599fb' (2023-08-01)
  → 'github:hercules-ci/flake-parts/f7b3c975cf067e56e7cda6cb098ebe3fb4d74ca2' (2024-03-01)
• Updated input 'flake-parts/nixpkgs-lib':
    'github:NixOS/nixpkgs/9e1960bc196baf6881340d53dccb203a951745a2?dir=lib' (2023-08-01)
  → 'github:NixOS/nixpkgs/1536926ef5621b09bba54035ae2bb6d806d72ac8?dir=lib' (2024-02-29)
• Updated input 'mission-control':
    'github:Platonic-Systems/mission-control/9d25d9f8d610916fc144f6afc1f064392fbeec1c' (2023-07-28)
  → 'github:Platonic-Systems/mission-control/c275dd195776b1b9735790231d874a3c5a7ee779' (2024-02-09)
• Updated input 'nix2container':
    'github:nlewo/nix2container/ab381a7d714ebf96a83882264245dbd34f0a7ec8' (2023-07-09)
  → 'github:nlewo/nix2container/c891f90d2e3c48a6b33466c96e4851e0fc0cf455' (2024-02-24)
• Updated input 'nix2container/flake-utils':
    'github:numtide/flake-utils/1ed9fb1935d260de5fe1c2f7ee0ebaae17ed2fa1' (2022-05-30)
  → 'github:numtide/flake-utils/ff7b65b44d01cf9ba6a71320833626af21126384' (2023-09-12)
• Added input 'nix2container/flake-utils/systems':
    'github:nix-systems/default/da67096a3b9bf56a91d16901293e51ba5b49a27e' (2023-04-09)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/3efb0f6f404ec8dae31bdb1a9b17705ce0d6986e' (2023-08-28)
  → 'github:NixOS/nixpkgs/d691274a972b3165335d261cc4671335f5c67de9' (2024-03-14)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/6befd3b6b8544952e0261f054cf16769294bacba' (2023-08-28)
  → 'github:numtide/treefmt-nix/35791f76524086ab4b785a33e4abbedfda64bd22' (2024-03-12)
• Updated input 'treefmt-nix/nixpkgs':
    'github:nixos/nixpkgs/ce5e4a6ef2e59d89a971bc434ca8ca222b9c7f5e' (2023-08-10)
  → 'github:nixos/nixpkgs/0e74ca98a74bc7270d28838369593635a5db3260' (2024-02-21)
@kamiyaa
Copy link
Owner

kamiyaa commented Mar 15, 2024

Thanks! Yeah I wasn't sure why it was failing hmm

@kamiyaa kamiyaa merged commit ba68e91 into kamiyaa:main Mar 15, 2024
4 checks passed
@xrelkd xrelkd deleted the chore/nix branch March 15, 2024 23:36
@xrelkd
Copy link
Contributor Author

xrelkd commented Mar 15, 2024

You may use

# update nix flake
nix flake update --commit-lock-file --commit-lockfile-summary 'chore(nix): update `flake.lock`'  

# build joshuto with nix
nix build

# test the executable
./result/bin/joshuto version

to update and test the Nix flake.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants