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