Keycloak: Difference between revisions

imported>Vater
mNo edit summary
imported>Vater
No edit summary
Line 17: Line 17:
; problem:
; problem:


: <code>nixos-rebuild switch</code>
: <syntaxhighlight lang="bash">nixos-rebuild switch</syntaxhighlight>
<pre>
<syntaxhighlight lang="bash">
building Nix...
building Nix...
building the system configuration...
building the system configuration...
Line 189: Line 189:
cannot build derivation '/nix/store/vfzd5z4fn1k6q46bv7lbk4yqhzfqg2a0-nixos-system-nixos-21.11pre322478.e4ef597edfd.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/vfzd5z4fn1k6q46bv7lbk4yqhzfqg2a0-nixos-system-nixos-21.11pre322478.e4ef597edfd.drv': 1 dependencies couldn't be built
error: build of '/nix/store/vfzd5z4fn1k6q46bv7lbk4yqhzfqg2a0-nixos-system-nixos-21.11pre322478.e4ef597edfd.drv' failed
error: build of '/nix/store/vfzd5z4fn1k6q46bv7lbk4yqhzfqg2a0-nixos-system-nixos-21.11pre322478.e4ef597edfd.drv' failed
</pre>
</syntaxhighlight>


; solution:
; solution:
Line 195: Line 195:
Probably you should not have a need for libraries for [[X]] on a system that just provides a service for [[IdM]] (like [[Keycloak]]).
Probably you should not have a need for libraries for [[X]] on a system that just provides a service for [[IdM]] (like [[Keycloak]]).


: <code>nano /etc/nixos/configuration.nix</code>
: <syntaxhighlight lang="bash">nano /etc/nixos/configuration.nix</syntaxhighlight>
<pre>
<syntaxhighlight lang="nix">
{ config, pkgs, ... }:
{ config, pkgs, ... }:


{
{
</pre>
</syntaxhighlight>
<pre></pre>
<syntaxhighlight lang="nix"></syntaxhighlight>
<pre>
<syntaxhighlight lang="nix">
   environment.noXlibs = false;
   environment.noXlibs = false;
</pre>
</syntaxhighlight>
<pre></pre>
<syntaxhighlight lang="nix"></syntaxhighlight>
<pre>
<syntaxhighlight lang="nix">
}
}
</pre>
</syntaxhighlight>


: <code>nixos-rebuild switch</code>
: <syntaxhighlight lang="bash">nixos-rebuild switch</syntaxhighlight>
<pre>
<syntaxhighlight lang="bash"></syntaxhighlight>
</pre>


== References ==
== References ==
<references />
<references />