<{^_^}>
[nixpkgs] @pacien opened pull request #63752 → nixos/cgit: fix config example → https://git.io/fjrOJ
<ToxicFrog>
Does Hydra not build google-chrome? It's in the package list, but telling nixos-rebuild to install it is trying to build from source, which is going to take all night
<ToxicFrog>
And I can't find an entry for it on Hydra
<samueldr>
google-chrome uses the upstream google binary
<samueldr>
so it "builds" from the source, which is the binary
<ToxicFrog>
It's building qtwebkit and qtwebengine, at least one of which contains a complete copy of chromium
<samueldr>
that sounds plausible
<ToxicFrog>
Hence why all the terminal output looked like it was building chrome
<samueldr>
was about to say "right", but it's not exactly right, is it? :)
niksnut has quit [Ping timeout: 272 seconds]
<ToxicFrog>
I do wonder why it needs those.
<ToxicFrog>
Is there any convenient way to get a dependency tree out of configuration.nix?
<samueldr>
hrm, I only know how to do it from a built system :/
<samueldr>
or at least, nix why-depends should be a good start
<ToxicFrog>
I mean, this is an in-place update of a built system, so that might be enough
<ToxicFrog>
I didn't know about nix why-depends
<ToxicFrog>
Oh, but that requires me to have some idea what depends on it
<samueldr>
(read its --help) sometimes --all is necessary to better understand the dependencies
<ToxicFrog>
Ok, it looks like digikam depends on qtwebkit, at least
<ToxicFrog>
(also wow the UI of `nix` is so much nicer than `nixos-rebuild`)
zachk has quit [Quit: Leaving]
kvda has joined #nixos
niksnut has joined #nixos
fusion809 has quit [Remote host closed the connection]
romanofski has joined #nixos
<mla>
is there something i can throw in my configuration.nix to automatically run a command on boot, e.g. i want to change the permissions of a /sys/ filesystem device to be my user; like chown -R myuser /sys/class/backlight/intel_backlight/brightness
<mla>
i suppose a systemd service would work - but is there just some extra config variable i could inline the command to in configuration.nix
<{^_^}>
[nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fjrO8
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
<mla>
ToxicFrog: awesome exactly what i was looking for
alex```` has joined #nixos
ris has quit [Ping timeout: 260 seconds]
<romanofski>
I wanted to ask if peeps have found a good way to use a nix shell with multiple local Python dependencies all being instealled as editable instead of just the one in the current directory? (found https://github.com/knedlsepp/nix-shell-for-python-multi-project-repos but it doesn't work)
alex``` has quit [Ping timeout: 246 seconds]
jluttine has joined #nixos
ddellacosta has joined #nixos
orivej has quit [Ping timeout: 252 seconds]
ddellacosta has quit [Ping timeout: 258 seconds]
ddellacosta has joined #nixos
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alex```` has quit [Ping timeout: 252 seconds]
nixy is now known as Guest96420
kvda has joined #nixos
alex```` has joined #nixos
alex`` has joined #nixos
alex```` has quit [Ping timeout: 252 seconds]
sheeldotme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Synthetica has quit [Quit: Connection closed for inactivity]
psy3497 has joined #nixos
alex`` has quit [Ping timeout: 246 seconds]
<{^_^}>
[nixpkgs] @lightbulbjim opened pull request #63755 → freeciv_gtk: use gtk3 → https://git.io/fjrOA
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<mac10688>
I'm really confused on how to use purescript with nixos. Justin Woo has a github account but it's not clear to me plus he seems to be importing things that I don't care for. I can't tell. Does anyone know, what's an easy way to get going with purescript even if it's not the nix way?
qubasa has joined #nixos
<mac10688>
I don't think purescript is ready to be used via mainstream nix packaging manager
<{^_^}>
[nixpkgs] @arcnmx opened pull request #63759 → rls: fix darwin build → https://git.io/fjrsK
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
Drakonis has joined #nixos
Drakonis has quit [Read error: Connection reset by peer]
domogled has joined #nixos
Lears has joined #nixos
<Notkea[m]>
how can I merge multiple attribute sets like what's done when importing modules? I'm not sure whether recursiveUpdate merges lists instead of overwriting them
Okinan has quit [Quit: Konversation terminated!]
<clever>
Notkea[m]: you want mkMerge
noonien has quit [Read error: Connection reset by peer]
noonien has joined #nixos
<Notkea[m]>
indeed, thank you
alex`` has quit [Ping timeout: 272 seconds]
alex`` has joined #nixos
mac10688 has quit [Ping timeout: 245 seconds]
reinhardt has joined #nixos
domogled has quit [Ping timeout: 245 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
ericsagnes has quit [Ping timeout: 252 seconds]
reinhardt has quit [Quit: Leaving]
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Ping timeout: 245 seconds]
ericsagnes has joined #nixos
wfranzini has quit [Remote host closed the connection]
vmandela has joined #nixos
<{^_^}>
[nixpkgs] @peterhoeg opened pull request #63760 → freeciv_qt: init at 2.6.0 → https://git.io/fjrGl
jkachmar has quit [Quit: Connection closed for inactivity]
kvda has joined #nixos
ajirx has joined #nixos
xkapastel has quit [Quit: Connection closed for inactivity]
<tdeo>
is there any way to clear the cached `builtins.fetchGit` downloads manually?
<tdeo>
as in, without a hask
<tdeo>
hash
m0rphism has joined #nixos
mexisme_ has quit [Ping timeout: 258 seconds]
gratto has joined #nixos
kvaster_ has joined #nixos
mexisme_ has joined #nixos
palo1 has joined #nixos
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
palo has quit [Ping timeout: 248 seconds]
palo1 is now known as palo
kvda has joined #nixos
ajirx has quit [Ping timeout: 268 seconds]
ddellacosta has quit [Ping timeout: 258 seconds]
Synthetica has joined #nixos
<Synthetica>
When trying to build a haskell project that depends on JuicyPixels with `cabal new-build`, I get `<command line>: can't load .so/.DLL for: libz.so (libz.so: cannot open shared object file: No such file or directory)` even though I have `buildInputs = with pkgs; [ zlib zlib.dev ];` in my `shell.nix`
<Synthetica>
Any pointers?
mexisme_ has quit [Ping timeout: 272 seconds]
ajirx has joined #nixos
veske2 has joined #nixos
mexisme_ has joined #nixos
dansho has joined #nixos
mexisme_ has quit [Ping timeout: 258 seconds]
<Synthetica>
Okay wtf
<Synthetica>
When I specify "brittany" as a dependency in my .cabal, nix-shell works but cabal new-build doesn't and when I don't vice-versa
<Synthetica>
What is this sorcery
ajirx has quit [Remote host closed the connection]
<Synthetica>
So if I comment the brittany dependency, run nix-shell, and then uncomment and cabal new-build, it works
<teto>
I am trying to use the haskell package c2hsc whose tests fail miserably with "Cannot find executable '/usr/bin/gcc'". any idea if setting gcc path is not a standard cabal setting
<{^_^}>
[nixpkgs] @thefloweringash opened pull request #63763 → prometheus-node-exporter: 0.17.0 -> 0.18.1; set version information → https://git.io/fjrnr
veske2 has quit [Quit: This computer has gone to sleep]
veske2 has joined #nixos
hyper_ch2 has quit [Remote host closed the connection]
hyper_ch2 has joined #nixos
anon has joined #nixos
logzet has joined #nixos
anon is now known as Guest41773
civodul has joined #nixos
cfricke has quit [Quit: WeeChat 2.5]
hyper_ch2 has quit [Remote host closed the connection]
hyper_ch2 has joined #nixos
arjen-jonathan has joined #nixos
ajirx has quit [Remote host closed the connection]
ajirx has joined #nixos
ThatDocsLady has joined #nixos
arjen-jonathan has quit [Ping timeout: 252 seconds]
Swant has quit [Ping timeout: 608 seconds]
veske2 has quit [Quit: This computer has gone to sleep]
ajirx has quit [Remote host closed the connection]
ajirx has joined #nixos
ajirx has quit [Client Quit]
_d0t has joined #nixos
<_d0t>
Hi! Could you guys tell me which package gsettings belongs to?
<_d0t>
command-not-found says it's glib, but it's actually not
<gyroninja___>
I'm on unstable and after doing a nixos-rebuild switch --upgrade it gave me this warning "Warning: the new NixOS configuration has an ‘init’ that is incompatible with the current configuration. The new configuration"
<gyroninja___>
Do I need to do something manually to fix this, or will it be resolved the next time I restart
<etu>
_d0t: realpath $(which gsettings)
<_d0t>
etu: I don't actually have it anywhere in my $PATH
<etu>
oh
<etu>
,locate bin gsettings
<{^_^}>
Found in packages: glib.bin
<_d0t>
that was easy!
<_d0t>
thanks!
<Izorkin>
etu: checked pr?)
<etu>
Izorkin: I started looking at it, there's a lot of things to test
<Izorkin>
ok
<etu>
Izorkin: But I'm thinking it should be fine. But I want to check a few more things first :)
Guanin has joined #nixos
knupfer has joined #nixos
kvaster_ has joined #nixos
ilmu has quit [Ping timeout: 252 seconds]
day|flip has quit [Remote host closed the connection]
ilmu has joined #nixos
<balsoft[m]>
gchristensen: sorry to bother you again, but the problem with "curl error: Timeout was reached" is back
<balsoft[m]>
This is probably not related directly to cache.nixos.org, because fetching from GitHub fails with the same error
<etu>
I know that I don't (yet, planning on it)... But there should be people using it...
<etu>
v88m: nix-info ?
alex`` has joined #nixos
arjen-jonathan has joined #nixos
<etu>
v88m: oh, can you boot an older generation?
<v88m>
I suspect grub 2.04-rc1
<v88m>
No, grub fails with error: symbol 'grub_file_filters' not found before i generations can be selected
<jasongrossman>
I use zfs on unstable.
<jasongrossman>
But not with grub - sorry.
orivej has joined #nixos
elibrokeit has quit [Quit: A random quit message]
<v88m>
I can repair the system and boot on stable
ajirx has quit [Remote host closed the connection]
elibrokeit has joined #nixos
<v88m>
Will report a bug, thanx!
MmeQuignon has joined #nixos
<adisbladis>
Anyone with experience with pypi2nix? I'm wondering what to do when generation fails and cant be fixed by just adding extra packages.
MmeQuignon has quit [Read error: Connection reset by peer]
gratto has joined #nixos
_d0t has quit [Ping timeout: 258 seconds]
hyper_ch2 has quit [Remote host closed the connection]
hyper_ch2 has joined #nixos
fendor has joined #nixos
Anton-Latukha has joined #nixos
gratto has quit [Ping timeout: 252 seconds]
gratto has joined #nixos
sigmundv has joined #nixos
arjen-jonathan has quit [Ping timeout: 245 seconds]
<Guanin>
I just completed my second (and way more complex) test for #63165 - and I have to say that working with NixOS is a blessing. It's really simple to just create multiple nodes and do stuff with them :) Also regarding that PR: Should I squash the last two commits?
hyper_ch2 has quit [Remote host closed the connection]
thc202 has joined #nixos
v88m has quit [Quit: Quit]
v88m has joined #nixos
johanot has quit [Ping timeout: 248 seconds]
johanot has joined #nixos
arjen-jonathan has joined #nixos
ajirx has joined #nixos
<nh2>
doesn't nix usually print it when it downloads a `NIX_PATH=nixpkgs=https://github.com/.../archive/abc123.tar.gz`? We have one system where it doesn't and just silently downloads
hyper_ch2 has joined #nixos
hyper_ch2 has quit [Remote host closed the connection]
hyper_ch2 has joined #nixos
polman has quit [Ping timeout: 244 seconds]
polman has joined #nixos
polmaan has quit [Ping timeout: 248 seconds]
<chrisaw>
Does anyone else have issues getting gdm to start with displayManager.gdm.wayland = false and using nvidia drivers?
veske has joined #nixos
<{^_^}>
[nixpkgs] @domenkozar pushed to backport-systemd-boot-configurationLimit « Add configurationLimit to systemd-boot to prevent running out of disk space »: https://git.io/fjrW0
<{^_^}>
[nixpkgs] @domenkozar opened pull request #63766 → Add configurationLimit to systemd-boot to prevent running out of disk… → https://git.io/fjrWu
hyper_ch2 has quit [Remote host closed the connection]
hyper_ch2 has joined #nixos
ajirx has quit [Remote host closed the connection]
<chrisaw>
Disregard - I had set busId values wrong for both intel and nvidia cards on my Optiu
<chrisaw>
*Optimus config
ajirx has joined #nixos
hyper_ch2 has quit [Remote host closed the connection]
hyper_ch2 has joined #nixos
polman has joined #nixos
polmaan has joined #nixos
hyper_ch2 has quit [Remote host closed the connection]
<nh2>
we observe that the `curl` seems to default to HTTP/2 also when downloading .nars from cache.nixos.org. Passing --http1.1 forces it to not do that
<nh2>
maybe the docs at https://curl.haxx.se/libcurl/c/libcurl-env.html are wrong (they say "You have to set this option if you want to use libcurl's HTTP/2 support.", but maybe it's on by default)
lem0n4de has joined #nixos
jackdk has quit [Quit: Connection closed for inactivity]
<sg2002>
Hello. Are there any plans for getting KDE to work again on 32 bit machines? I see this bug's been open for more than a year: https://github.com/NixOS/nixpkgs/issues/36947
<{^_^}>
#36947 (by dtzWill, 1 year ago, open): libgcc_s is from bootstrap tools??
Soo_Slow has joined #nixos
<sphalerite>
sg2002: no particular plans I suspect, but if you have a fix for it a PR would probably be accepted.
<gchristensen>
FYI: ofborg evaluations was down for a few hours (4:30am my time to 7:30am my time) because I forgot to update a credit card :x it is back online now
<sphalerite>
lol nice
<etu>
sg2002: I don't have numbers, but based on that other distros are dropping i686 support, I'd assume that i686 usage of NixOS is low as well... And hand in hand with usage goes people willing to put time into fixing things :)
<sg2002>
sphalerite: I could probably volunteer, but this seems like a really messy issue that requires some massive changes to the way nixos builds stuff and I simply have no idea where to even start. Wish someone would at least give me some guidance.
<sphalerite>
dtz presumably knows some things
<sphalerite>
(I don't)
<sg2002>
etu: Yeah I know, but nixos is a pretty good fit for old machines that you don't use much, since it saves so much time on administrating them.
<sg2002>
dtz: Hey, i'm stuck with that kde on i686 issue. Can you maybe help me with trying to understand what has to be fixed to get it working agian?
hyper_ch2 has quit [Remote host closed the connection]
ericsagnes has quit [Ping timeout: 248 seconds]
<{^_^}>
[nixpkgs] @domenkozar pushed to backport-systemd-boot-configurationLimit « Add configurationLimit to systemd-boot to prevent running out of disk space »: https://git.io/fjr8S
<{^_^}>
[nixpkgs] @domenkozar pushed to master « duplicati: allow changing the user »: https://git.io/fjr87
<{^_^}>
#36948 (by dtzWill, 1 year ago, merged): glibc: don't use bootstrap libgcc_s
dansho has quit [Ping timeout: 252 seconds]
dansho has joined #nixos
<sg2002>
woffs: Yep that's what I meant. Was there no movement after that?
<woffs>
apparently
cfricke has quit [Ping timeout: 272 seconds]
<woffs>
i686, you know
vmandela has quit [Quit: Leaving]
cfricke has joined #nixos
ericsagnes has joined #nixos
<{^_^}>
[nixpkgs] @domenkozar pushed to release-19.03 « duplicati: allow changing the user »: https://git.io/fjr4J
tmaekawa has joined #nixos
<sg2002>
woffs: If I'm understanding correctly a proper fix for this bug would also improve package structure of nixos, so there's a small additional benefit.
<woffs>
sg2002: yeah, but someone has to do it and to fix the remaining issues
<{^_^}>
[nixpkgs] @domenkozar pushed to backport-systemd-boot-configurationLimit « Add configurationLimit to systemd-boot to prevent running out of disk space »: https://git.io/fjrBq
xkapastel has quit [Quit: Connection closed for inactivity]
ddellacosta has joined #nixos
leotaku has quit [Ping timeout: 268 seconds]
vmandela has joined #nixos
MmeQuignon has joined #nixos
pepegar has joined #nixos
<yorick>
what's the cause of file 'nar/c3sddz1p4r5r85a9zmd684i367zvz4b1.nar' does not exist in binary cache 'http://my.binary.cache' ?
o1lo01ol1o has joined #nixos
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
<pepegar>
Hi! I'm using gnupg agent in Nixos for handling all my gpg & ssh keys, but I have a question, is there a way to store password for keys in a keyring or something like that? do you have an alternative solution for that?
<pepegar>
Currently I have this: programs.gnupg.agent = {
<adisbladis>
pepegar: If you are running something like gnome-keyring in your session you'll get that
jeregrine has joined #nixos
gwen has joined #nixos
<gwen>
Aye aye, I've just seen that PLplot seems not to be packaged for NixOS (searching in the nixpkgs repository and on "Search NixOS packages" did not yield results). Is that correct?
<{^_^}>
[nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjrRO
<locallycompact>
Hi, when I try to build LinVST I get this error, but I have X11 libs installed globally
<locallycompact>
remotepluginclient.h:44:10: fatal error: X11/Xlib.h: No such file or directory
<locallycompact>
#include <X11/Xlib.h>
<Shoubit>
locallycompact, you don't install libraries globally with Nix (that would defeat the purpose of Nix), you'd have to enter a nix-shell to see the libraries.
<locallycompact>
oh ok
<locallycompact>
cool
u0_a54 has joined #nixos
<u0_a54>
ok
u0_a54 has quit [Client Quit]
<Shoubit>
locallycompact, basically, `nix-shell -p package` should expose it, and if it doesn't it's hopefully documented for your specific case on https://nixos.org/nixpkgs/manual/
domogled has joined #nixos
<Shoubit>
e.g. python.withPackages(ps: [ps.numpy ps.toolz]), and other "withPackages" helper functions
sg2002 has quit [Read error: Connection reset by peer]
sg2002 has joined #nixos
gwen has quit [Quit: Leaving]
<sphalerite>
pepegar: it should be storing the passwords/keys already
<{^_^}>
[nixpkgs] @flokli opened pull request #63773 → installation-device.nix: explain sshd usage, don't include clone-config → https://git.io/fjrRD
MmeQuignon has quit [Read error: Connection reset by peer]
<sphalerite>
,library locallycompact
<{^_^}>
locallycompact: Don't install libraries through nix-env or systemPackages, use nix-shell instead. See https://nixos.wiki/wiki/FAQ/Libraries for details.
<NinjaTrappeur>
clever, is your d-link router + antenna 802.11a-compatible (5ghz)? If so, you might be able to expend that quite a bit. My current nixos-powered router is able to deliver 140mbit in g mode (2.4Ghz)
<NinjaTrappeur>
You should be able to reach 800mbit in 5ghz
<clever>
NinjaTrappeur: the dlink router only has 100mbit ethernet ports, and the firmware is from 2005
user0 has quit [Remote host closed the connection]
user079 has joined #nixos
<clever>
NinjaTrappeur: its a laptop sized card, mini-pci-e
polman has joined #nixos
polmaan has joined #nixos
<clever>
but it also has regular pcie slots, so i can just ignore that
user079 has quit [Remote host closed the connection]
srid639080 has joined #nixos
srid63908 has quit [Ping timeout: 245 seconds]
<Neo-->
does anyone have issues with docker and docker-compose permissions? as root, it works as expected, but as a regular user I'm getting permission denied, despite having "docker" in extraGroups
<wucke13>
Neo--: Did you log out and login after adding the group?
<clever>
Neo--: run `id` to confirm what groups your in
<Neo-->
clever, well, 1000 is added but it doesn't have a label
<Neo-->
if docker still has a magic for 1000?
MmeQuignon has joined #nixos
<Neo-->
weird, it worked a couple of days back
<wucke13>
For me, "docker" is 131. 1000 should be "users".
<Neo-->
oh, my bad then!
<wucke13>
I would guess docker is a system group, so its GID will be below 1000
<{^_^}>
#56250 (by softinio, 17 weeks ago, open): vim-plugins: Added more vim plugins
<softinio>
about to go to work where I dont have irc access will monitor PR comments
arjen-jonathan has quit [Ping timeout: 248 seconds]
o1lo01ol1o has quit [Ping timeout: 272 seconds]
pepegar has quit [Remote host closed the connection]
pie_ has quit [Ping timeout: 268 seconds]
dansho has quit [Ping timeout: 245 seconds]
dansho has joined #nixos
sb0 has joined #nixos
peter has joined #nixos
peter is now known as elux
<elux>
hi
ThatDocsLady has quit [Ping timeout: 258 seconds]
<elux>
is there something wrong with qtbase-5.12.0 ?
<elux>
home-manager is failing to install it, fails to compile on home-manager switch --upgrade
<elux>
im not even sure which dep/pkg needs qtbase
wfranzini has quit [Ping timeout: 252 seconds]
<clever>
elux: nix gives you a stack trace when it fails, to say what depended on it
<slabity>
I deployed a system with NixOps as an EC2 instance, but it doesn't seem to have the correct information in my `configuration.nix`. It only has `ec2.hvm = true` - Is there something else that needs to be done to get this working?
<clever>
slabity: nixops will never touch configuration.nix
mac10688 has joined #nixos
<slabity>
clever: That explains that. But I'm pretty sure my configuration isn't taking affect. I enabled a service (gitea) but it doesn't seem to be running
<clever>
slabity: nixops will also ignore the remote configuration.nix file
<clever>
slabity: all services must be defined in the nixops deployment files
<elux>
i think nixos for servers is a great idea. but whats the point of nixops? is it a fork of nixos? ideally it would just be a simple cli tool, not related to nix at all, to execute the normal nixos setup..
<gchristensen>
it is a CLI tool for deploying nixos
<clever>
elux: nixops is a tool to auto-create hardware in the cloud, and deploy nixos to it in bulk
<elux>
and does it feel the same as nixos on desktop?
<slabity>
clever: Yea, I set it to enabled in my deployment file. But logging into the system shows that it's not running
ddellacosta has joined #nixos
<gchristensen>
if you want a simple CLI tool, you can just use nixos-rebuild to deploy
<clever>
slabity: did you check `systemctl status name.service` ?
<zfnmxt>
Trying to submit my first PR. Is `nix path-info -S` supposed to be run for modules as well...and, how, then? I just fixed a broken systemd unit file.
<Guest25435>
Could someone tell me where the logs generated by iptables go?
<gchristensen>
dmesg
fendor has quit [Ping timeout: 245 seconds]
<gchristensen>
and journalctl -f will show them
<clever>
which also lands in the journal
Guanin has left #nixos ["Leaving"]
<clever>
Guest25435: `journalctl -f -t kernel` will show dmesg logs
<{^_^}>
[nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjruB
<srhb>
zfnmxt: Personally I've never really done that, however it could be argued that checking the full system derivation size with/without the change is good practice (if sort of above-and-beyond) -- Did you add any path references to the unit? If not, you're probably fine. If yes, might be worth checking those. :)
drewr has quit [Remote host closed the connection]
<zfnmxt>
srhb: I literally just fixed whitespace :P
erasmas has joined #nixos
<srhb>
zfnmxt: I think you can relax, whitespace has very few dependencies. :-)
<zfnmxt>
But, it was causing the service to fail, so it was particularly bad whitespace!
<Miyu-saki>
Thanks. I guess my friend found the HN lol.
Lisanna has joined #nixos
<gchristensen>
this has existed for a long long time, heh, but was recently upgraded from md5 to sha1 on april 1
<nyanloutre[m]>
Hello I may have a problem with the dhcp client. When I do a `nixos-rebuild switch` it will get stuck with an APIPA address. However if I restart the dhcpd service it will get a public IP as it should.
Illya has left #nixos ["ERC (IRC client for Emacs 27.0.50)"]
srid639080 has quit [Ping timeout: 252 seconds]
civodul has quit [Ping timeout: 252 seconds]
fusion809_ has joined #nixos
fusion809 has quit [Ping timeout: 252 seconds]
orivej has joined #nixos
azdle has quit [Read error: Connection reset by peer]
trevorriles has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
MmeQuignon has joined #nixos
pie_ has joined #nixos
is_null has quit [Ping timeout: 245 seconds]
pie_ has quit [Remote host closed the connection]
pie_ has joined #nixos
pie_ has quit [Remote host closed the connection]
dsx has quit [Quit: dsx]
pie_ has joined #nixos
asheshambasta has joined #nixos
mexisme_ has joined #nixos
sheeldotme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dsx has joined #nixos
asheshambasta_m has joined #nixos
is_null has joined #nixos
sheeldotme has joined #nixos
mexisme_ has quit [Ping timeout: 248 seconds]
<noonien>
how can i override glibc for stdenv in a shell.nix?
<slabity>
I actually would like to know that answer as well.
<aveltras>
srhb: as in the application requires schema change
<srhb>
I let the application handle that.
<aveltras>
srhb: what are you using to execute the migrations ? some library for your language app ?
<srhb>
Yes, if possible.
linarcx has joined #nixos
<aveltras>
i see
<srhb>
If I have to manage it out-of-band I honestly go manual.
<srhb>
And cry a bit.
<aveltras>
:)
<aveltras>
i planned to use sqitch which is a standalone migration tool but letting the app run those migrations when restarting feels wrong
filedesless has quit [Quit: leaving]
linarcx has quit [Client Quit]
Soo_Slow has quit [Remote host closed the connection]
Swant has joined #nixos
asheshambasta has quit [Ping timeout: 258 seconds]
linarcx has joined #nixos
sheeldotme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
trevorriles has joined #nixos
viric has quit [Ping timeout: 272 seconds]
srl295 has joined #nixos
waleee-cl has joined #nixos
freeman42x has joined #nixos
polmaan has quit [Ping timeout: 244 seconds]
polman has quit [Ping timeout: 248 seconds]
Ariakenom has joined #nixos
stanibanani has joined #nixos
asheshambasta_m has quit [Quit: Leaving.]
<mac10688>
Hi all, I'm having issues with purescript package being broken. It was recommended that I downloaded a tarball version or a specific git revsion of it to "pin" it down. Does this sound like a correct approach?
<aveltras>
mac10688: seems it's usually the way to go with nix
polman has joined #nixos
polmaan has joined #nixos
is_null has quit [Ping timeout: 248 seconds]
ris has joined #nixos
is_null has joined #nixos
knupfer has quit [Ping timeout: 252 seconds]
arjen-jonathan has joined #nixos
mac10688 has quit [Ping timeout: 272 seconds]
stanibanani has left #nixos [#nixos]
Neo-- has joined #nixos
kvaster_ has joined #nixos
<devalot>
aveltras: What I do right now is have a systemd oneshot service that does the migrations, and all other application services depend on it.
jabranham has quit [Quit: ERC (IRC client for Emacs 27.0.50)]
xkapastel has quit [Quit: Connection closed for inactivity]
MmeQuignon has joined #nixos
detran has quit [Ping timeout: 258 seconds]
sheeldotme has joined #nixos
<devalot>
aveltras: Yes, mostly. I'm not sure about the RemainAfterExit bit, I don't do that because I believe systemd needs to see a oneshot server as stopping so other dependent services can start.
<aveltras>
i see, i'll have to investigate how systemd services work a bit more then, thanks for the input !
<georgyo>
I am trying to make a ntpsec package, everything is building, however the python modules don't end in the python search path for things like ntpq
<{^_^}>
systemd/systemd#12883 (by srhb, 2 minutes ago, open): Any number of newlines chomped after continuation
<srhb>
I can sort of see why it's reasonableish but I certainly don't think it was an intended change..
fendor_ has joined #nixos
<srhb>
(In fact, I'd prefer if newlines not followed by a backslash just ended the continuation period..
Uniaika has joined #nixos
<Uniaika>
hi!
<Uniaika>
I have an ubuntu server, for which I'd like to switch to Nix as a lightweight replacement for Ansible + apt. Is there some kind of guide that shows how to write a derivation for a server that does not run NixOS?
<Uniaika>
or are those cases so similar I should just go with the NixOS guides?
<srhb>
Uniaika: Just to be clear, Nix without NixOS is not generally* used to generate services etc. Some people still do, but the facilities are sort of lackluster and very quite undocumented.
<srhb>
Regular derivations for any software is completely similar though.
<srhb>
It's just that the entire systemd infrastructure really *is* NixOS.
<simpson>
Uniaika: But, if "server" just means the hardware/root, then sure, you can write relatively plain Nix (against nixpkgs) and have it work on Ubuntu. Like srhb says, NixOS is mostly about managing systemd.
rfold has joined #nixos
<srhb>
I'd prefer generating configuration files in nix over ansible any day though, even if I had to write the infra myself from scratch.
<srhb>
... which I do!
* srhb
headdesks
<Uniaika>
thank you very much for your help :)
<simpson>
srhb: I wonder about this. If my inputs were in JSON, and my outputs were in JSON, I'd be hard-pressed to prefer Nix or Dhall or similar over something bespoke like jq.
<simpson>
...But jq is not as readable as Nix or Dhall.
<Uniaika>
I'll probably stay on Ansible for that then :) until I can get a NixOS server from Scaleway
<Uniaika>
have a nice one!
<srhb>
Uniaika: Good luck then :) Hope you're back soon ;-)
<srhb>
simpson: I mean, I'd not ever prefer working directly in json. I might generate it, sure..
<srhb>
But when push comes to shove, the language isn't what keeps me around (though I am quite fond of it...)
<Uniaika>
srhb: I'll ease the pain by using dhall to generate my ansible yaml :P
<srhb>
:P
<srhb>
dhall->ansible->install nix->ansible to execute nix->???->profit
<srhb>
furrycatherder: What does your channel point to?
<marek>
qyliss, tilpner so, I have a package that hits a bug in latest rust, but uses the rustup to work around it, I guess that means it won't be in nixpkgs?
<qyliss>
Not until the bug is fixed in stable rust
<aanderse>
so you could pull in mysql55 from nixos 19.03 and run it on nixos 19.09
dermetfan has joined #nixos
dermetfan has quit [Client Quit]
<gchristensen>
has anyone tried making vbox not require a full recompile to enable the propriety tools?
<boogiewoogie>
hey, I want to create a nix expression for https://github.com/okonek/tidal-cli-client. I assume it's quite simple with npm2nix as the project seems not too complex, but I've never used npm or npm2nix. is this maybe a quick routine task to anyone here who'd like to help me out? :)
<Izorkin>
aanderse: ok, can then transfer mysql55 to my nur-packages
Guest63970 has quit [Quit: WeeChat 2.4]
<gchristensen>
Izorkin: nice :)
mexisme_ has joined #nixos
mac10688 has quit [Quit: WeeChat 2.4]
<{^_^}>
[nixpkgs] @worldofpeace pushed commit from @mmahut to staging-19.03 « bluez: CVE-2018-10910 »: https://git.io/fjrad
<yurb>
It's a bit annoying that nix-env -u is always failing due to a package that won't update (because of #60845). Is it possible to add an exclude pattern to a configuration file or something like that?
jeregrine has quit [Quit: Connection closed for inactivity]
shabius has joined #nixos
<wildtrees>
after I install package, where is it's default.nix file on nixos:?
kaliumxyz has joined #nixos
dftxbs3e has joined #nixos
<kaliumxyz>
Can't get some nodejs app to build using nix, it crashes when npm run build calls ng (the cli tool for angular) which starts with #!/usr/bin/env node
<kaliumxyz>
Tried to use patchShebang on it after I get it using npm install however this doesn't fix the issue
furrycatherder has joined #nixos
civodul has quit [Quit: ERC (IRC client for Emacs 26.2)]
fendor has quit [Read error: Connection reset by peer]
neminis has quit [Ping timeout: 244 seconds]
<kaliumxyz>
Figured it out :D
<kaliumxyz>
Its because /node_modules/.bin/ng is a symbolic link
emptyflask has joined #nixos
<emptyflask>
I just reinstalled nix on MacOS (10.14) using the multi-user config... I can't seem to get any packages due to problems with SSL (or maybe the nix build users can't read the CA cert?)
<emptyflask>
`sudo launchctl setenv NIX_SSL_CERT_FILE $NIX_SSL_CERT_FILE` and a service restart fixed it
pie_ has joined #nixos
pie_ has quit [Remote host closed the connection]
pie_ has joined #nixos
pie_ has quit [Remote host closed the connection]
pie_ has joined #nixos
furrycatherder has quit [Ping timeout: 244 seconds]
<{^_^}>
[nixpkgs] @tadeokondrak opened pull request #63792 → vapoursynth-editor: init at R19 → https://git.io/fjrV7
<Notkea[m]>
is it possible to define a config attribute in a submodule and have it merged into the global attribute set? Setting this attribute seems to have no effect and doing an mkMerge in the parent module causes an infinite recursion to happen :/
furrycatherder has joined #nixos
<clever>
Notkea[m]: you want to set the outer config, after you mapAttrs over config.yourthing.yoursubmodule
<Notkea[m]>
it's not possible to define the config inside the submodule?
<clever>
Notkea[m]: nope
<Notkea[m]>
:c
alp has quit [Ping timeout: 259 seconds]
furrycatherder has quit [Ping timeout: 258 seconds]