Closed aaronjanse closed 3 years ago
Oh, heads up that this can be tested via nix run github:aaronjanse/3mux/mar2021-add-flake
, although I assume you don't want to install Nix just to test a PR
Oh, heads up that this can be tested via
nix run github:aaronjanse/3mux/mar2021-add-flake
, although I assume you don't want to install Nix just to test a PR
Nah, I'll definitely install Nix :)
You can test this PR with docker run -it nixpkgs/nix-unstable nix run "github:aaronjanse/3mux/mar2021-add-flake" --experimental-features "nix-command flakes"
if you don't have Nix :)
Nix is a declarative package manager used by myself and many of our users. This PR lets Nix users try 3mux by simply running:
This is made possible by replacing
shell.nix
withflake.nix
, which supports some cool features in Nix 2.4 like the command above.Sadly, to a non-Nix-user, the code in this PR is undecipherable. In the Nix world, the
flake.nix
added here is fairly standard, withdefaultPackage
specifying the default package (fornix shell github:aaronjanse/3mux
) anddefaultApp
specifying the default executable (fornix run github:aaronjanse/3mux
).