Re: [Nix-dev] git in nix is broken...

2017-07-10 Thread Vladimír Čunát via nix-dev
On 07/10/2017 11:06 PM, Dmitry Kalinkin via nix-dev wrote: > Same can be achieved with makeWrapper > (http://nixos.org/nixpkgs/manual/#ssec-stdenv-functions) > Also, there is propagatedBuildInputs, but it is limited to Nix build > environment. For completeness, propagatedUserEnvPkgs extends that

Re: [Nix-dev] git in nix is broken...

2017-07-10 Thread Dmitry Kalinkin via nix-dev
Same can be achieved with makeWrapper (http://nixos.org/nixpkgs/manual/#ssec-stdenv-functions) Also, there is propagatedBuildInputs, but it is limited to Nix build environment. On Mon, Jul 10, 2017 at 2:36 PM, Alexander Schmolck via nix-dev wrote: > Yes, git

Re: [Nix-dev] git in nix is broken...

2017-07-10 Thread Alexander Schmolck via nix-dev
It's probably also worth mentioning that git/default.nix in its current state does appear to make some attempt to rewrite the path to basic unix utilities (like grep) to absolute paths in some places, but not others and some of the existing patching is obsolete (e.g. it tries to do so git-am which

Re: [Nix-dev] git in nix is broken...

2017-07-10 Thread Alexander Schmolck via nix-dev
Yes, git filter-branch failing because e.g. sed is either not installed at all or not in PATH is what I meant. I wasn't aware that this is "intended behavior", I thought that nix packages were intended to be self-contained other than explicitly declared dependencies The way I ran into this was

Re: [Nix-dev] git in nix is broken...

2017-07-10 Thread Eelco Dolstra via nix-dev
Hi, On 07/10/2017 07:25 PM, Alexander Schmolck via nix-dev wrote: > ... because it appears to be missing dependencies like sed for > commands such as git-filter-branch which are implemented as bash > scripts. Broken how? What doesn't work? I guess you mean that some things fail if you execute