9
174
Fork
You've already forked wallust
21

nix: fix build of wallust #67

Merged
explosion-mental merged 3 commits from JohnRTitor/wallust:fix-nix-build into dev 2024年07月25日 20:41:02 +02:00
Contributor
Copy link

Building currently the wallust package with nix fails as new rustc (1.79) is not available in nixpkgs.

With the new changes it builds successfully.

nix build "git+https://codeberg.org/explosion-mental/wallust?ref=dev#wallust"

Changes done

  • Added fenix overlay which grabs the latest rustc
  • flake restructure (QOL improvements) to flake-parts for a clean look
  • Changed the nix files formatting to alejandra
Building currently the wallust package with nix fails as new rustc (1.79) is not available in nixpkgs. With the new changes it builds successfully. ```bash nix build "git+https://codeberg.org/explosion-mental/wallust?ref=dev#wallust" ``` ## Changes done - Added fenix overlay which grabs the latest rustc - flake restructure (QOL improvements) to flake-parts for a clean look - Changed the nix files formatting to alejandra
Author
Contributor
Copy link

CC: @iynaix, but the changes should be fine.

And by the way, do you have any plans to implement https://github.com/notohh/snowflake/blob/master/.woodpecker/flake-lock-update.yml?

CC: @iynaix, but the changes should be fine. And by the way, do you have any plans to implement https://github.com/notohh/snowflake/blob/master/.woodpecker/flake-lock-update.yml?

I do, however I'm not sure how push and PR work with woodpecker. What does $${GH_PAT} supposed to represent? it also seems to require the ssh for git

I do, however I'm not sure how push and PR work with woodpecker. What does `$${GH_PAT}` supposed to represent? it also seems to require the ssh for git
Author
Contributor
Copy link

GH_PAT is a personal access token for accessing repos, github information via GitHub API calls. You can adjust the scope to have repo wide access, personal information access or simply read only repo access. Codeberg also has something like this I believe.

image

For this particular instance, this is used for only fetching the nixos/nix image and nix related things from github (read only repo access). This is not needed unless you are like making 100 API calls per day, (which is expected of a CI).

GH_PAT is a personal access token for accessing repos, github information via GitHub API calls. You can adjust the scope to have repo wide access, personal information access or simply read only repo access. Codeberg also has something like this I believe. ![image](/attachments/cb0a950d-4165-43e1-b5ba-939fe6f38ad6) For this particular instance, this is used for only fetching the `nixos/nix` image and nix related things from github (read only repo access). This is not needed unless you are like making 100 API calls per day, (which is expected of a CI).
225 KiB
JohnRTitor force-pushed fix-nix-build from 563b4b53d3
All checks were successful
ci/woodpecker/pr/check Pipeline was successful
to bc05560bd1
All checks were successful
ci/woodpecker/pr/check Pipeline was successful
2024年07月25日 15:14:22 +02:00
Compare
First-time contributor
Copy link

CC: @iynaix, but the changes should be fine.

And by the way, do you have any plans to implement https://github.com/notohh/snowflake/blob/master/.woodpecker/flake-lock-update.yml?

I have no experience with woodpecker at all 😅

> CC: @iynaix, but the changes should be fine. > > And by the way, do you have any plans to implement https://github.com/notohh/snowflake/blob/master/.woodpecker/flake-lock-update.yml? I have no experience with woodpecker at all 😅

damn, wallust reached 1k commits :)

damn, wallust reached 1k commits :)
JohnRTitor deleted branch fix-nix-build 2024年07月26日 12:35:19 +02:00
iynaix referenced this pull request from a commit 2024年11月13日 03:09:04 +01:00
Sign in to join this conversation.
No reviewers
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
explosion-mental/wallust!67
Reference in a new issue
explosion-mental/wallust
No description provided.
Delete branch "JohnRTitor/wallust:fix-nix-build"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?