Re: [Nix-dev] Templates

2013-06-26 Thread Marc Weber
> This can become unweildly for applications with large configurations. Of course, use a file as "input" ? Taslk about your use case. Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] Deterministic(bit-perfect) Builds

2013-06-25 Thread Marc Weber
Let me rephrase: Try to keep the wiki page up to date and sync with your effort :) Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] Deterministic(bit-perfect) Builds

2013-06-25 Thread Marc Weber
Hi Evgeny Egorochkin, I've created this page long time ago: https://nixos.org/wiki/Nix_impurities So how do you exactly "fix" those impurities? Maybe consider updating that wiki adding a line "fixed by doing X" Marc Weber ___

Re: [Nix-dev] [NixOS/nixos] 0f6e9b: Unconditionally add ~/bin to $PATH

2013-06-19 Thread Marc Weber
king about such "composable bash/zsh env" # opting out would be done by adding this to a .bashrc: declare -A DID_NIX_BASH_FEATURES DID_NIX_BASH_FEATURES['suer_bin'] = 1 There is no support for running something "first" or "last" whic

Re: [Nix-dev] Using several versions of GHC at once

2013-06-17 Thread Marc Weber
O-1.0 with ghc 6.10 and ghc 7.4 - test package BAR and This way we can help to find the best way to make you happy. 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 several versions of GHC at once

2013-06-16 Thread Marc Weber
you to write a simple configuration file which should contain both: cabal flags and an optional non default ghc version. You can have multiple of such configurations. Well - do whatever works for you. Marc Weber ___ nix-dev mailing list nix-dev@lis

Re: [Nix-dev] Using several versions of GHC at once

2013-06-12 Thread Marc Weber
there are shell scripts in the current directory loading the one or the other into the current shell environment. Use multiple shells to test multiple versions at the same time. More info: https://nixos.org/wiki/Nixpkgs-haskell-overlay Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] Why C? If so how is the best way to have simple lists ?

2013-06-08 Thread Marc Weber
pport only lua (which would not be that bad). While I made it compile the project looked almost dead to me. Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

[Nix-dev] Wiki search is broken

2013-05-27 Thread Marc Weber
searching for "haskell overlay" or "ruby overlay" should show up: https://nixos.org/wiki/Nix(OS)_related_repositories_and_work but does not. Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/

Re: [Nix-dev] $out in configureFlags is not expanded

2013-05-21 Thread Marc Weber
ld script, or in nix code if at all? I personally don't care that much - the way it is works reasnably well, 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] $out in configureFlags is not expanded

2013-05-21 Thread Marc Weber
nging anything: mkDerivation { # NEW, implicit: you don't have to pass this, because its default # but you can opt-out [] or opt-in ["configureFlags","other-env-var"] substituteOut = ["configureFlags"]; configureFlags="--prefix=$out" } On the

Re: [Nix-dev] Double channels accidentally

2013-05-20 Thread Marc Weber
. nixpkgs ... so just drop one again like this? nix-channel --remove 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] Update Julia to today's git

2013-05-19 Thread Marc Weber
Hi Oscar Blumberg, Looks fine to me. Because I'm sure you'll I've updated the wiki talking about how to create a pull request: https://nixos.org/wiki/Pull_request Or wait till somebody picks the patch and commits it. If you have trouble with anything try joining #nixos at irc.fre

Re: [Nix-dev] Running multiple Apache servers in the same ports

