summaryrefslogtreecommitdiffstats
path: root/pkgs/misc/my-env
AgeCommit message (Collapse)Author
2021-01-01treewide: cmake buildInputs to nativeBuildInputs, minor cleanupsBen Siraphob
2018-07-21pkgs/*: remove unreferenced function argumentsvolth
2018-01-28myEnvFun: fix sed script editJohn Wiegley
2017-09-21misc pkgs: Basic sed to get fix `pkgconfig` and `autoreconfHook` `buildInputs`John Ericson
Only acts on one-line dependency lists.
2017-09-05myEnv: stdenv doesn't mangle dependencies like that anymoreJohn Ericson
2017-05-27user-local config.nix path fixed in docsDmitry Vyal
2017-02-05Remove references to $NIX_STRIP_DEBUGEelco Dolstra
This was removed in 3ea1c308466d2daad18ceac4ef8176bb1c3c85de.
2016-11-01db45: remove outdated versionDan Peebles
2016-03-09Fixing my-env to get NIX_CFLAGS_COMPILE and so onLluís Batlle i Rossell
Yes, I still use my-env. I tested that it works on 16.03.
2015-03-22myEnvFun: use stderr instead of stdout for messagesUtku Demir
Close #6910.
2014-12-26Change occurrences of gcc to the more general ccJohn Wiegley
This is done for the sake of Yosemite, which does not have gcc, and yet this change is also compatible with Linux.
2014-11-25my-env: Use sed to substitute $initialPath.aszlig
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>
2014-11-25my-env: Provide explicit store path for "rm".aszlig
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>
2014-07-28my-env: Preserve http_proxy and ftp_proxy variablesPaul Colomiets
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
2014-07-16my-env: Support for running command directly by load-env-xxx scriptPaul Colomiets
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
2014-06-29Add `NIX_MYENV_NAME` environment variable in `myEnvFun`Paul Colomiets
2013-10-21my-env: pull --norc shell flag out into shell parameterJonas Hoersch
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.
2013-05-14Fixing 'my-env', when without cleanup.Lluís Batlle i Rossell
2013-04-13Add cleanupCmds option to pkgs.myEnvFunMoritz Ulrich
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>
2013-02-25Merge branch 'master' into stdenv-updates.Peter Simons
2013-02-24my-env/default.nix: fix "sdl-env" vs "env-sdl" typoBjørn Forsman
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".
2012-12-28Rename buildNativeInputs -> nativeBuildInputsEelco Dolstra
Likewise for propagatedBuildNativeInputs, etc. "buildNativeInputs" sounds like an imperative rather than a noun phrase.
2012-11-22myEnv: making it not to add -rpath /libLluís Batlle i Rossell
NIX_LDFLAGS was left with "-rpath /lib", which is annoying on non-nixos.
2012-05-25Making a trick on myEnv so I can put the cross gcc and some ↵Lluís Batlle i Rossell
'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
2012-03-26renamed load-sdl-env to load-env-sdl so that 'nix-env -i env-sdl' and ↵Joachim Schiele
'load-env-sdl' have a common naming scheme svn path=/nixpkgs/trunk/; revision=33421
2012-03-20Updating the script of loading myEnv environments, for something close to ↵Lluís Batlle i Rossell
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
2012-03-20rewrote the text to make virics and my edits seem like from one authorJoachim Schiele
svn path=/nixpkgs/trunk/; revision=33298
2012-03-14fixed forgotten bracket.... maybe this is not my-env at allJoachim Schiele
svn path=/nixpkgs/trunk/; revision=33095
2012-03-14Fixing some details about the myEnv documentation.Lluís Batlle i Rossell
I thought load-xxx-eenv worked like my own private 'loadenv' script, but looks like not. svn path=/nixpkgs/trunk/; revision=33093
2012-03-14I try to improve the documentation on my-envLluís Batlle i Rossell
svn path=/nixpkgs/trunk/; revision=33075
2012-03-14some more comments and examplesJoachim Schiele
svn path=/nixpkgs/trunk/; revision=33073
2012-03-14added a few fixes from the discussion on irc with marc weberJoachim Schiele
svn path=/nixpkgs/trunk/; revision=33072
2012-03-01svn merge ^/nixpkgs/trunkYury G. Kudryashov
svn path=/nixpkgs/branches/stdenv-updates/; revision=32713
2012-02-29Changed 'myEnvFun' to in addition put a script in 'bin' so that you can run ↵Arie Middelkoop
'. load-<name>-env' to load your environment. svn path=/nixpkgs/trunk/; revision=32690
2012-01-19* The postHook substitution is not used anywhere, so get rid of it.Eelco Dolstra
svn path=/nixpkgs/branches/stdenv-updates/; revision=31702
2011-03-27Adding a key 'exit 0' to myenv. Otherwise it fails to build if pkgconfig is ↵Lluís Batlle i Rossell
one of the build inputs. svn path=/nixpkgs/trunk/; revision=26547
2010-01-22Fixing 'my-env' on stdenv-updates, considering that users will addLluís Batlle i Rossell
'buildInputs' to its mkDerivation parameter, while the stdenv setup.sh script would expect buildNativeInputs. svn path=/nixpkgs/branches/stdenv-updates/; revision=19615
2009-12-22Updating myEnv for the new crossCompiling stdenv, so it puts in the ↵Lluís Batlle i Rossell
environment buildNativeInputs and not builtInputs. svn path=/nixpkgs/branches/stdenv-updates/; revision=19078
2009-04-28fix broken myEnvMarc Weber
svn path=/nixpkgs/trunk/; revision=15382
2009-02-11mendMarc Weber
svn path=/nixpkgs/trunk/; revision=14035
2009-02-11my-env: add some hackish support for zshMarc Weber
svn path=/nixpkgs/trunk/; revision=14034
2008-10-09update my_env. Hopefully does a better job nowMarc Weber
svn path=/nixpkgs/trunk/; revision=13037