flake: switch to nix unstable

see https://github.com/nix-community/nix-init/issues/94
This commit is contained in:
figsoda 2023-04-15 10:17:07 -04:00
parent e3b8d5e47a
commit d43225f76a

View File

@ -29,7 +29,7 @@
packages = forEachSystem (system:
let
inherit (nixpkgs.legacyPackages.${system})
darwin gitMinimal installShellFiles makeWrapper mercurial nix rustPlatform stdenv;
darwin gitMinimal installShellFiles makeWrapper mercurial nixVersions rustPlatform stdenv;
in
{
default = rustPlatform.buildRustPackage {
@ -63,7 +63,7 @@
postInstall = ''
wrapProgram $out/bin/nurl \
--prefix PATH : ${makeBinPath [ gitMinimal mercurial nix ]}
--prefix PATH : ${makeBinPath [ gitMinimal mercurial nixVersions.unstable ]}
installManPage artifacts/nurl.1
installShellCompletion artifacts/nurl.{bash,fish} --zsh artifacts/_nurl
'';