2013-05-19 Thread Marc Weber
ure found in virtualization technologies > such as OpenVZ or XEN. nix itself is no virtualizing solution. It does try to achieve the same separation when running builds. So you can use nix(os) to manage your OpenVZ or XEN clients or start apache (nixos is using s

[Nix-dev] [***SPAM***] Re: Wiki proposal (NixOS Proposal Enhancement or NPE?): "Packages" category on wiki

2013-05-19 Thread Marc Weber
(Nobody from the vim community contributed to it - so I guess its true that lack of contributors is the main problem in most cases) The wiki still provides value to "nix" users - hosting spam is bad for other reasons. Marc Weber ___ nix-dev ma

Re: [Nix-dev] Wiki proposal (NixOS Proposal Enhancement or NPE?): "Packages" category on wiki

2013-05-19 Thread Marc Weber
adopt it. There is an alternative: Document packages in code. You always have the info on you disk, and it will be easier to maintain - because if you drop or refactor a package you won't miss the documentation. Marc Weber ___ nix-dev mailing list nix-

Re: [Nix-dev] NixOS wiki

2013-05-17 Thread Marc Weber
Excerpts from Eelco Dolstra's message of Fri May 17 15:29:09 +0200 2013: > Anyway, it should be fixed now. Why is Zabbix related to media wiki? Thus consider having a look at the php-fpm patches if needed, they allow configuring php.ini files for each target web application if require

Re: [Nix-dev] Stable NixOS releases

2013-05-16 Thread Marc Weber
o many rules - we should also adopt to what changes we are exposed to (eg which kde/gtk/.. updates will happen etc) - or specifying which packages / test cases belong to a "release" and must be taken care of. Maybe we can manage to have something like rel

[Nix-dev] [***SPAM***] Re: Stable NixOS releases

2013-05-14 Thread Marc Weber
@phreedom Do you still remember what exactly broke for new users? By accident I went offlist (sorry), copy pasting the text here: Marc Weber So again: the real problem is nixos-install not allowing to use different revision. If new users trying to build "games" they may ru

Re: [Nix-dev] Stable NixOS releases

2013-05-14 Thread Marc Weber
ing ati/nvidia proprietary drivers is bader than breaking a particular game (for work). There will always be "new users" who find bugs .. So maybe the better way is to emphasize that using nixos its a smaller problem compared to other distros. Marc Weber

Re: [Nix-dev] Stable NixOS releases

2013-05-14 Thread Marc Weber
ure its a good idea - depends on the updates. It just shows what could be done. postgresql would be defined this way: postgresql = if nixos-version > 13 then postgresql-10 else postgresql-9 Just some thoughts - we have to take care to not support too many versions - things would be too difficult then - however in some cases it might make sense. Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] gimp and pygtk ImportErrors

2013-05-05 Thread Marc Weber
-updates, and then use git bisect till you've found the commit making the difference. (git blame on the pygtk derivation might be faster, though). Maybe its even fixed at master - I don't know exactly - thus eventually update nixpkgs and retry. Yours Marc Weber

Re: [Nix-dev] gimp and pygtk ImportErrors

2013-05-05 Thread Marc Weber
Fixed in x-updates or so. There is a bug report or pull request at nixpkgs. So just be patient till it will be merged (will happen in a couple of weeks). Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman

Re: [Nix-dev] setup.sh, addToSearchPath - only add if directory exists?

2013-04-28 Thread Marc Weber
I just notice that there is already a [ -d check. Sorry for the noise. Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] setup.sh, addToSearchPath - only add if directory exists?

2013-04-28 Thread Marc Weber
ike "gnused". A path check would do the right thing in most cases IMHO. Thus if nobody objects I may propose it for x-updates Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

[Nix-dev] setup.sh, addToSearchPath - only add if directory exists?

2013-04-27 Thread Marc Weber
Does it make sense to patch addToSearchPath so that it only adds paths if they exist? Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

[Nix-dev] wacom users - pay attention to this pull request

2013-04-26 Thread Marc Weber
, you might want to override the etc file instead. We still may want to figure out which is the best way to configure the buttons. AFAIK xsetwacom can be used, too. Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.

Re: [Nix-dev] PHP configuration options

2013-04-23 Thread Marc Weber
apache & php-fpm should be almost fool-proof and easy. I haven't tested nginx/lighthttpd myself. Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] PHP configuration options

2013-04-22 Thread Marc Weber
hp-5.2 php fpm patch for the sake of completeness, because one customer required such once. You should be using >= 5.3 today. Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

[Nix-dev] minimal install archive

2013-04-22 Thread Marc Weber
s might be causing trouble. My scripts write minimal /etc/{passwd,group} files Let me know how you feel about this. The current code can be found at github.com/MarcWeber/nixos -> branch experimental/minimal-install-archive Marc Weber ___ nix-dev mailing

