Re: [Nix-dev] Auto-generated expressions for applications

2017-05-30 Thread Marc Weber
ll we want nixpkgs to be at least stable enough to have broken packages marked as broken and expect everything else to at least compile/install. Which are the best short/middle/long term solutions ? Marc Weber ___ nix-dev mailing list

Re: [Nix-dev] Nvidia & Cuda & Optimus - root required?

2017-05-12 Thread Marc Weber
> Isn't there some /dev/* file representing the device that you can set > permissions on? (Half guessing here...) There are, but chmod 777 on /dev/nvidi* didn't help. Also it worked on a desktop machine if I recall correctly. So it eventually is optimus related. Marc

[Nix-dev] Nvidia & Cuda & Optimus - root required?

2017-05-12 Thread Marc Weber
Nvidia & Cuda: As root it works, as user it doesn't (even exporting the env from root). Easiest way to reproduce: $(nix-build cudatoolkit)/extras/demo_suite/deviceQuery Either outputs 'FAILED' or some info Has anybody a solution yet? Marc W

Re: [Nix-dev] nvidia proprietary / i7 notebook - does not start

2017-05-11 Thread Marc Weber
nvidia vs nouveau such choice could be remembered ? Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-dev

[Nix-dev] nvidia proprietary / i7 notebook - does not start

2017-05-09 Thread Marc Weber
efining drivers, screens, monitors from Ubuntus config to no avail. Also setting BusID AllowEmptyConfig and such didn't seem to work. Has anybody experienced the same issue/ maybe even solved it? Marc Weber ___ nix-dev mailing list nix-dev@lists.scie

Re: [Nix-dev] The .nixpkgs/config.nix file and user configuration

2017-05-04 Thread Marc Weber
configuration.nix option nixpkgs.config is what ~/.nixpkgs/config.nix is for the user in case you missed it. Thus: nixpkgs.config.allowUnfree = true; nixpkgs.config.packageOverrides = p: .. You don't have to use config.nix if this is all you need. Marc Weber

Re: [Nix-dev] The .nixpkgs/config.nix file and user configuration

2017-05-04 Thread Marc Weber
hen you can nix-env -iA myCollection or such Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] The .nixpkgs/config.nix file and user configuration

2017-05-03 Thread Marc Weber
Or ask google "nix/os/nixpkgs config.nix" to find samples and get inspiration from ___ nix-dev mailing list nix-dev@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] The .nixpkgs/config.nix file and user configuration

2017-05-03 Thread Marc Weber
s well for me :) Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] The .nixpkgs/config.nix file and user configuration

2017-05-03 Thread Marc Weber
own packages FOO See here: http://stackoverflow.com/questions/36000514/how-to-override-2-two-packages-in-nixos-configuration-nix Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] Suggestion: programs are *always* in the path

2017-05-02 Thread Marc Weber
stall ask_run => asks to run or similar. For instance I'd prefer "ask once per app" eventually because I could have made a typo. Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] php-packages fix (broken since multiple outputs)

2017-04-23 Thread Marc Weber
- didn't look at configure. You took care about php-config and phpize, so I guess your patch should be preferred. Who is going to merge it and fix the brokeness? Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl https://mailman.science.uu.n

Re: [Nix-dev] php-packages fix (broken since multiple outputs)

2017-04-23 Thread Marc Weber
ven better (php7x.packages) -> but that's another story: - https://github.com/NixOS/nixpkgs/issues/24432 - adding tests that the modules actually "work" as expected on multiple platforms The current situation is a stopper for me -> and the fix doesn't make things worse (testing i

[Nix-dev] php-packages fix (broken since multiple outputs)

2017-04-23 Thread Marc Weber
patch also rewrites the assertion so that I could test all packages easily by nix-build -A php71Packages My question is, is there a different way to run nix-build -A php71Packages ignoring assertions so that all php packages can be tested easily? I'd like to prepa

Re: [Nix-dev] What's the "perfect setup" for hacking on Nix?

2017-04-15 Thread Marc Weber
added nix cause I use vim-addon-nix. Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl https://mailman.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] What's the "perfect setup" for hacking on Nix?

2017-04-11 Thread Marc Weber
ome templates or read code). Hacking on C++ => ask the communities * Emacs * Vim * Eclipse * Atom * IDEA * Netbeans * (100 others) and judge yourself :) Typically you also want kind of "open file by typing some chars of the name" feat

