> 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
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
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
___
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
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
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
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
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
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/
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
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
.
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
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
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
(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
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-
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
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
@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
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
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
-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
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
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
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
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
, 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.
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
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
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
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
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
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
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
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.
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
> 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
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
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
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
_
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
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
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.
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
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
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.
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
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
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
(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
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
> 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
;
"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
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
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
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
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.
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
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
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
> 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
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
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
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
___
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.
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
> 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
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
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
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
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
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
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 = ...;
};
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
(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
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.
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
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
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
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
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
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.
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
__
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
_
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..
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
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
--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
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
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
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
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
__
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
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
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
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
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
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
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
tends.
Marc Weber
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev
201 - 300 of 509 matches
Mail list logo