[Nix-dev] nixos/nixpkgs source used by iso installer?

2013-04-21 Thread Marc Weber
the live cd be able to run "nixos-checkout" (optionally)? Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

[Nix-dev] comments about nixos's documentation

2013-04-21 Thread Marc Weber
27;s binary-caches setting is much more important to talk about ? I didn't find the doc source (?) - so I'm not sure how to improve it other then notifying about 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] Discussion: env vars as glue

2013-04-15 Thread Marc Weber
plex to be solved easily using the one true way. I personally feel the most efficient way is to think about what must be done to make something work - and in my case its just waiting for current libreoffice to be build - or use binaries using master branch.. Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] NixOS wiki

2013-04-11 Thread Marc Weber
UTF-8 seems to work, too: https://nixos.org/wiki/Test, the í at the end. Thanks Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] NixOS on Linode

2013-04-08 Thread Marc Weber
is listed here (using the iso) in some way (I never tried it) https://nixos.org/wiki/Install_NixOS_on_Rackspace_Cloud_Servers AFAIK there is an alternative "minimal archive", but I don't know its url - so consider waiting for additional replies. For Amazon: https://nixos.

Re: [Nix-dev] NixOS wiki

2013-04-08 Thread Marc Weber
nity why you think git will be so much faster than copying an article into your editor of choice, editing it, copying it back and press the "save" button. Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] nix-prefetch-url and sha256sum differs

2013-04-01 Thread Marc Weber
> When I run sha256sum on the downloaded file I get the correct result: nix-hash --type sha256 [--flat] file I don't know why the output differs from the sha256sum tool. Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu

[Nix-dev] kbuildsococa4 & calligra

2013-03-25 Thread Marc Weber
it told me that part.dekstop service was missing, then the krita mime type was not found. Does anybody know about a nixos fix? If not I'd like to document it in some way .. Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl

Re: [Nix-dev] Missing command suggestions

2013-03-25 Thread Marc Weber
vironment.systemPackages [y] to install, ctrl-c to cancel 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 Parser for (subset of) Nix

2013-03-23 Thread Marc Weber
et updates from - it knows which piece of code gets updated - it inserts that piece of code - still simple, everything is in one place without too many additional files. But its only my quick and dirty way to cope with some update problems. Marc Weber _

Re: [Nix-dev] wiki and utf-8 characters

2013-03-23 Thread Marc Weber
eventually not that closely related to reviewing nix related content. 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 Parser for (subset of) Nix

2013-03-23 Thread Marc Weber
I thought about writing a Haskell interpreter for nix, too. Haskell is very close to nix (being lazy) that comparing performance would be interesting. So what is your goal? Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http

Re: [Nix-dev] wiki and utf-8 characters

2013-03-23 Thread Marc Weber
For completness: I think that protecting the "create new user" feature by htaccess, and documenting it (even with password) on the wiki would be enough to keep spam bots away. That can be done without updating media wiki should not take much time either.

Re: [Nix-dev] wiki and utf-8 characters

2013-03-22 Thread Marc Weber To:
th spam if you configure it correctly *and* keep it up to date. Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] wiki and utf-8 characters

2013-03-21 Thread Marc Weber
ning the wiki have to say. Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] wiki and utf-8 characters

2013-03-21 Thread Marc Weber
vely, it could be an option for that reason. Put those people maintaining the wiki should speak up and tell how they feel. I don't want wiki.nixos.org to host spam. Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.

Re: [Nix-dev] wiki and utf-8 characters

2013-03-21 Thread Marc Weber
they never match the nixos/nixpkgs version. As alternative I'd like to suggest evaluating pros/cons of using a git based wiki: Track wiki contents as text files (using any markup), then accept pull requests. Reviewing the wiki almost as important as review

[Nix-dev] wiki and utf-8 characters

2013-03-19 Thread Marc Weber
think we should be able to insert utf-8 characters. Does anybody has more experience with utf-8 and nixos's mediawiki? Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] Cross Compiling for Raspberry PI

