Re: Blender has no denoiser

2022-04-16 Thread Haider Mirza
I ended up sending out a bug-report and giving my (almost working) 
packaged version of the dependancy to the epic people there.

Thank you for replying though.

Best of luck,
Haider


Re: Blender has no denoiser

2022-04-16 Thread raingloom
On Sat, 16 Apr 2022 18:30:19 +
Ekaitz Zarraga  wrote:

> Hi,
> 
> --- Original Message ---
> On Saturday, April 16th, 2022 at 6:29 PM, Haider Mirza
>  wrote:
> 
> 
> > The Guix installation of Blender has no denoiser.
> > Blender's compositor says that Blender is compiled without
> > "OpenImageDenoise"
> >
> > Last time I checked OIDN (OpenImageDenoise) is free software and
> > all it's dependancies are also.
> > I tried to packaged OIDN but it just ended up being a massive pain
> > and It's depenadancy (ispc) just refused to compile.
> > Can you suggest some sort of solution (The IRC has no answers)
> > --
> > Haider Mirza via Emacs on a GNU/Linux system  
> 
> I had a similar issue in the past with blender, it was missing a
> dependency and I had to package it myself. It is what it is.
> Sometimes you need to package this kind of software, it's full of
> compilation errors and so on. The only thing we can do is to help you
> package it. Can you share the package you developed?
> 

It was already sent in the CC'd issue. I think it's best to continue
the discussion there, instead of forking it onto two lists.



Re: Nix on Guix?

2022-04-16 Thread Benjamin Slade
Thanks, Petr. I did add and update channels. I wonder if it's something simple, 
like needing to restart the system after installing Nix? I'll try again.


Re: Blender has no denoiser

2022-04-16 Thread Ekaitz Zarraga
Hi,

--- Original Message ---
On Saturday, April 16th, 2022 at 6:29 PM, Haider Mirza  wrote:


> The Guix installation of Blender has no denoiser.
> Blender's compositor says that Blender is compiled without
> "OpenImageDenoise"
>
> Last time I checked OIDN (OpenImageDenoise) is free software and
> all it's dependancies are also.
> I tried to packaged OIDN but it just ended up being a massive pain
> and It's depenadancy (ispc) just refused to compile.
> Can you suggest some sort of solution (The IRC has no answers)
> --
> Haider Mirza via Emacs on a GNU/Linux system

I had a similar issue in the past with blender, it was missing a dependency and 
I had to package it myself. It is what it is. Sometimes you need to package 
this kind of software, it's full of compilation errors and so on. The only 
thing we can do is to help you package it.
Can you share the package you developed?



Re: Nix on Guix?

2022-04-16 Thread phodina via
Hi,

Hello Guix,
I'm trying to get the Nix package manager running on Guix. I followed the 
instructions at: 
 and 
successfully installed it, but trying to install and/or run any Nix 
applications gives me permission errors.
I installed for the 'guix-system'; should I have installed for 'guix-user'? Or 
do I need to add my user to some Nix-related group? Or have I done something 
else wrong?
best,
—Ben

I have nix-service running when I build my guix system and then I just run the 
following:

nix-channel --add https://nixos.org/channels/nixos-unstable
nix-channel --update

Petr

Re: stumpwm on guix - "sb-cltl2" issues

2022-04-16 Thread Guillaume Le Vaillant
Benjamin Slade  skribis:

> I'm trying to run my long-standing stumpwm init.lisp on a recent Guix install,
> using the packaged stumpwm, however when it launches, it fails to process the
> init.lisp and gives me an "Don't know how to REQUIRE sb-cltl2." error.
>
> I've set the SBCL_HOME variable both in .xprofile and in the init.lisp itself 
> [via `(sb-posix:putenv "SBCL_HOME=/run/current-system/profile/lib/sbcl/")' ], 
> but this doesn't seem to help.
>
> Is there a good way around this? (On my other system I just compile stumpwm 
> from source and install; I don't know if that makes a difference here.)
>
>  —Ben

Instead of setting SBCL_HOME, could you try adding something like
'(push "/path/to/lib/sbcl/contrib/" asdf:*central-registry*)'
at the beginning of your "init.lisp" file?

As stumpwm doesn't use the sb-cltl2 contrib, it is not included in the
stumpwm compiled binary. But telling ASDF where it can find it and then
using '(asdf:load-system :sb-cltl2)' or '(require :sb-cltl2)' should
work.
If it doesn't, you could also try loading it directly with
'(load "/path/to/lib/sbcl/contrib/sb-cltl2.fasl")'.


signature.asc
Description: PGP signature


stumpwm on guix - "sb-cltl2" issues

2022-04-16 Thread Benjamin Slade
I'm trying to run my long-standing stumpwm init.lisp on a recent Guix install, 
using the packaged stumpwm, however when it launches, it fails to process the 
init.lisp and gives me an "Don't know how to REQUIRE sb-cltl2." error.

I've set the SBCL_HOME variable both in .xprofile and in the init.lisp itself 
[via `(sb-posix:putenv "SBCL_HOME=/run/current-system/profile/lib/sbcl/")' ], 
but this doesn't seem to help.

Is there a good way around this? (On my other system I just compile stumpwm 
from source and install; I don't know if that makes a difference here.)

 —Ben


Nix on Guix?

2022-04-16 Thread Benjamin Slade
Hello Guix,

I'm trying to get the Nix package manager running on Guix. I followed the 
instructions at: 
 and 
successfully installed it, but trying to install and/or run any Nix 
applications gives me permission errors.

I installed for the 'guix-system'; should I have installed for 'guix-user'? Or 
do I need to add my user to some Nix-related group? Or have I done something 
else wrong?

best,
 —Ben


Blender has no denoiser

2022-04-16 Thread Haider Mirza

The Guix installation of Blender has no denoiser.
Blender's compositor says that Blender is compiled without 
"OpenImageDenoise"


Last time I checked OIDN (OpenImageDenoise) is free software and 
all it's dependancies are also.
I tried to packaged OIDN but it just ended up being a massive pain 
and It's depenadancy (ispc) just refused to compile.

Can you suggest some sort of solution (The IRC has no answers)

--
Haider Mirza via Emacs on a GNU/Linux system


Re: How to prevent incomplete build results from being garbage collected?

2022-04-16 Thread James Thomas
Mykola Nikishov wrote:

> Hi there,
>
> I'm trying to build a package that fails. In the meantime, I'd like to
> reclaim some disk space by collecting garbage. After that, all build
> results for such package are gone and rebuilding it next time just
> wastes bandwidth and CPU cycles by re-downloading and re-building the
> same stuff:
>
> #+begin_example
>   guix build 
>   guix gc
>   guix build 
> #+end_example
>
> Using --root=FILE with guix build does not help, I suppose it would help
> only for successful build.
>
> How could I retain build results regardless if build was successful or
> not?

I guess you meant 'dependencies' where you said 'results'. So maybe run:

guix shell -D  -r 

...once to keep a profile with the dependencies registered as a root.

--