Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: ab1a184de332
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: f552699ccecf
Choose a head ref
  • 2 commits
  • 1 file changed
  • 1 contributor

Commits on Apr 8, 2020

  1. shadowenv: 1.3.2 -> 2.0.0

    marsam committed Apr 8, 2020
    Copy the full SHA
    1fcb7ce View commit details

Commits on Apr 9, 2020

  1. Merge pull request #84762 from marsam/update-shadowenv

    shadowenv: 1.3.2 -> 2.0.0
    marsam authored Apr 9, 2020
    Copy the full SHA
    f552699 View commit details
Showing with 11 additions and 4 deletions.
  1. +11 −4 pkgs/tools/misc/shadowenv/default.nix
15 changes: 11 additions & 4 deletions pkgs/tools/misc/shadowenv/default.nix
Original file line number Diff line number Diff line change
@@ -1,20 +1,27 @@
{ stdenv, fetchFromGitHub, rustPlatform, Security }:
{ stdenv, fetchFromGitHub, rustPlatform, installShellFiles, Security }:

rustPlatform.buildRustPackage rec {
pname = "shadowenv";
version = "1.3.2";
version = "2.0.0";

src = fetchFromGitHub {
owner = "Shopify";
repo = pname;
rev = version;
sha256 = "1yapplqy7wmmjh8r5m43na9n2p100k80s7nkaswndyp5ljr9m20l";
sha256 = "1fjqm4qr85wb0i3vazp0w74izfzvkycdii7dlpdp5zs8jgb35pdh";
};

cargoSha256 = "1pnfd461i65jd7s8dpfpys4k620w86bv56gkdsyx5lcvhqw1krnr";
cargoSha256 = "1n8qh730nhdmpm08mm2ppcl3nkcgm50cyz9q5h6dlzq4bv4rijp4";

nativeBuildInputs = [ installShellFiles ];

buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];

postInstall = ''
installManPage man/man1/shadowenv.1
installManPage man/man5/shadowlisp.5
'';

meta = with stdenv.lib; {
homepage = "https://shopify.github.io/shadowenv/";
description = "reversible directory-local environment variable manipulations";