2013-03-18 Thread Marc Weber
AFAIK. Not sure about special GPIO kernel interrupt patches and the like. Don't konw about cross-compiling either. Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

[Nix-dev] haxe-3 updates

2013-03-12 Thread Marc Weber
(haxe) and the neko update (in the end very trivial changes) http://mawercer.de/tmp/haxe-3-patches.tar.gz Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] Failed nixos-rebuild cannot download xf86-video-vmware

2013-03-12 Thread Marc Weber
ne. (If you have a better reply, improve mine) Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] Failed nixos-rebuild cannot download xf86-video-vmware

2013-03-12 Thread Marc Weber
> What is the next step in debugging? try --fallback ? Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] Rubygems and bundler

2013-03-07 Thread Marc Weber
; "sass" "mechanize" "selenium-webdriver" "json" "sequel" "mysql" "livereload" "guard" ]; }; You can add it to your ~/.nixpkgs/config.nix and be done. However the same problem occurs unless you fix every version (which bundler is about). So in any case some pieces are still missing. Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] Rubygems and bundler

2013-03-07 Thread Marc Weber
uot; if possible. rvm is stateful and a mess (compared to nix). I had in mind making it nix compatible. Then I couldn't spend enough time on 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] cross toolchain howto request

2013-03-03 Thread Marc Weber
http://nixos.org/wiki/CrossCompiling Is all I know about. If people tell you additional information that would eventually be the place to add documentation. Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl

Re: [Nix-dev] hack the source, then install

2013-03-01 Thread Marc Weber
g else: export DISPLAY=:0.0; rxvt then hack in that shell. If you drop the hack you'll get a new clean hash - thus you don't mess up the store. Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] development environments

2013-02-24 Thread Marc Weber
testing multiple configurations at the same time using different shells is made easy. Because I don't do much Haskell at the moment the hackage dump I created is a couple of month old. If you're interested I can show you how to update it yourself.

Re: [Nix-dev] development environments

2013-02-23 Thread Marc Weber
best for you. At this point in time I also want to remind that there is a second way for install haskell packages using nixpkgs https://nixos.org/wiki/Nixpkgs-haskell-overlay Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists

Re: [Nix-dev] Installing custom SSL CA certs?

2013-02-17 Thread Marc Weber
cussed with upstream devs then. (I may be mistaken, I didn't look at openssl code yet) Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] Suggest package to install

2013-02-17 Thread Marc Weber
ize yourself even more with Nix. Best Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] Suggest package to install

2013-02-17 Thread Marc Weber
> nix-env -i hello Please also have a look at the wiki article "how to keep multiple packages up to date" With -i you may miss some situations such as packages getting dropped when updating your system which is why I don't use it for most pac

Re: [Nix-dev] Suggest package to install

2013-02-17 Thread Marc Weber
That was done recently by Eelco Dolstra. See commit messages. Maybe updating nixos is enough. Also see 'how to find the package ..' on the wiki. Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailma

Re: [Nix-dev] quoted vs unquoted urls in Nix expressions

2013-02-17 Thread Marc Weber
root builds (which are default now AFAIK) Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] PYTHONPATH

2013-02-01 Thread Marc Weber
seem to work" You know that you can pass multiple paths separated by :? eg PYTHONPATH=a:b:c where a,b,c are paths to packages? Also google for PYTHONUSERBASE. In the past I felt running into .pth realted trouble, but probabli this all is gone. Marc Weber ___

[Nix-dev] sophisticated php-fpm implementation for nixos

2013-01-30 Thread Marc Weber
fpm starts threads, drops priviledges and runs php code. Thus it replaced the old famous suexec like setups etc. Additionally it provides more features Summary can be viewed here: http://php-fpm.org/about/#why Its included upstream in PHP so I think it can be considered stable.

[Nix-dev] [***SPAM***] bashCompletion / multi-shell-support update

2013-01-29 Thread Marc Weber
ntroducing small lib files providing helper functions. I'll do some more testing while waiting for some feedback, too. Sincerly Marc Weber multi-shell-support.patch Description: Binary data ___ nix-dev mailing list nix-dev@lists.science.uu.nl h

