[PR #75] [CLOSED] Add support for nix using flakes #457

Closed
opened 2026-04-08 16:53:00 +03:00 by zhus · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/sigoden/dufs/pull/75
Author: @delneg
Created: 6/28/2022
Status: Closed

Base: mainHead: main


📝 Commits (1)

  • c60ec15 Added flake.nix & flake.lock

📊 Changes

2 files changed (+101 additions, -0 deletions)

View changed files

flake.lock (+74 -0)
flake.nix (+27 -0)

📄 Description

Added support for using Nix package manager to build & run the repo.

Several usage examples:


$ nix run . -- --help
dufs 0.22.0
sigoden <sigoden@gmail.com>
...

$ nix build && ./result/bin/dufs --help
dufs 0.22.0
sigoden <sigoden@gmail.com>
...

$ nix develop # creates a shell with cargo & rustc
$ cargo run -- --help
    Updating crates.io index

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/sigoden/dufs/pull/75 **Author:** [@delneg](https://github.com/delneg) **Created:** 6/28/2022 **Status:** ❌ Closed **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (1) - [`c60ec15`](https://github.com/sigoden/dufs/commit/c60ec154ca791e295509a9419b354fba2d6dd5af) Added flake.nix & flake.lock ### 📊 Changes **2 files changed** (+101 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `flake.lock` (+74 -0) ➕ `flake.nix` (+27 -0) </details> ### 📄 Description Added support for using [Nix](https://github.com/NixOS/nix) package manager to build & run the repo. Several usage examples: ```bash $ nix run . -- --help dufs 0.22.0 sigoden <sigoden@gmail.com> ... $ nix build && ./result/bin/dufs --help dufs 0.22.0 sigoden <sigoden@gmail.com> ... $ nix develop # creates a shell with cargo & rustc $ cargo run -- --help Updating crates.io index ``` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
zhus added the pull-request label 2026-04-08 16:53:00 +03:00
zhus closed this issue 2026-04-08 16:53:00 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sigoden/dufs#457