Re: [Nix-dev] Use PHP FPM with 2 PHP versions simultaneously

2017-04-06 Thread Marc Weber
use a pool for it. Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

[Nix-dev] gentoo like nixpkgs globala useflags in nixpkgs config - would it be worth it?

2017-03-24 Thread Marc Weber
fig to either pulseSupport = true -> all packages mplayer.pulseSupport = true -> mplayer only or still override with .override ( .. ) the known way. I'm not going to change anything - just want to understand current situation and whether its worth thinking ab

Re: [Nix-dev] How do you work on big packages?

2017-03-17 Thread Marc Weber
build-vm or such (disk caching reasons - no restart required). You can also try creating links to your 'dev' directory and switch off sandoxing and add a 'dummy env vars' which you increment to force rebuilding. Marc Weber ___ nix-dev mailing list nix

[Nix-dev] Inkscape pythonEnv - .sif export - PYTHONPATH wrapping

2017-03-03 Thread Marc Weber
solution is best - thoughts? People who are maintaining python might want to take care of. Marc Weber immediate fix: PATCH diff --git a/pkgs/applications/graphics/inkscape/default.nix b/pkgs/applications/graphics/inkscape/default.nix index 2f72d00..53d612f 100644 --- a/pkgs/applications/graphics/inks

Re: [Nix-dev] Configure Nix to compile in RAMFS?

2017-02-21 Thread Marc Weber
> is it possible to set Nix to compile in a RAMFS? If yes, how to do this? fileSystems = [ { device = "tmpfs"; mountPoint="/tmp"; fsType = "tmpfs"; options = ["size=2m" "mode=1777"]; }] (adopt to your liking) ___ nix-dev mailing list

[Nix-dev] -realise: mounting /proc: Operation not permitted

2017-02-07 Thread Marc Weber
/store/r3219a23idwsvx8dw6zln2mlg34m0jdm-NVIDIA-Linux-x86_64-375.26.run’ error: while setting up the build environment: mounting /proc: Operation not permitted Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl

Re: [Nix-dev] Typing nix − funding campaign

2017-01-12 Thread Marc Weber
distros) clearly say that a cross platform cross language package manage / depndency system is required to derive .nix / guix /whatsoever packages from .. It should allow "platforms" (like Haskell) to have "stable bases" to work on. That would be awesome and the who

Re: [Nix-dev] How do I know I can enableParallelBuilding?

2016-10-16 Thread Marc Weber
ther / your nose / disk load / (you get it) Sometimes the authors know (mailinglist/google/irc) Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] Haskell workflow - ghc not in PATH - recommended way / documentation?

2016-06-24 Thread Marc Weber
y integrating it into current haskell-packages? hastags fails at "template haskell generated stuff", adding it is trivial because its just applying addHasktagsTaggingInfo = deriv : deriv // { to an existing derivation. It served me quite well that time. Marc Weber

[Nix-dev] Haskell workflow - ghc not in PATH - recommended way / documentation?

2016-06-23 Thread Marc Weber
error: build of ‘/nix/store/9ml89qkri8fkn1bldyh446a2g6rkscjc-distribution-nixpkgs-1.drv’ failed I'm pretty sure that I missed something obvious .. Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] Separate repository for autogenerated lists of urls and hashes

2016-04-24 Thread Marc Weber
I personally think that "autogenerating" packages is the next huge step to be taken. This requires a database and dependency information for all information. Then all distros can benefit, not just nixos.org Marc Weber ___ nix-dev mailing li

Re: [Nix-dev] Python & installation

2016-04-23 Thread Marc Weber
marked as "done". How do you keep track of progress otherwise? A readonly copy could be offered as "archive" (or html dump). Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] Python & installation