Re: [Nix-dev] Adding runtime library search path

2013-01-26 Thread Marc Weber
> How to easily add one particular entry without preventing deletion of > other unnecessary rpath entries? patchelf also has a --print-rpath option. Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/m

Re: [Nix-dev] how to disable tests

2013-01-25 Thread Marc Weber
ing 0 exit code. Does nix suppoprt disabling tests for gentoo only? Don't know. grep for doCheck to see how its done for other packages. Probably system is just linux and not "gentoo". Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] Bundling nix-expressions with source code

2013-01-22 Thread Marc Weber
Usually whatever works is good :) Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] GNU Guix 0.1 released (alpha)

2013-01-19 Thread Marc Weber
ocaml, perl, ... packages ... there are many. Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] modification time

2013-01-10 Thread Marc Weber
Why not just try it? Executables should run no matter which timestamp they have. Of course nobody prevents executables to fail if their timestamp is older than a particular date. It doesn't make sense to implement such behaviour so I expect most things to work. Marc

Re: [Nix-dev] query package meta information

2013-01-08 Thread Marc Weber
Use xpath and any scripting language? One of the Haskell libraries (haxml?) provides an executable. for ruby I recommend nokogiri other languages use google Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl

Re: [Nix-dev] Overriding configure flags in nix.

2012-12-31 Thread Marc Weber
hat. Is it even possible > without creating new nix package? Why not send a patch to enable it permanently? You can use overrideDerivation to do what you want. { pkgs, ... } : { packageOverrides = p: { rxvt_unicode = p.overrideDerivation p.rxvt_unicode { configureFlags = ...; };

Re: [Nix-dev] Nix 1.2 released

2012-12-08 Thread Marc Weber
ght now myself. > "nix-env -A foo-bar" should just work (but I didn't test). I missunderstood you. I thought you made "2.8" = derivation legal. I mixed up dashes with dots. So forgett about this one. Thanks for your replies Marc Weber

Re: [Nix-dev] Nix 1.2 released

2012-12-07 Thread Marc Weber
(so maybe you don't even need to checkout the files) And no, its not always an option to prefetch everything you may not need at all. Note that I don't ask you for implementing - just for sharing your thougts on the topic - and if - how you'd implement 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] Dealing with non-Bash /bin/sh on non-NixOS

2012-11-19 Thread Marc Weber
If broken builds are the problem, can't we just make sure bash is the default shell for builders? I mean exporting SHELL properly and using bash to start the build scripts migth already fix most issues - without having to rewrite builders (wild guessing) - that's just an idea.

Re: [Nix-dev] fetchgit - why sha256 protection?

2012-11-19 Thread Marc Weber
g for use cases where other tools neither do (such as bundler for ruby) - they don't even bother to use the full git hash length (which is bad 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] fetchgit - why sha256 protection?

2012-11-19 Thread Marc Weber
to finish all this in time (yet) Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] fetchgit - why sha256 protection?

2012-11-19 Thread Marc Weber
much overhead if you have to prefetch everything to get a sha256 hash. I'm not talking about the one project you do package once in a year. I'm talking about 20 small ruby gem packages you need to get some bleeding edge code working. Marc Weber

Re: [Nix-dev] fetchgit - why sha256 protection?

2012-11-19 Thread Marc Weber
rrent state. I'm aware about how it works. I'm talking about: "Does it make sense to introduce a special fixed hash for git repos" or "what about implementing git checkouts natively so that passing the git's hash is enough"? git sources are very common today. Mar

Re: [Nix-dev] fetchgit - why sha256 protection?

2012-11-19 Thread Marc Weber
ckages from other sub universes such as ruby. Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

[Nix-dev] fetchgit - why sha256 protection?

2012-11-18 Thread Marc Weber
h collision. A lot of foreign tools (eg bundler for ruby) just store the url and the hash. Packaging github like projects would be a lot easier if passing a hash would be enough. Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.

Re: [Nix-dev] assertions / throwing an error-message

2012-11-18 Thread Marc Weber
You can builtins.trace a message, then cause failing assertion. AFAIK assertios show file, line. Thus its easy to lookup. Maybe it would be a use case for a soft throw behaving like a failed assertion - thus I'd not worry too much. Marc Weber __

Re: [Nix-dev] assertions / throwing an error-message

2012-11-18 Thread Marc Weber
If you have two users and one accepts the second can start the app from store without accepting the license. I don't know how much this matters at all. I don't see a solution - but again - I'm not a lawyer - so everything I say is void, anyway. Marc Weber _

Re: [Nix-dev] commercial license

2012-11-17 Thread Marc Weber
I'd force the user to set a config option like this: ~/.nixpkgs/config.nix: { proprietary-licenses-accept.your-package = true; } and only allow installing the software if this is enabled. At least this requires attention from the users.. I'm not a lawayer..

Re: [Nix-dev] install4j

2012-11-15 Thread Marc Weber
Excerpts from Mathijs Kwik's message of Thu Nov 15 16:27:31 +0100 2012: > Hi all, > > Has anyone come across software that is packed/distributed with install4j? > Some software I need distributes itself as a .sh file (with a lot of > binary data appended). > The file extracts itself to some temp d

Re: [Nix-dev] Language-specific package managers

2012-11-11 Thread Marc Weber
Let's not forgett that eg most xorg packages are generated automatically, too. The some additional manual work is required to make everything build. There are more sub universes, such as gnome which is provides a central download folder hirarchy you could use to dump package information fr

Re: [Nix-dev] (kde 4.8): knofity4 PID: 21830 Signal: Segmentation fault (11)

2012-11-11 Thread Marc Weber
--tree, see man nix-store. If this is not the case bisecting etc has to be done. Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] Build Android apps with the Nix package manager

2012-11-07 Thread Marc Weber
https://nixos.org/wiki/Android I think it is very important which is why I created a short wiki article. Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] Proper way of adding custom nix expressions

2012-10-31 Thread Marc Weber
nd the additional package information which libraries are shipping which each ghc version. If you need help you can always ping me on irc or by mail. Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] Proper way of adding custom nix expressions

2012-10-31 Thread Marc Weber
account so that you can give hack-nix a try before setting it up on your system. Yours Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] enableParallelbuilding for many packages

