<Jonathan_>
Is their a way to specify what channels `nix-channel` has in the system configuration.nix? (The channels that show with `nix-channel --list`)
d10n-work has quit [Ping timeout: 264 seconds]
coot has quit [Read error: Connection reset by peer]
jw358 has quit [Ping timeout: 268 seconds]
<b1000101>
Hi, my builds are failing with this message: Aborted: a 'x86_64-linux' with features {kvm, nixos-test} is required to build '/nix/store/40icxxgzc8rn3dgbdyahlvawrlghysj2-vm-test-run-boot-bios-cdrom.drv', but I am a 'x86_64-linux' with features {benchmark, big-parallel, nixos-test} but I've declared supportedFeatures = ["benchmark" "kvm" "nixos-test" ]; in nix.buildMachines - any idea what might be wrong?
pasukon has quit [Ping timeout: 258 seconds]
Jetien__ has joined #nixos
kalbasit has quit [Ping timeout: 250 seconds]
_h3x has quit [Ping timeout: 246 seconds]
bpierre has quit [Ping timeout: 258 seconds]
Havvy has joined #nixos
Jetien_ has quit [Ping timeout: 264 seconds]
v0d1ch has quit [Ping timeout: 258 seconds]
pasukon has joined #nixos
hoek has quit [Ping timeout: 240 seconds]
jw358 has joined #nixos
alunduil has quit [Ping timeout: 268 seconds]
NemesisD has quit [Ping timeout: 252 seconds]
gonz_ has quit [Ping timeout: 258 seconds]
techtangents has quit [Ping timeout: 252 seconds]
mconstant has joined #nixos
alunduil has joined #nixos
npmccallum has joined #nixos
tazjin has quit [Ping timeout: 264 seconds]
ajmcmiddlin has quit [Ping timeout: 240 seconds]
oharvey has quit [Ping timeout: 240 seconds]
ixxie has quit [Ping timeout: 240 seconds]
teehemkay has quit [Ping timeout: 252 seconds]
jw358 has quit [Ping timeout: 252 seconds]
ajmcmiddlin has joined #nixos
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
pasukon has quit [Ping timeout: 264 seconds]
tdbgamer has joined #nixos
oharvey has joined #nixos
hoek has joined #nixos
alunduil has quit [Max SendQ exceeded]
psyanticy has quit [Ping timeout: 258 seconds]
gonz_ has joined #nixos
v0d1ch has joined #nixos
alunduil has joined #nixos
hoek has quit [Max SendQ exceeded]
ajmcmiddlin has quit [Ping timeout: 250 seconds]
<{^_^}>
[nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fjmqS
alunduil has quit [Max SendQ exceeded]
sdier has quit [Ping timeout: 252 seconds]
oharvey has quit [Ping timeout: 268 seconds]
gonz_ has quit [Ping timeout: 250 seconds]
v0d1ch has quit [Ping timeout: 268 seconds]
ryantrinkle has joined #nixos
mconstant has quit [Ping timeout: 250 seconds]
thc202 has quit [Ping timeout: 252 seconds]
winem_ has joined #nixos
mconstant has joined #nixos
teehemkay has joined #nixos
oharvey has joined #nixos
sdier has joined #nixos
bpierre has joined #nixos
v0d1ch has joined #nixos
alunduil has joined #nixos
ajmcmiddlin has joined #nixos
gonz_ has joined #nixos
tazjin has joined #nixos
pasukon has joined #nixos
stepcut has quit [Ping timeout: 264 seconds]
jw358 has joined #nixos
psyanticy has joined #nixos
NemesisD has joined #nixos
d10n-work has joined #nixos
worldofpeace has quit [Ping timeout: 250 seconds]
hoek has joined #nixos
Lisanna has quit [Quit: Lisanna]
techtangents has joined #nixos
kalbasit has joined #nixos
stepcut has joined #nixos
mconstant has quit [Ping timeout: 252 seconds]
winem_ has quit [Ping timeout: 264 seconds]
coot has joined #nixos
uranther has quit [Quit: Connection closed for inactivity]
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
stepcut has quit [Ping timeout: 264 seconds]
hlolli_ has joined #nixos
hlolli has quit [Ping timeout: 264 seconds]
drakonis has joined #nixos
ryantrinkle has joined #nixos
stepcut has joined #nixos
<stites>
hey all! I have a question about packaging up a C++ library
<aanderse>
gotta ask before you get an answer :)
<stites>
Everything looks good at the moment, my build.nix/default.nix is generating the libraries and I'm getting all of the nessecary folders in the results ($out/{bin,lib,include,shar}), but when I drop into a shell and run `clang++ test.cpp` it says it can't find the headers
<stites>
I'm wondering if there's another step I need to do to hook this library into a nix environment
<{^_^}>
[nixpkgs] @samueldr pushed commit from @illegalprime to release-19.03 « writeShellScriptBin: use build-time shell in check phase »: https://git.io/fjmYe
<stites>
(or, alternatively, if I'm supposed to be adjusting the LD_LIBRARY_PATH, etc, which I think is wrong)
<stites>
Would anyone have any pointers?
<mog>
anybody running nvidia on nixos 19.03 i got a failure to build the nvidia module
<stites>
build.nix bundles it up, shell.nix puts it in a shell (with clang), and then I was hoping that dropping into the shell would just let me run `clang++ test.cpp`
<stites>
and have everything be nice
<{^_^}>
[nixpkgs] @aanderse opened pull request #59381 → automysqlinit: init at 3.0_rc6 → https://git.io/fjmYO
<stites>
...maybe I've messed with my bashrc too much
ryantrinkle has quit [Ping timeout: 250 seconds]
Glider_IRC has quit [Ping timeout: 268 seconds]
<stites>
although clang seems fine
parsnip has joined #nixos
day|flip has joined #nixos
npmccallum has quit [Quit: npmccallum]
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
stepcut has quit [Remote host closed the connection]
Lears has joined #nixos
[Leary] has quit [Read error: No route to host]
[Leary] has joined #nixos
Lears has quit [Read error: No route to host]
<stites>
crashing for the night -- I just tried to adjust the outputs, but nothing seems to work. I know I can set a shell hook to update the LD_LIBRARY_PATH, but this is (hopefully) a good contribution upstream to nixpkgs, so I would like to know if there is a more correct way to do this
<Ashy>
some google suggests the gnome-terminal issue is something to do with my locale possibly
<day|flip>
it have support for wayland
alex``64975 has quit [Ping timeout: 252 seconds]
<Ashy>
haven't changed anything in my configuration.nix around that
nD5Xjz has joined #nixos
<Ashy>
kitty is nicer than xterm at least, tmux won't start in it by default though
<Ashy>
gnome-terminal should support native wayland too though
<day|flip>
i don't like using most thing from gnome since it need to be used with gnome de.
<Ashy>
i like the profiles in gnome-terminal. i've got a "bright" and "dark" profile for easy switching between night and day mode
Rusty1 has quit [Quit: Konversation terminated!]
<day|flip>
since you like vte terminal. maybe termite will work
o1lo01ol1o has joined #nixos
<day|flip>
but this could be a problem with wlroots
judson has quit [Remote host closed the connection]
<growpotkin>
Hey how can i get a list of all the available attribute sets on a machine? (this is almost always just `nixpkgs` and `nixpkgs-overlay`, but I need to be thorough in this case for a contribution.)
<growpotkin>
zsh autocompletes it perfectly lol. It's a pain to track down that completion function to it's source though
o1lo01ol1o has quit [Ping timeout: 246 seconds]
<clever>
growpotkin: i think if you run `set`, you can see the functions involved in that
<clever>
and `complete` (at least under bash) shows what function to run for each cmd
<growpotkin>
clever: you're +1 most helpful out here on the IRC. Thanks for holding it down for us!
jasongro` has joined #nixos
<growpotkin>
clever: Out of curiosity are you just a big time contributor or are you like, idk, involved with Nix professionally?
<growpotkin>
clever: You seem to have the answers to everything Nix-y haha
jasongrossman has quit [Ping timeout: 264 seconds]
<clever>
growpotkin: i dont contribute much to nixpkgs, but i do use nix heavily at work, and do a lot of crazy things with it
jasongro` has quit [Client Quit]
<clever>
growpotkin: and my memory is just wonky, ive memorized most of nixpkgs, lol
<growpotkin>
clever++
<{^_^}>
clever's karma got increased to 124
<{^_^}>
[nixpkgs] @cdepillabout opened pull request #59383 → stretchly: init at 0.19.1 → https://git.io/fjmYb
<growpotkin>
clever: well good looking out buddy! You've been a savior more than once. Much appreciated.
ddellacosta has quit [Ping timeout: 250 seconds]
palo1 has joined #nixos
<Ashy>
day|flip: well, i've swapped to konsole for now...
<{^_^}>
[nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjmOf
ninjin has quit [Ping timeout: 256 seconds]
endformationage has quit [Quit: WeeChat 2.4]
<growpotkin>
What in the world is `nix-defexpr`. Yes I read the documentation lol.
lovesegfault has quit [Quit: WeeChat 2.4]
nD5Xjz_ has quit [Ping timeout: 264 seconds]
nD5Xjz has joined #nixos
lovesegfault has joined #nixos
parsnip is now known as parsnip1
parsnip1 is now known as parsnip0
<worldofpeace>
Ashy: If you're using 19.03 I just backported the fix for that. As for gnome-terminal, do you have `services.gnome3.gnome-terminal-server.enable = true;` in configuration.nix?
<worldofpeace>
* the fix for terminator
parsnip has joined #nixos
<{^_^}>
[nixpkgs] @worldofpeace pushed commit from @rnhmjoj to release-19.03 « treewide: fixup bcf54ce »: https://git.io/fjmO3
<Ashy>
worldofpeace: ah i don't, just `services.xserver.desktopManager.gnome3.enable = true;`
<worldofpeace>
Ashy: Yep that's needed for gnome-terminal to work.
<worldofpeace>
We probably should have a nixos module for gnome-terminal
Havvy has quit [Read error: Connection reset by peer]
laalf has quit [Read error: Connection reset by peer]
laalf has joined #nixos
laalf has joined #nixos
nD5Xjz has quit [Ping timeout: 264 seconds]
nD5Xjz has joined #nixos
arjen-jonathan has joined #nixos
nD5Xjz_ has joined #nixos
nD5Xjz has quit [Ping timeout: 250 seconds]
laalf has quit [Read error: Connection reset by peer]
laalf has joined #nixos
laalf has joined #nixos
ng0_ is now known as ng0
<kalbasit>
how to pass a random argument (a string called release in my case) to /etc/nixos/configuration.nix?
<kalbasit>
Anything easier than this hack: Write the string to a file, and set release-file in NIX_PATH then `lib.fileContent <release>` should return the argument :(
aloiscochard has quit [Quit: Connection closed for inactivity]
<sphalerite>
kalbasit: I can think of two options — one is just as ugly but a lot more convenient than your release-file idea — use builtins.getEnv
dnlkrgr has quit [Ping timeout: 246 seconds]
<kalbasit>
oh, right! getEnv! forgot about that, thanks sphalerite!
<sphalerite>
kalbasit: the other is more principled but also more effort — write a nixos module defining the option, then define that, uh, somehow… ok I didn't think this option all the way htrough
<b1000101>
hi, my hydra (Hydra 2019-02-01 (using nix-2.2)) stopped to build tests after upgrade from 18.09 to 19.03. It says Aborted: a 'x86_64-linux' with features {kvm, nixos-test} is required to build '/nix/store/nz49rrp6w0bvm3zszs6asz3ph4x65h0n-vm-test-run-boot-bios-cdrom.drv', but I am a 'x86_64-linux' with features {benchmark, big-parallel, nixos-test} . Any ideas?
<b1000101>
I've defined nix.buildMachines as localhost with supportedFeatures = ["benchmark" "kvm" "nixos-test" "big-parallel"];
kleisli has joined #nixos
<sphalerite>
b1000101: you probably need to add kvm to system-features in nix.conf using nix.extraConfig
<ROKO__>
hey guys
<ROKO__>
for xfce 4.13 what i have to have in configuration.nix ?
ninjin has quit [Remote host closed the connection]
ninjin has joined #nixos
kleisli has quit [Ping timeout: 252 seconds]
vidbina has joined #nixos
<b1000101>
sphalerite: Has something changed in the new hydra? It was working before... Let me have a try!
<sphalerite>
b1000101: I think it's a nix change, not a hydra change
<{^_^}>
nix#2710 (by volth, 5 weeks ago, merged): canBuildLocally: check for features
<b1000101>
sphalerite: RIght, the odd thing is though - I have 2 separate projects and one of them is still building normally, even after the upgrade (it contains the same build jobs and tests).
<sphalerite>
huh ok…
<sphalerite>
I don't know things about hydra though, sorry :p
<azazel>
sphalerite: ah, I misread the release notes for the new stable... just the `options` argument
Neo---- has joined #nixos
<jasongrossman>
Success! ZFS on root on a Hetzner VPS. Really easy, once sphalerite corrected my simple mistake.
<sphalerite>
:D
<sphalerite>
(more fun: zfs on luks on a hetzner dedicated server)
<sphalerite>
;)
<jasongrossman>
For some values of fun.
<ar>
i use zfs on luks on my laptop
<ar>
but i'm always nearby when (re)booting it
<averell>
there's are neat snippets for remote unlock of zfs in the wiki
<sphalerite>
it's not hugely secure, but makes me feel a bit more comfortable about the prospect of one of the hard drives not being disposed of correctly — it's a server with an SSD and two HDDs, and the LUKS key for the HDDs is on the SSD
<sphalerite>
that way it can still boot unattended
<averell>
would they erase the full HDDs when cancelling? probably not, right, just put a rescue image on top or something.
orivej_ has quit [Quit: No Ping reply in 180 seconds.]
<MichaelRaskin>
I think random overwrite is always enough if the next customre cannot take HDD outside the DC
<srk>
heh, vim seems to segfault on recent master when I try to shift+i
<srk>
with visual mode
<azazel>
srk: It's a sign, you have to switch to emacs :-D
<srk>
yeah, ctrl-v + shift-i
regulus_ has quit [Read error: Connection reset by peer]
<srk>
azazel: /o\
regulus_ has joined #nixos
chreekat has joined #nixos
asymmetric has joined #nixos
<averell>
even with -u NONE?
<averell>
doesn't happen for me on master from start of the week
kleisli has joined #nixos
fendor_ has joined #nixos
<{^_^}>
[nixpkgs] @aanderse opened pull request #59389 → replace deprecated usage of PermissionsStartOnly (part 1) → https://git.io/fjmG4
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<MichaelRaskin>
For me neither
<srk>
azazel: yup
<MichaelRaskin>
azazel: should I find a keycombo that crashes Emacs to move you to an actual standard editor?
<srk>
averell: yup
<srk>
azazel: sry
AleXoundOS has quit [Quit: Leaving]
<{^_^}>
[nixpkgs] @ThomasMader opened pull request #59390 → dmd, gtk: Remove dontStrip because with binutils 2.31 everything is working again → https://git.io/fjmGR
<{^_^}>
[nixpkgs] @flokli pushed 7 commits to release-18.09: https://git.io/fjmGo
vidbina has quit [Ping timeout: 246 seconds]
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
regulus_ has joined #nixos
alex``64975 has joined #nixos
<pingiun>
does the order matter in nixops/nixos configuration files? is there a way to specify order?
cyphase has quit [Ping timeout: 252 seconds]
<sphalerite>
pingiun: for the most part, it doesn't
cyphase has joined #nixos
<sphalerite>
pingiun: where it matters is when multiple modules (configuration files) specify a value for the same option. The modules can specify order priority by setting the options in question with lib.mkBefore or lib.mkAfter
<pingiun>
I have a wireguard configuration, but I also need to add routes to the interface, which can only be done once the interface is up
<sphalerite>
pingiun: ah, that's a different matter.
alex``649754 has joined #nixos
<ROKO__>
cannot build derivation '/nix/store/xs3xpr0081h6ra96801wvc96i7p3iiwd-nixos-system-nixos.qemu-19.03.172138.5c52b25283a.drv': 1 dependencies couldn't be built
alex``64975 has quit [Ping timeout: 240 seconds]
<pingiun>
sphalerite how should that be done?
ROKO__ has left #nixos ["WeeChat 2.4"]
<sphalerite>
pingiun: I *think* if you set networking.interfaces.wg-foo.ipv[46].routes the modules should be aware of the ordering dependencies already
<pingiun>
I have tried that, but when I boot the machine, it keeps waiting for a wireguard device
<pingiun>
[14:47:21] <pingiun>I have this error where nixos keeps waiting on a wireguard device: https://0x0.st/zZQv.png
<jtojnar>
$ nm -A -D -l result/lib/deadbeef/wildmidi.so
<jtojnar>
result/lib/deadbeef/wildmidi.so:0000000000018080 B X/build/source/plugins/wildmidi/src/wildmidi_lib.c:399
domogled has quit [Ping timeout: 255 seconds]
<pingiun>
sphalerite: it places the `!` for a disabled password
<pingiun>
after the nixops reboot, that is
<pingiun>
a nixops deploy sets the right password again
fendor_ has joined #nixos
<sphalerite>
pingiun: ah, ok. Yeah that'll be because activation scripts run well before nixops puts its keys in
<sphalerite>
so basically you can't really use nixops keys for this purpose :/
<sphalerite>
or at least not reliably
<pingiun>
sphalerite: but right now I use the storeKeysOnMachine option, so the keys should already be there right?
zupo has joined #nixos
<sphalerite>
ah, maybe. I don't know much about nixops though so I can't really say
<pingiun>
ok
_kwstas has quit [Quit: _kwstas]
domogled has joined #nixos
domogled has quit [Ping timeout: 268 seconds]
<srk>
MichaelRaskin: interesting
<srk>
probably something with my env
ggpeti has joined #nixos
<MichaelRaskin>
I am not precisely on NixOS, but I would be really surprised if differences mattered (Nixpkgs kernel, Nixpkgs X.org, etc.)
ggpeti has quit [Client Quit]
ggpeti has joined #nixos
<MichaelRaskin>
We probably have different GPUs, but with xterm and vim _segfault_ it shouldn't matter,or so I hope.
<srk>
same over ssh :)
<MichaelRaskin>
I dunno, maybe urxvt + Xvnc + vncviewer + fresh user? Then xdotool. Then you have a reproducible script one can try running as a Nix build inside sandbox…
<infinisil>
__monty__: unsure, but I've noticed that too
<__monty__>
infinisil: Are we being DOS'ed?
<__monty__>
: >
psalm has joined #nixos
zupo has quit [Ping timeout: 264 seconds]
<infinisil>
Haha, what an innovative attack, marking packages as broken
<thomas`>
If I want to repartition my drive to add some more space to my store, can I do that while the system is running? The catch being that I'd have to increase the size of the home partition and shrink/remove the partitions following (swap and some throwaway files).
<thomas`>
<jD91mZM2>
Is there a prettier way of doing `EDITOR="echo" nix edit -f . my-package`?
<mthst>
afaik, it is not currently possible to provide network passwords to znc without putting them in configuration.nix in plain text, which means they might end up in the store and be read by unprivileged processes. thus, would it make sense to add an option to fetch passwords for networks from a file?
<jD91mZM2>
thomas`: I think LVM lets you do that, but I am certain ZFS does.
alex`` has joined #nixos
asymmetric_ has joined #nixos
<thomas`>
jD91mZM2: Right, and it's either one or the other, right? I'm pretty certain the system isn't ZFS, at least.
<jD91mZM2>
thomas`: By default, it is neither
<thomas`>
jD91mZM2: Oh, okay. Sorry, still learning. And if it is neither, then what is it?
pingiun has quit [Read error: Connection reset by peer]
asymmetric has quit [Ping timeout: 252 seconds]
<sphalerite>
Profpatsch: can confrim what lassulus wrote, I use that :)
day|flip has quit [Quit: leaving]
<jD91mZM2>
thomas`: Basically, nothing. LVM and ZFS both implement "virtual partitions", where it's a lot more flexible with moving space around between partitions (and faster!). Physically, both LVM and ZFS will show up as one partition, but they'll offer their own set of tools
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Jonathan__ has joined #nixos
<sphalerite>
thomas`: removing swap should be fine — just swapoff and remove the partition. I'm not sure ext4 supports live partition shrinking though.
<sphalerite>
I doubt it
<jD91mZM2>
LVM is more "standard linux": It lets you use normal file systems, like ext4 or other stuff. You'd also need to choose a file system that, as sphalerite pointed out, supports live shrinking (ext4 doesn't)
<sphalerite>
thomas`: I'd strongly recommend just booting into the installer system and doing it from there.
<thomas`>
jD91mZM2: Okay, thanks. Just quickly looking at the NixOS docs for this, and they make switching to ZFS look as easy as putting it in the config file. Is that all there is to it?
<thomas`>
<jD91mZM2>
ZFS is its own beast, which has a lot of ups and downs
<jD91mZM2>
thomas`: Nope, not at all sadly
<Profpatsch>
lassulus: sphalerite awesome, adding it to the wiki
<sphalerite>
<3 Profpatsch
<{^_^}>
Profpatsch's karma got increased to 2
<gchristensen>
Profpatsch++
<{^_^}>
Profpatsch's karma got increased to 3
<jD91mZM2>
sphalerite: You need to wipe your data and start over, to switch. But as sphalerite also pointed out you can just get the installer if this is a one-time thing
<thomas`>
sphalerite: Ooh, okay. I'm not sure I'd be shrinking any EXT4 volumes, actually. I'd be removing swap, expanding an EXT4 root partition, removing a windows partition and replacing it with a new swap partition + some ext4.
<jD91mZM2>
thomas`***
<sphalerite>
thomas`: enabling zfs support is as simple as putting it in the config file, migrating your system is not
freeman42x has joined #nixos
adamt has joined #nixos
<thomas`>
Also, sphalerite, booting into the installer system could work: How would I do that?
<sphalerite>
thomas`: grab a USB stick, dd the iso to it, and boot it
<sphalerite>
you can also boot the installer with some fancy tricks without a USB stick, but it isn't worth the effort if you're not doing it on a regular basis
<thomas`>
And from there reinstall everything or just rejig the partitions? Probably the latter, I presume?
Guest54584 is now known as jbetz
<sphalerite>
the latter should be enough
<sphalerite>
but reinstalling nixos is pretty easy too ;)
Thra11 has quit [Ping timeout: 250 seconds]
<adamt>
When i stop display-manager.service systemd starts to reach the shutdown target (on 19.03). Is that a known problem? :P
iceypoi has joined #nixos
<thomas`>
Nice. And yeah, sure, it really should be, but I had some other stuff I wanted to work on today and was hoping there was a quick and easy fix for this. Would fdisk be the tool to reach for?
<sphalerite>
adamt: !! I've not heard of that, so I can't say about known, but it definitely sounds like a problem! x)
<adamt>
sphalerite: It's very, very frustrating :D
<jD91mZM2>
thomas`: That or gparted.
<sphalerite>
thomas`: fdisk and resize2fs
<jD91mZM2>
Sorry for trying to push ZFS, I had just assumed you did it on a regular basis
<sphalerite>
thomas`: but if you have some other stuff you want to work on today I'd suggest not doing this now, because you might end up going down a rabbit hole of having to recover data you accidentally destroyed.
kleisli has quit [Ping timeout: 252 seconds]
<thomas`>
jD91mZM2: Hah, no, not at all. I've heard about it before and it sounds interesting, but I'm far from experienced in this field.
<thomas`>
sphalerite: and yeah, I was afraid that might be a thing that could happen ...
<iceypoi>
hello all
<thomas`>
I wanted to upgrade my system but I keep running out of space in my store all the time and it's getting quite annoying.
<iceypoi>
I noticed nixpkgs unstable is about a week old
<iceypoi>
is that usual?
<jD91mZM2>
thomas`: If you need emergency space, try `nixos-collect-garbage` and `nix optimise-store`
<iceypoi>
I've updated my laptop using master for now, but would like to use unstable in general
<thomas`>
jD91mZM2: yeah, I keep doing those and they clean up about 13GB og space (so about half of my current root partition), but that's apparently not enough to nixos-rebuild switch --upgrade :/
_kwstas has quit [Quit: _kwstas]
<sphalerite>
thomas`: what do you have in your system that's so big o.O
<thomas`>
Honestly, I've no idea.
<thomas`>
I shouldn't have anything, but I've no idea how to clean it further.
<thomas`>
Any tips?
<sphalerite>
nix-store -qR /run/current-system | xargs du -chd0 | sort -h | less
<Yaniel>
is there some guide for wrapping unity3d apps?
<Jonathan__>
I added `nixpkgs.config.allowUnfree = true` to the config and rebuilt but nix still will not install some "unfree" software.
_kwstas has quit [Remote host closed the connection]
<thomas`>
sphalerite: The largest thing is GHC at 1.3GB, but there's quite a lot going on. Did you want to see the output of it, because I can't make much sense of it, to be honest.
<iceypoi>
is there any kind of fix I could do to unblock the build again, or is someone already working on it?
<sphalerite>
thomas`: it's just a list of paths that your system depends on and their sizes. You may want to remove ghc from your system and use it on a user basis, e.g. using nix-shell, insteda
<sphalerite>
iceypoi: the only thing that seems to be blocking it currently as far as I can tell is lack of builder capacity
nixy- has quit [Remote host closed the connection]
<thomas`>
sphalerite: Yeah, about that: I've looked around, but never really found a good explanation of how to use nix-shell for development etc. I guess I should read the nix-pills bit a bit closer, but doesn't that mean that you'd have to install all of that manually if you were to switch systems?
fr035 has joined #nixos
<sphalerite>
iceypoi: no, darwin builds don't block channel advancement
<iceypoi>
I see, so it's about "throw more hardware at it"...
<sphalerite>
thomas`: if you're using nix-shell, all you need is your (typically per-project) shell.nix
<iceypoi>
need some azure machines? ;-)
psalm has quit [Remote host closed the connection]
<sphalerite>
thomas`: if you're installing stuff in your user environment, there are various options
<sphalerite>
,declarative thomas`
<{^_^}>
thomas`: There are multiple ways of managing declarative profiles. 1) Attrset, compatible with imperative use of nix-env https://git.io/fAQHW ; 2) buildEnv, providing more control over the paths that are linked into the profile https://git.io/fp0aU ; 3) home-manager, providing nixos-like config for your ~ https://github.com/rycee/home-manager
<thomas`>
Right, and they'd take care of making the tools you need available to you in that directory. Meaning that you'd only need packages that are necessary for the whole system in your config? I'll have a read of those links, cheers.
knupfer has quit [Remote host closed the connection]
<sphalerite>
thomas`: yep. It's a bit of a hacky workaround to your actual problem, but it should work nonetheless :)
<thomas`>
Haha, well it's not so much a workaround as it is just using the system 'properly', I suppose. I'll read up on it and probably find the answer to it pretty soon, but would you have to start a new nix-shell for every project or would it be enough to be in a subdirectory of the shell.nix file?
stepcut has joined #nixos
<sphalerite>
nix-shell doesn't search parent directories, but you could do something like `nix-shell ~/haskell-dev.nix` or something.
<mog>
any python people who could point me in the right direction
kleisli has joined #nixos
<{^_^}>
[nixpkgs] @LinArcX opened pull request #59402 → lalezar-fonts: init at unstable-2017-02-28 → https://git.io/fjmnj
<thomas`>
sphalerite: hmm interesting. I'm about to fall down yet another rabbit hole here, so I think I'll have to leave it for later, but I definitely need to get into it at some point soon. Thanks so much for all your help today (also goes for jD91mZM2)!
<NinjaTrappeur>
Hey, according to https://r13y.com/ gcc is not reproducible. Is there an open issue/discussion about this? Using the GH/Discourse search engine did not help :(
<{^_^}>
WilhelmVonWeiner: Don't install libraries through nix-env or systemPackages, use nix-shell instead. See https://nixos.wiki/wiki/FAQ/Libraries for details.
<sphalerite>
WilhelmVonWeiner: oh wait, this is actually a different problem
<sphalerite>
WilhelmVonWeiner: just no such file or directory, or libSDL2.so: no such file or directory?
daveyjones01 has joined #nixos
daveyjones01 has quit [Remote host closed the connection]
daveyjones01 has joined #nixos
eyvan has joined #nixos
daveyjones01 has quit [Remote host closed the connection]
thePirateKing has quit [Ping timeout: 252 seconds]
thePirateKing has joined #nixos
linarcx has quit [Ping timeout: 264 seconds]
<WilhelmVonWeiner>
I will try {^_^} 's solution before potentially wasting your time
linarcx has joined #nixos
init_6 has quit [Ping timeout: 240 seconds]
eyvan has left #nixos ["Leaving"]
<WilhelmVonWeiner>
libSDL2.so: cannot open shared object file: No such file or directory
<WilhelmVonWeiner>
I tried `nix-shell -p nim SDL2`
ixxie has joined #nixos
<sphalerite>
WilhelmVonWeiner: ah, with nim? I have no idea how that finds libraires. Maybe it's smart and will use pkg-config if it's available, try adding pkgconfig to your nix-shell
softinio has quit [Remote host closed the connection]
linarcx has quit [Quit: WeeChat 2.4]
fusion809 has joined #nixos
pareidolia has joined #nixos
<infinisil>
sindrip: Nope
ixxie has joined #nixos
<stites>
hey all! I mentioned earlier, but I'm having a bit of trouble writing a nix script that generates a C++-library
<sindrip>
:(
<stites>
The library itself is complete (I'm just unzipping some shared-object files)
softinio has joined #nixos
<stites>
but I... think I need to be doing something with the rpath? or patchelf?
<stites>
Anyhow, if anyone has some tips it would be appreciated!
<softinio>
So I need to create a new package that fetches a binary with a specific sha. Different binary for darwin than linux and none windows. Anyone know an existing package that does this I can use as template to see how its done?
<stites>
infinisil: Ah, well the trouble is that the lookup fails when I drop into a shell and try to compile a test.cpp with an `#include <torch/torch.h>`
<infinisil>
stites: Do other packages work? E.g. if you add `pkgs.ncurses` to `buildInputs`, can you `#include <ncurses.h>`?
kwork has joined #nixos
<galaxie>
Hi, https://nixos.wiki/wiki/NixOS_on_ARM lists BeagleBone Black as a community-supported device. What about the BeagleBone Black industrial edition, by element14? I don't think there's much of a difference but was wondering if anyone had any experience.
Ankhers has joined #nixos
Gohla has joined #nixos
lockshaw has joined #nixos
<samueldr>
>> - Software compatible with BeagleBone Black
benny has joined #nixos
<samueldr>
on the product page on element14.com
<{^_^}>
[cabal2nix] @peti pushed to master « travis-ci: run CI builds with ghc-8.6.4 »: https://git.io/fjmlX
<samueldr>
it's likely that it would work the same way I guess
bgamari has joined #nixos
benny is now known as Guest30717
<samueldr>
the most likely different things would be u-boot needing a different build, but it wouldn't surprise me if it doesn't need a different build
<stites>
infinisil: yup! I can compile a hello world program with ncurses.h
philipcristiano has quit [Ping timeout: 264 seconds]
<stites>
I'm checking out the patchelf command which I've found from looking at some other nix files
<infinisil>
stites: Hmm.. what compiler are you using?
<stites>
clang_7!
<bgamari>
Why are there so many haskell packages marked as broken in nixos-19.03?
<infinisil>
stites: Does it work if you remove that and use gcc instead?
<bgamari>
haskellPackages.threadscope, for one
<infinisil>
bgamari: __monty__ and I already noticed this too, no idea
philipcristiano has joined #nixos
<bgamari>
infinisil, has anyone opened a ticket yet?
petrkr has quit [Remote host closed the connection]
<stites>
infinisil: no, I get the same errors between g++ and clang++
<samueldr>
(including threadscope)
<samueldr>
the commit seems mostly composed of additions of broken = true
<samueldr>
seems to be in the same state on master
<infinisil>
Oh hydra zero failures?
<infinisil>
Mark all packages that don't build as broken?
<samueldr>
it would seem harsh
<samueldr>
and it's part of the automatic haskell package set update
<infinisil>
Well if they don't build..
<bgamari>
ahh, it may be because their version constraints are unsolvable
<bgamari>
that is the case for threadscope at least
robstr has joined #nixos
<bgamari>
although doJailbreak works just fine
<infinisil>
That's just because lots of packages give upper bounds for dependencies
<samueldr>
no experience with anything haskelly, but what bgamari said sounds likely
<samueldr>
something must have updated and caused a bunch of unresolvable constraints
<infinisil>
They're not unsolvable no, nix doesn't do any version resolution for haskell
<infinisil>
All packages just use the latest version we have by default
ixxie has quit [Ping timeout: 250 seconds]
<bgamari>
infinisil, well, they are unbuildable
<bgamari>
because Cabal will reject unsolvable dependencies
earldouglas has joined #nixos
<infinisil>
And if these packages have upper bounds on dependencies that are lower than what our latest version is, they don't build
<infinisil>
First solution is always to try doJailbreak, which removes upper bounds
thePirateKing has quit [Ping timeout: 255 seconds]
<__monty__>
Jailbreaking didn't help for me. Nix won't build anything labeled broken. Unless you specify it should.
<infinisil>
And that mostly works, because package authors don't always update upper bounds
thePirateKing has joined #nixos
<robstr>
Hi, since several days i have problems with the internet access (prob. ISP switched from IPv4 to IPv6 ?). I can reach google (ping resolves ipv6 address) but Im not able to ping for example uni-goettingen.de (Ping says: From _gateway (192.168.0.13) icmp... Desination Net unreachable. Can someone help me ?
<infinisil>
bgamari: Well yeah, but it can't do any version resolution anyways, it only gets a single one
<gchristensen>
maybe you could help make it more transparent
<infinisil>
He intended to give Haskell to other people, but nothing has happened and he still does all the updates seemingly himself
<bgamari>
I think he has had a hard time finding someone to actually do the work
<bgamari>
a few people stepped up, did a few bumps but then sort of vanished
<bgamari>
understandably
<bgamari>
it's a not-much-fun, thankless job I'd imagine
<gchristensen>
I think probably so
knupfer has quit [Ping timeout: 252 seconds]
<infinisil>
I wish we could get into an IRC chat or a call with him and everybody that's interested in maintaining it and sort everything out, who does what and when and stuff
<gchristensen>
I've found him fairly easy to get in to a private chat, maybe send him an email?
<gchristensen>
or a video call even
<infinisil>
Private chat where? He's almost never on IRC
<gchristensen>
I've had encrypted chats with him after I sent him an email
evil-olive has quit [Quit: leaving]
ryantrinkle has joined #nixos
<infinisil>
Soo.. gpg?
<gchristensen>
no
<gchristensen>
real time chats
<infinisil>
What platform is what I'm asking
growpotkin has joined #nixos
<gchristensen>
I don't remember, and it doesn't really matter :P the important part is he's available, and amenable to it
<infinisil>
Alright then
<growpotkin>
Y'all node is killing me on this work project right now : I'm sending out the SOS <3
<growpotkin>
an `npm install` script hangs up failing to find `libsass` headers. I know how to unmangle this kind of thing with most projects but `node` and `npm` are not exactly my area of expertise
<infinisil>
stites: The only other idea I have is to write your build in a standard stdenv.mkDerivation, such that you don't have any impurities
<{^_^}>
[nixpkgs] @marsam opened pull request #59410 → mkcert: init at 1.3.0 → https://git.io/fjm8W
romildo has quit [Quit: Leaving]
chessai has quit [Ping timeout: 252 seconds]
robstr has quit [Ping timeout: 256 seconds]
<galaxie>
What kind of "wear and tear" can I expect if I installed NixOS on some sort of flash storage like microSD versus, say, Raspbian? As in, disk writes and all that.
<gchristensen>
Nix will write to your disk more
<gchristensen>
Nix trades disk space for sanity points
<adisbladis>
growpot: Did you add libsass (I guess the package is called sass) to your env?
worldofpeace has joined #nixos
<growpotkin>
adisbladis: Yeah I tried it as a systemwide pack, home-manager pack, and a shell pack. It's getting installed fine and I can track down the headers manually; but `npm` is totally in the dark. I imagine that I need to add `libsass` to `npm`'s environment as an override (but this is definitely not ideal). I was hoping someone else might have a better suggestion.
dnlkrgr has joined #nixos
<qyliss>
libsass is a library, so adding it to your env won't get npm to link things against it
<samueldr>
though I'm not sure that the "wear and tear" from a nix-based system would be noticeable really compared to another "normal" distro...
<qyliss>
You might need to use npm2nix or similar
<samueldr>
... after all I'm pretty sure raspbian does nothing specific to help with that, still logs to files, still handles writes in place, etc
<growpotkin>
qyliss: yeah I had just bumped into that, I'm reading the documentation now to give it a shot.
<qyliss>
I've never got it to work right but ymmv
<adisbladis>
I highly recommend that you use a default.nix/shell.nix with nix-shell. System-wide you are missing the environment vars for pkg-config and friends to find it
<growpotkin>
qyliss: I love Nix so much; but I can't help but feel ridiculous some times when I'm trying to knock out a work project and get roadblocked with something that's normally just automatic on most boxes. (I'm probably forgetting how much time it might have saved me in other situations I suppose)
<MichaelRaskin>
node2nix is what I have used succesfully at some point
kleisli_ has joined #nixos
<adisbladis>
You don't need node2nix to hack on node projects.
<growpotkin>
adisbladis: So do you really pop a Nix Shell everytime you want to run something with `npm`? I have gotten away without it for quite a while, this has been my first real `npm` roadblock. I'm note really sure what "best practices" is; I definitely knew my habit of globally installing stuff in my user's home folder was probably going to crash and burn at some point like this haha.
<qyliss>
How do you get it to link with libsass then?
<samueldr>
within yarn-based projects, I've been successful with using nix-shell... but I also don't tend to use much npm-based things
<growpotkin>
I haven't
<infinisil>
I've heard yarn is a better practice than node :P
<growpotkin>
qyliss: Libsass has been by first `npm` issue in the last few months since I first started my dive back into javascript projects this year.
jasongrossman has quit [Ping timeout: 250 seconds]
<qyliss>
sorry, my question was directed at adisbladis
<samueldr>
though here in theory, it looks like an issue that neither npm nor yarn would do better
<adisbladis>
growpotkin: Yes. You'd have a shell.nix around in your project root and enter the nix-shell every time you want to hack on it
<samueldr>
growpotkin: is it an OSS project?
<adisbladis>
qyliss: npm install?
<samueldr>
(personally, I love having everything in a nix-shell and nothing global for projects)
<growpotkin>
infinisil: I'm sure it could be, I really don't know. I just have an `npm install` script for this BigCommerce site I'm working on for a client. To set up a testing environment I need to install some stuff with `npm`.
<adisbladis>
++
daveyjones01 has joined #nixos
<samueldr>
adisbladis: I do about the same, `nix-shell` and then yarn install / bundle install when hacking on things and not packaging for consumption within a nix-based ecosystem
marler8997 has joined #nixos
<adisbladis>
Global installations are generally an anti-pattern imho
<samueldr>
++
<growpotkin>
adisbladis: I know I know. It's laziness on my part.
<infinisil>
In one project at least I had to have something globally, because it needed some NixOS configuration
<growpotkin>
adisbladis: <3
<__monty__>
infinisil, bgamari: Maybe IOHK's haskell.nix could help us? I still have to check it out but since it's used by a nix+haskell company I assume it's more stable.
<infinisil>
__monty__: Link?
<infinisil>
Never heard of that
<MichaelRaskin>
If your setup allows you to delineate clearly what does it mean to be a global installation…
<samueldr>
growpotkin: just asking again (sorry) is it an OSS project, or can you share a minimal repro? I want to check whether there is an unforeseen complication
<MichaelRaskin>
Installations without a definition under VCS control _are_ an antipattern, of course
thePirateKing has quit [Ping timeout: 240 seconds]
<infinisil>
__monty__: Interesting, gonna read that
<growpotkin>
samueldr: It's a web site for a private company so I can't share their site info with you. But the install thing I'm stuck on is just a freely available tool. You're welcome to take a crack at installing it. (Maybe it'll just work for you)
<samueldr>
growpotkin: (and which freely available tool is it?)
marler8997 has quit [Client Quit]
<growpotkin>
one sec i'm looking up the name again
<samueldr>
though, if I understand it correctly, that tool is not a dependency of your $work project, right? that's probably a difference I can see
<growpotkin>
samueldr: It's a cli tool to edit their theme files
<samueldr>
like, you're assumed to be using it as a global install, right?
<growpotkin>
samueldr: I tried it globally and locally. They both crash building a dependency. At some point it tries to compile something with `g++` and can't find my `libsass` headers.
<growpotkin>
samueldr: The `npm` page suggests a global install though.
<growpotkin>
jfc
acarrico has joined #nixos
<qyliss>
Sounds like you maybe want a Nix package for that
sindrip has quit [Ping timeout: 264 seconds]
<growpotkin>
qyliss: Yeah thats exactly what I was thinking. I haven't ever packaged a node exectuable with Nix before though and was hoping to avoid the hour or so of tutorials that go along with that.
<samueldr>
either through npx (will require it to be executed inside that project dir) or through calling the .bin directory from node_modules directly
<growpotkin>
samueldr: You're a savior buddy
<growpotkin>
samueldr++
<{^_^}>
samueldr's karma got increased to 76
<samueldr>
wait until you can verify it works in your case!
<growpotkin>
I'm about to try it
<samueldr>
I'm unsure whether I'm missing something since it didn't have any issues related to native compilation
acarrico has quit [Ping timeout: 268 seconds]
linarcx has joined #nixos
<growpotkin>
samueldr: Wow it worked.
<samueldr>
¯\_(ツ)_/¯ not sure how it resolved anything libsass then
<growpotkin>
samueldr: This is so bizarre. I guess my user level `npm` that I had been sharing was just polluted somehow? Or maybe it's the different version. (i have `nodejs-11_x` normally)
<{^_^}>
[nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjm8M
<growpotkin>
samueldr++
<{^_^}>
samueldr's karma got increased to 77
<samueldr>
hard to tell, when I first started using NixOS I used a chattr +i file in the usual gemfiles location to ensure I wouldn't install user-level gems, maybe the same could be done to "train" a user for nodejs idiosyncracies?
iqubic has joined #nixos
acarrico has joined #nixos
<samueldr>
(that way I was forced to have local gem installs for each projects, but that's something npm does already AFAIUI)
iqubic has quit [Client Quit]
<growpotkin>
dude thank you so much. I was spinning my wheels on that for a while. Back to work :)
worldofpeace has quit [Ping timeout: 252 seconds]
adamt has quit [Ping timeout: 246 seconds]
<{^_^}>
[nixpkgs] @hlolli opened pull request #59414 → lumo 1.9.0 -> 1.10.1 plus darwin support → https://git.io/fjm8d
drakonis has joined #nixos
worldofpeace has joined #nixos
<samueldr>
growpotkin: note one drawback with using local installs like that: they link with whatever the shell resolved to, which can and will likely be garbage collected. When it stops working reinstall locally
<iqubic>
Why is the latest version of Blender in nixpkgs so outdated.
<iqubic>
???
<{^_^}>
[nixpkgs] @worldofpeace pushed to release-19.03 « aliases: add throw for font-droid »: https://git.io/fjm8h
nornagon has joined #nixos
<nornagon>
I want to try out this package locally: https://github.com/NixOS/nixpkgs/pull/51947 but i'm not sure how to install a package that's not yet merged... is there any guide I could look to?
<adisbladis>
iqubic: Because you didn't update it? ;)
wfranzini has quit [Remote host closed the connection]
_kwstas has quit [Remote host closed the connection]
wfranzini has joined #nixos
<adisbladis>
iqubic: You are asking why a package is not updated, presumably because no one updated it. It was a snarky way to try to get you to do it yourself ;)
<iqubic>
Oh
<iqubic>
Also, turns out I can't compare numbers.
<adisbladis>
nornagon: I find the easiest way is to have a local nixpkgs checkout and point the environment variable NIX_PATH at it
<adisbladis>
At least for nixos services
<iqubic>
For some reason I though that version 2.58 was newer than 2.79b.
<nornagon>
adisbladis: yeah, it's a service. i was hoping that I wouldn't lose autoupdate though :(
<nornagon>
also i'm not quite sure how to set NIX_PATH on nixos
<adisbladis>
nornagon: If you just wanna test a package you can: nix-shell -I 'nixpkgs=https://github.com/NixOS/nixpkgs/archive/pull/51947/head.tar.gz' -p thelounge
<nornagon>
adisbladis: oh hm, can i run a service that way?
<linarcx>
Gyus, when i want to upgrade nixos, it start to get some packages from cache binary. but it actullay don't show me the percent of the whole download, or download speed. Is there any option in nixos to see these informations during system upgrade?
<softinio>
infinisil: I created my package but when I try to build it I get error: attribute 'tabnine' in selection path 'tabnine' not found any thoughts what I am doing wrong?
<softinio>
named my package tabnine
<softinio>
do I have to register it somewhere?
sindrip has joined #nixos
alexozer has quit [Ping timeout: 252 seconds]
<symphorien>
softinio: if you are adding your package in nixpkgs, you should "register" it in pkgs/top-level/all-packages.nix
<softinio>
symphorien: ty
ixxie has joined #nixos
ixxie has quit [Ping timeout: 264 seconds]
<bgamari>
__monty__, indeed I have been meaning to play around with haskell.org
<bgamari>
I'll admit I'm not entirely happy with the current story for haskell support in nixpkgs
<infinisil>
(s/org/nix)
sindrip has quit [Ping timeout: 264 seconds]
<bgamari>
it works "well enough" most of the time but it can turn very painful very quickly
<bgamari>
whoops
<bgamari>
since it essentially turns the user into a constraint solver
* bgamari
is generally rather skeptical of the viability of the curated package set approach at the scale of Hackage
<__monty__>
bgamari: It'd be pretty cool if doJailbreak somehow notified package maintainers/trustees. Or if there was a way to crowdsource bounds fixes.
<day|flip>
question. is there a way to find package that i did not install using configuration.nix?
alex``649754 has joined #nixos
alex``649754 has quit [Client Quit]
<__monty__>
day|flip: If you mean package installed imperatively with nix-env, there's nix-env -q
alexherbo2 has joined #nixos
<__monty__>
day|flip: For things realized with nix-shell I don't know if there's a better way than searching through /nix/store with find(1)/fd(1).
linarcx has joined #nixos
<day|flip>
nix-env -iA nixos.fuu <--- something like that
<__monty__>
Then nix-env -q is your goto.
<symphorien>
as the same user as you installed the package
<day|flip>
yep. thank you
linarcx has quit [Client Quit]
<day|flip>
mmm how do i go about removing the package?
<infinisil>
,fancy-uninstall
<{^_^}>
Fancy way to uninstall packages, needs fzf installed: nix-env -q | fzf | xargs -I{} nix-env -e {}
<day|flip>
thanks
alex`` has quit [Quit: WeeChat 2.4]
pxc has joined #nixos
<day|flip>
im starting to wonder if 20gb in root is to small. i can only get by with maybe 3 nixos-rebuild switch --upgrade. do you guys used more then 20gb for root partitions?
novakovic has joined #nixos
worldofpeace has quit [Remote host closed the connection]
<makefu>
day|flip: all the time. once my new hard drive arrives i will up to 200g instead of 35 which i have now
growpotkin has quit [Remote host closed the connection]
coconnor has quit [Ping timeout: 252 seconds]
Makaveli7 has joined #nixos
coconnor has joined #nixos
pxc has quit [Ping timeout: 250 seconds]
AleXoundOS has joined #nixos
linarcx has joined #nixos
<infinisil>
day|flip: Well my /nix/store is about 100GB right now..
<infinisil>
But I do a lot of package building/testing/fixing
alexoundos_ has joined #nixos
<sphalerite>
day|flip: yeah it varies a lot depending on usage patterns, but 20G is definitely on the smaller end of what will work.
<sphalerite>
I have a laptop with only 16GB storage and that takes a lot of micromanagement…
<day|flip>
I do plan on getting a fonts that not in the repo. will it is. but not the one i want. and getting a text editor that also not in repo. once i figure thoughs out. then i start with my laptop. that going need a custom package to kernel to get all the main stuff working like it should
AleXoundOS has quit [Quit: Leaving]
alexoundos_ is now known as alexoundos
<sphalerite>
why is that?
<day|flip>
will it kinda pick for laptop wise. since it will... not linux frinedly at all. gen 1 surface book. i like to used touch screen at less. but that not really support out the box with the kernel
<infinisil>
day|flip: What editor is that?
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
<day|flip>
oo editor. little unknow gtk text editor that built around lua or moonscript. https://howl.io/
<sphalerite>
aah ok
rauno has joined #nixos
<infinisil>
> howl.meta.description
daveyjones01 has quit [Quit: Leaving]
<{^_^}>
"A general purpose, fast and lightweight editor with a keyboard-centric minimalistic user interface"
<infinisil>
day|flip: That one seems to be packaged :)
thePirateKing has joined #nixos
<day|flip>
oo. i have try searching this like 2 week again. it was not in the repo
thePirateKing has quit [Client Quit]
thePirateKing has joined #nixos
<sphalerite>
day|flip: it wasn't in 18.09 but is in 19.03, by the looks of it
<day|flip>
ahh
<day|flip>
i see
nD5Xjz has quit [Ping timeout: 246 seconds]
orivej has quit [Quit: No Ping reply in 180 seconds.]
<day|flip>
18.09. i was not able to install glirc. but 19.03 build just find
day|flip has quit [Remote host closed the connection]
shibboleth has joined #nixos
judson has joined #nixos
<judson>
Kind of wishing that fish 2.x were still in the repo.
<judson>
Dunno if it's worth adding back though.
stepcut_ has joined #nixos
<judson>
Dunno if anyone else is seeing this, but I had a thing in my prompt that reliably hung fish. I've fixed it, but I'm worried it's related to a bug that's "milestone 3.1"
erasmus has quit [Read error: Connection reset by peer]
stepcut has quit [Ping timeout: 268 seconds]
<adisbladis>
judson: You can always pick fish 2.x from an older nixpkgs
<judson>
Oh, that's right, huh.
pxc has joined #nixos
<judson>
Best way would be to add something like nixpkgs1803 as a channel and then use `nixpkgs1803.fish` as the expression?
<drakonis>
that exists, yeah.
<judson>
"that exists" implying there's a better way?:
d10n-work has quit [Quit: Connection closed for inactivity]
<judson>
Yeah, that's my usual go to, and what I tried to get the bleeding edge of fish to see if my problem is still present (yes :()
<judson>
Oh, I didn't read carefully enough: I usually do an override of the current package guided by other packages. That seems better.
iceypoi has quit [Quit: WeeChat 2.4]
<sphalerite>
judson: or use fish with up-to-date deps (at the cost of a rebuild) fish = pkgs.callPackage "${fetchTarball channel:nixos-18.09}/pkgs/shells/fish" {};
<judson>
I've seen something like that to pin development shells, as well.
<sphalerite>
(haven't tested that but I think it should work..?)
<judson>
That seems reasonable, and less mess than trying to overrideAttrs back to the previous version.
<judson>
A nice little continuum of approaches and tradeoffs :)
<infinisil>
sphalerite: I wish package definitions would just start with `pkgs: with pkgs;` instead of `{ stdenv, cmake, <whathaveyounot> }`, then changing the pkgs used is just using a different argument
<sphalerite>
what's wrong with using callPackage from a different pkgs?
<infinisil>
I had to change multiple packages versions to override a dependency deeply
<softinio>
any ideas?
<sphalerite>
infinisil: I'm not sure, but I suspect that being able to introspect packages without any evaluation can be useful. Not to say that I know that an argument list like that is the One True Way.
stepcut has quit [Ping timeout: 252 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
stepcut has joined #nixos
<infinisil>
sphalerite: Hmm, maybe
iceypoi has joined #nixos
<infinisil>
Oh but also, you can't even get this argument list from a package
<laalf>
does anyone use nixos to host nextcloud? i get an error that seems to report that you cannot write to the logfile: : fileperms(): stat failed for /nix/store/qmf09w1k84073yxm0k57d7nhncvgav87-nextcloud-15.0.6/data/nextcloud.log in /nix/store/qmf09w1k84073yxm0k57d7nhncvgav87-nextcloud-15.0.6/lib/private/Log/File.php on line 140
softinio has quit [Remote host closed the connection]
arjen-jonathan has quit [Ping timeout: 240 seconds]
softinio has joined #nixos
<catern>
hmm, wouldn't it be a pretty easy and intuitive way to handle secrets in the Nix store by union-mounting a private per-user store on top of the public store, and having the Store backend stick non-prive things in the underlying shared store?
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
<catern>
I know people currently just do private per-user stores without the union mount, without any sharing - that actually seems like a totally fine and good way to handle it, if we have a way to do sharing, which I think a "union store" would provide
<softinio>
infinisil: got disconnected if u replied to my last message I didnt see it
<sphalerite>
softinio: we have logs, see topic :)
pareidolia has quit [Remote host closed the connection]
<bgamari>
carter, I've never tried building java under nix
<sphalerite>
carter: I've never used mvn2nix, but probably. Sounds like my experience with yarn2nix, I used -j99 in fact :p
<carter>
Well. It’s for a good cause. Making it possible for enterprise banking crap to be saner to build / evolve over time
<carter>
Also it’ll be wayyy easier to migrate to way different stuff that’s not garbage if builds are super easy to do
hoijui has quit [Ping timeout: 252 seconds]
<carter>
My Mac has a per user default process limit of like 784 or something. So anything much more than j200 seems to hang
<laalf>
does anyone use nixos to host nextcloud? i get an error that seems to report that you cannot write to the logfile: : fileperms(): stat failed for /nix/store/qmf09w1k84073yxm0k57d7nhncvgav87-nextcloud-15.0.6/data/nextcloud.log in /nix/store/qmf09w1k84073yxm0k57d7nhncvgav87-nextcloud-15.0.6/lib/private/Log/File.php on line 140
<laalf>
tilpner: litterally the site after setting up my config
T_S_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<carter>
sphalerite: how would that change my job limits ?
<carter>
Also I’m pretty sure on this old laptop above 100 wont address any actual bottle necks
<sphalerite>
carter: with the daemon, there are dedicated build users
<sphalerite>
fair enough
<tilpner>
Huh
hoijui has joined #nixos
hoijui has quit [Remote host closed the connection]
<carter>
But even if colleagues complain I can be like “well, you will never care if maven is down ever again so whatevs”
<carter>
Me giggle and say something about Haskell
<tilpner>
laalf: Does your config.php have a log_type with the value syslog?
<laalf>
tilpner: just log_type and _level
<laalf>
and type is syslog
<tilpner>
Then I don't know how to help, sorry
lovesegfault has joined #nixos
<laalf>
tilpner: why would it try to open the log file if it would want to write to syslog anyways?
<tilpner>
I don't know
<tilpner>
#nextcloud might know, if you're willing to wait a day
<laalf>
ill ask there
o1lo01ol1o has quit [Remote host closed the connection]
ixxie has joined #nixos
o1lo01ol1o has joined #nixos
dnlkrgr has quit [Ping timeout: 240 seconds]
<catern>
Hmm, I suggested the notion of a union-mount private store before, because it provides another interesting feature: the ability to run unsandboxed builds using Nix without interfering with anyone else
<catern>
So that's two very strong features of being able to have a private store in your home directory: Storing secrets, and violating sandboxing/system-wide trust guarantees
o1lo01ol1o has quit [Remote host closed the connection]
_kwstas has joined #nixos
o1lo01ol1o has joined #nixos
<catern>
A private store isn't really viable right now as the main way to use Nix, but if a union-mount-store was supported, then it would be efficient enough...
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Read error: Connection reset by peer]
__monty__ has quit [Read error: Connection reset by peer]
__monty__ has joined #nixos
laalf has joined #nixos
<judson>
Did pluginnames2Nix change recently? I'm getting different output all of a sudden.
<judson>
I'm trying to update my new-ish home-manager config, and updating vim plugins. I'm recreating the plugin list, which I think might have something to do with it? But where the output before was a legit package expression, now it emits a series of sets.
__monty__ has quit [Remote host closed the connection]
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<ninjin>
makefu and lassulus: Thank you for the pointers earlier, I am not good enough at routing to get the last mile working but reading your configurations gave me a ton of ideas.
asymmetric_ has quit [Ping timeout: 246 seconds]
sindrip has quit [Ping timeout: 246 seconds]
lunik1 has joined #nixos
fendoer has quit [Read error: Connection reset by peer]
slack1256 has quit [Ping timeout: 250 seconds]
goibhniu has quit [Ping timeout: 264 seconds]
day|flip has joined #nixos
day|flip has quit [Remote host closed the connection]
<laalf>
tilpner: i get "creation of new role failed: ERROR: role "nextcloud" already exists". the error persists though. to me it looks like an issue with the service
o1lo01ol1o has joined #nixos
<tilpner>
laalf: Did you copy parts of my setup? If you created the database user by other means, you may have to touch db-created
<laalf>
tilpner: i stopped the services before and rm -rf /var/lib/postresql before
<laalf>
i tried to remove as much of my fuckery as possible
erasmus has quit [Read error: Connection reset by peer]
o1lo01ol1o has joined #nixos
knupfer has quit [Ping timeout: 264 seconds]
<ninjin>
SSH tunneling, what am I missing? Local to server for SSH port works, but for an application with a web UI it does not. However, curl towards the web UI on the server works. Is localhost somehow protected by default on NixOS?
winem_ has joined #nixos
Lears has joined #nixos
o1lo01ol1o has quit [Ping timeout: 268 seconds]
dwdr has quit [Ping timeout: 245 seconds]
<averell>
no. but maybe your hosting provider or something else along the way does. also depends on what doesn't work means exactly.
shibboleth has quit [Quit: shibboleth]
<ninjin>
averell: “Not works” in this case means that nothing is returned when I forward towards the web UI, but for SSH I get the standard header. On the server curl returns the HTML as expected.
<averell>
nothing returned means a timeout with curl? also, what's the exact command to set up the tunnel?
* ninjin
gets digging into the man pages to see if he can get curl to speak a bit more
<averell>
-vvvv if in doubt :)
<ninjin>
There we go: `HTTP/1.1 401 Unauthorized` Funny that FF shows a blank page when that code is returned.
softinio has quit [Ping timeout: 250 seconds]
<ninjin>
So it looks like an application error to me then.
Rusty1 has joined #nixos
Anton-Latukha has quit [Quit: Leaving.]
<ninjin>
Thanks, I was questioning my sanity there for a while.
<averell>
You could have imagined this conversation.
<ninjin>
In hindsight, yes, I blame myself being rubbish at HTTP and being primed to question routes and firewalls after my container fiasco. Still, I should know better at my age.
<judson>
Why doesn't Vim have a "no really, I don't want to press enter" setting?
<averell>
ninjin: Meh, there's always a lot that can go wrong :). But I would suggest F12 as a first diagnostic tool if something acts weird in the browser.
<judson>
The trouble is, the vimRC it uses includes `echom` commands, and that has Vim say "Press ENTER to continue" which isn't going to be ergonomic in a build expression.
drakonis1 has joined #nixos
<judson>
Making sense __monty__?
<judson>
I thought about `yes`...
drakonis_ has quit [Ping timeout: 246 seconds]
<samueldr>
so it's a no? ;)
<judson>
Not necessarily. :)
jasongrossman has quit [Quit: ERC (IRC client for Emacs 26.1)]
<judson>
Largely I was afraid I'd have to add a dep to the shell.nix, but seems not!
drakonis has quit [Ping timeout: 264 seconds]
<judson>
You see what I mean, though? It seems hacky to use yes for this, and I want to pass a flag to Vim that says "but really no press-enter"
<{^_^}>
[nixpkgs] @romildo opened pull request #59429 → deepin.deepin-screenshot: fix FHS hard coded path → https://git.io/fjm0W
<{^_^}>
[nixpkgs] @worldofpeace pushed 3 commits to master: https://git.io/fjm02
<emilsp>
weird - comparing the buildscript between arch and nixos for gnome-control-center, I still can't see why I can add "navigation" keyboard shortcuts on arch but not on nixos.
<Unode>
infinisil: hum... I'm going to try with the "non-latest", since the reason I pushed was acpi keys, and maybe the 'stable' kernel in 19.03 is recent enough
<day|flip>
this is what i did to fix the issue with nvidia kernel on 5.0.5