nikivi has quit [Read error: Connection reset by peer]
Nikita has joined #nixos
pikajude0 has joined #nixos
Nikita is now known as Guest55545
Guest55545 is now known as nikivi
rotaerk_ has quit [Ping timeout: 245 seconds]
pikajude has quit [Ping timeout: 276 seconds]
statusfailed has quit [Ping timeout: 276 seconds]
amir has quit [Ping timeout: 276 seconds]
xelxebar has quit [Ping timeout: 260 seconds]
ng0 has quit [Ping timeout: 260 seconds]
andreas303 has quit [Ping timeout: 260 seconds]
gxt has quit [Ping timeout: 260 seconds]
klntsky has quit [Ping timeout: 260 seconds]
Palpares has quit [Ping timeout: 260 seconds]
cartwright has quit [Ping timeout: 260 seconds]
jb55 has quit [Ping timeout: 260 seconds]
shibboleth has quit [Ping timeout: 260 seconds]
statusfa1led has joined #nixos
phreedom has quit [Ping timeout: 260 seconds]
amir has joined #nixos
jb55 has joined #nixos
Palpares has joined #nixos
cartwright has joined #nixos
klntsky has joined #nixos
phreedom has joined #nixos
elux has joined #nixos
xelxebar has joined #nixos
andreas303 has joined #nixos
<elux>
hi there, `home-manager switch --upgrade` is giving me the warning `trace: warning: types.string is deprecated because it quietly concatenates strings` but i dont think any of my configs use this, it might be the channel?
gxt has joined #nixos
shibboleth has joined #nixos
<iqubic>
Yeah. I think so too.
<iqubic>
I'm also getting that issue.
rotaerk has joined #nixos
ng0 has joined #nixos
elux has quit [Quit: leaving]
TomJankauski has joined #nixos
zacts has joined #nixos
TomJankauski has quit [Quit: WeeChat 2.6]
drakonis has quit [Ping timeout: 240 seconds]
samrose has quit [Read error: Connection reset by peer]
samrose has joined #nixos
ng0 has quit [Quit: Alexa, when is the end of world?]
dbyte has joined #nixos
vonfry has joined #nixos
waleee-cl has quit [Quit: Connection closed for inactivity]
Wharncliffe has quit [Ping timeout: 265 seconds]
dbyte has quit [Read error: Connection reset by peer]
dbyte has joined #nixos
<samueldr>
yes, a new deprecation warning was added, it's innocuous and targeted at those who wrote the modules
mexisme has quit [Ping timeout: 276 seconds]
iyzsong has joined #nixos
kvda has joined #nixos
Rusty1 has joined #nixos
pikajude0 is now known as pikajude
wildtrees has quit [Quit: Leaving]
ddellacosta has joined #nixos
nikola_i has joined #nixos
drakonis has joined #nixos
drakonis_ has quit [Ping timeout: 245 seconds]
emptyfl4sk has joined #nixos
tertl3_ has quit [Quit: Connection closed for inactivity]
dongrappa has joined #nixos
v88m has quit [Ping timeout: 265 seconds]
emptyfl4sk has quit [Ping timeout: 240 seconds]
dongrappa has quit [Ping timeout: 245 seconds]
felixfoertsch has joined #nixos
felixfoertsch23 has quit [Ping timeout: 245 seconds]
<Acou_Bass>
in my chan list and I've not it enabled in .zshrc via oh-my-zsh but if i do 'command not found somecommand' in a terminal it just says command not found under it
<Acou_Bass>
also got it enabled in configuration.nix but i understand thats supposed to be automatically on anyay
<iqubic>
Oh. Well, I'm stumped.
zacts has joined #nixos
emptyfl4sk has quit [Ping timeout: 245 seconds]
<gnidorah>
8:29 PM <gnidorah> nix-build -E 'with import <nixpkgs> { }; callPackage_i686 ./default.nix { }' fails for me
<gnidorah>
8:30 PM <gnidorah> kexec/arch/i386/kexec-x86.c:39:22: error: 'multiboot2_x86_probe' undeclared here (not in a function); did you mean 'multiboot_x86_probe'?
<gnidorah>
8:31 PM <gnidorah> i want to cross build my package for x86 on my x86_64 host to check whether it builds and work on x86
<gnidorah>
8:30 PM <gnidorah> anyone knows how to fix this?
mexisme has joined #nixos
judson_ has quit [Remote host closed the connection]
<provessor[m]>
Now it says undefined variable version, but atleast it loads the overlay
<clever>
provessor[m]: rec {
<provessor[m]>
undefined variable fetchgit
<clever>
provessor[m]: self.fetchgit
<provessor[m]>
error: attempt to call something which is not a function but a set
<clever>
provessor[m]: overrideAttrs takes a function
<clever>
its usually in the form of emacs.overrideAttrs (old: {
<clever>
or rec{ in your case
adamantium has quit [Remote host closed the connection]
<provessor[m]>
its still saying the same error
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
justanotheruser has joined #nixos
<provessor[m]>
should it be `oldAttrs: rec {`?
<provessor[m]>
Ok just `old: rec {`
<provessor[m]>
works too
<provessor[m]>
Except now my issue is setting `srcRepo = true;` isn't including the extra dependencies
<provessor[m]>
namely autoconf, automake and texinfo
<samueldr>
I get `hash mismatch importing path` from building a `src = /full/path;` on another machine, weird
<clever>
provessor[m]: srcRepo is a .override flag
<clever>
provessor[m]: so you want (super.emacs.override { srcRepo = true; }).overrideAttrs (old: rec {
<provessor[m]>
So do i need an overrideAttrs and override?
<clever>
yep
<clever>
samueldr: build slave or just copying the nix expr?
<samueldr>
build slave
<clever>
samueldr: on the source machine, do `nix-store --verify --check-contents`
<provessor[m]>
works perfectly fine now
<provessor[m]>
Thanks a lot clever
<clever>
yep
<provessor[m]>
Of course, now I find the documentation on this in the nixpkgs mannual when I couldn't for probably around an hour before I gave in and asked here
justbeingglad has joined #nixos
justbeingglad has left #nixos [#nixos]
<samueldr>
clever: still waiting on that --verify, though this gave me a hunch and I just placed a dummy file to force a different content
<samueldr>
and it copied fine and is now building
mexisme has joined #nixos
batzy has joined #nixos
kvda has joined #nixos
<batzy>
How the fuck do i enable wifi
<batzy>
My adapter isn't showing up on ifconfig
<clever>
samueldr: i suspect something in /nix/store/ was modified outside of nix's control, so the hash is now wrong
<samueldr>
clever: I suspect it too
<batzy>
It's some sort of Qualcomm atheros thing
<samueldr>
fun, three (other irrelevant) paths are stated as having been modified!
<clever>
batzy: is there any firmware error in `dmesg` ?
<clever>
samueldr: ext4?
<samueldr>
yes
<batzy>
Uh
<clever>
samueldr: it has a bad habbit of truncating files at improper shutdown
<batzy>
Clever how do I check
<clever>
batzy: search the output for anything mentioning firmware or ath
<samueldr>
clever: hm, truncating random files?
<batzy>
If I just type that in it just says bash: [: missing `]'
<samueldr>
though for my particular issue there was no shutdown and was basically working on the thing
<clever>
samueldr: files that where being edited shortly before the improper shutdown
<batzy>
Oh woops
<samueldr>
clever: hm, then unlikely to be that I think
<samueldr>
though the great thing is the drive on which my nix store is, is only for the nix store :)
<samueldr>
so no great loss if it flakes out completely
<samueldr>
only my sanity
batzy has quit [Read error: Connection reset by peer]
<clever>
samueldr: main problem i see, is things like .drv files getting truncated, and then nixos-rebuild refuses to do anything
<clever>
samueldr: but a GC can usually fix that
<hpfr[m]>
I have a kernel overlay in my common.nix, imported by my configuration.nix. Why does it build the kernel if I don’t use it in boot.kernelPackages? Isn’t that not very lazy?
<clever>
hpfr[m]: what attr are you overlaying?
<hpfr[m]>
extraConfig
<clever>
hpfr[m]: within the pkgs tree
<hpfr[m]>
It’s in nixpkgs.overlays if that’s what you mean
<clever>
hpfr[m]: what is the attr you are setting, within the self: super: { set
<hpfr[m]>
linux_5_1 and linux_4_19
_deepfire has joined #nixos
<clever>
hpfr[m]: which channel are you on?
<hpfr[m]>
linux_5_1 isn’t even in the unstable channel anymore but I figured it wouldn’t do anything then
<hpfr[m]>
Unstable, updated a few days ago
<hpfr[m]>
Nixos-unstable sorry
batzy has joined #nixos
<clever>
15929 # The current default kernel / kernel modules.
<clever>
hpfr[m]: that should ignore the overlay then, if you comment the overlay out, do you get a different kernel?
<clever>
batzy: any change in ifconfig? dmesg?
<batzy>
My thing is still not on ifconfig
<clever>
batzy: dmesg?
<batzy>
Yeah a change to dmesg
<batzy>
Direct firmware load for regulatory.db failed with error -2
<batzy>
I guess we guessed wrong
<clever>
batzy: or the firmware isnt installed
<clever>
any other errors in dmesg?
<hpfr[m]>
clever: the kernel (uname -r) was 5.2.6. I ran nrs and it built a kernel presumably from an overlay, now it’s 5.2.13, it could have been that kernel I guess but I’d imagine that’s cached
<hpfr[m]>
So 4.19 was never involved
<batzy>
Hm
<batzy>
Am I still connected
<batzy>
My connection is shit
<clever>
batzy: you are still connected
<batzy>
Clever that's kt
<batzy>
It
<batzy>
Bluetooth is still there obviously
<clever>
batzy: try adding `hardware.enableAllFirmware = true;` to configuration.nix and rebuild
<clever>
batzy: nope, just re-run the modprobe from before
johnw has joined #nixos
<gnidorah>
clever: thank you!!!
<batzy>
Fuck I need internet
<clever>
batzy: plug in an ethernet cable?
<clever>
batzy: you can also boot the installer, mount the existing fs back under /mnt (along with any partitions it needs), then re-run nixos-install to apply changes to configuration.nix
<batzy>
I'm definitely not doing that
<batzy>
Ok
<batzy>
I rebuilt
<batzy>
And did modprobe
<batzy>
No changes to dmesg, what now clever
<clever>
batzy: did the error repeat, or not show up again?
<batzy>
Repeat
<clever>
batzy: then we need to figure out what package provides that file, and install it, google may know what its typically inside
knupfer has quit [Ping timeout: 276 seconds]
<clever>
batzy: did you enable wireless in configuration.nix?
<batzy>
Can't I just do lspci
<batzy>
Or something
<batzy>
Yes
<clever>
cant think of what else to check then, maybe try a reboot anyways?
<batzy>
Err not really because gnome3
<batzy>
Doesn't like it
<batzy>
I have an idea
<batzy>
Standby
<clever>
batzy: that wont reload things the same as a reboot
<batzy>
My idea didn't sofm
<batzy>
Worm
<batzy>
Work
<batzy>
:(
<clever>
batzy: try a full reboot?
<batzy>
I did
<clever>
batzy: what does lspci say the card is?
<batzy>
Command not found
<batzy>
Lol
<clever>
batzy: nix-env -iA nixos.pciutils
<batzy>
Clever BCM43142
<batzy>
Broadcomm
kvda has joined #nixos
<clever>
batzy: 30 seconds on google says you want the wl driver, not the ath10k driver
<clever>
batzy: `modprobe wl` ?
<batzy>
Module wl not found
<clever>
batzy: its not clear which package the driver is in, if any
<clever>
batzy: further down, this stack overflow mentions b43, what does `modprobe b43` say?
kvda has quit [Client Quit]
<batzy>
It goes through but does not detect card
emacsomancer has quit [Read error: Connection reset by peer]
orivej has quit [Ping timeout: 245 seconds]
<clever>
batzy: not sure what else to check
<batzy>
I'm testing something now, sec
domogled has quit [Quit: domogled]
<batzy>
Clever I fixed it
<clever>
batzy: what was the solution?
batzy has quit [Read error: Connection reset by peer]
batzy has joined #nixos
<clever>
batzy: what was the solution?
kvda has joined #nixos
orivej has joined #nixos
dermetfan has joined #nixos
endformationage has quit [Ping timeout: 265 seconds]
v88m has joined #nixos
adamantium has joined #nixos
batzy has quit [Read error: Connection reset by peer]
dermetfan has quit [Ping timeout: 240 seconds]
batzy has joined #nixos
drakonis1 has quit [Quit: WeeChat 2.4]
adamantium has quit [Remote host closed the connection]
adamantium has joined #nixos
Zer0xp has joined #nixos
rauno has quit [Ping timeout: 245 seconds]
palo1 has joined #nixos
sb0 has quit [Quit: Leaving]
mexisme has quit [Ping timeout: 276 seconds]
v88m has quit [Ping timeout: 240 seconds]
palo has quit [Ping timeout: 246 seconds]
palo1 is now known as palo
batzy has quit [Read error: Connection reset by peer]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mexisme has joined #nixos
hyper_ch2 has quit [Remote host closed the connection]
<hpfr[m]>
Switching to home manager module within system configuration and I get an error that steam is unfree despite having nixpkgs.config.allowUnfree = true in my config, what’s wrong?
<lewo>
I have two PRs that have not been built by ofBorg:/
vika_nezrimaya has joined #nixos
gxt has joined #nixos
<sphalerite>
,locate bin eglgears
rauno has quit [Ping timeout: 276 seconds]
<sphalerite>
lewo: yes. What it is is unclear, and Graham's currently away :/
<sphalerite>
(unclear to me at least)
cfricke has joined #nixos
<lewo>
sphalerite: he is coming back on next week i guess
adamantium has quit [Ping timeout: 246 seconds]
dansho_ has joined #nixos
rauno has joined #nixos
sb0 has quit [Quit: Leaving]
dermetfan has joined #nixos
civodul has joined #nixos
vonfry has quit [Quit: WeeChat 2.4]
drakonis_ has quit [Remote host closed the connection]
rauno has quit [Ping timeout: 276 seconds]
Tucky has joined #nixos
adamantium has joined #nixos
gxt has quit [Ping timeout: 260 seconds]
graf_blutwurst has joined #nixos
rauno has joined #nixos
Netsu has quit [Ping timeout: 260 seconds]
gnidorah has quit [Quit: Connection closed for inactivity]
dongrappa has joined #nixos
hyper_ch2 has joined #nixos
aiowej has joined #nixos
sb0 has joined #nixos
aiowej has left #nixos [#nixos]
<sb0>
are apparmor-utils supposed to work? am I doing something obviously wrong? they seem to really not want to work on nixos. https://hastebin.com/buzivokibu.shell
<sb0>
all I did was add "security.apparmor.enable = true" to configuration.nix
hyper_ch2 has quit [Remote host closed the connection]
hyper_ch2 has joined #nixos
<sb0>
hmm and the default profiles also reference a bunch of FHS paths...
<jgt>
in my shell.nix, I have `pkgs = import (import ./nixpkgs.nix) { inherit config; };`, and that nixpkgs.nix file looks like this: http://ix.io/1UYA
<alex``>
I tried multiple times and it always freezes at some point
<sphalerite>
jgt: my suspicion is that it's not pinned correctly on darwin, does the command you showed above show 5.x too?
<jgt>
sphalerite: also, I ran that command on my local machine, _not_ my NixOS server
<sphalerite>
alex``: you may be running out of memory
<alex``>
possible
<alex``>
I don't have swap
<colemickens>
cinimod, I tried to tell you the other day, my Azure branch has the newer version of azcopy.
<colemickens>
`nix-env -f ~/path/to/my/azure/branch -iA azure-storage-azcopy` should work
<alex``>
sphalerite: how can i add it temporaly?
<sphalerite>
alex``: nix is unfortunately quite memory-intensive. Depending on what you're building, it may just be eating all your RAM. Reducing parallelism _might_ help
<jgt>
sphalerite: to clarify, my darwin system does not use a pinned nixpkgs. My _project_ uses a pinned nixpkgs.
<cinimod>
colemickens: Sorry I just saw your comment: > my 'azure' branch has a newer version of azcopy packaged.
<cinimod>
:thumbsup:
<cinimod>
colemickens: I will try shortly
<sphalerite>
alex``: not sure swapping will help, but if you're on a "classical" filesystem like ext4 you can create a swapfile (as root: umask 077 ; dd if=/dev/zero of=/swap bs=1M count=2k ; mkswap /swap ) for 2GB, then activate it using swapon /swap
<alex``>
what does `umask 077`?
statusfa1led is now known as statusfailed
<sphalerite>
alex``: ensures that the swapfile is not readable for users other than root
<alex``>
i don't see umask taking a file argument
<Netsu>
is it possible to use GNU gcc on Darwin insead of Libsystem-osx-* one?
<sphalerite>
alex``: yeah, umask is some fun unix legacy stuff. In this case it's a shell builtin which modifies the state of the shell process
__monty__ has joined #nixos
<sphalerite>
alex``: have a look at man 2 umask if you want to learn more
<alex``>
you prefer dd than fallocate?
cizra has joined #nixos
sigmundv has quit [Ping timeout: 265 seconds]
<cizra>
Hello! I'm on 19.03 with unstable = import <unstable> {}; in my configuration.nix. How can I install an unfree package from unstable? All ways to set allowUnfree don't seem to apply to unstable.
<alex``>
sphalerite: chmod 600 /swap is the same than your umask?
<sphalerite>
alex``: yes, except that with umask it gets _created_ with those permissions
<eyJhb>
This is mine `unstablePkgs = import <unstable>{ config.allowUnfree = true; };`
<__monty__>
So the *second* seems right?
<__monty__>
You're sending confusing signals >.< : p
<eyJhb>
Oh yeah, sorry! It was just because you omitted the first part, that the second seemed wrong
<eyJhb>
Sorry!
<__monty__>
Ah, just lazy typing : )
<cizra>
Thanks!
Zer0xp has quit [Ping timeout: 246 seconds]
<__monty__>
np
ericsagnes has quit [Ping timeout: 264 seconds]
chiefgoat has quit [Ping timeout: 240 seconds]
<alex``>
sphalerite: could it be also because of the heat?
<alex``>
I'm at 98°
<alex``>
when compiling
<tilpner>
alex``: HDD or SSD?
<alex``>
hdd
<sphalerite>
alex``: that doesn't sound unlikely either. Fix your cooling ;)
<tilpner>
alex``: My music always begins to stutter when I compile something large, and I'm on (SATA) SSD
<tilpner>
alex``: nix.daemonIONiceLevel might help
<tilpner>
(As well as nix.daemonNiceLevel)
<alex``>
which temperature do you have when compiling big stuff?
<alex``>
what do they do ?
<tilpner>
I'm not sure, I never check. I also have 16GB of memory and an SSD, which probably helps with the freezing
<mbrgm>
hi! quick and easy: how can I check if I'm currently running on NixOS from a nix expression?
<tilpner>
alex``: Those options make the nix daemon declare itself as less important, compared to your other processes
<mbrgm>
i.e. I want to distinguish between NixOS <--> some other linux distro
<sphalerite>
mbrgm: please don't :p
<mbrgm>
sphalerite: y?
<tilpner>
alex``: That might make builds slower, but it should help with responsive-ness of everything else
cfricke has quit [Ping timeout: 246 seconds]
<mbrgm>
I'm trying to adopt home-manager on my arch machine as well, but some things are different in the configurations.
<sphalerite>
alex``: a properly set-up system should never reach CPU temperatures like that, did you build your machine yourself?
<alex``>
tilpner: which value do you give to that two options?
<tilpner>
sphalerite: Who builds their own laptop? :o
<alex``>
sphalerite: no
<sphalerite>
ah, it's a laptop
<alex``>
yes laptop
<sphalerite>
laptops do tend to get hotter than desktops, but still _shouldn't_ get that hot
<__monty__>
If that 98° is C it's a problem, if it's F it's probably no big deal.
<alex``>
celcius yes x(
<jgt>
at least you can put a cup of tea on it to keep it warm
<__monty__>
I think 80° is the recommended maximum operation temperature of CPUs these days?
<alex``>
i'm at 52° currently
<alex``>
but not compiling
<alex``>
which value do you have?
<__monty__>
39.5°C But I'm not even running X.
ericsagnes has joined #nixos
<alex``>
putting it in the fridge when compiling could help?
Soo_Slow has joined #nixos
<__monty__>
And it's an old latitude d400 so probably doesn't output much heat compared to more current devices.
<sphalerite>
alex``: no, it probably won't. Are you familiar with hardware at all? I'd suggest disassembling it, removing dust, and ideally applying new thermal paste to the CPU and cooler.
<__monty__>
Yes, that'd help bricking it sooner : )
<sphalerite>
alex``: or pay someone else to do it if you're not confident you can get that right :)
<sphalerite>
__monty__: on the contrary, an older machine will generate more heat doing the same work than a newer one, generally speaking :)
fendor_ has quit [Ping timeout: 246 seconds]
<alex``>
sphalerite: i'm not familiar with hardware no
<sphalerite>
alex``: then pay someone else to do it for you :)
<alex``>
i have to try doing myself
<__monty__>
If you're not confident I wouldn't take it apart to apply thermal paste. But you can definitely get some dust out.
<sphalerite>
yeah, use a vacuum cleaner and hold onto the fans so they don't spin
<__monty__>
sphalerite: Yes but I doubt a pentium M 1.6GHz can consume as much power as Core i-anything.
<alex``>
ok
<tilpner>
alex``: If you're okay with longer build times, nix.maxJobs = 1; nix.buildCores = 1;
<alex``>
compiling started, I'm at 75°C
<alex``>
83
<sphalerite>
__monty__: what's the exact model number?
<alex``>
89 x(
<tyrion-mx>
Hello, I am reading https://github.com/NixOS/nixpkgs/blob/release-19.03/pkgs/desktops/lxqt/default.nix and I am trying to understand why some things are required. For example, "liblxqt: Core utility library for all LXQt component". Shouldn't every app that needs it, depend on it? Why do I have to install it manually?
o1lo01ol1o has joined #nixos
<alex``>
it should be the fourth time I try
<alex``>
i'm telling my computer "Please pass"
<tyrion-mx>
Same thing with libfm, which is "Core library of PCManFM file manager". If it is a "core" library shouldn't it be already required by pcmanfm?
alex`` has quit [Quit: WeeChat 2.5]
<__monty__>
sphalerite: Not sure where to find that. Cpuinfo says "13", which, how appropriate on friday 13th : )
<colemickens>
<cinimod "colemickens: how long does the c"> Lol who knows. I can upload directly from an Azure VM and it takes 30 seconds or less. But following the instructions you're following took nearly an hour yesterday and was full of repeats and failures because lolazure.
<philipp[m]>
Would anybody bother ofborg with that one again? I don't have the rights.
<colemickens>
They wanted me to contact support after posting 4 api failures and an internal stack trace on GitHub, but I know what that means - they want to stall and send me through loops of support hell. I'm not doing it.
Chiliparrot has joined #nixos
samrose has quit [Remote host closed the connection]
vika_nezrimaya has quit [Ping timeout: 265 seconds]
fendor_ has joined #nixos
asymptotically has joined #nixos
<jgt>
sphalerite: I think you were right; I think I was pinning nixpkgs incorrectly
<jgt>
sphalerite: because if I do `nix-shell -p redis` on my MacOS machine in a directory without a shell.nix, I get Redis 5
Ariakenom has quit [Remote host closed the connection]
<rihardsk[m]>
hi, any idea why building a package would produce this?
<rihardsk[m]>
>/nix/store/xfghy8ixrhz3kyy6p724iv3cxji088dx-bash-4.4-p23/bin/bash: ./gen_rules.sh: /bin/bash: bad interpreter: No such file or directory
<rihardsk[m]>
gen_rules.sh is being executed by a Makefile target. gen_rules.sh has a shebang line `#!/bin/bash`
<rihardsk[m]>
my impression was that the nix builds happen in a chroot and i don't have to worry about shebangs during build
<alexarice[m]>
rihardsk: /bin/bash isn't there on nixos
samrose has joined #nixos
<symphorien>
rihardsk[m]: use patchShebangs <the script>
<alexarice[m]>
you probably need to patch it out
<rihardsk[m]>
wait, should i patch all the shebangs before build?
<manveru>
jgt: you don't need to import nixpkgs to import nixpkgs...
<symphorien>
Yes
<symphorien>
Tuhe
<symphorien>
Oops
<tyrion-mx>
I get a lot of these: `collision between `/nix/store/k7hnr3hp17j0kaqfwa5qy1g2ky8c2c3f-libfm-extra-1.3.1/lib/libfm-extra.so' and `/nix/store/63rmhhha0rfxwpc2ycfhkdl1fmwr269f-libfm-1.3.1/lib/libfm-extra.so` (Stuff colliding between libfm and libfm-extra). Is it ok?
<symphorien>
Only the shebangs of the final, installed files are automatically patched
<alexarice[m]>
the only shebangs that will work are `/bin/sh` and `/usr/bin/env x`
nikola_ has quit [Ping timeout: 245 seconds]
<rihardsk[m]>
what about this?
<alexarice[m]>
and hardcoded paths
<rihardsk[m]>
>my impression was that the nix builds happen in a chroot and i don't have to worry about shebangs during build
<rihardsk[m]>
so my asumption wasn't true, right?
<rihardsk[m]>
alexarice: oh, ok
<jgt>
manveru: you mean on the first line of nixpkgs.nix?
zupo has joined #nixos
<alexarice[m]>
it's true in that I think environment variables will be modified
<alexarice[m]>
but if the program tries to query an actual path it won't work
tyrion-mx has quit [Remote host closed the connection]
<alexarice[m]>
maybe the assumption wasn't true
<__monty__>
sphalerite: You seem to be cherry-picking, first i5 I clicked on had a 65w tdp.
<sphalerite>
__monty__: I picked a random, launched one from the latest generation.
<rihardsk[m]>
hmm, is there a way to place myself into the chroot environment that the builder runs in? i could take a look around to see for myself what's available.
<__monty__>
I think the 27w -> 15W is just intel lying about power consumption actually. They tend to misreport TDPs.
<__monty__>
But I also don't care. I know hardware's gotten a lot more efficient since 2008.
zupo has quit [Client Quit]
<jgt>
manveru: making that change fails with: error: attribute 'ghc843' missing, at /Users/jgt/Sites/riskbookltd.com/pkgconfig.nix:5:25
<alexarice[m]>
rihardsk: nix-shell?
<manveru>
jgt: because that nixpkgs has no ghc843
Ariakenom has quit [Remote host closed the connection]
<rihardsk[m]>
alexarice: well, it gives me the same environment, but it doesn't place me in a chroot
Ariakenom has joined #nixos
<rihardsk[m]>
alexarice: i was able to build the package just fine using `nix-shell -p ... --pure`, but it fails during build when invoked differently
<jgt>
manveru: I guess I'm due a GHC upgrade anyway…
emptyfl4sk has joined #nixos
<manveru>
jgt: or use an older nixpkgs revision :)
fendor_ has quit [Ping timeout: 245 seconds]
<alexarice[m]>
yh I've had that happen, I don't have a clue what is going on tbh
<alexarice[m]>
there's likely some strange stuff going on in `setup.sh`
<rihardsk[m]>
* @alexarice:matrix.org: i was able to build the package just fine when building manually from a shell given by `nix-shell -p ... --pure`, but it fails during the automatic build (nix-build or nix-shell -p mypackage)
cinimod has quit [Ping timeout: 240 seconds]
<rihardsk[m]>
* @alexarice:matrix.org: i was able to build the package just fine when building manually from a shell given by `nix-shell -p some_deps --pure`, but it fails during the automatic build (nix-build or nix-shell -p mypackage)
marek has joined #nixos
marek has quit [Changing host]
<alexarice[m]>
rihardsk: have you tried `nix-shell -A your-package` from your nixpkgs clone or `nix-shell .` if you just have a standalone nix file
<symphorien>
rihardsk[m]: does the build process involve Internet access ?
emptyfl4sk has quit [Ping timeout: 265 seconds]
<rihardsk[m]>
alexarice: my package is in an overlay, so i can do `nix-shell -p my-package` which atempts to build it. the build fails with the `/bin/bash` error. however, when i go to the `/tmp` directory where the package was being built and atempt to manually build the package, the build works just fine. when i manually build the package, i do it from a nix-shell with all the dependencies specified -- `nix-shell -p cmake and other
<rihardsk[m]>
deps` (i first have to clean the old build files first, and then proceed with `mkdir build; cd build; cmake ..; make;`)
<alexarice[m]>
I'm surprised /bin/bash exists in a nix-shell
<rihardsk[m]>
symphorien: i think not
<rihardsk[m]>
alexarice: oh, right, to be more precise - the manual build is done from a pure shell - `nix-shell -p cmake and other deps --pure`
<rihardsk[m]>
and i'm not using NixOS
<alexarice[m]>
ah, I expect nix-shell doesn't hide your bin directory
<rihardsk[m]>
yup
<alexarice[m]>
it probably just hides any nix-installed things you have
<alexarice[m]>
of which your systems /bin/bash isn't one
<rihardsk[m]>
well, and it also wipes other things from the PATH
<rihardsk[m]>
but `/bin/bash` is still accessible
<rihardsk[m]>
that's why i'm asking about the chroot
<alexarice[m]>
that's not using your path to find it
<alexarice[m]>
yh
<alexarice[m]>
I don't know about chrooting sorry
<rihardsk[m]>
can i place myself into one? so that my manual build environemtn matches that of the automatic one
<alexarice[m]>
I would also be interested in the answer if you find out
<MichaelEden[m]>
rihardsk: there's buildFHSUserEnv which puts you in a chroot, or systemd-nspawn containers, or docker?
<MichaelEden[m]>
or bubblewrap which is also great
<symphorien>
oh, sorry, rihardsk[m] ^
<rihardsk[m]>
alexarice: ok, tahnks anyway, i'll just attempt do `patchShebangs` before the build.
iyzsong-x has joined #nixos
<alexarice[m]>
sorry I couldn't help more
orivej has joined #nixos
<rihardsk[m]>
symphorien: thanks!
iyzsong has quit [Ping timeout: 276 seconds]
<MichaelEden[m]>
rihardsk: you can try: `bwrap --dev dev --proc proc --unshare-all --share-net --die-with-parent --bind /nix /nix --ro-bind /etc /etc --bind /run /run --tmpfs /tmp $(which nix-shell) -p hello`
<rihardsk[m]>
Michael Eden: hmm, `buildFHSUserEnv` isn't exactly what i want. i'd want to get a chrooted shell to get an environemnt that's exactly like the one `nix-build` runs in (with /bin/bash hidden). then i could attempt to manually build and see what's where
<rihardsk[m]>
Michael Eden: ooh, this looks promising
<rihardsk[m]>
thanks!
<MichaelEden[m]>
np! there shouldn't be a /bin in there, you can `nix-env -iA nixpkgs.bubblewrap` to install `bwrap`
<tejok[m]>
hey there, i have the following `.cabal` file https://pastebin.com/YUA5iF64 which I'm trynig to build on NixOS using `cabal2nix`, but when I do `cabal build` I'm getting `Encountered missing dependencies: postgresql-simple ==0.6.*`, any idea why? (I see nix downloaded the dep when opening the shell... so I'm confused...)
johanot has quit [Quit: WeeChat 2.4]
v88m has quit [Remote host closed the connection]
domogled has joined #nixos
emptyfl4sk has joined #nixos
<jackdk>
tejok[m]: did it download the correct version? `ghc-pkg list | grep postgresql-simple`
<jackdk>
nixpkgs generally only has one version per nixpkgs version
<tejok[m]>
jackdk: suprisingly, the package does not appears at all when doing `ghc-pkg list` 😞
<jackdk>
tejok[m]: wheeee. Please show me how you're constructing your nix shell?
<jgt>
I tried upgrading to ghc863, but it failed to build. I'm trying ghc844, and Nix has decided it wants to rebuild all of GHC :-/
<jgt>
manveru: ^^
<jgt>
does the binary cache just not work if you're using a pinned nixpkgs?
<manveru>
it works if you pin a version of nixpkgs that was built on hydra
fendor_ has joined #nixos
emptyfl4sk has quit [Ping timeout: 246 seconds]
<tejok[m]>
jackdk: thanks for looking into this, here I extract my haskell dev env and the result of cabla2nix: https://pastebin.com/FENwXQeW .. at the end I show the command I use to start the shell. Do you see any issue?
<jgt>
manveru: how can I check which commits were built on Hydra? Aside from the obvious way of trial and error, and seeing when it decides to rebuild GHC
<MichaelEden[m]>
rihardsk: i forgot to mention that nixos has _does have_ `/bin/sh` and `/usr/bin/env` exposed, so you can bind mount those into your bubblewrap
<jackdk>
(`env` is `drv.env` from that `cabal2nix` output)
<tejok[m]>
jackdk: when you do ` ghc-pkg list --global` in that working shell, what is the path to `.db` given as the first line?
<tejok[m]>
sorry the `--global` is irrelevant
<tejok[m]>
I have `/nix/store/gvshp9yvc6gql09r3cyryj2zgsnfk6br-ghc-8.6.4/lib/ghc-8.6.4/package.conf.d`
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<jackdk>
I have /nix/store/hmvqvdws4fvb8qiab2gdyg4la5lkqdnb-ghc-8.6.4-with-packages/lib/ghc-8.6.4/package.conf.d
<tejok[m]>
okay that must be the reason, I'll check if I have some specific ghc config or whatelse
<tejok[m]>
thanks again for your help jackdk
<jackdk>
good luck
<tejok[m]>
thanks! the good news is that when I do ` /nix/store/hmvqvdws4fvb8qiab2gdyg4la5lkqdnb-ghc-8.6.4-with-packages/bin/ghc-pkg list ` (which is my $NIX_GHC) I get the list, so it seems it just a matter of having the right `ghc` in my shell.
arahael2 has joined #nixos
Netsu has quit [Ping timeout: 260 seconds]
arahael1 has quit [Ping timeout: 265 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<tejok[m]>
okay actually I just found the issue: I did had `ghc` in my dev shell, which is wrong I should get it only when instantiating a shell for a project using `cabal2nix`. 😄
kenshinCH has quit [Quit: WeeChat 2.4]
domogled has quit [Quit: domogled]
waleee-cl has joined #nixos
noudle has joined #nixos
jtojnar has quit [Read error: Connection reset by peer]
<cizra>
I hear they provide virtual TPM, unlike VirtualBox.
<hyper_ch2>
virtual tpm?
turion has quit [Quit: Leaving.]
mrCyborg has joined #nixos
sigmundv has quit [Remote host closed the connection]
<cizra>
hyper_ch2: yeah, emulation of the TPM chip
<hyper_ch2>
doesn't that defeat the actual prupose of a tpm chip?
<makefu>
hyper_ch2: emulating a tpm may help with testing tpm stuff
sigmundv has joined #nixos
sigmundv_ has joined #nixos
sigmundv has quit [Client Quit]
nikola_i has joined #nixos
dbyte has quit [Read error: Connection reset by peer]
dbyte has joined #nixos
veske has quit [Quit: This computer has gone to sleep]
veske has joined #nixos
nhey_ has joined #nixos
Ariakenom has quit [Remote host closed the connection]
Ariakenom has joined #nixos
Ariakenom has quit [Remote host closed the connection]
Ariakenom has joined #nixos
wedens has quit [Quit: Connection closed for inactivity]
emptyfl4sk has joined #nixos
hyper_ch2 has quit [Remote host closed the connection]
nspin has joined #nixos
cinimod has joined #nixos
<cinimod>
colemickens: I get /subscriptions/9ea70aed-5274-4570-acd6-7066d8382e36/resourceGroups/nixos-user-vhds/providers/Microsoft.Compute/images/nixos_1903_20190911_103149 is not a valid resource reference.
<cinimod>
colemickens: I am not sure whether the command succeeded or not
<arcnmx>
anyone able to look into #67896 ? it's a pretty trivial patch that just fixes a test so the package can build.
emptyfl4sk has quit [Ping timeout: 246 seconds]
hyper_ch2 has joined #nixos
endformationage has joined #nixos
nspin has quit [Ping timeout: 260 seconds]
ddellacosta has joined #nixos
FRidh has quit [Ping timeout: 276 seconds]
<cinimod>
colemickens: ping me when you are online
mexisme has joined #nixos
mexisme has quit [Ping timeout: 245 seconds]
v88m has quit [Read error: Connection reset by peer]
v88m has joined #nixos
veske has quit [Quit: This computer has gone to sleep]
emptyfl4sk has joined #nixos
<colemickens>
cinimod you are pulling and resetting to 'azure' head Everytime you try right?
<colemickens>
I think I fixed this issue already too, but I may not have.
<colemickens>
Of course, I have no idea why it looks like azcopy is running inside the create-sig-image script, since it shouldn't.
ddellacosta has quit [Ping timeout: 265 seconds]
<colemickens>
I might not be able to look at this for a few days. I'm traveling extensively flr the next few days. I'll try to loop back around when I'm free and at my laptop again.
Victor[m]3 has joined #nixos
emptyfl4sk has quit [Ping timeout: 276 seconds]
<eyJhb>
hyperfekt: found my problem with Jellyfin, I was a dofus.. I did override the package
jgt1 has joined #nixos
jgt has quit [Ping timeout: 245 seconds]
sigmundv__ has joined #nixos
jgt1 has quit [Ping timeout: 245 seconds]
niksnut has quit [Read error: Connection reset by peer]
ddellacosta has joined #nixos
sigmundv_ has quit [Ping timeout: 276 seconds]
emptyflask has joined #nixos
zacts has joined #nixos
<cinimod>
colemickens: I thought I was up to date with `azure` - 22a5d91dacb
<colemickens>
If you want to unblock yourself, the problem is the chaining of the commands.
emptyflask has quit [Ping timeout: 265 seconds]
<colemickens>
There azimage is wrong, it shouldn't be the whole jaon blob, just the resource id of the managed disk uploaded in the previous step, etc.
<colemickens>
If you look at what the scripts are trying to do you can probably figure it out. Unfortunately due to all the flakiness and 30 minutes delays I never got to test it working together in the chained mode.
<cinimod>
colemickens: I will AFK until Monday pm
<cinimod>
colemickens: I will try it one step at a time when I get the chance
<cinimod>
colemickens: thanks for all your help
emptyflask has joined #nixos
<colemickens>
Okay, me too more or less. Traveling all day, flying across the country, finding an apt and moving. I might be out of commission for more than a few days tbh.
<colemickens>
No problem, thanks for testing.
<cinimod>
colemickens: good luck with the move and talk next week
Ariakenom has quit [Remote host closed the connection]
evanjs| has joined #nixos
selfsymmetric-mu has quit [Ping timeout: 240 seconds]
<neva>
So I installed busybox (a friend recommended I do it) now when I boot (on USB) it keeps giving me an error "nixos contains a file system with errors, check forced" then "nixos: UNEXPECTED INCOSISTENCY; RUN fsck MANUALLY. (i.e. without -a or -p options) /dev/disc/by-uuid/(uuid) has unrepaired errors, please fix them manually."
<neva>
What exactly should I do now
hyper_ch2 has quit [Remote host closed the connection]
<Yaniel>
I think that's not related to installing busybox
evanjs| has joined #nixos
<Yaniel>
or installing anything
<Yaniel>
boot into something that works and run fsck like it tells you
<Yaniel>
from an installation on the HDD or from another usb stick
evanjs| has quit [Client Quit]
<neva>
It says "checking /dev(etc) fsck (busybox 1.30.1)
<neva>
Which leads me to believe that it is in fact from busybox
<Yaniel>
the fsck you are using is from busybox
<neva>
Since I installed it ans Busybox overrides it
<neva89>
I tried getting the Wifi on my nixos (which is on a usb) working, yet there's no icon in the system tray, the "connections" setting doesn't exist
<symphorien>
it is listed when you run `ip link` ?
<neva89>
i don't know how to get it running, i've tried searching it up, but nothing has been working yet
neva89 has quit [Remote host closed the connection]
<alex``>
I cleaned my laptop with the vaccum cleaner
<symphorien>
neva: rerun nixos-rebuild switch and retry
<symphorien>
without rebooting
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
<fresheyeball>
does anyone know how ghcide finds packages? I tried launching nvim from inside the nix-shell, but no dice
cinimod has quit [Remote host closed the connection]
<tilpner>
alex``: That's up to you, really. If you accept potentially much slower builds, set daemonIONiceLevel to 7, and daemonNiceLevel to 19. That will make everything else on your system get priority before the Nix daemon
cinimod has joined #nixos
<neva>
Still not found
<tilpner>
alex``: You can lower those values if it's too slow, down to the default of 0, or anything inbetween
<symphorien>
neva: can you paste your config ?
<neva>
I'm texting from my phone
<symphorien>
ah ok
<symphorien>
run `nix-shell -p networkmanagerapplet`
<symphorien>
inside the shell, nm-applet should be installed
leocp1 has joined #nixos
<alex``>
tilpner: I have to restart the services to take effect?
<neva>
Now busybox caused an error
<tilpner>
alex``: At least that, I'm not exactly sure. Reboot for guarantees, I guess?
<symphorien>
neva: ?
erasmas has joined #nixos
<eyJhb>
Is there a way to make a container run on unstable, instead of stable channel?
<symphorien>
neva: do you have a good reason to install busybox ?
<fresheyeball>
infinisil: I suspect you know what is going on
<infinisil>
fresheyeball: I can help you with hie if you want to try, I've got it working nicely for me
<symphorien>
this will cause all sorts of problems
<symphorien>
generally nixos just assumes $PATH contains coreutils
<fresheyeball>
infinisil: yes please, I have dreamed of this for 5 years
<infinisil>
fresheyeball: Let's go to #haskell-ide-engine for that though
<fresheyeball>
ok
<neva>
Earlier i had a problem with supposedly busybox which bricked the USB im starting from
growpotkin has joined #nixos
<symphorien>
if you have it in configuration.nix or nix-env -q, then please remove it
<symphorien>
it will only cause trouble
<neva>
I have it in neither
<symphorien>
ok
evanjs| has quit [Ping timeout: 245 seconds]
<symphorien>
then what did you mean by "busybox caused an error" ?
<tobiasBora>
whooo
<neva>
`nix-she'll -p networkmanagerapplet \n error: opening file 'nix/store/(sha)-busybox.drv': No such file or directory`
<tobiasBora>
I don't understand why, I just added home-manager repo and I added this simple configuration: http://paste.debian.net/1100571, and now nixos-switch rebuild... reinstall/compile lot's of stuff, like skype, steam-run...
<neva>
Busybox folders disappeared but still has referrers
<symphorien>
is it a live media ?
<symphorien>
or a "real" installed system ?
<neva>
I'm on a mounted system
<symphorien>
rerun the same command with --repair
rauno has joined #nixos
<symphorien>
it will remove all store paths which depend on the disappeared busybox path
<tobiasBora>
Is it possible that import = [ <home-manager/nixos> ]; ... and then environment.systemPackages = pkgs.[mmyprogram] refers to <home-manager/nixos>?
<neva>
Didn't do anything
gxt has quit [Ping timeout: 260 seconds]
<tobiasBora>
is home-manager/nixos supposed to replace the classical channel nixos?
<tobiasBora>
can I make sure that <home-manager/nixos> is used only for the user configuration?
<eyJhb>
Can I specify a NixOS container to run on a different channel by default? :) There must be some kind of easy way to do this
<symphorien>
the bast thing to do is to boot a nixos live media, and to rerun nixos-install
emptyflask has joined #nixos
<symphorien>
it will reuse your current configuration.nix so your system should be largely preserved
<tobiasBora>
symphorien: so I won't be able to use home manager I guess?
<eyJhb>
tobiasBora: update only that channel
<eyJhb>
If that is what you want to do :)
<symphorien>
you can upgrade channels one by one
polman has joined #nixos
<tobiasBora>
eyJhb: ou it could be a nice idea if the two channels does not need to be synced, thanks!
emptyfl4sk has joined #nixos
<tobiasBora>
cool, thanks!
<eyJhb>
tobiasBora: I normally like to update my nixos channel, but I don't care update unstable that often... :p
<eyJhb>
don't dare*
<tobiasBora>
also, any idea why current setting fails to build? The only error I can find is "applying patch /nix/store/f6jp2gw4cwr77jhdizf35mjd9h087p4i-tesseract.patch, patching file src/api/Makefile.amHunk #1 FAILED at 42. 1 out of 1 hunk FAILED -- saving rejects to file src/api/Makefile.am.rej"
<eyJhb>
The make process fails, basically a invalid patch (something changed)
<tobiasBora>
so I guess I should fill an issue
<eyJhb>
Are you running a stable or unstable channel?
<tobiasBora>
unstable
<eyJhb>
tobiasBora: or fill a PR ? ;)
justanotheruser has joined #nixos
<eyJhb>
Try to fix it yourself! :D
jgt1 has joined #nixos
neva has quit [Remote host closed the connection]
emptyflask has quit [Ping timeout: 276 seconds]
nikola_i has quit [Ping timeout: 245 seconds]
cinimod has quit [Ping timeout: 246 seconds]
evanjs| has joined #nixos
<tobiasBora>
eyJhb: I can try, but if the code really changed I don't know if I'll be good enough to know if I should or not apply the patch :-°
emptyflask has joined #nixos
emptyfl4sk has quit [Ping timeout: 240 seconds]
leocp1 has quit [Quit: Lost terminal]
<eyJhb>
Only one way to find out, get your hands dirty tobiasBora ! ;) The project always needs more hands :D
<tobiasBora>
I try to do my best ;-)
<eyJhb>
But there might be a PR that has fixed it, I would check beforehand. (clone nixpkgs , and see if the error persists)
jgt1 has quit [Ping timeout: 246 seconds]
<tobiasBora>
eyJhb: unstable is equivalent to cloning nixpkgs (without the not merged pr of course) right? Btw, is there a channel that is a bit behind unstable? (unstable has lot's of compilation issues usually)
Soo_Slow has quit [Remote host closed the connection]
<tobiasBora>
(I can't find any PR with tesseract in the name)
hmpffff_ has joined #nixos
<eyJhb>
tobiasBora: depends, nixos-unstable is a bit behind nixpkgs (as far as I know). nixpkgs is bleeding edge.
<tilpner>
alex``: 1 and 1 for the lowest performance and least heat
<tilpner>
alex``: Those should work without a reboot
evanjs| has joined #nixos
hmpffff_ has quit [Ping timeout: 246 seconds]
emptyflask has quit [Ping timeout: 240 seconds]
<lejonet>
If I want to do a slightly more complex firewall than a host firewall, am I better off enabling like ferm than the "standard" nixos firewall? Sure, I could probably hack everything through networking.firewall.extraCommands, but that seems like using ferm, with extra steps... :P
drakonis has quit [Quit: WeeChat 2.4]
dbyte has quit [Ping timeout: 265 seconds]
FRidh has joined #nixos
dbyte has joined #nixos
schneefux has joined #nixos
schneefux has quit [Remote host closed the connection]
dbyte has quit [Ping timeout: 265 seconds]
dbyte has joined #nixos
emptyfl4sk has joined #nixos
schneefux has joined #nixos
<schneefux>
Hi, I've had this issue for years now - My nixos server has a hard drive with 40GB and I use about 80% of it. When I run `nixos-rebuild --upgrade` after a month or so the drive fills up until nix crashes. Basically, I can't upgrade with less than 10G available. I'm always running `nix-collect-garbage -d` beforehand. Is there something that I can
<schneefux>
do, like partial upgrades?
<cransom>
have you ever run nix-store --optimise?
<cransom>
or have auto optimise enabled in your configuration.nix
dongrappa has quit [Ping timeout: 276 seconds]
<ajs124>
cransom: yes. why are you asking?
<cransom>
that was for schneefux .
<ajs124>
I should maybe read more than just the last two messages of the channel. oops
<schneefux>
I remember running that a long, long time ago. Didn't know about `autoOptimiseStore` - cool. I'm trying it right now…
hmpffff has joined #nixos
<alexarice[m]>
schneefux: it doesn't really solve your problem, only pushes a bit more space out your hard drive
<lejonet>
Hmm, I'm guessing that jumping 17.09 -> 19.03 will make things mad at me? It says that the nixpkgs requires nix >= 2.0, and than if I run nixos (which I am) I can do nixos-rebuild to upgrade, problem is, that is exactly what I'm trying to do lol :P
dbyte has quit [Read error: Connection reset by peer]
<lejonet>
s/than/then/
<tilpner>
schneefux: It can help to build on another machine (your desktop/laptop) and push to the server
dbyte has joined #nixos
zacts has joined #nixos
<tilpner>
schneefux: That way, the build-time-only requirements don't end up on your server. Benefit will vary with your config though
zupo has joined #nixos
<tilpner>
lejonet: You can take smaller steps, or use nixos-install to upgrade
<tilpner>
(From a live system)
<alexarice[m]>
schneefux: I think the only real fix is having more disk space as nix will at least want to store the new and old configurations
<lejonet>
tilpner: ah, I completely forgot about nixos-install
<schneefux>
thank you
<schneefux>
--optimise freed up 1.5GB, very nice
dbyte has quit [Read error: Connection reset by peer]
<lejonet>
tilpner: nixos-install spat the same thing at me, oh well, I am going to use nixops for this one anyway, might aswell do it directly :P
jgt1 has joined #nixos
<evanjs>
schneefux: or you can turn on autoOptimise, and it'll do all that in the background 😝
dbyte has joined #nixos
dermetfan has joined #nixos
dbyte has quit [Read error: Connection reset by peer]
dbyte has joined #nixos
dbyte has quit [Read error: Connection reset by peer]
dbyte has joined #nixos
<tilpner>
lejonet: You ran nixos-install from the same system you ran nixos-rebuild on, right?
<schneefux>
It bugs me that I have to buy more storage just to upgrade my server… every time I add storage, I end up using it to store more data, it's an endless loop. ^^
<lejonet>
tilpner: indeed
Chiliparrot has joined #nixos
<tilpner>
lejonet: That's not what I meant. You were supposed to boot a recent NixOS ISO, which would bring you a newer Nix
<schneefux>
I think I'll update more often & use a temporary volume for larger upgrades
<tilpner>
schneefux: If you're up for a reinstall, filesystem compression can be nice
dbyte has quit [Read error: Connection reset by peer]
<alexarice[m]>
schneefux: I switched over to using a single partition because of this problem
zupo_ has joined #nixos
<lejonet>
tilpner: I see, I thought that nixos-install maybe pulled things down in its own way, but yeah, I'm gonna be nixopsing this one anyway, so I'll just set that up
jgt1 has quit [Ping timeout: 276 seconds]
dbyte has joined #nixos
hmpffff has quit [Ping timeout: 240 seconds]
<alexarice[m]>
tilpner: Does compressing /nix not affect performance?
zupo has quit [Ping timeout: 246 seconds]
<tilpner>
alexarice[m]: It can have positive and negative effects on performance, yes
alex`` has quit [Ping timeout: 245 seconds]
zupo_ has quit [Ping timeout: 245 seconds]
zacts has quit [Ping timeout: 276 seconds]
<arianvp>
is there a semantic difference between mkIf a { boot.kernelParams = mkIf b ["lol=3"]; }
chiefgoat has joined #nixos
<arianvp>
and mkIf a (mkMerge [mkIf b { boot.kernelParams = ["lol=3"];}])
<arianvp>
?
<arianvp>
bubbling up the mkIf b vs bubbling it down
fendor_ has quit [Remote host closed the connection]
Fendor has joined #nixos
fendor_ has joined #nixos
Fendor__ has joined #nixos
dbyte has quit [Read error: Connection reset by peer]
dbyte has joined #nixos
dbyte has quit [Read error: Connection reset by peer]
dbyte has joined #nixos
Fendor has quit [Ping timeout: 265 seconds]
dongrappa has joined #nixos
pikajude has joined #nixos
init_6 has quit []
dongrappa has quit [Ping timeout: 276 seconds]
ixxie has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
srl295 has joined #nixos
wildtrees has joined #nixos
wildtrees has quit [Remote host closed the connection]
<alexarice[m]>
arianvp: I think if you get the same form both after calling pushDownProperties then it should be the same
hmpffff has joined #nixos
<alexarice[m]>
arianvp: for what it's worth according to my nix repl these are exactly the same
schneefux has quit [Remote host closed the connection]
Jackneill has quit [Remote host closed the connection]
mexisme has quit [Ping timeout: 245 seconds]
lordcirth_ has joined #nixos
<lordcirth_>
Just ordered a Pinebook Pro :) Looking forward to tinkering with it. Anyone else running NixOS on RockPro64?
rpg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
domogled has joined #nixos
ddellacosta has joined #nixos
swerlk has joined #nixos
hmpffff has quit [Ping timeout: 265 seconds]
<swerlk>
Hello! I have a question about nix-shell and purity. When I run `nix-shell --pure -E "with import <nixpkgs> {}; derivation { name = ''Hi''; builder = ''something''; system = ''some system'';}"` I still get some environmental locations on the $PATH variable
<swerlk>
That would seem impure....
<swerlk>
Specifically the $PATH looks like `PATH=/nix/store/mn4jdnhkz12a6yd6jg6wvb4mqpxf8q1f-bash-interactive-4.4-p23/bin:/home/swerlk/bin:/run/wrappers/bin:/home/swerlk/.nix-profile/bin:/etc/profiles/per-user/swerlk/bin:/nix/var/nix/profiles/default/bin:/run/current-system/sw/bin
<swerlk>
ls
<swerlk>
haha oops
jgt1 has joined #nixos
<sphalerite>
lordcirth_: rockpro64 is a different board also based on the rk3399 I think. I'm running nixos happily on my rk3399-based chromebook :)
<sphalerite>
lordcirth_: I think samueldr is fiddling with a pinebook pro too
<lordcirth_>
sphalerite, cool! I want to try and set it up as stateless as possible, and I have some ideas regarding automated provisioning over unknown networks.
jgt1 has quit [Ping timeout: 276 seconds]
<alexarice[m]>
swerlk: mine is doing the same thing, seems strange
<swerlk>
alexarice[m]: I'm still not quite sure how to use the NIX_ENFORCE_PURITY environmental bit but I set that as well and it leads to the same result
Myhlamaeus1 has joined #nixos
<alexarice[m]>
mine has even more stuff
<samueldr>
sphalerite: can't until it ships
<samueldr>
though I'm in the first batch
<sphalerite>
samueldr: oh I thought you had yours already :p
<samueldr>
no, I have a pinebook (a64) :)
<lordcirth_>
The Pro starts shipping in October.
<samueldr>
lordcirth_: "in the following week" for the first batch
<lordcirth_>
Oh nice.
<samueldr>
though if you just ordered you're not in the first batch :)
<swerlk>
alexarice[m]: What else is on your path?
<lordcirth_>
No, I ordered this week.
<samueldr>
it would have been past month
<lordcirth_>
samueldr, but that just means I can lean on you for help :P
<swerlk>
alexarice[m]: I wasn't quite sure if some of this was a result of using home-manager, since some of the paths on there generated from home-manager
<alexarice[m]>
swerlk: you might be right
<alexarice[m]>
it says in the manual that anything sourced in bashrc will still be in there
<swerlk>
Hmm, interesting
domogled has quit [Ping timeout: 246 seconds]
<alexarice[m]>
swerlk: I wonder if home-manager sets some bash specific thing that breaks purity of nix shells
<swerlk>
That would be unfortunate.
<swerlk>
I'll try a system without home-manager to see if it changes
<alexarice[m]>
swerlk: out of interest what de/wm are you using as swaybg has managed to get into my pure nix-shell somehow
<swerlk>
alexarice[m]: I'm using pantheon. It doesn't appear to be in my PATH
<swerlk>
alexarice[m]: I tried on a server without home-manager and I still get some user things on my path
<alexarice[m]>
swerlk: really strange
<alexarice[m]>
I wonder if this is why I've been getting lots of odd things with pure nix-shells recently
<swerlk>
¯\_(ツ)_/¯
<swerlk>
Could be
pi3r has joined #nixos
alex`` has joined #nixos
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<swerlk>
It is unsettling that I can run home-manager from within a pure nix shell
<swerlk>
That is supposed to be blank
<alex``>
tilpner: even with all the options I reached 90°C
<tilpner>
alex``: And then it shut off?
<alexarice[m]>
swerlk: I'm wondering if there's a bug in nix-shell
<alex``>
kinda
<tilpner>
alex``: Did you verify they had any effect?
<pi3r>
is there a way to bring the attention to an issue before 19.09 release ?
<alex``>
it doesn’t shut off
<alex``>
but freeze
<swerlk>
alexarice[m]: Originally I was trying to figure out why gcc was in a pure nix shell but I think the mkDerivation function brings that in (from reading it briefly)
<alex``>
freeze and I think temp was decreasing
<tilpner>
alex``: Is that when it hits swap?
<swerlk>
alexarice[m]: potentially. I'll look through the existing issues and make one if it does not appear
<alex``>
because of the sound
<alexarice[m]>
swerlk: mkDerivation will bring in things like gcc
<alex``>
I don’t know
<alex``>
I think it freeze when reaching 90°C~
<alexarice[m]>
swerlk: and the bash also looks sensible, it's all the other stuff I wonder about
<swerlk>
alexarice[m]: Ok cool, good to have an answer for one piece of this puzzle. :-)
<alex``>
I have to switch to another distro?
<swerlk>
alexarice[m]: right
<alex``>
I just can’t update my system because of compiling
<swerlk>
alexarice[m]: What is also interesting is that I am using direnv to modify my path in a certain directory. If I run a blank pure shell from it, those modifications appear on the PATH as well.
adamantium has joined #nixos
alex`` has quit [Ping timeout: 245 seconds]
o1lo01ol1o has joined #nixos
alex`` has joined #nixos
juhe has joined #nixos
<tilpner>
alex``: So it froze again, huh?
<tilpner>
:/
pi3r has quit [Ping timeout: 240 seconds]
pi3r has joined #nixos
pi3r_ has joined #nixos
dbyte has quit [Read error: Connection reset by peer]
dbyte has joined #nixos
dbyte has quit [Read error: Connection reset by peer]
emptyfl4sk has quit [Ping timeout: 246 seconds]
dbyte has joined #nixos
dbyte has quit [Read error: Connection reset by peer]
bennofs has joined #nixos
dbyte has joined #nixos
dbyte has quit [Read error: Connection reset by peer]
pi3r has quit [Ping timeout: 240 seconds]
dbyte has joined #nixos
bennofs has quit [Client Quit]
dbyte has quit [Read error: Connection reset by peer]
dbyte has joined #nixos
dbyte has quit [Read error: Connection reset by peer]
dbyte has joined #nixos
dbyte has quit [Read error: Connection reset by peer]
dbyte has joined #nixos
dbyte has quit [Read error: Connection reset by peer]
dbyte has joined #nixos
jgt1 has joined #nixos
dbyte has quit [Read error: Connection reset by peer]
dbyte has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<eyJhb>
Am I wrong in assuming that `services.cron.systemCronJobs` allows to specify the user? ` "* * * * * eelco echo Hello World > /home/eelco/cronout"`, looks like "eelco" user?
gxt has joined #nixos
cizra has left #nixos [#nixos]
Fendor__ is now known as Fendor
pi3r_ has quit [Ping timeout: 246 seconds]
alex`` has quit [Quit: WeeChat 2.5]
dongrappa has joined #nixos
alex`` has joined #nixos
kleisli has joined #nixos
<alex``>
tilpner: I’ll try
ixxie has quit [Ping timeout: 240 seconds]
<alex``>
I wonder if setting that in configuration.nix will take effect while building
<alex``>
or *after*
<tilpner>
alex``: Setting what?
<tilpner>
alex``: It will take effect after building
<alex``>
the options you told me
<tilpner>
And then after switching
<tilpner>
None of them take effect immediately
<alex``>
lol
<tilpner>
That is why I told you to verify they have an effect
<tilpner>
With htop, or atop
<alex``>
they don't xd
<tilpner>
Because you always immediately upgrade?
dongrappa has quit [Ping timeout: 246 seconds]
<tilpner>
At the very least, you can see how many threads it's using, and what priorities they have
<fresheyeball>
ok so I don't know how this bit works
dbyte has quit [Read error: Connection reset by peer]
hmpffff_ has quit [Ping timeout: 276 seconds]
dbyte has joined #nixos
<fresheyeball>
but I can do a `nix-build` with my nix.serveSsh stuff and get cached builds
<fresheyeball>
if I build as myself or root
dbyte has quit [Read error: Connection reset by peer]
evanjs- has joined #nixos
<fresheyeball>
but if I login as `jenkins` the ssh doesn't connect
o1lo01ol1o has joined #nixos
hmpffff has quit [Client Quit]
dbyte has joined #nixos
dbyte has quit [Read error: Connection reset by peer]
jgt1 has quit [Ping timeout: 245 seconds]
dbyte has joined #nixos
dbyte has quit [Read error: Connection reset by peer]
dbyte has joined #nixos
dbyte has quit [Read error: Connection reset by peer]
jgeerds has joined #nixos
orivej has joined #nixos
mexisme has quit [Ping timeout: 245 seconds]
ddellacosta has joined #nixos
dbyte has joined #nixos
pi3r_ has joined #nixos
knupfer has joined #nixos
emily has quit [Excess Flood]
emily has joined #nixos
FRidh has quit [Quit: Konversation terminated!]
boxdot1 has quit [Quit: Leaving.]
boxdot1 has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
waleee-cl has quit [Quit: Connection closed for inactivity]
o1lo01ol1o has joined #nixos
xkapastel has quit [Quit: Connection closed for inactivity]
pi3r_ has quit [Quit: Leaving]
dbyte has quit [Read error: Connection reset by peer]
dbyte has joined #nixos
talqu has quit [Remote host closed the connection]
ddellacosta has quit [Ping timeout: 245 seconds]
boxdot1 has quit [Quit: Leaving.]
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
dermetfan has quit [Ping timeout: 246 seconds]
<kleisli>
hey all, this page says that the ocamlPackages.findlib package will set CAML_LD_LIBRARY_PATH for dynamically loaded shared libraries: https://nixos.wiki/wiki/OCaml
emptyfl4sk has joined #nixos
<kleisli>
but the path is incorrect for me
<maurer>
Can you be more specific? What did you do, and what is the path? What do you think the path should have been?
<kleisli>
ie, the directory it gets set to doesn't exist
<maurer>
kleisli: The key thing is that using "buildOcaml" in theory sets up all the .so stuff correctly automatically
<alex``>
why does it built instead of just fetching
<maurer>
If it turns out that cryptokit is doing something custom (upon cursory inspection it doesn't look like it), you can do something manual like what I had to do with bap
dongrappa has joined #nixos
jgt1 has joined #nixos
<alex``>
could be because of this setting?
<alex``>
nixpkgs.config.chromium = {
<alex``>
enablePepperFlash = true;
<alex``>
}
<maurer>
Yes.
<maurer>
If you set configuration flags for a package other than the default, it is not likely to be what is built on the cache.
<alex``>
I didn’t know it would compile the whole chromium just for flash
<clever>
some of the browser flags are setup to not cause a rebuild, that may be a bug in the pepper flash option
<maurer>
We could add a target to hydra to resolve that, but that seems unlikely since flash support *at all* for chromium is deprecated and slated to be hard-killed in 2020
<maralorn>
I use a lot of (niv managed) urls for ifd. Is there a way to prevent them from being gc'd?
<clever>
maralorn: write a derivation that will map over every one of them, and create a text file with every url, then nix-build it and keep the symlink it makes
knupfer has quit [Ping timeout: 245 seconds]
<maralorn>
clever: Makes sense.
jtojnar has quit [Ping timeout: 246 seconds]
<maralorn>
clever: I'll just include a symlink to every derivation in /etc/nix-path via my system-config.
<eraserhd>
buildGoModule doesn't honor postPatch?? What to do?
jtojnar has joined #nixos
<clever>
eraserhd: run `nix show-derivation` on the drv file, does it have a patchPhase?
Myhlamaeus1 has quit [Remote host closed the connection]
<clever>
eraserhd: i would expect that to work then, what is it doing when building?
<clever>
eraserhd: since patches is empty, you can also just use patchPhase directly
<eraserhd>
aha... it seems to make two derivations, one downloads all the modules, the other does the noraml building. So if the problem is that it is trying for a no-longer-accessible module, you can't apply a patch to the go.mod.
<eraserhd>
Because the patch is applied too late, and the "downloader" fails.
Myhlamaeus1 has joined #nixos
o1lo01ol1o has joined #nixos
kleisli has quit [Ping timeout: 245 seconds]
Myhlamaeus1 has quit [Remote host closed the connection]
drakonis has joined #nixos
Myhlamaeus1 has joined #nixos
tyrion-mx has joined #nixos
ffl^ has quit []
nuh^ has joined #nixos
<alex``>
how nixos-rebuild can retry downloading when falling because of networking?
<alex``>
200 timeout
<alex``>
I have this multiple times
v88m has joined #nixos
gxt has joined #nixos
<andi->
s -la
alex`` has quit [Quit: WeeChat 2.5]
<fresheyeball>
clever: do you know how to make it so the `jenkins` user can use ssh substituters?
<fresheyeball>
I get Broken Pipe right now
Denommus has joined #nixos
<clever>
fresheyeball: it should be going thru nix-daemon, and using root to do the ssh
<benley>
is it my imagination that nixos-rebuild got a LOT more verbose recently?
<tyrion-mx>
Hello, I installed `lxqt-notificationd` and I noticed it is not started automatically. On the ArchWiki I read that I can make it autostart, by editing `$XDG_DATA_HOME/dbus-1/services`. How does it work with nixos? Should I set `$XDG_DATA_HOME` to `~/.local/share` and put it there?
<benley>
or maybe just nix-build in general? Normally I don't see a trillion "linking '/nix/store/alsdkfjalksdfjlkadfsjkl' to '/nix/store/.links/alskdjflasjdfkladlsfkjlakjsdfsadf'" messages fly by when I do a build
<benley>
but today my terminal is exploding with them
<clever>
benley: did you use -v?
<benley>
Nope
<clever>
benley: or auto-optimize?
<benley>
auto-optimise, yes
<benley>
but I've had that on for years
<clever>
benley: ah, maybe some verbosity with it has changed, and nobody else has noticed, because they have it off
<benley>
I've been wondering why auto-optimize isn't enabled by default. Does it affect performance too much?
<clever>
benley: it requires reading and hashing the entire $out twice, once for the narhash, then again for the links
<clever>
benley: and checking for a single hardlink in a dir with millions of files can suffer on some filesystems
<fresheyeball>
clever: if I ssh into the server and cd to the jenkins workspace as root
<clever>
benley: also, on ext4 there is a max of 65535 hardlinks for a single file, ive seen 2 instances of a file failing to hardlink
<fresheyeball>
I can build, and it pulls from cache
<fresheyeball>
if I sudo su - jenkins
<benley>
interesting
<fresheyeball>
I get broken pipe
<clever>
fresheyeball: sudo -u jenkins -i
<clever>
fresheyeball: also, is trusted-users or other users flags set in nix.conf? can it build anything at all?
<clever>
fresheyeball: allowed-users also
<fresheyeball>
clever: the thing is jenkins had been building just fine for a long time
<fresheyeball>
its only started having a problem when I added an ssh substituter
<benley>
well ... if this is the new normal I'm going to have to turn off auto-optimize just because it's making my terminal consume 100% CPU
<clever>
fresheyeball: check the journal for nix-daemon?
<elvishjerricco>
clever: Wait, I thought ssh stores were a userspace thing, not a daemon thing. Like I thought it'd be my user process invoking the ssh command, not the daemon
<fresheyeball>
elvishjerricco: you had it
<fresheyeball>
that path is NOT there
<clever>
elvishjerricco: when using a binary cache, it has to be a trusted process, because the path your downloading could be a trojaned copy of sudo
<fresheyeball>
ok
<clever>
elvishjerricco: if you are not listed as a trusted-user, then nix-daemon has to do things, to enforce the rules
<fresheyeball>
clever: What would be the <name> in systemd.services.<name>.path ?
<elvishjerricco>
Wouldn't importing the nar with a valid signature be sufficient?
<clever>
fresheyeball: nix-daemon
<fresheyeball>
clever: and what is it's type?
<clever>
elvishjerricco: and then there is issues like how to you configure which user owns the ssh priv key