Re: [Nix-dev] (no subject)

2017-07-03 Thread Alexey Shmalko
Stephan Sahm  writes:

> that should in fact not be the mistake, I followed the tutorial on 
> kwin-tiling step by step

From https://github.com/faho/kwin-tiling#installation:
> git clone https://github.com/faho/kwin-tiling.git
> cd kwin-tiling/
> plasmapkg2 --type kwinscript -i .

It very much looks like you have missed the next command:
cd kwin-tiling/

The issue does not look Nix-related, so if that does not help, I
recommend opening an issue/question at the kwin-tiling repo.


signature.asc
Description: PGP signature
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] (no subject)

2017-07-03 Thread Stephan Sahm
thanks for your answer!

that should in fact not be the mistake, I followed the tutorial on
kwin-tiling step by step

On Mon, Jul 3, 2017 at 9:13 AM Alexey Shmalko  wrote:

> Stephan Sahm  writes:
>
> > $ plasmapkg2 --type kwinscript -i .
> >
> > Package type "KWin/Script" not found No metadata file in package
> "/home/demo" "/home/demo/" Error: Installation of /home/demo failed: No
> metadata file in package: /home/demo
>
> I am not a KWin user and have no idea what you're doing, but it looks
> like you're running the command in your home directory and it expects to
> be ran in another place. (Perhaps the root of the package you're trying
> to install.)
>
> Hope this helps,
> Alexey
>
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] (no subject)

2017-07-03 Thread Alexey Shmalko
Stephan Sahm  writes:

> $ plasmapkg2 --type kwinscript -i . 
>
> Package type "KWin/Script" not found No metadata file in package "/home/demo" 
> "/home/demo/" Error: Installation of /home/demo failed: No metadata file in 
> package: /home/demo

I am not a KWin user and have no idea what you're doing, but it looks
like you're running the command in your home directory and it expects to
be ran in another place. (Perhaps the root of the package you're trying
to install.)

Hope this helps,
Alexey


signature.asc
Description: PGP signature
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-dev


[Nix-dev] (no subject)

2017-07-02 Thread Stephan Sahm
Dear NixOS followers,

I just installed the nixOS virtualbox from
https://d3g5gsiof5omrk.cloudfront.net/nixos/17.03/nixos-17.03.1449.2e983f14f6/nixos-17.03.1449.2e983f14f6-x86_64-linux.ova
and tried to install Plamsa5 tiling https://github.com/faho/kwin-tiling
I cloned the repository as described (successfully installed git for this)
and then run the command below, which however breaks with an error which I
could not spot anywhere on the web.

Could you help? I here from so many that they use nixos without crucial
problems, so I guess this can also be solved easily?

$ plasmapkg2 --type kwinscript -i .

Package type "KWin/Script" not found No metadata file in package
"/home/demo" "/home/demo/" Error: Installation of /home/demo failed: No
metadata file in package: /home/demo

Any help is highly appreciated,
thanks a lot,
Stephan
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-dev


[Nix-dev] (no subject)

2016-02-24 Thread stewart mackenzie
Hello all,

I'm trying to get this working.

[stewart@rivergod:~/dev/fractalide/dmichiels/fractalide]$
./result/bin/development_test
thread '' panicked at 'called `Result::unwrap()` on an `Err`
value: "SDL error: Failed loading libGL.so.1: dlopen: cannot load any
more object with static TLS"', src/libcore/result.rs:688

The code make use of opengl (github.com/PistonDevelopers/conrod) in
one of the components which is a shared library.
I need to get libGL.so.1 patched in.

what is wrong with the below code:

---
{ stdenv, buildFractalideComponent, filterContracts, genName, upkeepers
  , mesa
  , xlibs
  , SDL2
  , freetype
, ...}:

buildFractalideComponent rec {
  name = genName ./.;
  src = ./.;
  filteredContracts = filterContracts ["maths_boolean"];
  depsSha256 = "1n171w4npvn96fanfdilf0na18vfibybkyiq0zrvas6ak1c3r47k";
  buildInputs = with xlibs; [ freetype SDL2 mesa ];
  patchElf = with xlibs; ''
patchelf --set-interpreter $(cat $NIX_CC/nix-support/dynamic-linker) \
 --set-rpath
/run/opengl-driver/lib:${stdenv.cc.cc}/lib:${stdenv.cc.libc}/lib:${xlibs.libX11}/lib:${xlibs.libXext}/lib:${mesa}/lib:${libX11}/lib:${SDL2}/lib:${freetype}/lib
$out/lib/libcomponent.so
   '';
}

Thanks in advance

/sjm
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev