Age | Commit message (Collapse) | Author | Files | Lines |
|
Do this since it is part of the generic stdenv/`mkDerivation`
infrastructure, rather than being a bootstrapping strategy.
|
|
|
|
|
|
|
|
Only acts on one-line dependency lists.
|
|
|
|
|
|
This was removed in 3ea1c308466d2daad18ceac4ef8176bb1c3c85de.
|
|
|
|
Yes, I still use my-env. I tested that it works on 16.03.
|
|
Close #6910.
|
|
This is done for the sake of Yosemite, which does not have gcc, and yet
this change is also compatible with Linux.
|
|
initialPath is now added to the top of the modified setup.sh. It's not
very nice altogether to patch setup.sh in this way, as it is prone to
break on setup.sh changes, but it should (hopefully finally, but
unfortunately only temporarily) fix the issue ewemoa (in #nixos) had
with myEnvFun.
In the long term, if people want to have roughly similar functionality,
nix-shell provides a better way for that, so maybe we might either
remove myEnvFun or replace it with a smaller implementation using
nix-shell.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
|
|
If you do not provide any dependencies which don't propagate coreutils,
you'll get "rm: No such file or directory". Like for example by using
this:
nix-build -E '(import <nixpkgs> {}).myEnvFun {
name = "mybrokentest";
buildInputs = [];
}'
Thanks to "ewemoa" from the #nixos IRC channel for spotting this.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
|
|
There are few build scripts which set them to `nodtd.invalid` to disable
downloading files by buildscript. But for user environment we should
restore original values
|
|
First I don't think there is a reason to run shell as a child of
load-env-xxx script and not to just exec into it.
Also it's often useful to just run a command inside the environment
load-env-xxx command --args
Closes #3254
|
|
|
|
As zsh's corresponding flag is called --no-rcs, the build environment
couldn't be configured to use zsh at all.
Even then the custom PS1 won't work on zsh, but it's usable enough.
Close #1040.
|
|
|
|
This option allows the user to specify commands to run when the shell
exits. This can be used to cleanup operations done in `extraCmds'.
Signed-off-by: Moritz Ulrich <moritz@tarn-vedra.de>
|
|
|
|
my-env/default.nix lists an example on how to create an SDL environment
that can be installed with "nix-env -i sdl-env". That is actually wrong
and will not work. The correct command is "nix-env -i env-sdl".
|
|
Likewise for propagatedBuildNativeInputs, etc. "buildNativeInputs"
sounds like an imperative rather than a noun phrase.
|
|
NIX_LDFLAGS was left with "-rpath /lib", which is annoying on non-nixos.
|
|
'propagatedBuildInputs',
to have myEnv with cross-builders and cross-built libs.
(I'm trying by now to mingw64 + librsync.hostDrv)
svn path=/nixpkgs/trunk/; revision=34249
|
|
'load-env-sdl' have a common naming scheme
svn path=/nixpkgs/trunk/; revision=33421
|
|
what I was using.
It sets a fixed PS1, maybe breaking someone's taste, though. But I find it easier to use.
svn path=/nixpkgs/trunk/; revision=33304
|
|
svn path=/nixpkgs/trunk/; revision=33298
|
|
svn path=/nixpkgs/trunk/; revision=33095
|
|
I thought load-xxx-eenv worked like my own private 'loadenv' script, but looks like not.
svn path=/nixpkgs/trunk/; revision=33093
|
|
svn path=/nixpkgs/trunk/; revision=33075
|
|
svn path=/nixpkgs/trunk/; revision=33073
|
|
svn path=/nixpkgs/trunk/; revision=33072
|
|
svn path=/nixpkgs/branches/stdenv-updates/; revision=32713
|
|
'. load-<name>-env' to load your environment.
svn path=/nixpkgs/trunk/; revision=32690
|
|
svn path=/nixpkgs/branches/stdenv-updates/; revision=31702
|
|
one of the build inputs.
svn path=/nixpkgs/trunk/; revision=26547
|
|
'buildInputs' to its mkDerivation parameter, while the stdenv setup.sh script
would expect buildNativeInputs.
svn path=/nixpkgs/branches/stdenv-updates/; revision=19615
|
|
environment buildNativeInputs
and not builtInputs.
svn path=/nixpkgs/branches/stdenv-updates/; revision=19078
|
|
svn path=/nixpkgs/trunk/; revision=15382
|
|
svn path=/nixpkgs/trunk/; revision=14035
|
|
svn path=/nixpkgs/trunk/; revision=14034
|
|
svn path=/nixpkgs/trunk/; revision=13037
|