Keycloak: Difference between revisions
imported>Vater mNo edit summary |
imported>Vater No edit summary |
||
Line 17: | Line 17: | ||
; problem: | ; problem: | ||
: < | : <syntaxhighlight lang="bash">nixos-rebuild switch</syntaxhighlight> | ||
< | <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 | ||
</ | </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]]). | ||
: < | : <syntaxhighlight lang="bash">nano /etc/nixos/configuration.nix</syntaxhighlight> | ||
< | <syntaxhighlight lang="nix"> | ||
{ config, pkgs, ... }: | { config, pkgs, ... }: | ||
{ | { | ||
</ | </syntaxhighlight> | ||
< | <syntaxhighlight lang="nix"></syntaxhighlight> | ||
< | <syntaxhighlight lang="nix"> | ||
environment.noXlibs = false; | environment.noXlibs = false; | ||
</ | </syntaxhighlight> | ||
< | <syntaxhighlight lang="nix"></syntaxhighlight> | ||
< | <syntaxhighlight lang="nix"> | ||
} | } | ||
</ | </syntaxhighlight> | ||
: < | : <syntaxhighlight lang="bash">nixos-rebuild switch</syntaxhighlight> | ||
< | <syntaxhighlight lang="bash"></syntaxhighlight> | ||
</ | |||
== References == | == References == | ||
<references /> | <references /> |