Conversation
levonk
force-pushed
the
feat-nix-package-manager-install
branch
from
July 5, 2026 23:14
4081861 to
cedc33c
Compare
Add prebuilt-tarball Nix flake wrapping the latest GitHub release (v1.2.6) for x86_64-linux, aarch64-linux, x86_64-darwin, and aarch64-darwin. The nixpkgs#doublecmd package lags behind upstream releases; this flake provides access to all GitHub releases via nix run / nix profile install. Includes: - flake.nix with per-platform SHA256 hashes - .github/workflows/nix-release.yml for daily auto-bump of version+hashes - devbox.json for reproducible development environment - README.md with Nix and Devbox installation instructions - .gitignore entries for Nix build artifacts
levonk
force-pushed
the
feat-nix-package-manager-install
branch
from
July 5, 2026 23:16
cedc33c to
ce1222e
Compare
…win support - Replace "latest" with "" so packages resolve from the pinned nixpkgs commit instead of bleeding-edge unstable. - nixpkgs 26.11 dropped x86_64-darwin; the pinned 26.05-era commit still supports Intel Macs.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds a
flake.nixso the project can be installed and run directly from GitHub at the latest release:The flake tracks the default branch and is auto-bumped to the latest release by a daily workflow, so
github:doublecmd/doublecmdalways serves the current release.Adds a
devbox.jsonfor reproducible development environments:Why
The
nixpkgs#doublecmdpackage lags significantly behind upstream GitHub releases (nixpkgs is at 1.2.4 while GitHub releases are at 1.2.6). Users who want the latest release — including beta releases — have no Nix-based install path.For users who already have Nix installed, a flake provides:
nix run github:doublecmd/doublecmdwith no clone or manual build steps.flake.lock. If it builds today, it builds in ten years.nix profile installtwice is a no-op.nix profile rollbackrestores the previous profile generation instantly.nix profile removeleaves no residue.Changes
flake.nix: Nix flake wrapping the prebuilt release tarball aspackages.<system>.defaultandapps.<system>.defaultfor x86_64-linux, aarch64-linux, x86_64-darwin, and aarch64-darwin.flake.lock: pinnednixpkgs-unstableinput..github/workflows/nix-release.yml: scheduled lag-check automation that auto-bumpsversion+ per-platformsha256hashes and opens a PR whenflake.nixfalls behind the latest release.devbox.json: Devbox configuration for reproducible development environments (withfpcandlazarus)..gitignore: Added Nix build result symlinks (/result,/result-*).README.md: Added Nix installation subsection.Testing
Verified locally:
Builds and runs successfully on
x86_64-darwin(macOS Intel). Reports version 1.2.6 beta correctly.Notes
github:.../vX.Y.Z) is not supported — release tags are cut before the bump workflow updatesflake.nix. Usegithub:.../(tracks default branch) or pin to a commit SHA.p7zipsincebsdtarcannot handle DMG format.Scope
The PR scope is well-contained — additive only, no existing functionality affected.
Related
Resolves #2969