Unverified Commit b71a0e4f authored by figsoda's avatar figsoda Committed by GitHub
Browse files

Merge pull request #215733 from 9999years/nix-your-shell

nix-your-shell: init at 1.0.1
parents bc5b452f 10cf86b6
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -169,6 +169,12 @@
    githubId = 12578560;
    name = "Quinn Bohner";
  };
  _9999years = {
    email = "rbt@fastmail.com";
    github = "9999years";
    githubId = 15312184;
    name = "Rebecca Turner";
  };
  a1russell = {
    email = "adamlr6+pub@gmail.com";
    github = "a1russell";
+27 −0
Original line number Diff line number Diff line
{ lib
, rustPlatform
, fetchFromGitHub
, nix-update-script
}:
rustPlatform.buildRustPackage rec {
  pname = "nix-your-shell";
  version = "1.0.1";

  src = fetchFromGitHub {
    owner = "MercuryTechnologies";
    repo = pname;
    rev = "v${version}";
    sha256 = "sha256-kdZFwMHatnhdXGSIItuE3g27qqUKqT/Hkbz13Ba5eq4=";
  };

  cargoSha256 = "sha256-U4nN/N345XFRj0L9cLJAjRuND0W3OE6XEB/z3zXaUiQ=";

  meta = with lib; {
    description = "A `nix` and `nix-shell` wrapper for shells other than `bash`";
    homepage = "https://github.com/MercuryTechnologies/nix-your-shell";
    license = [ licenses.mit ];
    maintainers = [ maintainers._9999years ];
  };

  passthru.updateScript = nix-update-script { };
}
+2 −0
Original line number Diff line number Diff line
@@ -13840,6 +13840,8 @@ with pkgs;
  any-nix-shell = callPackage ../shells/any-nix-shell { };
  nix-your-shell = callPackage ../shells/nix-your-shell { };
  bash = lowPrio (callPackage ../shells/bash/5.nix {
    binutils = stdenv.cc.bintools;
  });