hi, I'm trying to use -K option for nix-build, but it doesn't generate
unpacked directory in /tmp, it simply finds it somewhere in cache (or
binary cache.nixos.org or hydra.nixos.org). How to force it to build
without using cache and generated /tmp/nix-build-* directory?
[danbst@master:/tmp/scibui
nix-build --option binary-caches ""
On Mon, Dec 1, 2014 at 11:08 AM, Daniel Hlynskyi
wrote:
> hi, I'm trying to use -K option for nix-build, but it doesn't generate
> unpacked directory in /tmp, it simply finds it somewhere in cache (or
> binary cache.nixos.org or hydra.nixos.org). How to force
Hi. I've adopted the following compromise solution:
1) Add the file include/templatecfg.nix with the following contents
{ config, pkgs, ... } :
{
environment.etc."template_XResources".source = ../cfg/Xresources;
environment.etc."template_vimrc".source = ../cfg/vimrc;
environment.etc."templat
Or use (taken from 'man nix.conf'):
build-use-substitutes
If set to true (default), Nix will use binary substitutes if
available. This option can be disabled to force
building from source.
E.g. nix-build --option build-use-substitutes false
Cheers,
Rob
On Mon, Dec
Thanks guys, but that doesn't help
[danbst@master:/tmp/scibuild]$ nix-build '' -K -A qscintilla
--option build-use-substitutes false
/nix/store/kycs9akg1h70wjm0p4cg9cc384ccrfy7-qscintilla-2.8.3
[danbst@master:/tmp/scibuild]$ nix-build '' -K -A qscintilla
--option binary-caches ""
/nix/store/kycs9
$ rm result
$ nix-store --delete /nix/store/kycs9akg1h70wjm0p4cg9cc384ccrf
y7-qscintilla-2.8.3
$ nix-build '' -K -A qscintilla --option build-use-substitutes
false
On Mon, Dec 1, 2014 at 11:32 AM, Daniel Hlynskyi
wrote:
> Thanks guys, but that doesn't help
>
> [danbst@master:/tmp/scibuild]$ nix-
thanks, now it works. Am I right, if I have Qt-4.8.6 (build dependency of
qscintilla) already installed, than I don't need to
recompile it when --option binary-caches "" is used for qscintilla?
2014-12-01 11:34 GMT+01:00 Domen Kožar :
> $ rm result
> $ nix-store --delete /nix/store/kycs9akg1h70wj
No, not everything is working. -K option didn't trigger. Here are last
lines of build log
building install_features
install -m 644 -p
/tmp/nix-build-qscintilla-2.8.3.drv-0/QScintilla-gpl-2.8.3/Qt4Qt5/features/qscintilla2.prf
/nix/store/kycs9akg1h70wjm0p4cg9cc384ccrfy7-qscintilla-2.8.3/share/qt/mk
Hi, Wout!
> yup, NixOps fits the bill, but I'm not sure what you mean with being bound
> to the host's physical adapter.
> When you deploy virtualboxes with NixOps it gives the VM 2 interfaces: One
> host-local and one on vboxnet0. If you want a different setup you'll have to
> tweak nixops here:
It only keeps folders if the build failed. If you want to debug the build
process, use "nix-shell '' -A qscintilla" and go through the build
phases (unpackPhase, cd dir, patchPhase, configurePhase, buildPhase,
installPhase).
See also
http://lethalman.blogspot.com/2014/08/nix-pill-10-developing-wit
> On Mon, Dec 1, 2014 at 11:21 AM, Domen Kožar wrote:
>
>> nix-build --option binary-caches ""
Rob Vermaas writes:
> Or use (taken from 'man nix.conf'):
>
>build-use-substitutes
>If set to true (default), Nix will use binary substitutes if
> available. This option can be dis
Hi everyone,
I'm having an issue with the Julia Nix-expression[1]. I am trying to use it
together with the Julia package PyPlot[2] to plot figures with matplotlib. If I
try it in the command-line interface, then no plots show up. I only get a
textual representation of the figure objects. Howeve
Dear all,
I know that this has been asked before, but I am still having problems to
get ghc-mod in emacs to work right with under nixos.
I want the ghc-mod process to pick up the 'default.nix' file which is
sitting in my projects directory. When I do run 'nix-shell --pure --command
ghc-modi' thin
>I'm having an issue with the Julia Nix-expression[1]. I am trying to use it
>together with the Julia package PyPlot[2] to plot figures with matplotlib. If
>I try it in the command-line interface, then no plots show up. I only get a
>textual representation of the figure objects. However, when I
> Personally, I use Julia wrong (general purpose data crunching, little
> enough plotting to just use gnuplot).
Nothing wrong with that. ;)
> I currently lack time for learning it, but I guess I could do some quick
> strace-ing if given a step-by step instruction (doing X expected Y
> observed Z
1. des. 2014 15:04 skrev "Andreas Herrmann" følgende:
>
> Hi everyone,
>
> I'm having an issue with the Julia Nix-expression[1]. I am trying to use
it together with the Julia package PyPlot[2] to plot figures with
matplotlib. If I try it in the command-line interface, then no plots show
up.
Might
> Paul Koerbitz writes:
> I want the ghc-mod process to pick up the 'default.nix' file which is
> sitting in my projects directory. When I do run 'nix-shell --pure --command
> ghc-modi' things work fine. However, the ghc-mod process started from emacs
> runs in the global environment and does
Hi all,
a couple weeks ago I was trying to package the haskell music-suite for
nix. I stopped for a few weeks to let the mantainer fix some problems
with bounds on dependencies. However, when starting to package again
today, I found an unexpected problem.
Let's say I'm packaging up music-dynamics-
On Mon, Dec 1, 2014 at 6:44 PM, John Wiegley wrote:
>
> I run Emacs from within the nix-shell environment.
>
>
I've thought of this too, but I usually have emacs running several days,
working on multiple projects, so it's not really ideal for me.
But thanks to your input, I've come up with putti
Could someone please enlighten me as to how to properly use nix-shell
to build qt5?
I'm trying to create a patch for Qt that makes QSettings use
XDG_DATA_DIRS instead of hardcoded paths (with the ultimate goal of
getting lxqt into nixpkgs). I have not been able to get the qt5
package to configure
Most probably related to https://github.com/NixOS/nixpkgs/issues/4500
On Mon, Dec 1, 2014 at 6:19 PM, Bjørn Forsman
wrote:
>
> 1. des. 2014 15:04 skrev "Andreas Herrmann" følgende:
> >
> > Hi everyone,
> >
> > I'm having an issue with the Julia Nix-expression[1]. I am trying to use
> it togethe
Thanks Wout, that worked.
On Mon, Dec 1, 2014 at 10:10 PM, Wout Mertens wrote:
> Try adding --pure to the nix-shell invocation?
>
> On Mon, Dec 1, 2014, 20:33 Ellis Whitehead
> wrote:
>>
>> Could someone please enlighten me as to how to properly use nix-shell
>> to build qt5?
>>
>> I'm trying to
Hi! Today I found a bug which I haven't seen before.
I have default.nix containing information about my haskell project.
% nix-shell #where default.nix is
nix-shell % cabal configure
nix-shell % cabal build
: cannot satisfy -package-id
hdaemonize-0.5.0.0-7d163e489b83246c9dc17a04ec7b1020:
hdaem
>
> On Sun, Nov 30, 2014 at 9:29 PM, Arseniy Seroka
> wrote:
> > Hello!
> > I want to do smth like
> > `if networking.name = "foo"
> > then writeFile "/home/user/.dorfile"
> > else if networking.name = "bar" then ...`.
> What do you mean by networking.name, are you referring to the NixOS
>
>julia> pygui(:qt); using PyPlot
Haven't yet launched X since your last email, but have you tried
pygui(:wx)?
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev
25 matches
Mail list logo