Skip to content

Added a basic nix flake - #360

Merged
kaifcodec merged 11 commits into
kaifcodec:mainfrom
BoxC4T:main
Jun 19, 2026
Merged

kaifcodec merged 11 commits into
kaifcodec:mainfrom
BoxC4T:main

Conversation

@BoxC4T

@BoxC4T BoxC4T commented Jun 13, 2026

Copy link
Copy Markdown
Contributor

adds a simple nix flake to allow nix based users to quickly use user-scanner
unless the project majorly changes the only thing that would require updates is just the version string on line 18

@kaifcodec

kaifcodec commented Jun 14, 2026 •

Copy link
Copy Markdown
Owner

@BoxC4T Thank you for opening the PR.
Can you add a simple installation command in the project README.md for nix users' .

@BoxC4T

BoxC4T commented Jun 14, 2026

Copy link
Copy Markdown
Contributor Author

because of the nature of how nix works, depending on how you setup your system/home manger flake (if ur even using a flake) there's like 7 different ways to install a program. If you still want it in the read me I can add how I do mine though.

@kaifcodec

kaifcodec commented Jun 15, 2026 •

Copy link
Copy Markdown
Owner

@BoxC4T I know the Nix ecosystem definitely has many ways to install a "program"! But the actual reason to add the basic/standard execution commands to the README is to let people know flake exists.

You can just add,

nix run github:kaifcodec/user-scanner
# and
nix shell github:kaifcodec/user-scanner

under the installation guide header.

@BoxC4T

BoxC4T commented Jun 15, 2026

Copy link
Copy Markdown
Contributor Author

I wasn't quite sure where to put everything because the category dont quite match how nix behaves so it might still need to be changed (shell/develope is used for more dev work and run acts kinda like go run where it lets to run the program without installing it)

@kaifcodec kaifcodec left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have you tested it in your OS whether they are working as expected?

Comment thread README.md Resolved
Comment thread README.md Resolved
@BoxC4T

BoxC4T commented Jun 16, 2026

Copy link
Copy Markdown
Contributor Author

Sry about that, readmes have always been a bit of a weakspot for me

@BoxC4T
BoxC4T requested a review from kaifcodec June 16, 2026 23:06
@kaifcodec

Copy link
Copy Markdown
Owner

@BoxC4T It's okay.
Now it looks fine but I will review it later, by testing it myself on a nixos and then merge it.

@kaifcodec kaifcodec left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@BoxC4T Thanks for your contribution! I've refactored the implementation slightly and merged the pull request. Great work!

@kaifcodec
kaifcodec requested a review from json-hunter07 June 19, 2026 04:49
@kaifcodec
kaifcodec merged commit d3eee18 into kaifcodec:main Jun 19, 2026
2 checks passed
@kaifcodec kaifcodec added the enhancement New feature, request, code improvements/upgrade, performance boost label Jun 19, 2026
@kaifcodec kaifcodec linked an issue Jun 19, 2026 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature, request, code improvements/upgrade, performance boost

Projects

None yet

Development

Successfully merging this pull request may close these issues.

support for nixpkgs

3 participants