2016-04-23 Thread Marc Weber
t-system/sw/bin/nix-build']' returned non-zero exit status 100 %cat requirements.json [ "requests", "unidecode", "pysqlite", "pandas", "matplotlib", "scipy", "scrapy", "mpl_toolkits", "statsmodels",

[Nix-dev] Python & installation

2016-04-22 Thread Marc Weber
tupid question - I didn't look at python for a long time. Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] Using Nix as a package manager (for yet another language)

2016-02-12 Thread Marc Weber
ell, python, ruby) depend on C libraries and thus partially suffer from such kind of problem - even Vim depending on python and whatnot... Thus yes: Nix is likely to provide results you can live with fast. Marc Weber ___ nix-dev mailing list ni

Re: [Nix-dev] [Bachelors Thesis] Studi-Cloud VMs managing with Nix?

2015-12-11 Thread Marc Weber
quire the other software .." ? Because nixos can "switch configurations" there are more options: use usb sticks, then each prof can provide his config and students can update their 'usb clone' fast because only differences will be fetched (

Re: [Nix-dev] Please help me with getting the Taskserver service running

2015-11-17 Thread Marc Weber
strong opnion just be the maintainer and make a choice ? Testing services see nixos/tests/* How to run? See nixos/release.nix or release-combined. nix-build -A tests.firwall -f release.nix or such. (I didn't run any test for a long time). Marc Weber ___ n

[Nix-dev] Fwd: Nix PHP / php-fpm patch suggestion / reminder

2015-08-15 Thread Marc Weber
I tried sending this mail to the mantainer ro...@glob.in, but his email address seems to be no longer current. Thus who is maintaining PHP ? --- Begin forwarded message from Marc Weber --- From: Marc Weber marco-owe...@gmx.de To: robin ro...@glob.in Date: Sat, 15 Aug 2015 16:30:53 + Subject

Re: [Nix-dev] YouCompleteMe vim plugin

2015-06-09 Thread Marc Weber
I use such, instead of VAM you can use vundle, however this direct comparison has shown that VAM event starts up faster. vimMarc = vim_configurable.customize { name = vim-marc-weber; vimrcConfig.vam.knownPlugins = vimPluginsUsedByMarcWeber

Re: [Nix-dev] NixOS won't boot anymore in certain generations, don't know why (Stage-1 error)

2015-06-04 Thread Marc Weber
. Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] cron job to backup a database as part of the configuration.nix file

2015-05-28 Thread Marc Weber
1) writeScriptBin (see samples in nixpkgs) 2) services.cron.systemCronJobs = ... Marc ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] Confused about packages

2015-05-19 Thread Marc Weber
. There are some samples in the nixpgks repository as well. Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] Confused about packages

2015-05-15 Thread Marc Weber
[ with and without version numbers ] Version numbers get added if people find that there is need to keep multiple versions. Thus its kind of random where / how to find package names See https://nixos.org/wiki/Howto_find_a_package_in_NixOS Marc Weber

Re: [Nix-dev] Overriding a node package

2015-03-27 Thread Marc Weber
Dependencies will be fetched from npm repository - thus is questionable whethere overriding some packages gets the job done at all IMHO. I don't know/care atm. Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl

Re: [Nix-dev] Overriding a node package

2015-03-26 Thread Marc Weber
This patch is outdated, but illustrates what you're looking for: https://github.com/MarcWeber/nixpkgs/commit/ad6ec783bb61e80f90d6e6ee9e0b2d026982fbbe There is npm2nix utility you have to install. Marc Weber ___ nix-dev mailing list nix-dev

Re: [Nix-dev] Why are there so many branches in the nixpkgs repo

2015-02-16 Thread Marc Weber
to github.com/nixos/nixpgks-ideas or so. This would keep the official repository clean while allowing to submit less common code or keep more history as appropriate. In any case I'd vote for a VERISON file which explains a branch's purpose shortly. Marc Weber

Re: [Nix-dev] Can we please have text-only on this ML?

2015-02-09 Thread Marc Weber
(background images) - no idea what else gets rewritten in strange ways on strange email clients. Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] Haskell: indexing all packages on Hackage with Hoogle

2015-02-08 Thread Marc Weber
I often don't use hoogle, hack-nix can autotag sources you use for projects - that is always accurate. Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

[Nix-dev] postfix - generating alias tables in store and some additional changes

2015-01-26 Thread Marc Weber
correctly TODO: merge with upstream changes If so I'll try to clean up and submit a PR. Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] recent calligra breakage - how to prevent?

2015-01-25 Thread Marc Weber
- be simple - but version is best ? .. For the time beeing I'll keep as is - after all I'm human, the next time I'll know where to look at if krita is missing. Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman

Re: [Nix-dev] Why Bash and Nix-Shell have no completion?

2015-01-25 Thread Marc Weber
behaviour ? Marc Weber [1] This is the sample code of my /etc/bash/nix-bash-lib which gets sourced by /etc/bash/setup-all, it opts-out from gnu utils which was reported to be annoying long time ago - so it might be outdated. You could use such in your .bashrc NIX_COMPL_SCRIPT_SOURCED[ALL] = anything

[Nix-dev] recent calligra breakage - how to prevent?

2015-01-24 Thread Marc Weber
was build. Now this is a hack - what about being more declarative introducing mkDerivation { [...] expect.executables = [krita ...] } Later this could also be used for documentation purposes - eg finding packages which provide some specific executables. Does this already exist? Marc Weber Im

Re: [Nix-dev] How to create dirs needed by a module before it runs?

2015-01-23 Thread Marc Weber
Why not cd into the modules directory and grep for mkdir? Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] parallel make (was: Again: Why don't these people havecommit access)

2015-01-20 Thread Marc Weber
on packages which are known to not build correctly ... Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] Again: Why don't these people have commit access

2015-01-19 Thread Marc Weber
experimental branches visible to others would improve collaboration a lot. Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] Again: Why don't these people have commit access

2015-01-18 Thread Marc Weber
for improvements. Eg there are 3 implementations: nixpkgs/a js one and guix. Thus moving towards a global package database more distros could derive package descriptions from is much more important to me than caring too much about policies - because I see Nixos to be a tool only to get a job done. Marc Weber

[Nix-dev] announce: patch introducing resource tracking

2015-01-15 Thread Marc Weber
tcp/udp should be tracked differentyl or by keys tcp:80 udp:80 or such. Are there more resources which are worth tracking ? I recommend looking at the patch because it could serve as sample for similar cases such as multiple postgresql instances or whatsoever. Marc Weber [1] https://github.com

[Nix-dev] Multiple instances - detecting resource collisions - nixos module system question

2015-01-14 Thread Marc Weber
to other services. Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] newbie question: Which name is used for eclipse-sdk-4.4 in /etc/nixos/configuration.nix

2015-01-06 Thread Marc Weber
(Unfortunately I don't know a good reference to point to for a description of this.) https://nixos.org/wiki/Howto_find_a_package_in_NixOS Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix

[Nix-dev] Multiple MySQL instances (or nginx/apache/...)

2015-01-03 Thread Marc Weber
to services.mysql.instances.default then? Then backward compatibility could be preserved. Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] Multiple MySQL instances (or nginx/apache/...)

2015-01-03 Thread Marc Weber
Excerpts from Ertugrul Söylemez's message of Sat Jan 03 14:05:05 + 2015: But don't hold your breath. It could take a week or two before I can present my first prototype. Maybe you can sketch your idea for the sake of discussion? Marc Weber

Re: [Nix-dev] How to get rid of systemd (was: Modifying the init system (introducing S6 supervision suite))

2015-01-03 Thread Marc Weber
@ container_1_amazon_eu, setup http proxy to new IP, 4) garbage collect (thus delete all account/database stuff @ container_1_amazon_eu) How can this be expressed using a simple text file ? Some things just require global state IMHO .. So what do we really want ? Marc Weber

Re: [Nix-dev] Request for comments: pinky-promise determinism

2015-01-02 Thread Marc Weber
status returning nothing and HEAD being the desired hash would be much easier to use. Most Vim plugins also are stored on github. Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] Haskell NG

2014-12-12 Thread Marc Weber
. Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] How can I write a library inside Nixpkgs? (for Bitcoin and friends...)

2014-12-08 Thread Marc Weber
What about reading the nixpkgs (the sections describing what a derivation is) manual and or having a look at the nixpkgs repository which should contain more than enough examples ? Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http

[Nix-dev] vim-plugins

2014-12-02 Thread Marc Weber
simple copy pasting, see vimUtils's documentation. Is a .nix file the appropriate place to put such documentation, or would you prefer another location such as wiki or nixpkgs manual? Marc Weber [1] See http://github.com/MarcWeber/vim-addon-manager 's README file

Re: [Nix-dev] Postgis issues

2014-11-18 Thread Marc Weber
version in Makefile.in makes gcc not know the file. Does any C guru just know what's going wrong? . o O (Yes - I know that I should rewrite composobaleDerivation ...) Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http

Re: [Nix-dev] Introducing nox and nox-review

2014-11-12 Thread Marc Weber
https://nixos.org/wiki/Howto_find_a_package_in_NixOS is the place to add a reference.. Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] system wide .vimrc / managing plugins the nix way - proposal and implementation

2014-10-27 Thread Marc Weber
the pull request. If you're using VAM you can create a list of plugins in use by :echo keys(g:vim_addon_manager.activated_plugins) Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] system wide .vimrc / managing plugins the nix way - proposal and implementation

2014-10-27 Thread Marc Weber
-nix will also install all depnedencies. Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

[Nix-dev] system wide .vimrc / managing plugins the nix way - proposal and implementation

2014-10-26 Thread Marc Weber
support yet) this should please the majority. Pathogen has no advantage over VAM AFAIK - I just added it for completness and because the discussion mentioned above asked for it. This mail is for gathering feedback, I'll create a pull request soon. Marc Weber

[Nix-dev] PAGER=less -R

2014-09-08 Thread Marc Weber
know how PAGER ist most commonly used? Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] PAGER=less -R

2014-09-08 Thread Marc Weber
Fed upstream: https://github.com/greenrd/topgit/issues/36 Thanks for tv @ irc for helping. ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] haskell: overriding mtl/any builtin

2014-09-07 Thread Marc Weber
mtl choosing versions Which is the target package you want to use/work on? Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

[Nix-dev] Is xdebug working for you?

2014-08-15 Thread Marc Weber
Is anybody using xdebug? The change making PECL build it broke it for me. This code http://dpaste.com/2HEZVNG still works fine. Maybe I have to configure it in a different way when it gets build by PECL? Marc Weber ___ nix-dev mailing list nix-dev

Re: [Nix-dev] Vim setup for Haskell

2014-08-04 Thread Marc Weber
to that task. Thus if you like idea behind YPM or want to sponsor it just star it or let me know :) Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] Vim setup for Haskell

2014-08-03 Thread Marc Weber
. There are alternative solutions, too Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] Better support for Ruby

2014-07-28 Thread Marc Weber
by setup scripts) often. Thus the way to move forward would be creating a global package database which contained all information for everyone. (And also make C/C++ gnome and whatnot folks use it ..) That's my view - it could be incomplete. Marc Weber ___ nix

Re: [Nix-dev] Better support for Ruby

2014-07-28 Thread Marc Weber
Excerpts from phreedom's message of Mon Jul 28 13:54:21 + 2014: There's nothing inherently wrong with the old nix gem if you treat it as a way No, that time it took runnig a gem command (the very first implmentation) made me look for an alternative. Marc Weber

[Nix-dev] cgroups, cpu.rt_runtime_us

2014-07-20 Thread Marc Weber
it? Eg nixos manual and http://www.freedesktop.org/software/systemd/man/systemd.resource-control.html mention some specific settings such as MemoryLimit, but I didnt't find a rt_runtime_us setting there. Marc Weber ___ nix-dev mailing list nix-dev

Re: [Nix-dev] Writing a Nix evaluator in Haskell

2014-06-29 Thread Marc Weber
does a syntax-check You may want to use it till your alternative is ready. Comparing with an Haskell implementation would be fun for many reasons, using multiple cores for instance. Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http

Re: [Nix-dev] cabal.mkDerivation and cabal flags

2014-06-24 Thread Marc Weber
a look at cabal2nix and hacknix. If you want to give the latter a try let me know. Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] Gutenprint cups drivers

2014-06-22 Thread Marc Weber
. Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

[Nix-dev] apache module and ip:port configurations?

2014-05-29 Thread Marc Weber
way would be making the listen option default to something based on port if it was set by the user. which is the way to refer to the config of that particular virtualHost because type = types.attrOf (..) is used. Is anybody else interested in such patch? Marc Weber apache-module-ip-port.patch

Re: [Nix-dev] builtins.toPath returns ... a string?

2014-05-22 Thread Marc Weber
void prim_toPath(EvalState state, const Pos pos, Value * * args, Value v) { PathSet context; Path path = state.coerceToPath(pos, *args[0], context); mkString(v, canonPath(path), context); } You may want to talk about your use case. Marc Weber

Re: [Nix-dev] Restructuring of the Wiki

2014-05-20 Thread Marc Weber
I'd say the summary of discussions like this belongs on a wiki :) I'd keep as is unless there are strong reasons to switch. Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] reading nix profile derivation priorities from manifest.nix

2014-05-03 Thread Marc Weber
/ /item /items If you want to change something you at least have some pointers where/how to get started. I've changed the subject hoping that its easier for google to find this post in the future. Marc Weber ___ nix-dev mailing list nix-dev

Re: [Nix-dev] How to actually get rid of things from the nix-env -qs list?

2014-04-28 Thread Marc Weber
Excerpts from Mateusz Kowalczyk's message of Mon Apr 28 10:39:11 + 2014: On 04/28/2014 09:23 AM, Marc Weber wrote: Is there a way to ask nix to tell me which one is active? There is no active:yes/no Example: p-1.0: /bin/foo p-2.0: /bin/foo-2.0 Then you'll have both in PATH In yoru

Re: [Nix-dev] RFC: NixOS version string format

2014-04-27 Thread Marc Weber
We're using git, thus the only really meaningfull thing is the hash .. But its hard to compare which is more or less up to date. Thus maybe its worth thiking about adding the hash if it is not included. The hash also identifies the history. Marc Weber

Re: [Nix-dev] User's configuration files

2014-04-26 Thread Marc Weber
) ) 2) override .vimrc .. which is a less nice eventually. It all depends on what you do Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] My blog post on overrides in Nix

2014-04-22 Thread Marc Weber
Such content should be on the official wiki - then it can be updated (IMHO). Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] npm2nix maintainership

2014-04-17 Thread Marc Weber
of the project? If you don't find anybody document current state on the wiki. Then it'll be found easily again by people who want to use it. Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] npm2nix maintainership

2014-04-17 Thread Marc Weber
Excerpts from Rob Vermaas's message of Thu Apr 17 14:14:22 + 2014: Oh wait, it's a mercurial repo, that won't work :) Why not turn it into git? Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman

Re: [Nix-dev] Nix language: converting an attribute set to a list

2014-04-14 Thread Marc Weber
attrValues (mapAttrs (name: vals: merge or check that name is same as name key) ) attrs Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] Hash Collisions

2014-04-08 Thread Marc Weber
distributed builds) are more important to us. Anyway: Welcome to nixos :) Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] gnome 3 suport

2014-04-08 Thread Marc Weber
not (please correct me if I'm wrong). Thus try to clarify whether you're talking about gnome libraries or the gnome desktop. Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] versionedDeravation / php fpm / cups 1.7

2014-04-08 Thread Marc Weber
. The question I'm asking is: Am I doing this is the cases I provided and for what reason - and which kind of gun am I using (soft balls or missiles). Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo

Re: [Nix-dev] Accidental force push to nixpkgs

2014-04-08 Thread Marc Weber
(equivalent to giving the --ff-only option from the command line). Using Google did not reveal more options to me. Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] Maven support in nix

2014-04-07 Thread Marc Weber
support (ruby) Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] Repo for incomplete/unmaintained work

2014-04-07 Thread Marc Weber
for nixos/ can be found in nixpkgs git history? Then at least google finds it .. No idea. Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

[Nix-dev] versionedDeravation / php fpm / cups 1.7

2014-04-07 Thread Marc Weber
if you're interested in testing either patch. Thanks for helping me gain awarness .. :) Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] Hash Collisions

2014-04-07 Thread Marc Weber
packages which get linked to that directory provide the same file (see your log) - then collisions happen. Now its up to you to review / change order to make the difference which man page will be opened for instance. Marc Weber ___ nix-dev mailing list nix

Re: [Nix-dev] Language integration (Was: NiJS package manager)

2014-04-02 Thread Marc Weber
of course we basically do agree. Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] NiJS package manager

2014-04-01 Thread Marc Weber
. Thoughts? Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

  1   2   3   4   5   >