2012-10-25 Thread Marc Weber
articular builds for testing faster, too. ./configure is taking much time - anwyay. Don't think rewriting most packages to use cmake would be an option (and some cmake Makefiles are slower than hand tuned ones - at least I heared about such case) Marc Weber __

Re: [Nix-dev] enableParallelbuilding for many packages

2012-10-24 Thread Marc Weber
er value than 4 We'll see. Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] enableParallelbuilding for many packages

2012-10-24 Thread Marc Weber
nd -j4? Eg how to read the wget results? They are only available for -jN N=2, but not for greater N Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

[Nix-dev] enableParallelbuilding for many packages

2012-10-24 Thread Marc Weber
uilding = true; lines based on my results you should tell me and make me understand why. Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

[Nix-dev] ATI unfree status

2012-10-24 Thread Marc Weber
like to wait a couple of days and for more testers until I provide a new patch documenting all flaws. Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] openjdk cannot run GUI applications in NixOS

2012-10-21 Thread Marc Weber
hat is, you will receive the error a while after causing it. To debug your program, run it with the --sync command line option to change this behavior. You can then get a meaningful backtrace from your debugger if you break on the gdk_x_error() function.) Fix see https

Re: [Nix-dev] openjdk cannot run GUI applications in NixOS

2012-10-20 Thread Marc Weber
ream.write(FilterOutputStream.java:97) Maybe there is a way to tell openjre about those trust anchors - I haven't investigated yet. I'll post again if I know more details. Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.s

Re: [Nix-dev] Adding xfce4 panel plugins

2012-10-11 Thread Marc Weber
way: Use a symlink: ln -s $out-of-xfce/panel /var/run/panel or the like Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] openjdk cannot run GUI applications in NixOS

2012-10-10 Thread Marc Weber
tends. 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   6   >