<{^_^}>
[nixpkgs] @c0bw3b pushed commit from @shanemikel to master « maintainers: update shanemikel email »: https://git.io/JeiyX
<sshow>
interesting
mexisme has quit [Ping timeout: 276 seconds]
<edef>
sondr3: they hardly own the lot
<sondr3>
edef: yeah, that was my bad, they don't own them, but they are the primary sponsor
<edef>
that much is true, yes
pjan has quit [Remote host closed the connection]
<edef>
they have no administrative control over freenode, and the worst case is that freenode runs out of money
juhe has quit [Remote host closed the connection]
<edef>
IRC networks are not very high resource cost, and i suspect freenode could reasonably be user-funded or find another sponsor, should the need arise
<edef>
i have fairly high trust in christel and other network staff to keep the lot running
<{^_^}>
[nixpkgs] @flokli opened pull request #74002 → nixosTests.google-oslogin: port to python → https://git.io/JeiyQ
jluttine has quit [Ping timeout: 240 seconds]
<Dandellion[m]>
There's no way freenode would ever be allowed to die
<sshow>
there would be a freefreenode movement
LysergicDreams has quit [Ping timeout: 265 seconds]
LysergicDreams has joined #nixos
<{^_^}>
[nixpkgs] @nh2 opened pull request #74003 → nixosTests.glusterfs: port to python → https://git.io/JeiSv
<{^_^}>
[nixpkgs] @fpletz opened pull request #74004 → nixosTests.dovecot: port test to python → https://git.io/JeiSf
<{^_^}>
[nixpkgs] @flokli opened pull request #74005 → nixosTests.etcd*: port to python → https://git.io/JeiSJ
<nh2>
flokli: and my axe ^^
<gchristensen>
this looks coordinated
<notgne2>
I remember there's an admin on Rizon who gets upset if you talk too fast as it wastes bandwidth
<nh2>
moving the tests to Python must get the sanity prize of 2019, hard to not join into this efford :D
mbrgm_ has joined #nixos
mbrgm has quit [Ping timeout: 276 seconds]
mbrgm_ is now known as mbrgm
<flokli>
nh2: we quickly thought about making it a drinking game
<flokli>
one test, then one shot. goto 1
<nh2>
flokli: well that wouldn't end well at this rate
<flokli>
but decided against it unfortunately
<sondr3>
"unfortunately"
theduke has joined #nixos
<fpletz>
hitting the ballmer peak is hard, you gotta train for it :>
<theduke>
haha nix is so confusing. it always seems like there are 5 ways to do things and none of them have good googleable resources. It's a learning process I guess
aveltras has quit [Quit: Connection closed for inactivity]
<sshow>
theduke: entry level documentation is not nixos's biggest strength. but it's worth getting into :)
<vaibhavsagar>
that's why we have friendly people on the IRC channel
<nh2>
flokli: whatever, that `sleep 2` is now gone as well
sondr3 has quit [Quit: WeeChat 2.6]
<flokli>
nice
<lucasvo>
Does anyone have any experience with building rust packages that have more than one cargo.toml file using buildRustPackage? It seems like it can't find any dependencies defined in the cargo file in the subfolder
<{^_^}>
[nixpkgs] @flokli merged pull request #74003 → nixosTests.glusterfs: port to python → https://git.io/JeiSv
<theduke>
vaibhavsagar: that only works for the system-wide configuration though, right?
jgeerds has quit [Ping timeout: 240 seconds]
<vaibhavsagar>
theduke: yes
<vaibhavsagar>
Nix doesn't modify your filesystem except in `configuration.nix`
smatting has quit [Ping timeout: 240 seconds]
<vaibhavsagar>
the Nix approach is to use a fuckton of symlinks to things in `/nix/store` instead, which will get you surprisingly far
<vaibhavsagar>
what are you trying to do exactly? is there a way do to the thing that doesn't involve putting a file under /etc?
LysergicDreams has quit [Ping timeout: 276 seconds]
LysergicDreams has joined #nixos
gyroninja has joined #nixos
<theduke>
I'm trying to figure out the best way to have declarative user environment configuration that doesn't boil down to "one big config file" (nixpkgs/config.nix) but is cleanly separated by application
<theduke>
so that can for example involve putting the custom config file for a program in /etc in the default location
<{^_^}>
[nixpkgs] @flokli merged pull request #74004 → nixosTests.dovecot: port test to python → https://git.io/JeiSf
<theduke>
that's why I reached for overlays initially
<theduke>
main purpose: when removing the package, the associated configs should be gone as well without having to manually remove them from other definitions
<jeaye>
vaibhavsagar :)
LysergicDreams has quit [Ping timeout: 276 seconds]
vonfry has joined #nixos
LysergicDreams has joined #nixos
<{^_^}>
[nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JeiSy
peanutbutter144 has quit [Remote host closed the connection]
peanutbutter144 has joined #nixos
sb0 has joined #nixos
<vaibhavsagar>
jeaye <3
Ariakenom has quit [Read error: Connection reset by peer]
<vaibhavsagar>
theduck: it's possible to split `configuration.nix` out into arbitrarily many files
<vaibhavsagar>
*theduke
justanotheruser has quit [Ping timeout: 240 seconds]
codygman_____ has quit [Ping timeout: 260 seconds]
<srid>
Is there a way to run `nix-env -f ... -iA blah` - but without installing it in home env? (Just put the final derivation in a `./result` symlink like nix-build does)?
<clever>
srid: nix-build ... -A blah
<srid>
clever: It doesn't fetch from URLs (-f) like nix-env does.
<ogle>
I am packaging some kernel modules that shadow the in tree modules, however nixos appears to not be prioritizing modules under the extra directory. The module.dep files in /run/current-system/kernel-modules appears to corroborate that, however depmod -b /run/current-system/kernel-modules -a 4.19.80 -n results in the expected output.
pointfourone has joined #nixos
<ogle>
is this expected behavior? or is there a way to update the modules.{dep,order,..} files?
<clever>
ogle: do you see duplicate module files in /run/current-system/kernel-modules ?
<clever>
ogle: after nixos buildEnv's all of the module packages together, it will run that depmod to regen the cache
justanotheruser has quit [Ping timeout: 265 seconds]
ddellacosta has quit [Ping timeout: 265 seconds]
zacts has joined #nixos
<ogle>
clever: huh, based on reading through that I would expect this to work as is. But as I mentioned above I see very different output in the installed modules and running depmod and dumping to stdout
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
zacts has left #nixos ["Konversation terminated!"]
slack1256 has quit [Remote host closed the connection]
mexisme has joined #nixos
noudle has quit []
iqubic has joined #nixos
<{^_^}>
[nixpkgs] @adithyaov opened pull request #74021 → Add Vimagit to vimPlugins → https://git.io/Jei7h
zupo has quit [Ping timeout: 265 seconds]
zupo has joined #nixos
zupo has quit [Client Quit]
dema has joined #nixos
manu12[m] has joined #nixos
Guest15214 is now known as Miyu-saki
Miyu-saki has quit [Changing host]
Miyu-saki has joined #nixos
knupfer has joined #nixos
smatting has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
<aria>
when playing minecraft and pressing the `open to lan` button, it picks a random udp port and listens on it. to get this through the firewall you have to add it to the allowed ports in configuration.nix and rebuild (which takes a long time and touches a config file). how can we open the port temporarily, without needing to rebuild
<dema>
aria, I think you can try to write a script that parses netstat/ss output and calls iptables directly..
<aria>
dema: just INPUT table or is there a special nixos table i should put it in
Miyu-saki has quit [Client Quit]
<aria>
oh it won't work in input because it'll put it after nixos-fw which means it'll be dropped
<aria>
maybe -I INPUT 1, to put it at the start
root2 has joined #nixos
Miyu-saki has joined #nixos
root2 is now known as Miyu-saki
smatting has quit [Ping timeout: 240 seconds]
zupo has joined #nixos
zupo has quit [Client Quit]
aveltras has joined #nixos
lux3 has joined #nixos
dema has quit [Ping timeout: 240 seconds]
Heirlung has quit [Read error: Connection reset by peer]
Heirlung has joined #nixos
<charukiewicz>
A few weeks I deployed a NixOS server that I upgraded to 19.09 by setting nix-channel, but its version is "19.09pre-git". Looks like the newest version available is now "19.09.981.205691b7cbe". Running nixos-rebuild switch --upgrade doesn't seem to do anything? How to I upgrade past the pre-git version? Is there something I can include in my configuration.nix?
<{^_^}>
[nixpkgs] @globin pushed 1000 commits to structured-attrs: https://git.io/JeiFw
ckauhaus has quit [Quit: WeeChat 2.6]
ckauhaus has joined #nixos
<{^_^}>
[nixpkgs] @worldofpeace merged pull request #73990 → nixosTests.systemd-nspawn: convert test to python → https://git.io/Jei11
<{^_^}>
[nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JeiFP
<flokli>
anybody knows why nixops is using an old blivet ~0.67 (which seems to have a pretty broken unit test runned inside a nixos vm, which fails to run since years) instead of a somewhat newer blivet 3.1.x?
<{^_^}>
[systemd] @andir pushed 79 commits to nixos-v243.3: https://git.io/JeiF9
<ddima>
dependencies and when you publish a new version to hackage it can be picked up by hackage2nix (the person mostly taking care of this part of the ecosystem is https://github.com/peti)
<{^_^}>
[nixpkgs] @worldofpeace merged pull request #73926 → kdeFrameworks.kio: moving bin stuff into "out" output → https://git.io/JeiYJ
<{^_^}>
[nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JeiAR
<{^_^}>
[nixpkgs] @worldofpeace pushed commit from @mmahut to release-19.09 « kdeFrameworks.kio: moving bin stuff into "out" output »: https://git.io/JeiA0
Thra11 has quit [Ping timeout: 240 seconds]
mexisme has quit [Ping timeout: 246 seconds]
mlen has joined #nixos
<{^_^}>
[nixpkgs] @ckauhaus opened pull request #74030 → connman: move "networking.connman" options to "services.networking.connman" → https://git.io/JeiAP
<{^_^}>
[nixpkgs] @globin opened pull request #74031 → nixosTests.prosody*: port to python → https://git.io/JeiAD
mexisme has joined #nixos
<aristid>
i really should move away from using xsession :D
bvdw has quit [Read error: Connection reset by peer]
<aristid>
especially given that my .xsession is not even nixos-managed
bvdw has joined #nixos
<{^_^}>
[nixpkgs] @ckauhaus merged pull request #73586 → jasper: mark as vulnerable → https://git.io/JeKv2
<ddima>
jD91mZM2: wrt crate2nix on xidlehook - there is a minimal environment to reproduce the issues I've seen; https://github.com/d-goldin/crate2nix_debug and I think it would be great to use once it generates expressions out of the box that don't need manual fixups.
<{^_^}>
[nixpkgs] @Ma27 opened pull request #74033 → nixos/docker-registry: port test to python test-driver → https://git.io/JeixR
xelxebar has quit [Remote host closed the connection]
xelxebar has joined #nixos
cosimone has joined #nixos
cosimone has quit [Client Quit]
<{^_^}>
[nixpkgs] @Ma27 opened pull request #74034 → nixos/gotify-server: port test to python test-driver → https://git.io/Jeix0
mexisme has quit [Ping timeout: 252 seconds]
maralorn has quit [Quit: WeeChat 2.6]
maralorn has joined #nixos
knupfer has quit [Ping timeout: 245 seconds]
zupo has joined #nixos
mexisme has joined #nixos
<aveltras>
how can i handle cabal flags which bring additional dependencies in a haskell project but which are turned off by default ? when entering a shell, i don't have the dependency in scope
<{^_^}>
[nixpkgs] @magnetophon opened pull request #74038 → rc-effect-playground: init at unstable-28-10-2019 → https://git.io/JeipE
<manveru>
so... with the removal of PermissionStartOnly, how do i chmod secrets correctly in a preStart? or is there some way to use `systemd.tmpfiles.rules` for that? (aanderse maybe you know?)
<{^_^}>
[nixpkgs] @risicle opened pull request #74039 → [r19.03] aspell: add patch for CVE-2019-17544 → https://git.io/Jeipg
<manveru>
in particular if i want to use DynamicUser
<{^_^}>
[nixpkgs] @Ma27 opened pull request #74040 → nixos/graylog: port test to python test-driver → https://git.io/Jeip2
<clever>
manveru: PermissionStartOnly is being removed?
<clever>
manveru: in general, i just use users.users.foo.createHome to setup state for my services
<manveru>
i know
<clever>
i dont really like the idea of using systemd.tmpfiles for non-temp files
<clever>
it just doesnt make any sense :P
<manveru>
but i really like DynamicUser :)
<manveru>
and no need for tmpfiles then
ozychhi has joined #nixos
mexisme has quit [Ping timeout: 246 seconds]
mexisme has joined #nixos
mmlb has quit [Ping timeout: 252 seconds]
ozychhi has quit [Ping timeout: 250 seconds]
mexisme has quit [Ping timeout: 250 seconds]
<{^_^}>
[nixpkgs] @marsam opened pull request #74044 → tfsec: init at 0.12.2 → https://git.io/Jeip1
<raboof>
I know of `nix-build --keep-failed`, but is there also a flag that keeps the intermediate build files even though the build succeeded? (I have a build that I'd like to see the intermediate files of even though it succeeds)
<evils>
anyone know the prospects for opencl on amd on nixos? on issue #33619 arianvp[m] indicated they'd package ROCm, is there anything else i can hope for?
<{^_^}>
[nixpkgs] @c0bw3b pushed commit from @risicle to staging-19.03 « aspell: add patch for CVE-2019-17544 (#74039) »: https://git.io/JeihP
kp__ has joined #nixos
mexisme has joined #nixos
lucasvo has joined #nixos
mexisme has quit [Ping timeout: 276 seconds]
mexisme has joined #nixos
drakonis_ has joined #nixos
drakonis_ has quit [Read error: Connection reset by peer]
drakonis_ has joined #nixos
drakonis_ has quit [Read error: Connection reset by peer]
drakonis_ has joined #nixos
<dminuoso>
Hiya. Im trying to install nixos on an uefi enabled VM on a Synology VM. All is fine during setup, but when rebooting into the machine, the devices `/dev/disk/by-uuid/....` never appear when trying to start lvm.
drakonis has quit [Ping timeout: 245 seconds]
<clever>
dminuoso: is the root disk nvme or sata?
galaxie has quit [Quit: galaxie]
<clever>
dminuoso: (as far as the guest is concerned)
<dminuoso>
clever: virtio scsi, I see.
<clever>
dminuoso: and is the virtio driver for it included in the initrd?
<clever>
dminuoso: nixos-generate-config usually gets that
<{^_^}>
[nixpkgs] @ckauhaus opened pull request #74048 → ssmtp: use services.ssmtp not networking.defaultMailServer → https://git.io/Jeijq
<{^_^}>
[nixpkgs] @globin merged pull request #74040 → nixos/graylog: port test to python test-driver → https://git.io/Jeip2
<{^_^}>
[nixpkgs] @Ericson2314 pushed 2 commits to release-19.09: https://git.io/Jeijd
Raito_Bezarius has joined #nixos
Raito_Bezarius has quit [Changing host]
drakonis has joined #nixos
<red[evilred]>
clever
<red[evilred]>
not sure, i'll ssh in from the airport and check ;)
<red[evilred]>
I love my gemini ... (another platform I need to port to nixos)
<red[evilred]>
gemini is aarch64, checking the hc-2... brb
<dminuoso>
clever: Heh indeed. Nixos falsely identified this as a hyperv guest too and generated an incorrect configuration.
<clever>
dminuoso: ah
<dmj`>
Is there a way to go from a .dmg (on darwin) to a derivation ?
justanotheruser has quit [Quit: WeeChat 2.6]
<dmj`>
Just like unpack the .dmg into $out
<red[evilred]>
oh - gonna be a few hours. Missus just told me that power is out.
<red[evilred]>
clever - is it fairly involved to port to a different aarch64 platfrm typically?
<clever>
dmj`: step 1, find a command-line tool that can unpack a dmg without root
<tilpner>
dmj`: See math/mkl/default.nix
<clever>
red[evilred]: usually, start by finding out how to run any linux on it, usually u-boot, kernel config, and such, and then see what happens if you try to boot a kernel nixos made
<tilpner>
dmj`: It uses undmg
drakonis_ has quit [Ping timeout: 252 seconds]
mexisme has quit [Ping timeout: 250 seconds]
<dmj`>
tilpner: nice !
<dmj`>
clever: doesn't look like one exists :/ installer is the closest and it requires sudo
<dmj`>
tilpner: I'm attempting to use pkgs.pkgsCross.iphone64.callPackage, but when building with stdenvNoCC.mkDerivation it complains of cc missing
<{^_^}>
[nixpkgs] @flokli opened pull request #74053 → beegfs: remove test, module and package → https://git.io/JePeh
<tilpner>
Well, that's what stdenvNoCC means: no cc
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
drakonis_ has joined #nixos
evils has quit [Remote host closed the connection]
<dmj`>
tilpner: yea but undmg requires cc, and the intel mkl derivation works. I don't think the .dmg route will work if I'm attempting to cross compile.
MmeQuignon has joined #nixos
drakonis has quit [Ping timeout: 265 seconds]
<{^_^}>
[nixpkgs] @thefloweringash opened pull request #74054 → ubootTools: use tools-only_defconfig instead of allnoconfig → https://git.io/JePvk
inkbottle has quit [Ping timeout: 240 seconds]
inkbottle has joined #nixos
cosimone has quit [Quit: Quit.]
drakonis has joined #nixos
<{^_^}>
[nixpkgs] @Ericson2314 closed pull request #74017 → (compilers): add version and pname → https://git.io/JeiQ2
drakonis_ has quit [Ping timeout: 276 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}>
[nixpkgs] @tfc opened pull request #74055 → nixos/prometheus: Port prometheus test to python → https://git.io/JePvc
<david-sawatzke[m>
Xournalpp fails to start for me, with the message that the icon 'image-missing' is not present in adawaita. Is there any way to fix this?
<david-sawatzke[m>
I haven't added anything gtk related to my config
drakonis_ has joined #nixos
drakonis1 has joined #nixos
cosimone has quit [Remote host closed the connection]
mattyu has quit [Remote host closed the connection]
doublex_ is now known as doublex
<sphalerite>
david-sawatzke[m: potentially installing gnome3.adwaita-icon-theme in your user profile or systemPackages.
<ddima>
david-sawatzke[m: it can't find the theme. XDG_DATA_DIRS per default points to a few locations, one of which is the users profile. The simplest way to solve is to make sure you install the theme into your users profile.
<{^_^}>
[nixpkgs] @samueldr merged pull request #74054 → ubootTools: use tools-only_defconfig instead of allnoconfig → https://git.io/JePvk
<worldofpeace>
yeah you need to configure your system with some sort of icon theme. probably a good idea to add adwaita-icon-theme to your systemPackages
<{^_^}>
[nixpkgs] @Ericson2314 opened pull request #74057 → treewide: Purge most parseDrvName → https://git.io/JePfu
<{^_^}>
[nixpkgs] @Ericson2314 opened pull request #74058 → treewide: Purge most parseDrvName preserving compat for 19.09 → https://git.io/JePfw
<drakonis>
gotta enable scanmem's gui for fiddling with it
knupfer has quit [Ping timeout: 245 seconds]
<drakonis>
its a little unwieldy without it
leotaku_ has joined #nixos
leotaku has quit [Ping timeout: 240 seconds]
endformationage has joined #nixos
<asymmetric>
what does `placeholder' do? and where is it defined?
Guest55348 has joined #nixos
theduke has quit [Quit: Leaving]
<asymmetric>
how is `placeholder out` different from `$out`?
<__monty__>
,upgrade
<{^_^}>
To upgrade nixos, read the release notes (this is important! Check ,releasenotes for details), then run (as root) nix-channel --add https://nixos.org/channels/nixos-xx.yy nixos && nixos-rebuild boot --upgrade , then reboot.
<{^_^}>
Before upgrading nixos, read the release notes for the release you're upgrading to at https://nixos.org/nixos/manual/release-notes.html to make sure you're aware of any backwards incompatibilities that may break your config.
<{^_^}>
[nixpkgs] @c0bw3b pushed commit from @risicle to staging-19.03 « fribidi: add patch for CVE-2019-18397 (#73718) »: https://git.io/JePtk
bastion-tester has joined #nixos
ddellacosta has quit [Ping timeout: 250 seconds]
bastion-tester has quit [Client Quit]
Guest65349 is now known as OmnipotentEntity
OmnipotentEntity has joined #nixos
OmnipotentEntity has quit [Changing host]
<inf>
I'm running nixos with a zfs pool (non-rootfs, just data storage) and have some services set up to use some of the dataset for data storage... It seems like these services start before zfs pool gets imported/mounted and zfs-mount service fails with: ` cannot mount '/tank': directory is not empty` - should I use `filesystems."/tank" = { device = "tank"; fsType = "zfs"; };` instead?
horner has joined #nixos
<inf>
ummmmmmmm, I think i might've just killed that box with above change... :)
<clever>
inf: and thats why you have rollback options at grub!
<inf>
too bad I don't have remote management for that single box.
<clever>
and thats why i have plans to make rollback options work remotely!
<clever>
(but havent started yet)
<inf>
well, will need to get my remote hands going tomorrow.
<inf>
have no idea what happened.
<{^_^}>
[nixpkgs] @c0bw3b pushed to master « dislocker: replace polarssl with mbedtls »: https://git.io/JePtl
<inf>
starting the following units: zfs-import-tank.service
<inf>
A dependency job for local-fs.target failed. See 'journalctl -xe' for details.
<inf>
Job for sysinit.target canceled.
<inf>
...and that's all.
<clever>
inf: `filesystems."/tank" = { device = "tank"; fsType = "zfs"; };` requires `mountpoint=legacy` on the dataset
<inf>
just looked at it a seocnd before switching.
leungbk has joined #nixos
<inf>
stopped responding to ping after above lines... just wondering what really happened there.
<clever>
systemd has a nasty habbit of having a complete panic if local-fs.target fails
<inf>
did the systemd go to rescue shell or something?
<clever>
yeah
<inf>
oh, well.
<inf>
the worst panic. i guess they don't have any timeout/watchdog by default? :)
<clever>
yeah
<clever>
but there is a flag you can add to fstab, to make things non-fatal
<inf>
clever: besides that... any tip on how to properly fix the issue that my pool was (seemingly) getting mounted after/concurrently with some services that depended on said pool? (borgbackup server and restic-rest-server in my case)
<clever>
there is a systemd mount generated for zfs, but ive not looked into it yet
<clever>
i would just do what you did, and maybe also set requires mounts for
monty has joined #nixos
<infinisil>
<clever>
inf: check the systemd docs (and nixpkgs for examples) on RequiresMountsFor
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<inf>
...in order to prevent that issue in the future
<monty>
I ran `nixos-rebuild switch` after updating my 19.03 channel. That errored because it ran out of space. Next I --delete-generations everything but the current, both system and user profiles. Then tried running nix-collect-garbage, which errored with something about the sqlite database and running out of space. Rerunning it errored with a message
<monty>
about the daemon not running. Now I can't reboot the system. Several services fail at boot including the logind service I think. Slim's not starting and the tty prompt isn't accepting my credentials for my user nor root.
<inf>
same for restic-rest-server
<clever>
monty: you usually want to use a --max-freed to limit how much you GC when in this situation
<clever>
monty: start with `nix-collect-garbage --max-freed 10m`
<clever>
inf: yeah, that looks good
<monty>
clever: But I can't log into the system.
<clever>
monty: add `single` to the kernel cmd line at the bootloader
<clever>
then systemd should boot directly to a root prompt
<monty>
I tried booting the previous generation. But that has the same result (figured the switch might have created a borked generation).
ozychhi has quit [Ping timeout: 276 seconds]
<ddima>
monty: in single user mode you might be able to just mount the nix-store rw and ditch sth obviously big and not too problematic. you could also do this using live-usb or similar. but at own risk ofc.
<vandenoever>
what's the command to get the build env for an expression?
reanimus has quit [Read error: Connection reset by peer]
<clever>
vandenoever: nix-store -qR
reanimus has joined #nixos
<monty>
clever: Looks promising so far, don't see services failing at boot.
<vandenoever>
clever: i mean for a package which is not built yet, i'm debugging an expression
<clever>
vandenoever: you can run that on a .drv file for the expression, which nix-instantiate can generate
<clever>
vandenoever: your opening a shell suitable for building the wrapper, which depends on the real libreoffice
<vandenoever>
clever: that's what i want but that's not happening, it fails on calling qmake
<vandenoever>
perhaps the failing step is earlier, i.e. while patching code
<clever>
vandenoever: try just `nix-shell -A libreoffice-fresh.libreoffice`
<vandenoever>
clever: that works... how weird
<vandenoever>
because `NIX_PATH=nixpkgs=$PWD nix-shell -A libreoffice` does not
noudle has quit []
philr has quit [Ping timeout: 240 seconds]
<clever>
vandenoever: `nix-shell -A libreoffice` will open a shell for wrapper.nix, so it must build libreoffice first
<vandenoever>
oh wait that also 'works': it's not picking up my modified version
<ddima>
vandenoever: you can also build with -K, that at least will leave the source directly there, including the rejected patch, so you could try that piece separately without the rest of the env if you are having trouble getting into.
<vandenoever>
ddima: yeah, but LO has such huge env, it'd be quite a hassle
<vandenoever>
i guess i could create a shell.nix
<vandenoever>
but i thought there was simple command to do the same
ddellacosta has joined #nixos
<vandenoever>
would be nice if there was some kind of debugger that steps through the build commands
<monty>
clever: I still got a login prompt. Tried replacing init=/bin/bash but got a kernel panic.
<clever>
monty: because /bin/bash doesnt exist on nixos, you need init=/bin/sh
<monty>
Ah, assumed /bin/bash would be the third exception next to sh and env because nixos is so bash-centric.
bastion-tester has quit [Quit: ZNC 1.7.4 - https://znc.in]
<{^_^}>
[nixpkgs] @Ericson2314 opened pull request #74087 → ghcjs-ng: The GHC source should be configured with native build inputs → https://git.io/JePqI
<{^_^}>
[nixpkgs] @Ericson2314 opened pull request #74088 → ghcjs-ng: The GHC source should be configured with native build inputs → https://git.io/JePqL
<{^_^}>
[nixpkgs] @Ericson2314 merged pull request #74087 → ghcjs-ng: The GHC source should be configured with native build inputs → https://git.io/JePqI
<{^_^}>
[nixpkgs] @Ericson2314 merged pull request #74088 → ghcjs-ng: The GHC source should be configured with native build inputs → https://git.io/JePqL
<{^_^}>
[nixpkgs] @Ericson2314 pushed 2 commits to release-19.09: https://git.io/JePqq
<monty>
clever: Hmm, found a GHC over a Gig. `nix-store --query --roots /nix-store/yz3i...-ghc-8.2.2-bin/` didn't output anything. Does this mean I can just rm this path?
<{^_^}>
[nixpkgs] @c0bw3b merged pull request #72749 → nomacs: switch to using opencv4 → https://git.io/Je2O3
<{^_^}>
[nixpkgs] @c0bw3b pushed commit from @risicle to master « nomacs: switch to using opencv4 (#72749) »: https://git.io/JePqY
<clever>
monty: you can then run `nix-store --delete` on that path
<{^_^}>
[nixpkgs] @cdepillabout pushed 2 commits to haskell-updates: https://git.io/JePqB
<monty>
Back to init=/bin/sh I guess.
<clever>
monty: `the root account is locked` pretty much confirms that the passwd/shadow files got borked
jgeerds has quit [Ping timeout: 276 seconds]
<clever>
something went wrong updating them, due to lack of free space
fendor has quit [Ping timeout: 265 seconds]
<monty>
Can I simply run passwd from that /bin/sh shell? Any vars I need to set?
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
jmeredith has quit [Quit: Connection closed for inactivity]
<clever>
monty: that should work fine
<clever>
monty: that is also basically how you can hijack any linux machine if you have physical access
<clever>
windows has similar, their is a hidden admin account, that all GUI's claim doesnt exist, but if you boot into safemode, you can still login as that user
<clever>
and since all GUI's claim it doesnt exist normally, you never set a pw on it!
<monty>
Can't say this is not an educative experience : )
alexherbo2 has joined #nixos
<{^_^}>
[nixpkgs] @Ericson2314 merged pull request #74065 → compilers, binutils: Add version and pname → https://git.io/JePUI
<{^_^}>
[nixpkgs] @Ericson2314 pushed 13 commits to staging: https://git.io/JePqa
<monty>
Ok, so logged in as root. I should fix my store first, right? Because of the rm? Is that just --verify --repair?
<clever>
monty: i would start with a further garbage collection, --repair would just re-download the missing ghc and run out of space
chloekek has quit [Quit: WeeChat 2.6]
CptCaptain has joined #nixos
m0rphism has quit [Ping timeout: 252 seconds]
<monty>
Ok, freed 8/14G, probably enough for a system upgrade to 19.09?
<clever>
monty: yeah
hmpffff_ has quit [Quit: nchrrrr…]
<monty>
How do I make sure the rm'd path doesn't cause trouble though?
<clever>
monty: `nix-store --verify --check-contents`, but you mau not need to repair it since your changing channels
<clever>
just --delete it
hmpffff has joined #nixos
hmpffff has quit [Client Quit]
hmpffff has joined #nixos
<monty>
I don't remember the hash though. Will verify list that?
<clever>
yeah
hmpffff has quit [Client Quit]
xel has joined #nixos
<clever>
monty: garbage collection may have also fixed things already
<monty>
clever: Thank you a ton for the help. <3
Khetzal has quit [Remote host closed the connection]
dingenskirchen has quit [Remote host closed the connection]
<monty>
Yeah, a simple --verify didn't list any non-existing paths.
dingenskirchen has joined #nixos
hmpffff has joined #nixos
<clever>
--check-contents will compare the hashes of everything to the ones when they where first made
hmpffff has quit [Client Quit]
<monty>
Maybe I should put off updating until tomorrow. I fear it may take a while and it's late.
<monty>
Yeah, it's taken a while to run that.
<clever>
monty: you could `nixos-rebuild build` to build/download everything, but not activate
<clever>
monty: then you can just go to bed and know it wont brick itself overnight
Khetzal has joined #nixos
<monty>
Don't trust this device to run unattended.
<monty>
Reason I wanted to upgrade was something seeming like a kernel bug.
<monty>
Had a kworker consuming 98+% of the CPU.
<monty>
This has been happening for a number of days.
<monty>
But I haven't updated the kernel since installing the system afaik.
<monty>
And 19.09 has the same LTS so I'm not expecting it to actually fix the problem.
<clever>
ah
hlolli has quit [Remote host closed the connection]
<monty>
So I don't want this laptop to burn itself running at 98% load all night.
<nh2>
how do I correctly override xorg packages? I find it confusing that they are available in the "global" `pkgs.` namespace, but also via `pkgs.X11` and `pkgs.xorg`. When I override a package like `libXtst` it seems to not be overridden in `xorg` and `X11` correctly
<clever>
nh2: i think pkgs.libXtst is a reference to pkgs.xorg.libXtst
<clever>
so you need to override xorg.libXtst
<nh2>
clever: how does that happen though? I can't see a `libXtst = ` in all-packages.nix
<monty>
ddima: Thanks to you too btw, ended up having to do what you suggested.
<monty>
nh2: An inherit maybe?
<clever>
> pkgs.libXtst
<{^_^}>
attribute 'libXtst' missing, at (string):271:1
<clever>
nh2: its not actually in the top-level scope
<nh2>
clever: but I can access it as passed-in arguments in derivations
<clever>
nh2: thats due to how callPackage is created, i'm searching for it...