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
> 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
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
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
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
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
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
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
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
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
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
- 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
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
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
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
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
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
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
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
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
> 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
/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
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
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
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
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
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
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
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",
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
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
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
(
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
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
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
.
Marc Weber
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev
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
.
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
[ 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
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
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
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
(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
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
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
- 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
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
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
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
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
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
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
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
to other services.
Marc Weber
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev
(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
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
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
@ 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
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
.
Marc Weber
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev
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
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
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
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
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
-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
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
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
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
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
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
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
.
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
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
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
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
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
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
.
Marc Weber
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev
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
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
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
/
/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
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
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
) )
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
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
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
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
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
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
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
.
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
(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
support (ruby)
Marc Weber
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev
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
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
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
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
.
Thoughts?
Marc Weber
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev
1 - 100 of 414 matches
Mail list logo