worldofpeace_ changed the topic of #nixos to: NixOS stable: 20.03 ✨ https://discourse.nixos.org/t/nixos-20-03-release/6785 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || use ,channels for a list of Nix* related channels || nixcon videos: https://tinyurl.com/nixcon2019 || Link to the output of nix-info
<energizer> does nixos send iptables logs somewhere special? i don't see them in /var/log/messages
<{^_^}> [nixpkgs] @zowoq opened pull request #88994 → conmon: 2.0.16 -> 2.0.17 → https://git.io/Jfwhr
Pwnna has quit [Quit: Bye]
Pwnna has joined #nixos
amir has quit [Ping timeout: 258 seconds]
<bqv> We're all in a systemd world now
<bqv> /var/log/messages is ancient history
<lovesegfault> Is there an easy way to _force_ nix-build to build the full dependency tree
<lovesegfault> even if it's already in the nix store
<lovesegfault> I'm trying to benchmark a build
<energizer> bqv: you're right, i thought i checked that but mustve forgotten sudo
<clever> lovesegfault: define "full", do you want to start at gcc?
<lovesegfault> clever: I want to build as much as possible, basically
<lovesegfault> I am trying to benchmark the build of rustc and of gcc
Soo_Slow has joined #nixos
<lovesegfault> $ time nix-build '<nixpkgs>' --arg overlays '[]' --cores 32 --max-jobs 32 -A pkgsCross.aarch64-multiplatform.rustc
<lovesegfault> I'm doing this right now
Jackneill has quit [Ping timeout: 264 seconds]
<clever> lovesegfault: simplest is to just do a useless override at some point (using an overlay) so it has to rebuild that thing, and everything that depended on it
cript0nauta has quit [Ping timeout: 256 seconds]
<cole-h> lovesegfault: Maybe `--option substitute false` will help?
<lovesegfault> cole-h: that does some of it
<lovesegfault> I thought --check would do what I want but it doesn't work as I expected
<lovesegfault> clever's solution works but it's also not perfect because subsequent builds are faster
<lovesegfault> unless I write something that changes the introduced garbage on each build cycle
<clever> lovesegfault: use builtins.currentTime in the overlay
<clever> > builtins.currentTime
<cole-h> Ooooh
<{^_^}> 1590538733
<clever> now it will differ every single time!
* lovesegfault crosses arms
<lovesegfault> hmm
<{^_^}> [nixpkgs] @mweinelt opened pull request #88995 → pinnwand: init at 1.1.0 → https://git.io/Jfwjk
<lovesegfault> let me try this
<lovesegfault> clever: where should I introduce that?
gustavderdrache has left #nixos [#nixos]
amir has joined #nixos
<clever> lovesegfault: the cut-off point between stuff you would expect to be in the cache (the host stdenv and gcc) and the stuff your trying to profile
<lovesegfault> I'm trying to profile rustc
<lovesegfault> so maybe in llvm?
<clever> that would also count the build-time of llvm as well
<lovesegfault> hmm
<lovesegfault> I think that's fine
jgeerds_ has quit [Ping timeout: 240 seconds]
Jackneill has joined #nixos
<abathur> If you can't run it on a system where it's not entangled in the system so you can GC between runs, and if there's not some other magic way, I guess maybe you could override allllll of the packages to add some dumb dependency on a module that just does something silly with builtins.currentTime...
<lovesegfault> clever: is just adding DIRT = builtins.currentTime; sufficient to change the output hash?
<clever> should be
cript0nauta has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/Jfwj8
Soo_Slow has quit [Quit: Soo_Slow]
niksnut has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #88992 → python27Packages.pysmb: 1.1.28 -> 1.2.1 → https://git.io/Jfwhl
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python27Packages.pysmb: 1.1.28 -> 1.2.1 »: https://git.io/Jfwjr
<{^_^}> [nixpkgs] @jonringer merged pull request #88976 → python37Packages.jellyfish: 0.7.2 -> 0.8.2 → https://git.io/Jfwdg
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python37Packages.jellyfish: 0.7.2 -> 0.8.2 »: https://git.io/JfwjK
Darkmatter66 has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #88985 → python37Packages.elementpath: 1.4.4 -> 1.4.5 → https://git.io/JfwNa
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python37Packages.elementpath: 1.4.4 -> 1.4.5 »: https://git.io/Jfwj6
Darkmatter66_ has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88996 → python27Packages.phonenumbers: 8.12.2 -> 8.12.4 → https://git.io/Jfwji
agjacome has quit [Quit: agjacome]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #88997 → python27Packages.plexapi: 3.4.0 -> 3.6.0 → https://git.io/Jfwj7
<cole-h> Does anybody know how to let my VM guest access my host via e.g. SSH?
<lovesegfault> tried this
<lovesegfault> but it isn't rebuilding llvm
<lovesegfault> idk why
<cole-h> Shouldn't it be super.llvm?
<clever> it should be causing infinite recursion
<clever> lovesegfault: what happens if you build -A llvm ?
<lovesegfault> clever: oh, it breaks on cannot coerce int to str
<lovesegfault> I replaced with suepr though
z3t0 has quit [Quit: Konversation terminated!]
<cole-h> Then just `toString` it lol
<clever> lovesegfault: you just need a simple `DIRT = builtins.currentTime`
m0rphism has quit [Ping timeout: 258 seconds]
<lovesegfault> Hmm
<lovesegfault> OH
<lovesegfault> DUH
<lovesegfault> rustc vendors llvm
<lovesegfault> lol
quinn has quit [Quit: ZNC 1.7.5 - https://znc.in]
<lovesegfault> boom
<lovesegfault> ok this works
quinn has joined #nixos
<{^_^}> [nixpkgs] @AndersonTorres merged pull request #85986 → ciao: init at 1.19.0 → https://git.io/JfLjc
<{^_^}> [nixpkgs] @AndersonTorres pushed 2 commits to master: https://git.io/JfreU
<{^_^}> [nixops-aws] @adisbladis opened pull request #103 → Add mypy types → https://git.io/JfreT
Henson has joined #nixos
<Henson> how are the NixOS boot images created? I'd like to create one of my own but with some extra services.
<Henson> boot images being the USB images used for installing NixOS
<notgne2> Henson: iirc its something like `nix-build '<nixpkgs/nixos>' -A config.system.build.isoImage -I nixos-config=iso.nix`, though that might be for something else
<notgne2> I think I've done that for some machines with annoying wifi cards
<clever> $ vi ~/apps/nixpkgs/nixos/release.nix
<clever> 6 , configuration ? {}
<clever> 39 makeModules = module: rest: [ configuration versionModule module rest ];
<clever> 41 makeIso =
<clever> 48 modules = makeModules module {
<clever> 146 iso_minimal = forAllSystems (system: makeIso {
<clever> so, you can do: nix-build '<nixpkgs/nixos/release.nix>' --arg configuration ./configuration.nix -A iso_minimal.x86_64-linux
<clever> for example
<Henson> notgne2, clever: thank you for your help!
<{^_^}> [nixpkgs] @bhipple merged pull request #82180 → bppsuite: init at 2.4.1 → https://git.io/JvoSl
<{^_^}> [nixpkgs] @bhipple pushed 6 commits to master: https://git.io/Jfreu
<cole-h> adisbladis: Seeing that you've added mypy types (or are in a relatively good place with it), how did the script thing turn out?
kaliumxyz has quit [Ping timeout: 272 seconds]
<Henson> clever: and the "configuration" arguments points to a NixOS configuration file that gets merged in?
<clever> Henson: yep
<Henson> clever: do you know if anything exists to build a NixOS system into an initrd and bzImage to get kexec'd into a running system? I'm working on that, so I can take over a Debian system and install NixOS on it. I've got a script working, and have done it before, but perhaps something that like already exists. But I doubt it.
<Henson> clever: the script I have takes a NixOS installation USB image and generates the necessary things to kexec into it
<clever> Henson: this will create a tarball, that includes a bzImage, initrd, and the kexec tools, and a shell script to switch over
<clever> just unpack the tar to /, no need to even have nix on the target
<clever> the entire rootfs is already in the initrd
<Henson> clever: oh...my...lord
<clever> ive made at least half a dozen ways to boot nixos
<clever> and several ways to install it
<clever> and some people have even taken my tales of how i installed nixos, and baked them into nixpkgs, lol
<Henson> clever: you never cease to amaze me :-)
<clever> that part, is based on how i manually installed nixos over a gentoo system
<{^_^}> [nixpkgs] @aanderse opened pull request #88998 → musikcube: 0.90.1 -> 0.92.1 → https://git.io/JfreX
<clever> basically, i just built nixos with nix-build, then forcibly updated the bootloader, so it would boot nixos from the gentoo rootfs
<clever> then i repaired all the stuff old gentoo files where breaking
<clever> then somebody else added NIXOS_LUSTRATE to nixos, to automate that repair step
<clever> but kexec is a lot more flexible, since you can repartition
h0m1 has quit [Ping timeout: 272 seconds]
h0m1 has joined #nixos
<Henson> clever: this is great. I'll see if I can get your kexec build script working. I've got some Debian systems out in the field that I need to upgrade to NixOS with only internet access, no KVM, so I need to customize the kexec with some extra fail-safe features
<Henson> KVM = keyboard, video, mouse
mauli has joined #nixos
<Henson> not Kernel Virtual Machine
<clever> Henson: its already got safety features!
<clever> Henson: at the end of the hour, it will automatically reboot, restoring control back to debian
<clever> assuming you havent formatted the disk by then
<clever> thats mainly to save you when you get the IP config wrong, for cases that need a manual static ip
<Henson> clever: awesome. I'll need to add another feature that reaches out to an administrative server to initiate remote access.
o1lo01ol1o has joined #nixos
<clever> it will also panic if anything goes wrong in the initrd, and all panics will result in a reboot after a 30 second delay
<bqv> If you happen to repartition at :59 you're screwed…
<clever> so it shouldnt hang upon any failure
<clever> bqv: it does a 5 minute delay, with a message to every tty to warn you
<clever> bqv: `shutdown -c` will cancel it
<adisbladis> cole-h: Pretty OK actually :)
<clever> bqv: and `systemctl stop autoreboot.timer` will stop it from trying at all
<bqv> Fair enough :p
andymandias has quit [Ping timeout: 265 seconds]
<clever> Henson: oh, also...
<clever> Henson: if you `nix-build simple-test.nix -A legacy_sata`, you will get a directory with 2 shell scripts
<cole-h> adisbladis: Pretty cool :D
<clever> Henson: the 1st one, runs the same kernel/initrd as kexec, but directly in qemu, for testing purposes (mainly to test justdoit)
<clever> Henson: the 2nd script, will then run qemu against the same disk, but without forcing the kernel/initrd, to confirm the bootloader works right
<clever> Henson: you could use the 1st one, to confirm your additions can phone-home on bootup
<Henson> clever: excellent! I'm so glad I asked you that question!
* Henson throws his script in the garbage
<Henson> :-)
<clever> Henson: also, have you seen justdoit?
o1lo01ol1o has quit [Ping timeout: 256 seconds]
<Henson> the root block device that justdoit will nuke from orbit and force nixos onto
<clever> yep
<Henson> I like the Aliens reference :-)
<clever> after you kexec, you just ssh in, and run `justdoit`
<clever> and it will immediately format, and install nixos, with zero confirmations
<clever> Henson: i was thinking more along the lines of https://www.youtube.com/watch?v=oe-2slh4njQ
<{^_^}> [nixpkgs] @costrouc opened pull request #89000 → duckdb: init at 0.1.7 → https://git.io/JfrvJ
<Henson> clever: wow, after a strike like that, there wouldn't be much left to install NixOS onto!
<clever> Henson: :D
<pjt_014> pew pew
<{^_^}> [nixpkgs] @adisbladis merged pull request #88994 → conmon: 2.0.16 -> 2.0.17 → https://git.io/Jfwhr
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/JfrvU
<clever> Henson: thats basically what line 65 does: wipefs -a ${cfg.rootDevice}
<Henson> clever: it looks like justdoit installs ZFS. How is ZFS on Linux these days? I used it several years ago, and found it not to be very enjoyable. The memory management was not correct, and the ARC would use up all of my memory and Linux was unable to get it back properly. I would have to create a 5 GB empty file in /dev/shm and then delete it to reclaim memory properly. I asked people on the..
<clever> Henson: ive not had any issues like that, and ive found the reverse is the problem
<Henson> clever: ZFS on Linux channel, and they said, "yep, that's the way it is for now" and gave me a bunch of bandage solutions that didn't really work. So I switched to FreeBSD for my ZFS severs and have never looked back.
<clever> Henson: any kind of load, and it tends to discard the entire ARC
pamplemousse has quit [Ping timeout: 260 seconds]
<Henson> clever: I also found it to be super slow for scrubbing. A scrub of a 10 TB ZFS pool on Linux would take a couple days, whereas on FreeBSD it would take about 8 hours.
<clever> Henson: for example, my nas had the arc shrink by almost a gig, for no aparent reason
orivej has quit [Quit: No Ping reply in 180 seconds.]
<clever> when it was otherwise idle
<Henson> clever: hmm, that's weird.
hyper_ch_ has quit [Remote host closed the connection]
hyper_ch has joined #nixos
oida has quit [Ping timeout: 240 seconds]
orivej has joined #nixos
oida has joined #nixos
<clever> Henson: performance for zfs, seems to vary wildly from machine to machine
<clever> Henson: the nas with 3 disks in raidz1, seems to perform poorly, but its all spinning rust
<clever> Henson: the laptop is nvme single-disk, and theres no real issues with it
<Henson> clever: what do you consider poor performance?
pamplemousse has joined #nixos
<clever> Henson: basic things like `zfs destroy` on a snapshot can take over 5 mins sometimes
<clever> Henson: and nix-collect-garbage once ran for over 8 hours recently
<Henson> clever: hmm, that is very slow! On my FreeBSD system a zfs destroy (with async deletion enabled) takes about 3 seconds, the same with a snapshot.
<clever> Henson: as a test, `time zfs destroy -v naspool/root@zfs-auto-snap_weekly-2020-05-18-00h00`, this snapshot is the final root for 412mb of data
kaliumxyz has joined #nixos
<clever> and that command took 8 seconds to complete
<clever> [root@nas:~]# zfs destroy -v naspool/root@zfs-auto-snap_daily-2020-05-20-00h00%zfs-auto-snap_hourly-2020-05-26-17h00
<clever> will reclaim 1.73G
<clever> `zpool get freeing` now reports 1.7gig, and then 0
<clever> *doh*, i didnt include `time`, lol
<clever> one more dataset with a high churn, 3 seconds to delete 1.38gig
mauli has quit [Ping timeout: 265 seconds]
<clever> seems fine today
<Henson> clever: I guess in the end your performance depends on your CPU, memory, IO card, harddrives, OS, ZFS configuration, dataset size, etc. So, a whole lot of factors.
<clever> dedup: DDT entries 5631543, size 1.31K on disk, 324B in core
<clever> and that
ddellacosta has joined #nixos
<Henson> dedup: do you have dedup enabled?
<clever> had
<clever> the number of entries is going down, ive been keeping some records
<Henson> clever: I never enabled it in Linux because there were big warnings on ZFS on Linux saying, "don't do this, it's not stable enough yet". In Aaron Toponce's ZFS tutorial he made it seem like unless you have a mega system to handle dedup, you shouldn't do it, and even if you did, you probably don't want to do it for various integrity reasons.
<clever> but zfs cant repack the hash tables, so the size hasnt changed
<{^_^}> [nixpkgs] @maralorn opened pull request #89001 → [haskell-updates] haskellPackages.shh: Disable tests → https://git.io/Jfrvi
<abathur> seems like one of those things that would be benchmarked a bajillion ways
<infinisil> &
<infinisil> Whoops, ignore that
<Henson> abathur: yeah, I think I've seen some benchmarks for ZFS systems
<clever> Henson: it may not help, that my pool is at 95% capacity and 64% frag
<Henson> clever: one thing I've never tried is an ARC device. That's supposed to increase performance quite a lot
<clever> NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT
<clever> naspool 10.9T 10.4T 527G - - 64% 95% 1.06x ONLINE -
<Henson> clever: yeah, running full capacity isn't good, either.
<abathur> I mostly mean that if there are really are hardware/os/platform differences here I'd expect there to be enough ZFS benchmarks that it'd be easy to cross-verify
<abathur> and if not, it's probably something idiomatic
<abathur> I say that without having used ZFS yet
<clever> Henson: from april 3rd to 15th, my L2ARC was covering at around 6gig used, and getting around a 40% hit rate
<Henson> clever: is that an SSD?
<clever> intel optane
<clever> Henson: but thats only counting what missed the ARC in ram, which was at 3gig, and getting >97% hit rate
<clever> so only ~3% missed the ram ARC, and had to go out to other places
<clever> and 40% of that 3%, was found in the L2
<Henson> clever: hmm, I'm surprised you're experience poor performance, then. If performance is a concern, maybe give FreeBSD a try. You should be able to export your Linux ZFS drives, boot with a FreeBSD install USB stick, import them into FreeBSD, and push some data to and from them using dd to see what kind of performance you get. Then export them and go back to Linux and import them again.
<clever> Henson: the performance problems are almost entirely in the write and delete paths, rarely in the read path
<Henson> clever: what kind of disk controller do you have?
<clever> 00:11.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 40)
<clever> product: FM2A88X-ITX+
<clever> vendor: ASRock
<abathur> clever: got one of those in my nix desktop
<abathur> clever which optane?
<clever> abathur: 01:00.0 Non-Volatile memory controller: Intel Corporation Device 2522
<Henson> clever: what kind of disks?
<abathur> such use
<abathur> very full
<clever> abathur: let me see if i can find more, lol
<abathur> hehe
<clever> Model Family: Western Digital Red
<clever> Device Model: WDC WD40EFRX-68N32N0
<clever> User Capacity: 4,000,787,030,016 bytes [4.00 TB]
<clever> Henson: 3 of those, in raidz1
<DigitalKiwi> clever: do you have sync=always or something like that
<abathur> I have one of the optane 900p devices
<Henson> clever: am I correct in that because they're a RAID1 you have to wait for 3 writes to complete before your IO operation returns?
<DigitalKiwi> that made my zfs perform horribly until i figured out why...
<clever> DigitalKiwi: nope, just sync=standard for most, and sync=disabled for one
<Henson> clever: what kind of read/write performance do you get from a dataset?
<clever> Henson: copying a 703mb file from a single-disk xfs, over nfs, and writing to the raidz1, took 8.4 seconds
<clever> ~83mb/sec
<clever> but thats obviously not pushing it very hard
<Henson> clever: try something on the NAS, like DD something into a big 1 GB blob in /dev/shm then sync. Then time how long it takes to write it to disk and sync again.
<clever> copying 4.1gig over nfs now...
<Henson> clever: you can use "zpool iostat" to see what kind of RW performance you get.
<clever> Henson: i usually have both `iostat -x 30` and `zpool iostat -v 30` open at all times
<DigitalKiwi> could dedupe be making it bad
<DigitalKiwi> it's not doing much anyway
<clever> DigitalKiwi: dedup is now off, so any further writes arent dedup'd
<clever> Henson: 52 seconds for that 4.1gig to copy
fresheyeball has joined #nixos
<clever> for ~80mb/sec
<Henson> clever: right, but that's taking into consideration your network bandwidth. Try copying the file directly on the NAS.
<clever> i'll try someting within the nas now...
<abathur> what's the, eh, storagebench or whatever
sigmundv__ has quit [Ping timeout: 265 seconds]
<notgne2> that's very impressive compared to my eMMC laptop which will freeze for an hour when downloading a few megabytes
<abathur> pour one out fot notgne2
<abathur> for, even
<clever> [root@nas:/dev/shm]# time dd if=/dev/urandom of=blob bs=1024 count=$((1024*1024*2))
<clever> 2147483648 bytes (2.1 GB, 2.0 GiB) copied, 14.3825 s, 149 MB/s
<clever> Henson: just creating the random sample, ran at that rate, but thats primarily a cpu/ram test...
<pjt_014> s'not bad
<clever> 2147483648 bytes (2.1 GB, 2.0 GiB) copied, 29.6706 s, 72.4 MB/s
<clever> Henson: and thats the performance to write the whole 2gig file back to zfs
<clever> Henson: somehow, its worse then when going over nfs, lol
<clever> Henson: putting a 2gig file into /dev/shm, also caused the ARC to drop from 6.8gig to 4.79gig
<clever> but ARC hit% was never below 99.5%
<pjt_014> I just did the math and that speed's about 1203.69 bee movie scripts per second
<Henson> hahaha
<Henson> I think you've just created a new unit of data storage
<clever> Henson: how do the above numbers look?
<DigitalKiwi> how many abathur laptops is it though
<pjt_014> Henson: it's really good sample material for compression testing of small-ish text files
<DigitalKiwi> err, notgne2
<pjt_014> Did you brotli can get it from 56K to 20K?
<pjt_014> pretty good
<clever> abathur: found the box for the optane module, it doesnt say much, lol
<simukis_> Ericson2314: around? got some questions about pkgconfig still. You said to add pkgsBuildBuild.pkgconfig as a dep, but I don’t quite follow the suggestion. I’m also using a different package that's easier to work with for the experiment – mesa.
<Ericson2314> simukis_: you know about depsBuildBuild = [ buildPackages.stdenv.cc ]; ?
<abathur> 2147483648 bytes (2.1 GB, 2.0 GiB) copied, 12.397 s, 173 MB/s is what my 2020 mba managed
<Henson> clever: well, your system is faster than mine. I'm getting about 54 MB/s write to my RAIDZ6 array with ten 1 TB WB black drives and a Mylex controller, and 210 MB/s read
<simukis_> not really, no.
<abathur> clever when I finish this CS match I'll try it on my desktop
<simukis_> but let me get you a diff I’m trying to produce and maybe you’ll see the issue immediately
pamplemousse has quit [Ping timeout: 246 seconds]
<DigitalKiwi> maybe iostat slows it down
<clever> Henson: maybe i'm just spoiled by having nvme on everything else, and the spinning rust is just always that slow, lol
<Henson> clever: yeah, my laptop has an SSD, but when I travel for work I put an old platter drive in it, and it is sooooo sloooow.
<abathur> clever: confused about both referencing optane and spinning rust, maybe I missed something?
<clever> abathur: the nas has an optane that i sometimes use as an SLOG or L2ARC, but its currently inactive
<clever> abathur: the main storage is a raidz1 over 3 mechanical drives
<abathur> ah
<abathur> yeah that shifts my expectations somewhat
<Ericson2314> simukis_: checkinng
<abathur> :]
<simukis_> the former still fails due to not being able to find wayland-scanner, the diff from comment does work.
<simukis_> pkgsCross.aarch64-multiplatform.mesa is what I use to do a cross build.
<Ericson2314> simukis_: oh it is using the build-time pkg-config path for wayland-scanner?
<Ericson2314> ugh!
<Ericson2314> that isn't really correct
<simukis_> I found that meson-using projects all get crosscompilation mostly wrong
<Henson> jeepers, I have to go to bed. It was nice talking to everybody about ZFS stuff. Talk to you later!
<Henson> clever: thanks again for the kexec build script, this will definitely come in handy.
<Ericson2314> simukis_: yeah... I've cleaned up meson a lot but that's only the tip of the iceberg I guess
Henson has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
<Ericson2314> simukis_: basically whenever a package comes with one of these dev executables, it's a shit-show with little good solution
<simukis_> I still don’t get how in the world a modern build plan generator doesn’t handle this kind of stuff transparently and correctly, it can’t be that hard.
<Ericson2314> if the package is cross compiled, and will be used with further cross compiled builds, it should be built for the the build platform
<Ericson2314> if a package is cross compiled, but will be used in further native builds, the tool should be built for the host platform
<simukis_> my favourite instance of this is gobject-introspection which cannot use `gircompile` to get both host and target executable for its own purposes.
<Ericson2314> ohhhhh g-i
<Ericson2314> the true innermost circle
<Ericson2314> and using a a native build's tool might ave different hard-coded paths etc (e.g. with lllvm-config)
<Ericson2314> so basically we have these exectuables which are sensitive to two targets
<simukis_> Ericson2314: luckily the host-build-target distinction is handled pretty well in nix itself, its mostly a problem in getting meson to use the right things in right places.
<Ericson2314> well even we have trouble with these sorts of executables
<Ericson2314> I'll get the issue
<simukis_> (interestingly apart from gcc7 not cross-compiling because of a -Werror flag, the only other problems I encountered with crosscompilation all are using meson)
<Ericson2314> shit I cannot find it
<{^_^}> [nixpkgs] @marsam merged pull request #88991 → bat: 0.15.1 -> 0.15.3 → https://git.io/JfwpF
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jfrf9
growpotkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
<abathur> clever: try `nix-shell -p sysbench`, then `sysbench fileio prepare` then `sysbench fileio --file-test-mode=rndrw run` ?
<simukis_> Ericson2314: anyway, I filled out a couple of tasks for broken packages recently, (https://github.com/NixOS/nixpkgs/issues/created_by/nagisa) and may end up picking at them as I have time, but any help would be appreciated.
<cole-h> energizer: Have you tried adding jack to your build inputs?
<srid> setfacl -m u:nginx:x /var/lib/mysites
<srid> ^^ Can I automate stuff like this in nix?
<energizer> cole-h: i haven't tried. just noticing that it's packaged separately on some distros. you think it'll just work?
<cole-h> Only one way to find out.
<abathur> clever: (vaguely curious here, because I suspect my desktop is not getting anywhere near enough performance out of my optane because drivers, but I haven't chased it too hard because it's not like I'm going back to windows or anything,
<Ericson2314> simukis_: I will try to use your g-i issue to get them to look more at my PR
<clever> prepare ended with: 2147483648 bytes written in 47.78 seconds (42.86 MiB/sec).
<clever> abathur: and run ended with: Illegal instruction (core dumped)
<abathur> gah
<abathur> my write run on my desktop was 851.62 MiB/sec
<abathur> wonderwhy the core dump
<abathur> my actual run claimed throughput of 554 MiB/s read and 369 write
<abathur> but it didn't run on macOS, unfortunately
<elvishjerricco> clever: *cont. from #zfsonlinux* But you're implying Nix doesn't call sync on X before writing to its db
<elvishjerricco> That would seem foolish
jluttine has quit [Ping timeout: 246 seconds]
<elvishjerricco> even with ext4's journaling, sync would ensure it's really there first
spacefrogg has quit [Quit: Gone.]
aw has quit [Quit: Quitting.]
aw has joined #nixos
<clever> elvishjerricco: my rough understanding, is that when you close() a file, the fs driver is supposed to flush everything to disk, and not return until its commited
<clever> elvishjerricco: but ext4 is sometimes doing naughty things, and data can still be lost after that point
spacefrogg has joined #nixos
<elvishjerricco> clever: flush and close only ensure its in kernel memory and not in userspace cache (most libc's have their own IO cache)
<elvishjerricco> fsync is a different thing
<{^_^}> #51176 (by bennofs, 1 year ago, open): cross compilation: xxx-config binaries
<Ericson2314> that's it
<elvishjerricco> Ericson2314: o/
<Ericson2314> Hey!
<elvishjerricco> clever: flushing doesn't guarantee its persistent, but fsync does. If Nix isn't truly syncing paths before writing to the DB that they're there, that's a problem
<clever> elvishjerricco: one case i can see, where nix isnt entirely at fault, is if you just built something, and the binary in the derivation didnt fsync()
<clever> elvishjerricco: then nix read $out, hashed it, and recorded its presense in db.sqlite
<elvishjerricco> clever: Right, I'm claiming it should be Nix's job to make absolutely certain the entire path is fsync'd before recording it in the db
<elvishjerricco> not the derivation's
felixfoertsch has quit [Ping timeout: 272 seconds]
<clever> so nix would have to open every file in $out and fsync() each one...
<elvishjerricco> clever: I believe there's more efficient ways to do that but yea
felixfoertsch has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #88993 → gitAndTools.gh: 0.8.0 -> 0.9.0 → https://git.io/JfwhR
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfrJt
<{^_^}> [nixpkgs] @marsam merged pull request #88987 → zola: 0.10.1 -> 0.11.0 → https://git.io/JfwN5
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfrJq
<elvishjerricco> Honestly shouldn't be that slow. If the derivation did fsync everything itself, it'd be nearly instant. Otherwise it's just necessary overhead
<elvishjerricco> Regardless, even if /nix/store and the db are on the same file system, you'll have the same exact issue if the paths aren't synced
<{^_^}> [nixpkgs] @romildo opened pull request #89002 → deepin.dde-qt-dbus-factory: 5.0.1 -> 5.1.0.1 → https://git.io/JfrJG
<bqv> Ericson2314: heard about the grant, exciting stuff!
fresheyeball has quit [Quit: WeeChat 2.7.1]
morgrimm has joined #nixos
andymandias has joined #nixos
pamplemousse has joined #nixos
<Ericson2314> bqv: Thanks!! Yes, really looking forward to where this is headed
jluttine has joined #nixos
alp has quit [Ping timeout: 272 seconds]
morgrimm has quit [Quit: leaving]
<elvishjerricco> clever: Looks like local-store.cc has a `syncBeforeRegistering` option that is set to `false` by default.
<elvishjerricco> And it just calls `sync`, not a bunch of `fsync`, causing ALL file systems to sync ALL files
<elvishjerricco> It should really probably be `syncfs` which only does the file system you specify...
<clever> ah, that would solve the issue ive seen before
<clever> but that issue has never been on my own machines
<clever> other nix users, that did an improper reboot immediately after a nix build
<clever> and now the manifest.nix for nix-env is toast, so they cant install anything
<clever> or a random .drv file is nulls, so nix cant build anything touching it
<elvishjerricco> clever: Yea, sounds like the result of Nix not syncing the store paths by default. I'm kinda disappointed in that
<elvishjerricco> Makes Nix less atomic than I thought
<clever> yeah
<clever> ive never had such issues with zfs though
<keithy[m]> Hi, when using nix on macOS are you supposed to load the xcode commandline tools? I was looking for make -nix-env -i make
<clever> keithy[m]: you should generally not install any compiler type tools, only ever use nix-shell
<keithy[m]> thats if I am building something inside the nix environment I need make elsewhere
<keithy[m]> for general purpose use
<clever> keithy[m]: what kind of use?
<keithy[m]> to run a make file
<keithy[m]> that runs tests
<clever> keithy[m]: run make in nix-shell ?
<clever> `nix-shell -p` then `make`
<keithy[m]> so what is nix0env for then
<clever> keithy[m]: installing anything that isnt compiler related
<keithy[m]> hmm
<keithy[m]> make isnt compiler related
<keithy[m]> but then I wouldnt know I havent compiled anything for 20 years
<simpson> > gnumake
<{^_^}> "<derivation /nix/store/akvb21d6akj8czmvfx727n6rwq9qmys0-gnumake-4.2.1.drv>"
<keithy[m]> and then git isnt there
<keithy[m]> thanks!
<cole-h> > git
<{^_^}> "<derivation /nix/store/c9ry6qwd83vpd0bfj64hlpmzz9cvcpar-git-2.26.2.drv>"
<keithy[m]> what I meant was, I was all setup with tools but make, doing nix-shell I lost them all
<cole-h> I don't understand. Unless you specified the `--pure` flag, packages are only added to your PATH, not removed.
<keithy[m]> I guess thatwas what the -p was
<cole-h> No
<keithy[m]> clever is a pure liking kind of guy
<cole-h> `nix-shell -p git gnumake` makes git and gnumake available in your path. It doesn't remove anything AFAIK.
<keithy[m]> nix-shell -p. puts me in a shell without git, when before it was there.
<clever> `nix-shell -p` should give you make, its part of the stdenv
<cole-h> Oh yeah
<clever> `-p` isnt `--pure`
<clever> -p takes 0 or more packages, which get added to the buildInputs
<keithy[m]> k
marusich has quit [Quit: Leaving]
<keithy[m]> thx guys
* clever heads off to bed
<cole-h> o/
waleee-cl has quit [Quit: Connection closed for inactivity]
jluttine has quit [Ping timeout: 256 seconds]
LevelChart8 has quit [Quit: LevelChart8]
Supersonic112 has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 is now known as Supersonic
jluttine has joined #nixos
<ldlework> I have
<ldlework> { pkgs, conf }@args:
<ldlework> let data = pkgs.callPackage (import ./data.nix) {};
<ldlework> But it says data.nix is being called without a required arg 'conf'
<ldlework> Why isn't callPackage doing the right thing?
<ldlework> Oh callPackage only does it with packages in pkgs?
<ldlework> I see.
<{^_^}> [nixpkgs] @aszlig pushed to master « ip2unix: 2.1.1 -> 2.1.2 »: https://git.io/JfrUM
<{^_^}> [nixpkgs] @aszlig pushed to release-20.03 « ip2unix: 2.1.1 -> 2.1.2 »: https://git.io/JfrUS
mauli has joined #nixos
LevelChart8 has joined #nixos
pamplemousse has quit [Ping timeout: 256 seconds]
cmk_zzz has quit [Remote host closed the connection]
tarelerulz2 has joined #nixos
<tarelerulz2> I notice a lot of program I have installed have problems because They are looking for something in a normal place and can't find it.
<tarelerulz2> geany is looking for g++
demoulin[m] has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/53eb2155e76 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<tarelerulz2> I did with root and the add hoc way I think , is that why It can't find the file?
pamplemousse has joined #nixos
jluttine has quit [Ping timeout: 272 seconds]
pamplemousse has quit [Ping timeout: 265 seconds]
jluttine has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #88996 → python27Packages.phonenumbers: 8.12.2 -> 8.12.4 → https://git.io/Jfwji
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfrTr
justanotheruser has quit [Quit: WeeChat 2.7.1]
tarelerulz2 has quit [Remote host closed the connection]
justanotheruser has joined #nixos
tarelerulz has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #88561 → ffmpeg{_4,-full}: 4.2.2 -> 4.2.3, ffmpeg_2_8: 2.8.15 -> 2.8.16 → https://git.io/Jf2OX
<{^_^}> [nixpkgs] @marsam pushed 4 commits to master: https://git.io/JfrT6
cmk_zzz has joined #nixos
<tarelerulz> How should you set up the system? I enable sound , KDE but I did not un # the part dealing with more then one user. I added my normal user via the command line. I did the command on the site. I add a hand full of app use su , while under my normal user , is that not the way like it mess stuff up?
<quinn> tarelerulz: try installing pavucontrol and checking the output and application settings
<quinn> *tabs
<tarelerulz> my sound works fine/
<quinn> sorry i'm not sure what your question is
<tarelerulz> I installed geany , an ide , using Su , root , with the package manager , it can't find /bin/sh: g++: command not found
<tarelerulz> So I was wondering maybe I did something wrong in the way I installed/setup
mauli has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @jonringer merged pull request #88997 → python27Packages.plexapi: 3.4.0 -> 3.6.0 → https://git.io/Jfwj7
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python27Packages.plexapi: 3.4.0 -> 3.6.0 »: https://git.io/JfrkZ
Rusty1 has quit [Quit: WeeChat 2.3]
<simpson> tarelerulz: I don't know Geany, but probably you'd want to set it up with tools using nix-shell and an environment.
<tarelerulz> What is tools?
domogled has quit [Ping timeout: 240 seconds]
<quinn> tarelerulz: are you trying to edit c++ with it? geany shouldn't depend on g++ to run without a file open
<tarelerulz> I had like retroarch not work either. so I'm thinking maybe I'm not doing something right
<lovesegfault> What's the best way to run a Windows VM on NixOS?
<quinn> my guess is it's an automatic integration with c++ that's failing. you should probably do as simpson recommends and add it with nix-shell -p and then run geany if you're editing c++
<{^_^}> [nixpkgs] @jonringer merged pull request #88968 → python27Packages.identify: 1.4.15 -> 1.4.16 → https://git.io/JfwQN
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python27Packages.identify: 1.4.15 -> 1.4.16 »: https://git.io/Jfrku
<quinn> lovesegfault: i don't know about nixops, but i like virt-manager for VMs
<tarelerulz> quinn how do you do that?
<lovesegfault> quinn: do the graphics work well?
<lovesegfault> I mainly need to run a gui
<quinn> tarelerulz: open a terminal, run nix-shell -p <c++ compiler>, then run geany from that terminal
<quinn> lovesegfault: IIRC virt-manager uses VNC or SPICE for graphics? i wouldn't play vidya with it but it's not ridiculously bad
<lovesegfault> got it
* lovesegfault goes try
<quinn> not an expert, but i think if you want really good VM graphics you want PCI passthrough to a graphics card, and the next best option for me has been virtualbox (but i hate it in every other respect)
<quinn> GL
<simpson> tarelerulz: I tried $(nix-shell -p geany), checked that `g++` was already in the resulting shell environment, and then opened Geany and made a new main.cxx project. I was able to build and run a hello-world.
o1lo01ol1o has joined #nixos
mauli has joined #nixos
<quinn> tarelerulz: FYI you can also write a shell.nix for your project that includes C++ then integrate that with direnv and then geany will find the compiler without you needing to install it system wide or run nix-shell yourself
<energizer> ldlework: `callpackage ./data.nix {}` should be enough, dont need the `import`
o1lo01ol1o has quit [Ping timeout: 265 seconds]
mauli has quit [Ping timeout: 272 seconds]
<tarelerulz> so quinn , why when I installed it the normal way did it not work?
<tarelerulz> I mean it cool , You helped me out. I think there is something I'm not understand , I have other apps that don't work correct like retroarch and I think there might be a general reason
<quinn> tarelerulz: that's really a question for simpson. my theory is that you don't have g++ installed at all. i think it worked for simpson because they aleady had g++ installed, because i don't see g++ in the derivation for geany (http://ix.io/2nsx)
<simpson> I don't have g++ installed. g++ is part of GCC; GCC is available in the typical stdenv.
<simpson> But we can imagine going beyond stdenv. $(nix-shell -p geany ruby) gets me the `irb` command, for example, although I don't know if Geany has Ruby integration.
<quinn> simpson: i mean it definitely depends on g++ at build time, but i think it needs a propagatedbuildinput or something to stay in the path after it's installed.
maxdevjs has quit [Ping timeout: 272 seconds]
<quinn> i didn't know that g++ came with gcc tbh, but that's still my reasoning. tarelerulz: what happens if you open a terminal and type g++?
<tarelerulz> nix-shell -p geany , what does that do?
<quinn> it spawns an instance of bash that has geany available in $PATH (basically)
<cole-h> lovesegfault: if you ever decide to go down the PCI passthrough route.... https://github.com/cole-h/nixos-config/blob/nixos/hosts/scadrial/modules/libvirt/default.nix
<tarelerulz> when I open a terminal , and type g++ command not found ,
<quinn> as do i (on a very minimal VM)
palo1 has joined #nixos
noudle has joined #nixos
<quinn> simpson: this makes me think that you have something that depends on g++ (as a propagatedbuildinput i guess?) in your system already
<quinn> tarelerulz: anyways just to be sure how about you nix-shell -p geany and then run it from there
simba1 has joined #nixos
<quinn> wait, actually my desktop doesn't have g++ in path without nix-shell -p geany, and it has it in path when i do nix-shell -p geany. maybe nix-shell -p automatically adds stdenv to the path? anyways i would just add g++ to your system config or try that direnv trick i told you about
palo has quit [Ping timeout: 265 seconds]
palo1 is now known as palo
<tarelerulz> haha you make sound so easy, I'm new to Nixos. I had time finding out how to install something
<tarelerulz> I kind of get the whole big config file
<quinn> cole-h: this is cool, are the hooks for dealing with GPUs? i'm not very familiar with VM
<cole-h> Yeah, they're necessary because I only have one GPU
<lovesegfault> I really want a PCIe 4 NVME RAID-0
<cole-h> Probably unnecessary on multi-GPU systems, but I need to tell nouveau to let go of my card, so that's how I do it
<quinn> tarelerulz: for now just add gcc to your environment.systemPackages in configuration.nix and do nixos-rebuild switch and you should be fine. there are more elegant ways to do it, but this will get you developing your stuff while you acclimate to nix
<cole-h> You shouldn't use compilers outside of nix-shell, tbh
<quinn> cole-h: is this full-screen only then? re compilers outside of nix-shell, that's just because it's not 'the nix way' not because it's unsafe right? IMO it's unreasonable to tell a new user to learn how to use shell.nix for every project before they start programming on their own computer again
<cole-h> quinn: I'm pretty sure it's because our compilers are patched to add some env vars for various things, and I don't know if adding them to packages sets those up.
<cole-h> re full-screen only: Yes. If I need access to my host, I SSH in. If I need graphical access, I shutdown my VM.
<quinn> OH okay, i take it back then. tarelerulz: just try running nix-shell -p gcc and then opening geany from a terminal whenever you want to develop C++ i guess
<tarelerulz> The new user , me , just picked up the boot , hello world level like first chapter here.
<quinn> well are those instructions manageable for you right now?
LevelChart8 has quit [Quit: LevelChart8]
<quinn> cole-h: wow that sounds really unergonomic. have you considered doing integrated graphics for host, pci gpu for guest?
<cole-h> ¯\_(ツ)_/¯
<cole-h> Different strokes for different folks. I don't think it's unergonomic at all.
<cole-h> If I use integrated for host, I lose the ability to take advantage of my card in any way. Seems like I'm gimping my system when I use Linux more often than Windows.
<lovesegfault> grrr great xen is failing to build
<quinn> lovesegfault: are you trying to use xen with virt-manager? kvm will probably be easier
<lovesegfault> Why do I even need xen
<quinn> idk lol
<tarelerulz> what is the way you should install and app?
<lovesegfault> I just did this
<cole-h> quinn: btw just tested: `nix-shell -p gcc` sets env vars like TARGET_*, *_FOR_TARGET, etc, while adding it to environment.systemPackages doesn't
<lovesegfault> wtaf
<lovesegfault> Oh, I know what's up
<quinn> tarelerulz: desktop programs (for me) go in environment.systemPackages.
<quinn> cole-h: oh that's kewl. does that mean tarel could just add gcc to configuration.nix?
<quinn> i also admire your patience in doing a nixos-rebuild to test something for IRC, i'm much too lazy for that
<cole-h> No, that's the opposite of what I said. If you put it in configuration.nix (environment.systemPackages), the user's env won't inherit those variables, meaning things are liable to break.
justanotheruser has quit [Ping timeout: 272 seconds]
<lovesegfault> Is there a way to remove cflags that are set by the system definition for a single package?
<quinn> cole-h: oh okay, ty
<tarelerulz> nix-env -qa firefox , I think I did that to install qeany , firefox , qbitorrent , vlc and retroarch but it only geany and retroarch that don't seem to work right
<quinn> lovesegfault: you should check the source code, but you should be able to specify cflags in an override (manual mentions makeFlags/Array) you could also try setting NIX_CFLAGS_COMPILE
<lovesegfault> quinn: maybe, hmm
justanotheruser has joined #nixos
<cole-h> Man, I can't wait to install NixOS on my SSD lol
<cole-h> Spinning rust is sooooo slowwwww
<{^_^}> [nixpkgs] @jonringer merged pull request #85763 → svgwrite: update to 1.4 → https://git.io/JfkMK
<{^_^}> [nixpkgs] @jonringer pushed commit from @sbourdeauducq to release-20.03 « python: svgwrite: disable on Python 3.8 »: https://git.io/JfrIc
<ashkitten> i can't wait for 8TB NVME SSDs to become affordable and i upgrade my zpool to ssd storage and get nyoomy
<srhb> I don't think I even knew 8TB nvme ssds existed o_o
<{^_^}> [nixpkgs] @cdepillabout merged pull request #89001 → [haskell-updates] haskellPackages.shh: Disable tests → https://git.io/Jfrvi
<{^_^}> [nixpkgs] @cdepillabout pushed 2 commits to haskell-updates: https://git.io/JfrI4
<{^_^}> [nixpkgs] @jonringer merged pull request #88749 → python27Packages.update_checker: 0.16 -> 0.17 → https://git.io/JfaDg
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python27Packages.update_checker: 0.16 -> 0.17 »: https://git.io/JfrIB
<ashkitten> srhb: not yet!
<{^_^}> [nixpkgs] @r-ryantm opened pull request #89003 → python27Packages.py_scrypt: 0.8.13 -> 0.8.15 → https://git.io/JfrIR
ninjin has joined #nixos
<tarelerulz> have any of used retroarch and nixos?
<srhb> I splurged on a few small ones for my laptop though. Mirrored. It's pretty nice.
<ashkitten> i have too much data for a mere 4TB, i think
<srhb> And here I am getting by on 500G :D
<srhb> Makes backing up easier too!
<{^_^}> [nixpkgs] @jonringer merged pull request #88742 → python27Packages.w3lib: 1.21.0 -> 1.22.0 → https://git.io/JfaXo
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python27Packages.w3lib: 1.21.0 -> 1.22.0 »: https://git.io/JfrI0
<ashkitten> i miiight be able to work with 4TB actually
<srhb> Neat!
<srhb> Still not cheap though
<simpson> tarelerulz: I'm able to start RetroArch, although I have no idea how to use or test it.
<{^_^}> [nixpkgs] @Mic92 merged pull request #88916 → cernlib, sad, transfig: use patch file extension → https://git.io/JfwYD
<{^_^}> [nixpkgs] @Mic92 pushed 4 commits to master: https://git.io/JfrIE
<{^_^}> [nixpkgs] @jonringer merged pull request #88735 → python37Packages.pyenchant: 3.0.1 -> 3.1.0 → https://git.io/Jfa6C
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python37Packages.pyenchant: 3.0.1 -> 3.1.0 »: https://git.io/JfrIu
<tarelerulz> get a rom of say super mario brothers , then go to online update , core update, find core for the system of the game , nes
bebarker has joined #nixos
<ashkitten> i... might look at purging some old snapshots and moving my pool to some (smaller) ssds
<tarelerulz> sorry online update is in retroarch
<srhb> ashkitten: Tons of snapshots? :P
drakonis1 has quit [Quit: WeeChat 2.8]
<ashkitten> i think they're like 70% of my pool...
tsrt^ has joined #nixos
bbarker has quit [Ping timeout: 256 seconds]
tarelerulz has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #89004 → python27Packages.thinc: 7.4.0 -> 7.4.1 → https://git.io/JfrIP
tsrt^^ has joined #nixos
simba1 has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @cole-h opened pull request #89005 → doas: add NixOS binary dirs to safepath → https://git.io/JfrIX
tsrt^ has quit []
eoli3n_ has joined #nixos
tarelerulz has joined #nixos
<tarelerulz> I hope that helped man
<tarelerulz> I love retroarch myself,but it does take work sometimes
<tarelerulz> get everything working
<simpson> tarelerulz: Sorry, I don't do PMs. Anyway, are things working for you?
codygman has quit [Read error: Connection reset by peer]
codygman has joined #nixos
<tarelerulz> Retroarch loads and what not ,but you don't download any cores/emulators / install so you can't do anything with it
mauli has joined #nixos
<simpson> What would you normally do on another distro, and how would you test it?
<tarelerulz> I get a rom
<simpson> This isn't that sort of channel, sorry.
<tarelerulz> Well, what I normally do to fix it does not work at all
<tarelerulz> and IDE did not work either
<quinn> (he said he already had a rom) normally with retroarch you download emulation cores that you use to run ROMs. it's a little bit like MAME IIRC
<tarelerulz> borth installed in the same way
<tarelerulz> ok, you need the core , I change the directory to user home directory
<tarelerulz> but that change does not stay
<tarelerulz> that is odd
<tarelerulz> It has a config file you save when change something
cole-h has quit [Quit: Goodbye]
<tarelerulz> so to me it feels like something on the way I set up nixos
<simpson> > libretro.dosbox # tarelerulz
<{^_^}> "<derivation /nix/store/1vgisybj9dwz7zqq5ip5b1jnq7qcaqsv-libretro-dosbox-2020-03-06.drv>"
<simpson> The various cores are set up in this one attrset. You can browse what's packaged in pkgs/misc/emulators/retroarch/cores.nix
<quinn> simpson: oh my god, i spend like way too long trying to figure out why pkgs.retroArchCores was an empty list.
<tarelerulz> pkgs/misc/emulators/retroarch/cores.nix , what is that?
<quinn> the file where all of the cores are packaged
develCuy_ has quit [Quit: No Ping reply in 180 seconds.]
<tarelerulz> so why can't you use Retroarch itself?
develCuy has joined #nixos
<tarelerulz> normally I tell the cores to save to my home directory and I'm good
<simpson> I probably could, if I put in effort. But I'm not really interested in picking up new tools today; I'm just trying to figure out what's broken for you.
<simpson> tarelerulz: Sorry, that was a little glib. As quinn says, it seems like there's a wrapper which loads the cores automatically. I'm trying to figure out how it's used.
<tarelerulz> I love the link to the file but I have no idea what to do with that file
user_0x58 has quit [Quit: Leaving]
<quinn> tarelerulz: you know what i like emulation, give me like 15 minutes to set it up for myself (on my todo list anyways) and i'll give you a summary
codygman has quit [Ping timeout: 272 seconds]
<simpson> tarelerulz, quinn: It looks like configuration has to go through the nixpkgs global configuration, i.e. through ~/.nixpkgs/config.nix.
<quinn> simpson: you can do that with nixpkgs.foo in configuration.nix too right?
<simpson> That said, I was able to add `retroarch.enableDOSBox = true;` to that global configuration, and then to build `retroarch`. The resulting package has the dosbox core bundled.
<simpson> quinn: Yes, I believe so. This is just what I tested.
<simpson> > retroarch.meta.description # quirky! if any cores are enabled, they'll be listed here
<{^_^}> "Multi-platform emulator frontend for libretro cores (with cores: )"
klntsky has quit [Remote host closed the connection]
klntsky has joined #nixos
codygman has joined #nixos
Chiliparrot has joined #nixos
<Ashy> is it possible to fire up a nix-shell with a multilib enabled gfortran?
<Ashy> i'm on a 64bit nixos machine and want to build a 32bit fortran binary
<quinn> simpson: and then add retroArchCores to environment.systemPackages right?
orivej has quit [Ping timeout: 265 seconds]
orivej has joined #nixos
<simpson> quinn: I think that you'd add the `retroarch` package name directly. It seems that that package is built up from the configured cores.
<quinn> simpson: oh yes i see. as the comment remarks, 'quirky!'
hmpffff has joined #nixos
<simpson> Ashy: I don't have the patience to see it through, but pkgsCross.gnu32 has a suitable GCC? You can directly grab pkgsCross.gnu32.gfortran. At least here, though, it needs to build an i686 binutils first, and I don't know if I want to stay up that late.
quinn has quit [Quit: ZNC 1.7.5 - https://znc.in]
quinn has joined #nixos
cr4y1 has joined #nixos
<fps> hmm, i have some code that writes a configuration.nix and another file to an sdcard image: https://github.com/OGFX/ogfx-nixos-rpi4/blob/master/ogfx-nixos-sd-card.nix
<fps> how would i go about copying a directory tree recursively to the sd card image as well?
<fps> e.g. some overlays and the musenix repo which i would also like to copy to /etc/nixos/overlays and /etc/nixos/musenix respectively
<Ashy> simpson: thanks i'm trying that now like so: http://dpaste.com/2AKTS52
alp has joined #nixos
<lovesegfault> What are the main alternatives to `morph`?
<lovesegfault> Apart from NixOps
<manveru> lovesegfault: krops maybe?
<srk> nixos-rebuild switch --target-host :D
<manveru> there's also nixiform
<manveru> srk: i still use that for vpsfree :P
<srk> haha
* srk does as well for rpi deployments
<manveru> ah, true
<manveru> i use morph for some machines, and nixops mostly for work stuff...
<lovesegfault> krops seems nice
<lovesegfault> morph has r13y issues that drive me bananas
<lovesegfault> I like nixoses
<manveru> gonna need something that supports flakes soon
<simpson> What kinds of r13y issues?
<srk> lovesegfault: how come?
<srk> ah, simpson beat me to it :)
<lovesegfault> simpson: I don't understand the source of it, but `morph build` doesn't yield the same thing as `nix build` https://github.com/lovesegfault/nix-config/blob/master/default.nix#L4-L8
<simpson> I've been thinking lately about the r13y of deployments which are managed from multiple hosts. I hate the Bastion Pattern; I don't think it's appropriate, so I've been wondering about ways to de-bastionize.
<lovesegfault> so like I will build something on my server, nix copy to my laptop, then morph deploy and nix starts rebuilding stuff
<lovesegfault> even though I just built it
<simpson> lovesegfault: Aha. That does seem irritating, but not like a showstopper. It just means that a machine has to either be managed or unmanaged, and not both.
<lovesegfault> it drives me nuts
<manveru> that sounds like someone is using `<nixpkgs>` :P
<lovesegfault> Yes
<lovesegfault> that's my theory
<lovesegfault> so they are breaking my pinning
<quinn> simpson: to be clear, what you think should be working is adding retroarch to environment.systemPackages and setting nixpkgs.config.retroarch.enableCitra to true?
<srk> lovesegfault: tried the pinning morph supports?
<lovesegfault> srk: how?
* srk looking
hmpffff has quit [Quit: nchrrrr…]
<quinn> simpson: because that is not working unfortunately
<manveru> lovesegfault: `network.pkgs`
<{^_^}> DBCDK/morph#67 (by Shados, 38 weeks ago, merged): Merge per-machine nixpkgs arguments on top of network-wide ones
<tarelerulz> simpson , normally with retroarch , you can just download the core , it install and you have the core on the next time you start the program. That is what should happen. It says downloaded core but you don't have the core . could it be permissions ?
mallox has joined #nixos
<lovesegfault> I hadn't tried that, but I'm halfway through converting to nixus now :P
<manveru> hehe
<simpson> quinn: That sounds reasonable. Here's something I just tried: https://bpa.st/JGQQ
hmpffff has joined #nixos
hmpffff has quit [Client Quit]
thc202 has joined #nixos
<simpson> tarelerulz: You will have to give up the old ways of doing things. In particular, the only way to get executable packages should be through Nix, and that includes programs which come in multiple pieces. In this situation, RetroArch's various cores seem to be packaged, and although the configuration is arcane and undocumented, it's not broken, just different.
<{^_^}> [nixpkgs] @vbgl merged pull request #88592 → ocamlPackages.async_kernel: remove at 112.24.00 → https://git.io/Jf2El
<{^_^}> [nixpkgs] @vbgl pushed to master « ocamlPackages.async_kernel: remove at 112.24.00 »: https://git.io/JfrtE
<tarelerulz> ok, learn the nixos way I guess haha
<srhb> lovesegfault: If you're having reproducibility issues with morph, it would be helpful to hear about the drv diffs you're seeing. We're not aware of any serious issues currently, but obviously it'll be nice to know. :)
<srhb> lovesegfault: I think the main cause is overlays, which, granted, can be quite confusing.
hmpffff has joined #nixos
ckauhaus has joined #nixos
<quinn> simpson: what the hell. it works if i put it in nixpkgs/config.nix but not in configuration.nix. looks like i have to go bug hunting :v
thc202 has quit [Ping timeout: 260 seconds]
<simpson> Good luck.
<{^_^}> [nixpkgs] @vbgl opened pull request #89006 → ocamlPackages.core: remove at 112.24.01 → https://git.io/JfrtH
orivej has quit [Ping timeout: 256 seconds]
orivej_ has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/90159ed045b (from 76 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
lsix has joined #nixos
o1lo01ol1o has joined #nixos
lornokto has joined #nixos
gagbo has joined #nixos
<pie_> how the heck do i add an indirect gc root for a build result?
thc202 has joined #nixos
NeoCron has joined #nixos
o1lo01ol1o has quit [Ping timeout: 260 seconds]
<pie_> guess i got it to work by adding --realise
<pie_> nix-store --add-root .nix-jre-root --indirect --realise /nix/store/c5q14crfrqal3nmqpnd4apd08n0dscq8-jetbrains-jdk-11.0.6-b774.drv
<lornokto> what's wrong with nix-build --out-link ./out?
<{^_^}> [nixpkgs] @vbgl merged pull request #88641 → coqPackages.mathcomp-extra: refactor → https://git.io/Jfael
<{^_^}> [nixpkgs] @vbgl pushed commit from @CohenCyril to master « coqPackages.mathcomp-extra: refactor »: https://git.io/Jfrqk
tobeportable has joined #nixos
<quinn> tarelerulz: alright, it looks like the bugs i have to deal with are with my config rather than the package. follow these instructions: http://ix.io/2nsP
andymandias has quit [Ping timeout: 246 seconds]
zupo_ has joined #nixos
andymandias has joined #nixos
<quinn> simpson: looks like my error came from putting nixpkgs.config.retroarch behind a mkIf \shrug
orivej has joined #nixos
orivej_ has quit [Ping timeout: 272 seconds]
<pie_> lornokto: i was trying to do it with a store path first and obviously that didnt work and then i didnt simplify
<pie_> lornokto: thanks
<tarelerulz> quinin, thanks man
<quinn> sure dude, enjoy
<tarelerulz> seems like I was fighting the system .
<tarelerulz> emulators have a enough problems , haha
orivej has quit [Ping timeout: 260 seconds]
orivej_ has joined #nixos
<quinn> i'm a melee player, so i know the struggle. so many man hours sunk into low latency play, what an incredible PITA
<tarelerulz> I use retroarch because it covers so many system too. if there was any easyer one I would but never found it with Linux. not good mulisystem emulators / front ends
vidbina has joined #nixos
<quinn> imo if you spend too much time with them it's worth setting up the non-retroarch alternatives. you get more recent builds and the native configuration settings rather than whatever retroarch decides to feed you
<quinn> anyways i gotta sleep, have a nice day dude
copy has quit [Ping timeout: 256 seconds]
orivej_ has quit [Ping timeout: 272 seconds]
rauno has joined #nixos
rauno has quit [Remote host closed the connection]
vidbina has quit [Ping timeout: 264 seconds]
hmpffff has quit [Quit: nchrrrr…]
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/0aa5f60434d (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/0aa5f60434d (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
ZaraChimera has quit [Remote host closed the connection]
maddo has joined #nixos
ZaraChimera has joined #nixos
turion has joined #nixos
smatting has joined #nixos
KeiraT has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @vbgl merged pull request #88605 → ocamlPackages: default to OCaml 4.10 → https://git.io/Jf2rA
<{^_^}> [nixpkgs] @vbgl pushed 6 commits to master: https://git.io/JfrmA
jeregrine_ has joined #nixos
LeshaInc1 has joined #nixos
christiaanb_ has joined #nixos
typetetris_ has joined #nixos
abbe_ has joined #nixos
vdemeester_ has joined #nixos
lukego_ has joined #nixos
joedevivo_ has joined #nixos
pasukon_ has joined #nixos
buggymcbugfix_ has joined #nixos
kalbasit_ has joined #nixos
adamse_ has joined #nixos
Haskellfant has joined #nixos
uwap_ has joined #nixos
diamondman_ has joined #nixos
infinisi1 has joined #nixos
asymptotically has joined #nixos
ArdaXi_ has joined #nixos
mystfox has joined #nixos
Jackneill has quit [Read error: Connection reset by peer]
Jackneill has joined #nixos
o1lo01ol1o has joined #nixos
marsh has quit [Ping timeout: 272 seconds]
chris[m]2 has quit [*.net *.split]
Keith[m] has quit [*.net *.split]
michaelpj has quit [*.net *.split]
ggpeti[m] has quit [*.net *.split]
epitron[m] has quit [*.net *.split]
gcoakes[m] has quit [*.net *.split]
sparogy has quit [*.net *.split]
observer_alpha[m has quit [*.net *.split]
somerand0m[m] has quit [*.net *.split]
buggymcbugfix has quit [*.net *.split]
GerdFlaig[m] has quit [*.net *.split]
fadenb has quit [*.net *.split]
vmallela[m] has quit [*.net *.split]
ibinzari[m] has quit [*.net *.split]
SplitFire[m] has quit [*.net *.split]
fantoom[m] has quit [*.net *.split]
boogiewoogie[m]1 has quit [*.net *.split]
yeoldboogiewoogi has quit [*.net *.split]
greghab[m] has quit [*.net *.split]
notapache[m] has quit [*.net *.split]
zrsk[m] has quit [*.net *.split]
aparkerdavid has quit [*.net *.split]
alexfmpe has quit [*.net *.split]
alexgood has quit [*.net *.split]
jak_wolf[m] has quit [*.net *.split]
hr[m] has quit [*.net *.split]
dwagenk[m] has quit [*.net *.split]
kazzimazzi[m] has quit [*.net *.split]
interro[m] has quit [*.net *.split]
Philipp[m]1 has quit [*.net *.split]
rycee has quit [*.net *.split]
ongy[m] has quit [*.net *.split]
plato[m] has quit [*.net *.split]
maxdeviant has quit [*.net *.split]
bohan[m] has quit [*.net *.split]
musicmatze[m] has quit [*.net *.split]
thefloweringash has quit [*.net *.split]
danielrf[m] has quit [*.net *.split]
siraben has quit [*.net *.split]
Yakulu[m] has quit [*.net *.split]
puzzlewolf has quit [*.net *.split]
yangm has quit [*.net *.split]
ky0ko has quit [*.net *.split]
infinisil has quit [*.net *.split]
uwap has quit [*.net *.split]
diamondman has quit [*.net *.split]
lukego has quit [*.net *.split]
joedevivo has quit [*.net *.split]
ArdaXi has quit [*.net *.split]
adamse has quit [*.net *.split]
pasukon has quit [*.net *.split]
jeregrine has quit [*.net *.split]
vdemeester has quit [*.net *.split]
kalbasit has quit [*.net *.split]
christiaanb has quit [*.net *.split]
blackriversoftwa has quit [*.net *.split]
glowpelt has quit [*.net *.split]
cocreature has quit [*.net *.split]
LeshaInc has quit [*.net *.split]
abbe has quit [*.net *.split]
typetetris has quit [*.net *.split]
buggymcbugfix_ is now known as buggymcbugfix
jeregrine_ is now known as jeregrine
joedevivo_ is now known as joedevivo
Haskellfant is now known as cocreature
typetetris_ is now known as typetetris
vdemeester_ is now known as vdemeester
lukego_ is now known as lukego
adamse_ is now known as adamse
christiaanb_ is now known as christiaanb
kalbasit_ is now known as kalbasit
pasukon_ is now known as pasukon
diamondman_ is now known as diamondman
blackriversoftwa has joined #nixos
ilios has quit [Ping timeout: 246 seconds]
civodul has joined #nixos
c_wraith has quit [Ping timeout: 246 seconds]
<cYmen> Good morning!
KeiraT has joined #nixos
c_wraith has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
noudle has quit []
sparogy has joined #nixos
bohan[m] has joined #nixos
rycee has joined #nixos
GerdFlaig[m] has joined #nixos
dwagenk[m] has joined #nixos
thefloweringash has joined #nixos
ky0ko has joined #nixos
fadenb has joined #nixos
plato[m] has joined #nixos
maxdeviant has joined #nixos
yeoldboogiewoogi has joined #nixos
hr[m] has joined #nixos
interro[m] has joined #nixos
notapache[m] has joined #nixos
ibinzari[m] has joined #nixos
alexfmpe has joined #nixos
chris[m]2 has joined #nixos
alexgood has joined #nixos
boogiewoogie[m]1 has joined #nixos
aparkerdavid has joined #nixos
jak_wolf[m] has joined #nixos
ongy[m] has joined #nixos
zrsk[m] has joined #nixos
Keith[m] has joined #nixos
puzzlewolf has joined #nixos
danielrf[m] has joined #nixos
michaelpj has joined #nixos
epitron[m] has joined #nixos
Philipp[m]1 has joined #nixos
SplitFire[m] has joined #nixos
greghab[m] has joined #nixos
yangm has joined #nixos
vmallela[m] has joined #nixos
somerand0m[m] has joined #nixos
gcoakes[m] has joined #nixos
Yakulu[m] has joined #nixos
kazzimazzi[m] has joined #nixos
musicmatze[m] has joined #nixos
ggpeti[m] has joined #nixos
fantoom[m] has joined #nixos
siraben has joined #nixos
observer_alpha[m has joined #nixos
agsdheidjd has joined #nixos
<colemickens> oof, it got weirder (updated)
corpix_ has quit [Remote host closed the connection]
KeiraT has quit [Remote host closed the connection]
corpix has joined #nixos
KeiraT has joined #nixos
pjt_014 has quit [Ping timeout: 246 seconds]
__monty__ has joined #nixos
vidbina has joined #nixos
lunik1 has quit [Ping timeout: 272 seconds]
meh` has joined #nixos
lunik1 has joined #nixos
<alexherbo2> hello
<dminuoso> Hello.
<alexherbo2> is there any recommandation between /boot and /efi?
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<alexherbo2> is /efi the new place?
<{^_^}> [nixpkgs] @lsix opened pull request #89007 → poezio: 0.12 -> 0.13 → https://git.io/JfrOu
<{^_^}> [nixpkgs] @lsix closed pull request #87416 → python37Packages.slixmpp: 1.4.2 -> 1.5.1 → https://git.io/JfCAh
<fps> alexherbo2: i think in nixos boot files go into /boot, even in efi mode..
<{^_^}> [nixpkgs] @lsix closed pull request #88944 → poezio: 0.12.1 -> 0.13 → https://git.io/Jfw6q
<fps> but not totally sure..
<dminuoso> They do.
<{^_^}> [nix] @edolstra merged pull request #3628 → 2.3 installer fixes → https://git.io/JfwRO
<{^_^}> [nix] @edolstra pushed 31 commits to 2.3-maintenance: https://git.io/JfrOr
<NobbZ[m]> They do. I'm using systemd-boot and have my fat mounted at `/boot`
<dminuoso> Nixos will place it under /boot/EFI - which adheres to linux FHS.
<alexherbo2> what is /efi in the archlinux wiki?
rauno has joined #nixos
<alexherbo2> it is placed before /boot recommandation
<alexherbo2> I don't know from where this new place comes
<{^_^}> [nixpkgs] @Ma27 merged pull request #88917 → mutt: 1.14.1 -> 1.14.2 → https://git.io/Jfw3b
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JfrO1
<NobbZ[m]> Perhaps its their convention to configure the toolchain
<NobbZ[m]> The bootloader does probably not even care where you mount things, as long as the "partition index" and file system is correct
<NobbZ[m]> This is just an assumption though
KeiraT has quit [Remote host closed the connection]
<{^_^}> [nix] @edolstra merged pull request #3620 → Add unit tests for hashing functions → https://git.io/JfVEZ
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/JfrOQ
<{^_^}> [nix] @edolstra merged pull request #3625 → Add unit tests for xml-writer → https://git.io/JfVSF
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/JfrO7
<{^_^}> [nix] @edolstra merged pull request #3621 → Add unit tests for "json.hh" → https://git.io/JfVEu
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/JfrO5
<{^_^}> [nix] @edolstra merged pull request #3608 → Use /etc/zshenv instead of /etc/zshrc for profile → https://git.io/Jf23R
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/JfrON
KeiraT has joined #nixos
dermetfan has joined #nixos
agsdheidjd has quit [Ping timeout: 265 seconds]
agsdheidjd has joined #nixos
alp has quit [Remote host closed the connection]
alp has joined #nixos
<nixbitcoin> How can I do `++ (optionals config.services.${x}.enable [` for every element of a `x = []` list?
rauno has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @gnidorah opened pull request #89008 → munt: 2.3.0 -> 2.4.0 → https://git.io/Jfr36
<{^_^}> [nixpkgs] @Ma27 merged pull request #88934 → cppcheck: enable z3 support → https://git.io/JfwuL
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/Jfr3D
<manveru> nixbitcoin: builtins.concatLists (lib.forEach x (y: lib.optionals config.services.${y}.enable []))
knupfer has joined #nixos
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<lornokto> how do you write and save home-manager modules for reuse on other machines?
eoli3n_ has quit [Ping timeout: 256 seconds]
<adisbladis> lornokto: Exactly as you write a NixOS module.
<adisbladis> { pkgs, ... }: { home.file.blah.source = ./path/to/somewhere; }
<adisbladis> Save that in a file called whatever.nix
<{^_^}> [nixpkgs] @mmahut merged pull request #88881 → ergo: init at 3.2.5 → https://git.io/JfVyj
<{^_^}> [nixpkgs] @mmahut pushed 6 commits to master: https://git.io/JfrsL
<adisbladis> Then in home.nix: `{ ...}: { imports = [ ./whatever.nix ]; }`
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<lornokto> Well I put all modules i write inside /etc/nixos/configuration.nix and i can reuse it with only that file
gagbo has quit [Quit: I'm out !]
Negher has quit [Quit: Leaving ...]
<{^_^}> [nixpkgs] @Ma27 merged pull request #88966 → node_exporter: 0.18.1 -> 1.0.0 → https://git.io/JfwQ4
<{^_^}> [nixpkgs] @Ma27 pushed 3 commits to master: https://git.io/Jfrs2
<nixbitcoin> manveru: Thank you for the help. It's a little more complicated: https://github.com/nixbitcoin/nix-bitcoin/blob/netns-generalized/modules/netns-chef.nix#L177
Negher has joined #nixos
lornokto has quit [Read error: Connection reset by peer]
lornokto has joined #nixos
<{^_^}> [nixpkgs] @wamserma opened pull request #89009 → pythonPackages.svgwrite: 1.3.1 -> 1.4 → https://git.io/Jfrsw
eoli3n_ has joined #nixos
<nixbitcoin> manveru: I also need to insert the correct availableNetns for ${cfg.availableNetns.ipAddress}
fendor has joined #nixos
<{^_^}> [nixpkgs] @prusnak closed pull request #87274 → ardour: 5.12 -> 6.0 → https://git.io/Jfc9e
FRidh has joined #nixos
agsdheidjd has quit [Ping timeout: 260 seconds]
kenran has joined #nixos
<kenran> I'm having problems with a very simple systemd timed service. This is the config: https://pastebin.com/AvavpDg0
<kenran> The service seems to run just fine at the specified time, but I don't see any file created or errors.
<kenran> In the end, I'd like to start a specific script once per day, but don't know how to debug this failure.
<{^_^}> [nixpkgs] @kalekseev opened pull request #89010 → pythonPackages.nodeenv: add setuptools to propagatedBuildInputs → https://git.io/JfrG3
dingenskirchen has quit [Quit: dingenskirchen]
dingenskirchen1 has joined #nixos
<adisbladis> kenran: ExecStart is not interpreted by a shell
sigmundv__ has joined #nixos
ninjin has quit [Remote host closed the connection]
<betaboon> kenran: better use `script`. maybe use this for inspiration: https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/services/backup/postgresql-backup.nix
ninjin has joined #nixos
butcher has joined #nixos
dingenskirchen1 is now known as dingenskirchen
agsdheidjd has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #87813 → python38: 3.8.2 -> 3.8.3 → https://git.io/JfBZg
<{^_^}> [nixpkgs] @FRidh pushed to staging « python38: 3.8.2 -> 3.8.3 »: https://git.io/JfrG0
hmpffff has joined #nixos
ninjin has quit [Quit: WeeChat 2.7.1]
agsdheidjd has quit [Ping timeout: 256 seconds]
agsdheidjd has joined #nixos
delneg has joined #nixos
andreas303 has quit [Quit: andreas303]
andreas303 has joined #nixos
m0rphism has joined #nixos
<{^_^}> [hydra] @edolstra merged pull request #768 → Improve handling of Perl's block eval errors → https://git.io/Jfw8p
<{^_^}> [hydra] @edolstra pushed 2 commits to master: https://git.io/JfrGp
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
<{^_^}> [nix] @edolstra pushed 2 commits to 2.3-maintenance: https://git.io/JfrZG
c0c0 has joined #nixos
cantstanya has quit [Ping timeout: 240 seconds]
opticnerve has joined #nixos
cantstanya has joined #nixos
trufas[m] has joined #nixos
cosimone has joined #nixos
vidbina has quit [Read error: Connection reset by peer]
iyzsong has joined #nixos
vidbina has joined #nixos
lornokto has quit [Quit: Leaving]
orivej has joined #nixos
fendor has quit [Remote host closed the connection]
fendor has joined #nixos
<cmk_zzz> why can't I install utop (an ocaml tool) for a nix-shell? I.e `nix-shell -p ocaml utop` gives "undefined variable 'utop'"
<cmk_zzz> I can find the package in nixpkgs under ./pkgs/development/tools/ocaml/utop/default.nix
<evils> cmk_zzz: nix-shell -p ocamlPackages.utop
gagbo has joined #nixos
<cmk_zzz> evils: thanks, that works. Is there a way to find these paths out from the command line? I tried finding in the nixpkgs repo and nix-env -qa doesn't mention ocamlPackages. I see though that the nixos.org search gives that as an attributeName
<manveru> cmk_zzz: `nix search`
<Cadey> is there anything i can do to help the nixos on aarch64 story forward?
<evils> nixos.org/nixos/packages.html shows `ocamlPackages.utop` so does `nix search`, i found it by `grep -sr "utop" in nixpkgs, and the second to last result was in pkgs/top-level/ocaml-packages.nix
fusion809 has quit [Remote host closed the connection]
<evils> Cadey: using it and reporting bugs is always great
<Cadey> :+1:
<evils> Cadey: if you want to get more involved than that, try #nixos-aarch64
<cmk_zzz> thanks "nix search" does the trick
asymptotically has quit [Ping timeout: 240 seconds]
asymptotically has joined #nixos
<betaboon> anyone knows if it is possible to use initrd from an nfsroot ?
<DigitalKiwi> cmk_zzz: for stuff that doesn't show up in nix search (not all attribute sets will...like haskellPackages is too big...) you can tab complete with nix-env
<DigitalKiwi> not optimal >.>
<DigitalKiwi> nix run nixpkgs.jq nixpkgs.fzf -c bash -c "nix-instantiate --eval --json -E 'builtins.attrNames (import <nixpkgs> {}).haskellPackages' | jq '.[]' -r | fzf"
<DigitalKiwi> which is also useful for nodePackages and ocamlPackages etc.
<cmk_zzz> yikes
<DigitalKiwi> nix-env -iA nixos.haskellPackages.
<DigitalKiwi> Display all 15112 possibilities? (y or n)
<DigitalKiwi> try that nix run though it's pretty cool
Darkmatter66_ has joined #nixos
<cmk_zzz> DigitalKiwi: yes,it works nice and looking closer it is actually quite straight-forward
<immae> DigitalKiwi: I’m actually impressed by how quick it is
<DigitalKiwi> fzf is really cool i use it for my ctrl+r
<immae> well fzf doesn’t help if computing the list is slow in the first place :p
<DigitalKiwi> but if fzf was slow...
Darkmatter66 has quit [Ping timeout: 272 seconds]
<immae> sure
chloekek has joined #nixos
m4ts has quit [Quit: bye]
<{^_^}> [nixpkgs] @talyz opened pull request #89012 → nixos/haproxy: Implement hitless reloads → https://git.io/JfrCz
m4ts has joined #nixos
mallox has quit [Quit: WeeChat 2.8]
o1lo01ol1o has joined #nixos
quinn has quit [Ping timeout: 256 seconds]
quinn has joined #nixos
<evils> i'm getting "No module named setuptools" in buildPythonPackage, setuptools is available in that environment...
vidbina has quit [Ping timeout: 272 seconds]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/3f690bfcd4a (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
copy has joined #nixos
cosimone has quit [Quit: Quit.]
noudle has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #89009 → pythonPackages.svgwrite: 1.3.1 -> 1.4 → https://git.io/Jfrsw
<{^_^}> [nixpkgs] @marsam pushed 3 commits to master: https://git.io/JfrW2
fendor has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @marsam merged pull request #88974 → dtrx: remove p7zip, since it's unsafe → https://git.io/JfwdW
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfrWP
noonien has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed to master « python3Packages.h5netcdf: init at 0.8.0 »: https://git.io/JfrWH
<jbox> can someone do my a huge favor?
<jbox> I've installed terraria-server-1.4.0.3 from unstable, but running TerrariaServer just exits with 0 and no output. Does this work on anyone else's machine?
fendor has joined #nixos
<jbox> I got the same behavior from terraria-server-1.3.5.3 from nixos-20.03
nixbitcoin has quit [Remote host closed the connection]
nixbitcoin has joined #nixos
<manveru> jbox: are you using the terraria nixos module?
hmpffff has quit [Quit: Bye…]
<bqv> evils: setuptoolsHook
<bqv> Or whatever its called
jco has joined #nixos
jco has quit [Client Quit]
<jbox> manveru: I don't know what you mean by terraria nixos module. I installed 1.4.0.3 via configuration.nix and 1.3.5.3 via nix-env (just to test)
<manveru> jbox: `services.terraria.enable = true;`
<{^_^}> [nixpkgs] @jethrokuan opened pull request #89013 → scikit-optimize: 0.6 -> 0.7.4 → https://git.io/JfrlG
<manveru> > (nixos {}).options.services.terraria.enable.description
<{^_^}> attempt to call something which is not a function but a set, at (string):312:2
<manveru> hmm
<manveru> > nixos.options.services.terraria.enable.description
<{^_^}> "If enabled, starts a Terraria server. The server can be connected to via <literal>tmux -S /var/lib/terraria/terraria.sock attach</literal>\nfor administration by users who are a part of the <literal>...
<jbox> oh
<jbox> I have no idea how or why that works
<jbox> aside from being in man configuration.nix
<{^_^}> [nixpkgs] @marsam opened pull request #89014 → nodejs-12_x: 12.16.3 -> 12.17.0 → https://git.io/JfrlW
<jbox> why don't I see anything related to that here <https://github.com/NixOS/nixpkgs/blob/master/pkgs/games/terraria-server/default.nix>?
<evils> bqv: doesn't seem to help
<manveru> jbox: that's the package, not the module
<bqv> evils: are you putting it in the right place?
<evils> i'm passing it in in nativeBuildInputs
<jbox> oh, *wow*! Thank you!
<jbox> manveru++
<{^_^}> manveru's karma got increased to 40
infinisi1 is now known as infinisil
<jbox> manveru: this is running 1.3.5.3. How can I run the 1.4.0.3 (or 1.4.0.4) version from unstable?
<manveru> looks like you'll need an overlay for that
<manveru> ,overlays
<{^_^}> manveru: Did you mean overlay?
<{^_^}> Overlays look like `self: super: { foo = ...; }`. Use the self argument to get dependencies, super for overriding things and library functions (including callPackage). More info: https://nixos.org/nixpkgs/manual/#sec-overlays-install
<manveru> ,botsnack
<{^_^}> Oh thanks, have a cookie yourself
<jbox> lol
<evils> bqv: i assume you meant setuptoolsBuildHook, i tried everything setuptools*, setuptools is available, setuptools-build-hook is sourced and setuptoolsShellHook runs as part of buildPythonPackage without any of them though
<bqv> Yeah, dunno then
<evils> thanks anyway
drakonis_ has joined #nixos
<manveru> jbox: seems like the module is broken though
<jbox> manveru: broken? How would it be broken?
drakonis has quit [Ping timeout: 246 seconds]
<manveru> same behaviour you see
drakonis has joined #nixos
Chiliparrot has joined #nixos
orivej has quit [Ping timeout: 246 seconds]
<manveru> it starts and immediately stops again
orivej has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #89015 → rust-bindgen: 0.53.2 -> 0.54.0 → https://git.io/Jfrl1
<jbox> I'm able to connect to the socket with tmux
<manveru> yes
<manveru> but the socket isn't connected to the server
<{^_^}> [nixpkgs] @minijackson opened pull request #89016 → imag: init at 0.10.1 → https://git.io/Jfrl9
drakonis_ has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @zowoq opened pull request #89017 → Group packages by language/builder via dummy maintainer → https://git.io/Jfrl5
knupfer has quit [Remote host closed the connection]
knupfer has joined #nixos
<jbox> it works for me
<manveru> oh nice :)
<manveru> maybe it's the version on unstable broken then...
drakonis has quit [Ping timeout: 272 seconds]
<manveru> hm, no, same version
drakonis_ has joined #nixos
<manveru> this one can't do journey worlds i guess :|
<jbox> How would I go about making an overlay to change it to 1.4.0.3/4? I've never made an overlay and I can't even find where the module grabs the terraria binary (I assume that's what I would change to point to the unstable derivation)
<{^_^}> [nixpkgs] @NeQuissimus pushed 2 commits to master: https://git.io/Jfr8G
drakonis has joined #nixos
MarcWebe1 has joined #nixos
<manveru> it uses `pkgs.terraria-server`
drakonis1 has joined #nixos
<jbox> Oh, I see.
drakonis has quit [Read error: Connection reset by peer]
tarelerulz has quit [Remote host closed the connection]
<manveru> so you'd define a `nixpkgs.overlays = [(self: super: { terraria-server = (import <nixpkgs-master> { config.allowUnfree = true; }); })];` or similar
drakonis has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #89018 → saga: 7.6.2 -> 7.6.3 → https://git.io/Jfr8W
drakonis_ has quit [Ping timeout: 260 seconds]
drakonis1 has quit [Ping timeout: 272 seconds]
alexherbo2 has quit [Quit: The Lounge - https://thelounge.chat]
AWizzArd has joined #nixos
<AWizzArd> Is there a simple way to discover on a non-NixOS Linux if an installation is a single-user install or multiuser?
<jbox> manveru: http://ix.io/2nu3 would this be an issue with the overlay or the module being broken?
<manveru> AWizzArd: `nix-info`
<{^_^}> [nixpkgs] @NickHu merged pull request #88937 → nano: 4.9.2 -> 4.9.3 → https://git.io/Jfwam
<{^_^}> [nixpkgs] @NickHu pushed 2 commits to master: https://git.io/Jfr4I
<AWizzArd> manveru: works, thx
nixbitcoin_ has joined #nixos
nixbitcoin has quit [Remote host closed the connection]
noudle has quit []
<{^_^}> [nixpkgs] @SeTSeR opened pull request #89019 → nixos/pam: add service generation for swaylock → https://git.io/Jfr4Y
gustavderdrache has joined #nixos
johnny5 has joined #nixos
zupo has joined #nixos
johnnyfive has quit [Ping timeout: 240 seconds]
dan224 has joined #nixos
<jbox> YES! I got it working
<jbox> That felt so good
<meh`> what's the right way to enable optional functionality? I'm trying to enable ceph support for libvirt/qemu and I can't seem to figure out the right nixpkgs.config attrs
<jbox> manveru: thank you so much! I would have never figured it out without you.
<jbox> manveru++
<{^_^}> manveru's karma got increased to 41
<{^_^}> [nixpkgs] @johanot opened pull request #89020 → morph: 1.4.0 -> 1.5.0 → https://git.io/JfrBc
eoli3n_ has quit [Ping timeout: 265 seconds]
jbox- has quit [Quit: ZNC 1.7.5 - https://znc.in]
jbox- has joined #nixos
iyzsong has quit [Quit: ZNC 1.7.1 - https://znc.in]
hax404 has quit [Ping timeout: 260 seconds]
hax404 has joined #nixos
<meh`> guess I need to use overlays in this case because modules
<nbathum> meh`: it depends on if you're pulling it in from a module or an individual package directly
<meh`> nbathum, just trying to enable ceph for libvirtd, it's compiling stuff now so I assume it worked :)
<nbathum> find the expression(s) for it and see if they wrote ceph in as an option
<meh`> nbathum, they are options
orivej has quit [Ping timeout: 246 seconds]
<nbathum> meh`: nice
<manveru> jbox: :)
orivej has joined #nixos
Ariakenom has joined #nixos
<manveru> jbox: might be worth adding a `services.terraria.package` option, so using a newer version is a bit easier
kai_w has joined #nixos
<NickHu> cole-h: Thanks for your review on the libayatana-appindicator stuff, I've request a review from you for a couple other related things if you wouldn't mind looking at them
<{^_^}> [nixpkgs] @Ma27 pushed 3 commits to master: https://git.io/Jfr0O
quinn has quit [Ping timeout: 264 seconds]
hax404 has quit [Ping timeout: 272 seconds]
quinn has joined #nixos
shibboleth has joined #nixos
cosimone has joined #nixos
johnnyfive has joined #nixos
johnny5 has quit [Ping timeout: 260 seconds]
morgrimm has joined #nixos
<morgrimm> Morning folks! Out of curiosity, what's everyone using as an IRC bouncer? (if any)
<{^_^}> [nixpkgs] @FRidh pushed 423 commits to staging-next: https://git.io/JfrE3
<{^_^}> [nixpkgs] @FRidh pushed 424 commits to staging: https://git.io/JfrEC
<gchristensen> morgrimm: weechat + screen
turion has quit [Quit: Leaving.]
Izorkin has quit [Ping timeout: 264 seconds]
<jtojnar> ,locate Shm.h
<{^_^}> Found in packages: haskellPackages.ipcvar
<jtojnar> ,locate XShm.h
<{^_^}> Found in packages: emscripten, xlibs.libXext.dev
hax404 has joined #nixos
<bqv> Weechat in a tty
<bqv> (systemd service)
<bqv> I used to use znc but I no longer care enough
<morgrimm> I'm using irssi in screen right now, but I'm considering collapsing everything into just matrix bridges
orivej has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @danieldk opened pull request #89022 → python27Packages.thinc: 7.4.0 -> 7.4.1 → https://git.io/JfrEh
<{^_^}> [nixpkgs] @emanueleperuffo opened pull request #89023 → dvb_apps: fix broken package → https://git.io/JfrEj
opticnerve has quit [Quit: bye]
akaWolf has quit [Ping timeout: 265 seconds]
<Taneb> morgrimm: znc on a server I don't run
<Taneb> ...or pay for, and which in principle I could be kicked off at any time
* Taneb lives life on the edge
<{^_^}> [nixpkgs] @marsam merged pull request #89014 → nodejs-12_x: 12.16.3 -> 12.17.0 → https://git.io/JfrlW
noudle has joined #nixos
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jfrzv
<{^_^}> [nixpkgs] @zowoq opened pull request #89024 → Revert ".github/CODEOWNERS: add podman team" → https://git.io/Jfrzk
quinn has quit [Ping timeout: 256 seconds]
<Jeroen[m]1> morgrimm: I'm using the matrix.org freenode bridge
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
orivej has joined #nixos
<morgrimm> Jeroen[m]1: How is it working? Is there any major loss of function using it through matrix?
<Jeroen[m]1> morgrimm: Working fine tbh. I have not yet found any shortcomings.
quinn has joined #nixos
<Jeroen[m]1> I can image that if you access a lot of channels, latency might increase
<Jeroen[m]1> and in that case running your own irc bridge would be benefitial
shibboleth has quit [Quit: shibboleth]
<Jeroen[m]1> but I hangout in at most 5 irc channels and mostly do stuff through matrix itself
<Jeroen[m]1> (or through other bridges)
dan224 has quit [Ping timeout: 260 seconds]
LevelChart8 has joined #nixos
<evanjs> lassulus: hey, any thoughts on how we might be able to pass arguments to the *-image.nix expressions (via nixos-generators) right now?
<lassulus> uhm, we could add some options to nixos-generators, but I would prefer to have this options in nixpkgs
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
orivej has quit [Ping timeout: 256 seconds]
orivej_ has joined #nixos
<evanjs> lassulus: yeah that makes sense. Wasn't sure which side was most practical to modify
akaWolf has joined #nixos
<bqv> Taneb: wait, you're still on runciman?
<bqv> lmao
<bqv> hang on, i wonder if i still have an account
<evanjs> like there's an option in vmware-image.nix I wanted to enable, but wasn't sure how I could enable it for a nixos-generate-based image
<bqv> hmm ssh just hangs, guess not
<{^_^}> [nixpkgs] @r-ryantm opened pull request #89026 → tautulli: 2.2.3 -> 2.2.4 → https://git.io/Jfrg2
<jbox> I want to change the terraria user's home path to /srv/terraria (from /var/lib/terraria here <https://github.com/NixOS/nixpkgs-channels/blob/nixpkgs-unstable/nixos/modules/services/games/terraria.nix#L120>). Would I do this with an overlay?
<adisbladis> aanderse: You're indeed not going nutty :)
<adisbladis> callPackages looks like the right thing
<aanderse> adisbladis: thanks, incoming PR i guess then...
<aanderse> also, is ffmpeg the preferred package these days?
<{^_^}> [nixpkgs] @zowoq closed pull request #89024 → Revert ".github/CODEOWNERS: add podman team" → https://git.io/Jfrzk
<aanderse> i see a superuser post saying libav is effectively dead... looks like back and forth over the years
<aanderse> but i don't see how to get faacSupport in ffmpeg on nixos :|
<adisbladis> Yes, ffmpeg is prefered iirc
kenran has quit [Quit: leaving]
<adisbladis> There is lots of drama around this, but ffmpeg is definitely alive and well
<aanderse> seems like our ffmpeg can't support faacSupport though :(
<{^_^}> [nixpkgs] @asymmetric opened pull request #89027 → python: scrypt: remove myself from maintainers → https://git.io/JfrgQ
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to release-20.03: https://git.io/Jfrg5
c0c0 has quit [Ping timeout: 246 seconds]
<evanjs> jbox: could also open a PR to change that. seems like something that might be useful enough to others
<evanjs> ..... suddenly tempted to open one as it doesn't sound that bad....
quinn has quit [Ping timeout: 246 seconds]
<jbox> I don't know if /var/lib/terraria is the preferred place, though, since the data inside changes enough to justify being in /var
<jbox> for those people who have /var in a high-speed drive or something
<{^_^}> [nix] @edolstra pushed 0 commits to refs/tags/2.3.5: https://git.io/Jfr2Q
Izorkin has joined #nixos
<evanjs> jbox: services.minecraft-server.dataDir - going to assume the addition of this option should be fine, anyhow, as minecraft has a similar option
<evanjs> and it defaults to /var/lib/minecraft, so I'll probably leave that as the default for now
<{^_^}> [nixos-homepage] @edolstra pushed to master « Nix 2.3.5 released »: https://git.io/Jfr2F
c0c0 has joined #nixos
<evanjs> ah good thing I tested it.
<evanjs> since the homepath is hardcoded, I need to modify the sock path and etc to use the variable now :P
<{^_^}> [nixpkgs] @ryantm merged pull request #88945 → pkgconf: 1.6.3 -> 1.7.0 → https://git.io/JfwiZ
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/Jfras
jbox- has quit [Quit: ZNC 1.7.5 - https://znc.in]
<emily> aaron: I would strongly suggest fdk_aac over any other AAC encoder
LambdaDuck has quit [Quit: Lost terminal]
<emily> aaron: all the other free software ones have major known deficiencies
<evanjs> keithy[m]: I see config provisioning at least
<emily> unfortunately the ffmpeg package doesn't support it either
<emily> it's on my todo list >_<
<keithy[m]> wow its actually there!
<evanjs> yup. the position makes sense to me. I can see e.g. nixops under deploy and etc but I do wonder if nix would fit anywhere else, as they put NixOS there.... but might be referring to both of them. Idk lol
<keithy[m]> eagle eyes!
cole-h has joined #nixos
<emily> aaron: oh, FAAC is one of the proprietary ones
<emily> it might actually be okay then
<evanjs> keithy[m]: the more I look at this list, the more confused I get. I see HALO under monitoring. Uh... wot? lol
codygman has quit [Ping timeout: 256 seconds]
<evanjs> *monitor/BI
jbox- has joined #nixos
<emily> an fdk_aac option would be really good though because we could enable it by default and kill off the terrible ffmpeg aac encoder
quinn has joined #nixos
<MichaelRaskin> Soooo in 2017 they mentioned OpenOffice and not LibreOffice? OOOK
<aanderse> emily: ok, thanks for the info. i just don't see faacSupport in ffmpeg packages
<emily> yeah probably just nobody bothered to add it to ffmpeg
<emily> if it works in libav it should work in ffmpeg
<{^_^}> [nixpkgs] @edolstra pushed to master « nix: 2.3.4 -> 2.3.5 »: https://git.io/Jfra7
codygman has joined #nixos
<{^_^}> [nixpkgs] @edolstra pushed to release-20.03 « nix: 2.3.4 -> 2.3.5 »: https://git.io/Jfrad
veleiro has joined #nixos
<morgrimm> Anyone know why `acme.certs.<name>.user/group might not take effect?
<acowley> I feel like I'm not getting the way I'm supposed to use node2nix. I ran it, and I can do `nix-shell default.nix -A shell` to get a shell, but it runs an unpacking, adding metadata, etc. process for several seconds every time I enter the shell. I also don't know how I can add things to the shell.
<acowley> Is there another development environment setup for nodejs that people like?
mananamenos has joined #nixos
<cole-h> emily: As one of the other doas users I know, mind taking a look if you have a moment? https://github.com/NixOS/nixpkgs/pull/89005
<{^_^}> #89005 (by cole-h, 8 hours ago, open): doas: add NixOS binary dirs to safepath
noudle has quit []
o1lo01ol1o has quit [Remote host closed the connection]
<emily> cole-h: hmmm. perhaps we should also include /run/{wrappers,booted-system}/bin? I wonder how to make the whole safepath concept apply well to NixOS though... I can imagine generating rules with full /nix/store binary paths in them and then that would break I guess?
<emily> or is this just things it'll look for if you don't specify an exact PATH?
<cole-h> Yeah, that's my question at the bottom.. :P
o1lo01ol1o has joined #nixos
<cole-h> emily: AFAICT, it's when you can't keepenv and someting uses the path
<emily> ah, yeah
<emily> I think it makes sense for consistency to include it
<emily> my root's $PATH is /run/wrappers/bin /root/bin /root/.nix-profile/bin /etc/profiles/per-user/root/bin /nix/var/nix/profiles/default/bin /run/current-system/sw/bin
<emily> arguably some of those should be included too but I don't know if there's a way to do that without it being a mess
<emily> hopefully nobody is actually using imperative package management as root
<{^_^}> [nixpkgs] @aanderse opened pull request #89028 → libav_all: use callPackages instead of callPackage → https://git.io/JfrVk
orivej_ has quit [Ping timeout: 260 seconds]
<cole-h> lol
orivej has joined #nixos
<emily> cole-h: some people like doing "sudo su", and it's in /run/wrappers/bin
<emily> not that it's a great pattern
<emily> oh, ping is in there
<emily> should probably include it
<cole-h> Yeah, good point.
<immae> morgrimm: how does it "not take effect"? Note that it seems like having multiple users is buggy yet because /var/lib/acme/acme-challenges is chown’ed to every user (in tmpfiles), which cannot work well...
pamplemousse has joined #nixos
<cole-h> emily: AFAICT, booted-system/bin isn't really used? Is it possible for current-system and booted-system to diverge? When using `nixos-rebuild boot` or `test`?
<morgrimm> Well, I'm trying to solve an issue with the nginx service accessing certs - I've put both nginx and an acme user under the acme group, and set the group and user of my cert to `acme`
<simpson> emily: It's not exactly a tragedy, but this removal of "core" or "standard" tools has definitely been a palpable trend over the decades. One moment that sticks in my mind is when Debian didn't have sudo in its minimal image; that was a learning experience for me and my peers.
<emily> cole-h: when using nixos-rebuild switch. But it shouldn't actually be included if it's a $PATH-alike, I thought it was a whitelist of allowed binary paths
<morgrimm> Despite the cert permissions and ownership being acme, and nginx being a part of the group with r perms, it's denied loading the certs
<emily> you need /run/booted-system for things that care about the kernel/module versions
<emily> e.g. zfs tools
<emily> but it's only used explicitly, not added to $PATH
<immae> morgrimm: then you might need SupplementaryGroups in the nginx service
<{^_^}> [docker] @prusnak opened pull request #19 → update nix to 2.3.5 → https://git.io/JfrVm
<morgrimm> When I disable/re-enable nginx/acme, it regenerates the acme folder with the certs with the right permission, but the lego folder still under root
<emily> simpson: it's more like sudo was the new-fangled thing that people didn't like for quite a while, honestly
<emily> simpson: back in 2006 you'd find people arguing that Ubuntu's sudo setup was horribly insecure and you should use su and set up a separate root password etc.
<morgrimm> When lego *should* be run under the acme user
<cole-h> emily: Then I'm hearing: add /run/wrappers and leave the rest as-is? Sound good to you?
o1lo01ol1o has quit [Ping timeout: 260 seconds]
<emily> it took a while for the norms to change and in some places they still haven't (BSDs, to an extent)
<emily> cole-h: yep
rauno has joined #nixos
<cole-h> Cool, thanks.
<emily> we could probably drop the FHS paths too
<emily> since they're not in our $PATH
<cole-h> Will they not show up in `buildFHSEnv` or whatever that abomination is?
<emily> I guess people might want to use nixpkgs doas on non-NixOS, but you couldn't use the module or anything
<immae> morgrimm: so the .lego folder belongs to root, but the cert themselves belong to the right user?
teto has joined #nixos
<emily> can you doas from a buildFHSEnv? I have no idea
<morgrimm> Looks like it - but nginx is still has the wrong permissions, which doesn't make sense
<immae> morgrimm: you need SupplementaryGroups in the nginx systemd service config
<morgrimm> Well, I should say - nginx *should* have the right perms, it's part of the acme group which has r perms to the cert
<simpson> emily: Hm, that's an interesting take. AIUI sudo dates back to the 80s. Along with doas, I *do* remember some other sort of sudo competitor (pseudo-competitor?) in the 2000s, but I can't recall its name.
<immae> morgrimm: groups are not given by default in systemd services, you need to explicit them
<{^_^}> [nixpkgs] @r-ryantm opened pull request #89029 → sqlite: 3.31.1 -> 3.32.0 → https://git.io/JfrVG
<cole-h> emily: I have no idea either lol. I figure I'll just keep them because it doesn't really hurt... And like you said some whacko might want to use it on non-NixOS
<emily> simpson: sure, it's an old program, but it wasn't what [average distro installer] set up for you
<morgrimm> Even if the user its running under explicitly has them? I've given the nginx user the extra group
<emily> for the longest time you had to specifically opt-in to sudo in the debian installer, but not just the debian installer
<immae> yes
<emily> ubuntu was the first thing to turn it on by default AFAIK
<emily> immae: huh?
<cole-h> (They were talking to morgrimm)
<emily> If the User= setting is used the supplementary group list is initialized from the specified user's default group list, as defined in the system's user and group database. Additional groups may be configured through the SupplementaryGroups= setting (see below).
<emily> In any way, this option does not override, but extends the list of supplementary groups configured in the system group database for the user. This does not affect commands prefixed with "+".
<cole-h> oh
<cole-h> You were "huh"-ing because they were not completely correct
<cole-h> x)
<emily> (I don't know what's wrong here, sorry, but I doubt it's that)
<morgrimm> I've extended the nginx user manually with `acme` under extraGroups, so I expected it to inherit that
<immae> emily: if you specify a Group = smoething then the systemd user will only have that one
<immae> that’s what I noticed for quite a long time
<emily> oh hm
<emily> I guess specifying Group is actually an antipattern then
<immae> (might be a bug I don’t know)
<emily> I never thought about that
<emily> no, it makes sense now that I think about it :)
<emily> since otherwise you'd just inherit the groups from the user
<immae> yes
<emily> but it makes me wonder if we should really be setting it on our services in that case
<emily> since it's presumably expected that a group you add nginx to will be present for the nginx proecss
<morgrimm> Which would explain why it's not respecting the user's groups
<emily> the docs are really ambiguous about this :/
<immae> Yes nginx service has a Group = so you need the supplementary with it, if it would be absent then it would work fine
<emily> "If no group is set, the default group of the user is used. ... If the User= setting is used the supplementary group list is initialized from the specified user's default group list" is the closest it gets to implying that Group= disables the default supplementary rgoups
waleee-cl has joined #nixos
<morgrimm> Looks like there's a `services.nginx.group` option which should let me specify the group easily, otherwise I guess I'd have to append directly to the service config
<morgrimm> But I still want it to run under nginx as well
<emily> you can just systemd.services.nginx.serviceConfig.SupplementaryGroups
<immae> anyway, this should fix your permission issue morgrimm . As for .lego belonging to root it might be worrying and could be fixed but will have no consequence for usability by nginx :)
<emily> but maybe there should be an issue about these Group= settings
<emily> .lego being owned as root makes me think that maybe we're running lego as root unconditionally right now :|
<immae> we partly do
<immae> I proposed a change in the related issue a few days ago emily
<emily> yeah I saw
<immae> if you have some opinion about the changes :p
<emily> was planning to get around to replying, sorry I haven't yet
<immae> no problem
<emily> tl;dr I think most of the changes are good but I do want to figure out if we can reduce the amount of shell a bit (and have some ideas/WIP refactors for that)
<emily> there was also some talk about this in #nixos-acme a while back, unfortunately nothing written up more concretely yet >_<
<immae> yes, I didn’t find a way to reduce the quantity of shellies, but that’s because of lego being immature yet
<immae> it should improve as lego improves
<Izorkin> How to fix this error in master branch - The option value `networking.hostName' in `/etc/nixos/configuration.nix' is not of type `string matching the pattern ^[[:alpha:]]([[:alnum:]_-]{0,61}[[:alnum:]])?$'.
<{^_^}> [nixpkgs] @matthewbauer merged pull request #88984 → openmpi: use pkgsHostTarget for gfortran → https://git.io/JfwN2
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/JfrVA
<immae> (I may have missed some features of lego too of course, but I "think" I searched in deep)
<emily> immae: I think using the config hashes in paths can be made to work with proper renewals / reusing keys / etc. and avoid some of the explicit logic, but I haven't written up a full account of that yet
<morgrimm> immae: I have to wait on ye old LE rate limiting, but if that's the case, this will likely solve the issue - thanks so much!
<emily> (it mostly involves lots of symlinks)
<{^_^}> [nixpkgs] @matthewbauer merged pull request #88988 → gcc: optimize cross-compiled libraries → https://git.io/JfwxT
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/JfrVj
<immae> Ah... yes many symlinks :p
<immae> also some parts of the path cannot be guessed easily :(
<immae> (under "accounts")
c0c0 has quit [Ping timeout: 265 seconds]
<immae> (and extra care to make sure we don’t break the reusing key feature)
Chiliparrot has joined #nixos
LevelChart8 has quit [Quit: LevelChart8]
kim0 has joined #nixos
<bqv> tom
never_released_ has joined #nixos
never_released has quit [Ping timeout: 264 seconds]
erasmas has joined #nixos
<cole-h> :( I've gotten too used to readline bindings that I accidentally close FF tabs when typing, now.
<jbox> I would like to make a change to a module and contribute the change after it works on my machine. This (<https://nixos.org/nixpkgs/manual/#idm140737317252256>) page only describes how to add a package, and I'm looking to modify a module. How can I "install" a changed module from the cloned nixpkgs repository onto my system?
c0c0 has joined #nixos
<srk> you can either import it directly or use your modified nixpkgs via NIX_PATH
<cransom> jbox: `disabledModules` takes a list of strings that point to a module to remove, like `nxios/modules/virtualisation/something/blah.nix`. then you can import your own modified one
<emily> jbox: you can also just use a nixpkgs fork, modify the module on a branch, and pass -I nixpkgs=/path/to/your/repo
<emily> (or add it to your NIX_PATH more permanently)
<{^_^}> [nixpkgs] @Mic92 merged pull request #81440 → vimPlugins.fruzzy: init at 2019-10-28 → https://git.io/Jv2vT
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/Jfrrm
drakonis has quit [Read error: Connection reset by peer]
<evanjs> setting up something with nixos-generate and suddenly getting "chown: invalid user: 'root.root'" wtf haha
<evanjs> I can share the configuration.nix I'm using, but I'm testing a PR, so I might need to share the diff for nixpkgs as well
drakonis has joined #nixos
marsh has joined #nixos
c0c0 has quit [Quit: WeeChat 2.6]
vidbina has joined #nixos
simba1 has joined #nixos
growpotkin has joined #nixos
<{^_^}> [nix] @andir opened pull request #3631 → Add unit tests for config.cc → https://git.io/JfrrW
marsh has quit [Ping timeout: 272 seconds]
marsh has joined #nixos
quinn has quit [Ping timeout: 272 seconds]
quinn has joined #nixos
<{^_^}> [nixos-weekly] @domenkozar pushed to master « Add 2020/05 »: https://git.io/Jfrra
<{^_^}> [nixos-weekly] @domenkozar pushed to master « Add 2020/05 »: https://git.io/JfrrP
marsh has quit [Ping timeout: 272 seconds]
marsh has joined #nixos
justanotheruser has quit [Ping timeout: 260 seconds]
cosimone has quit [Remote host closed the connection]
cosimone has joined #nixos
LevelChart8 has joined #nixos
drakonis1 has joined #nixos
ckauhaus has quit [Quit: WeeChat 2.7.1]
drakonis_ has joined #nixos
chloekek_ has joined #nixos
<{^_^}> [nixos-weekly] @domenkozar pushed to master « Add 2020/05 »: https://git.io/Jfroc
<{^_^}> [nixpkgs] @langston-barrett opened pull request #89030 → gcc9: don't run patchELF on statically linked binaries → https://git.io/Jfro8
drakonis has quit [Ping timeout: 272 seconds]
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
justanotheruser has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #88812 → tamzen: 1.11.4 -> 1.11.5 → https://git.io/JfVkw
<{^_^}> [nixpkgs] @jonringer pushed commit from @wishfort36 to master « tamzen: 1.11.4 -> 1.11.5 »: https://git.io/Jfrou
<{^_^}> [nixpkgs] @jonringer merged pull request #88750 → dotnetCorePackages: Add support for Darwin → https://git.io/JfaD9
<{^_^}> [nixpkgs] @jonringer pushed commit from @moinessim to master « dotnetCorePackages: Add support for Darwin »: https://git.io/Jfrog
quinn has quit [Ping timeout: 240 seconds]
quinn has joined #nixos
chloekek has quit [Quit: WeeChat 2.7]
<{^_^}> [nixos-weekly] @domenkozar merged pull request #117 → Call for Content: 2020/05 → https://git.io/JfLBh
<{^_^}> [nixos-weekly] @domenkozar pushed 8 commits to production: https://git.io/JfroP
<{^_^}> [nixos-weekly] @domenkozar pushed to master « Call for Content: 2020/06 »: https://git.io/Jfro1
<{^_^}> [nixos-weekly] @domenkozar opened pull request #120 → Call for Content: 2020/06 → https://git.io/JfroM
casaca has quit [Quit: leaving]
gilligan has joined #nixos
<aanderse> ok... so does anyone know how i can convert a video to a format optimized for ipad/iphone with ffmpeg on nixos? i'm having a hard time with this one...
<infinisil> cransom: Note that it should be just "virtualisation/something/blah.nix", the "nixos/modules" part shouldn't be included with disabledModules
<evanjs> gah. think I found the issue: malformed JSON string, neither array, object, number, string or atom, at character offset 0 (before "\x{0}\x{0}\x{0}\x{0}...") at /nix/store/w5s7s1nnzsmzdqh06abysffrj2m0nrwf-update-users-groups.pl line 11.
vidbina has quit [Ping timeout: 256 seconds]
<evanjs> this is the line: my $uidMap = -e $uidMapFile ? decode_json(read_file($uidMapFile)) : {};
<{^_^}> [nixpkgs] @adisbladis merged pull request #89005 → doas: add NixOS binary dirs to safe PATH → https://git.io/JfrIX
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/JfroA
<evanjs> which ends up being /var/lib/nixos/uid-map -- hrm
<evanjs> So obviously I did something wrong in replacing the instances of /var/lib/terarria
<evanjs> as so of those paths relate to the terraria user
<adisbladis> aanderse: I seem to recall the h264 profiles being somewhat limited on apple devices
<adisbladis> But I think you should be going with 4.2 on more recent ios/devices? (more recent being >=iphone5)
<evanjs> hrm so how might I debug /var? Haven't dealt with debugging it before; trying to poke around with `nix-store -q` and see if I can locate it/where it gets invoked or how it's initialized, etc
casaca has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #89007 → poezio: 0.12 -> 0.13 → https://git.io/JfrOu
<{^_^}> [nixpkgs] @jonringer pushed 3 commits to master: https://git.io/JfrKk
quinn has quit [Ping timeout: 256 seconds]
<evanjs> infinisil: does this go for PR titles as well? i.e. virtualisation/vmware-image.nix and not nixos/modules/virtualisation/vmware-image.nix?
mthst has joined #nixos
<infinisil> There's no rules for the PR title, but I think "nixos/vmware: <change>" is the way to go
<cole-h> +1
<evanjs> infinisil: alright. I've seen things like pythonPackages.ntfy and etc recommended, so I wasn't sure what/how that applies to modules
<adisbladis> aanderse: I dug this out from my shell history `ffmpeg -i input.webm -c:v libx264 -profile:v high -level 4.2 -c:a aac -b:a 192k output.mkv`
<gchristensen> following that pattern is a confidence boost that I'm going to like the PR
<adisbladis> I think that was for an iDevice
<evanjs> gchristensen: mostly what I was going for XP
<gchristensen> :)
<adisbladis> gchristensen: I know!! It puts me at ease for the rest of the review ;)
<infinisil> evanjs: There's some things here for commit subjects: https://nixos.org/nixpkgs/manual/#submitting-changes-making-patches
fresheyeball has joined #nixos
<gchristensen> "okay, cool, closely limited scope from someone who has seen enough activity to understand common patterns"
<{^_^}> [nixpkgs] @jonringer merged pull request #89010 → pythonPackages.nodeenv: add setuptools to propagatedBuildInputs → https://git.io/JfrG3
<{^_^}> [nixpkgs] @jonringer pushed commit from @kalekseev to master « pythonPackages.nodeenv: add setuptools to propagatedBuildInputs »: https://git.io/JfrK3
philr_ has quit [Ping timeout: 256 seconds]
<infinisil> For packages, I think ofborg builds them if you have a commit that starts with the attribute path
<gchristensen> yeah
<evanjs> infinisil: thank you! I've been in the manual plenty of times, but have never read it cover-to-cover :D
<evanjs> infinisil++
<gchristensen> though it may have dropped that limitation recently, I don't recall
<{^_^}> infinisil's karma got increased to 301
<fresheyeball> hey I got a problem
<gchristensen> that limitation was added, specifically, on purpose, to encourage people to use the correct pattern :)
<fresheyeball> I use gitlab ci to copy files from a nix built result
o1lo01ol1o has joined #nixos
<fresheyeball> to a folder called public which then gets served as a gitlab page
<infinisil> gchristensen: Ah I see
<fresheyeball> problem is on the next run gitlab is unable to delete the "public" folder
<evanjs> infinisil: and yeah ofborg builds was another thing I wanted to ensure. Wasn't sure if the (full) attr path might be for modules and etc
<fresheyeball> if I shell into the CI system, and clean it up manually it all works out
<fresheyeball> I was doing this already with a different derivation, but now for some reason it can't clean it up
KeiraT has quit [Remote host closed the connection]
<fresheyeball> I used chmod 777 in my nix expression to see if I can make the inner files have +w access
<fresheyeball> but nix still sets them to 555 root
<infinisil> evanjs: The commit history for specific files should also give some clues btw
<fresheyeball> so I am at a loss, how can I make this deletable by gitlab runner?
KeiraT has joined #nixos
<fresheyeball> this line of code seems to be the problem
<fresheyeball> I just cp everything out, and that works fine
<evanjs> so does anybody have an idea on what I might be missing here? https://gist.github.com/evanjs/8c78b2276738681583a36bbeeedca259#file-nixpkgs-diff
<fresheyeball> but on the next run it can't clean it up!
<evanjs> It looks like the users are misconfigured
<evanjs> Going to open a draft PR with more details since that might help more :P
<evanjs> And get the ball rolling in general
<fresheyeball> weirdly I have had this one working for forever with no problems
opticnerve has joined #nixos
<mthst> have there been any previous attempts to boot NixOS without a bootloader on UEFI?
<{^_^}> [nixpkgs] @jonringer merged pull request #89000 → duckdb: init at 0.1.7 → https://git.io/JfrvJ
<{^_^}> [nixpkgs] @jonringer pushed 2 commits to master: https://git.io/JfrK2
rogue_koder has quit [Ping timeout: 260 seconds]
o1lo01ol1o has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @jonringer merged pull request #89027 → python: scrypt: remove myself from maintainers → https://git.io/JfrgQ
<{^_^}> [nixpkgs] @jonringer pushed commit from @asymmetric to master « python: scrypt: remove myself from maintainers »: https://git.io/JfrKr
Ariakenom has quit [Quit: WeeChat 2.7]
quinn has joined #nixos
<evanjs> .... what the...
<evanjs> I just cleaned garbage and everything works after building again...
<evanjs> okay then...
<evanjs> jbox: [root@nixos:~]# ls /srv/terraria/ terraria.sock
<evanjs> looks like it works so I guess I'll open that PR lol
<manveru> evanjs++
<{^_^}> evanjs's karma got increased to 0o15
<cole-h> MichaelRaskin: ping
<MichaelRaskin> Hmm?
<cole-h> Seems that PRs to staging are choking on lazarus' usage of `infixSalt` that you recently added
<{^_^}> #89029 (by r-ryantm, 1 hour ago, open): sqlite: 3.31.1 -> 3.32.0
<{^_^}> [nixpkgs] @romildo merged pull request #88969 → deepin.qt5dxcb-plugin: 5.0.1 -> 5.0.11 → https://git.io/Jfw7K
<MichaelRaskin> Does staging have different cross-build logic compared to master?
<{^_^}> [nixpkgs] @romildo pushed 4 commits to master: https://git.io/JfrKF
<{^_^}> [nixpkgs] @r-ryantm opened pull request #89031 → teamviewer: 15.2.2756 -> 15.5.6 → https://git.io/JfrKb
<cole-h> No idea, but it's a possibility that something merged recently. next merged into staging 3 hours ago
LevelChart8 has quit [Quit: LevelChart8]
<{^_^}> [nixpkgs] @jtojnar pushed to staging « lazarus: Fix eval »: https://git.io/JfrKx
<{^_^}> [nixpkgs] @romildo merged pull request #88954 → deepin.{go-dbus-generator;dbus-factory}: remove → https://git.io/JfwXX
<{^_^}> [nixpkgs] @romildo pushed 3 commits to master: https://git.io/JfrKp
<MichaelRaskin> Ooh, indeed
<cole-h> Oh, cool. jtojnar is on it.
<cole-h> jtojnar++
<{^_^}> jtojnar's karma got increased to 49
<bqv> interesting, installing an emacsPackage also installs the relevant emacs
<{^_^}> [nixpkgs] @romildo merged pull request #88960 → deepin.qcef: 1.1.7 -> 1.1.8 → https://git.io/Jfw95
<{^_^}> [nixpkgs] @romildo pushed 2 commits to master: https://git.io/Jfr6e
<MichaelRaskin> I see infix-to-suffix change
<bqv> that solves like 5 different bugs of mine
<MichaelRaskin> jtojnar++
<{^_^}> jtojnar's karma got increased to 50
ardumont has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @romildo merged pull request #88983 → gsettings-qt: 0.1.20170824 -> 0.2 → https://git.io/Jfwbk
<{^_^}> [nixpkgs] @romildo pushed 3 commits to master: https://git.io/Jfr6T
<fresheyeball> ok so the gitlab issue is fixed
<fresheyeball> apparently all I needed was to post in IRC, and I was able to figure it out
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
<fresheyeball> wasn't a nix issue at all
<fresheyeball> solved by adding chmod -R 755 in .gitlab-ci.yml
<hyper_ch> oh noes, nixos unstable still stuck :(
knupfer has quit [Client Quit]
knupfer has joined #nixos
<cole-h> Should be unstuck soon
<cole-h> The blocker was fixed
Chiliparrot has joined #nixos
<cole-h> Soon™, I mean
cosimone has quit [Quit: Quit.]
<hyper_ch> we'll seed :)
<bqv> i actually never seed
<cole-h> Well, the fact the queue is at 160k total rebuilds is a good sign
<hyper_ch> that's a lot of rebuilds
<cole-h> Indeed
<cole-h> Most are in staging-next and the glibc bump branches
<cole-h> nixos:trunk-combined and nixpkgs:trunk have ~7k rebuilds each
<cole-h> And hydra handles ~100 at a time
quinn_ has joined #nixos
quinn has quit [Read error: Connection reset by peer]
<bqv> how many of those are dupes
<cole-h> I don't feel like hacking up a curl + jq pipeline, so no clue.
tno has quit [Quit: tno]
tno has joined #nixos
<{^_^}> [nixpkgs] @bcdarwin opened pull request #89032 → ocamlPackages.owl: 0.8.0 -> 0.9.0 → https://git.io/Jfr6R
lsix has quit [Quit: WeeChat 2.8]
<{^_^}> [nixpkgs] @evanjs opened pull request #89033 → nixos/terraria: allow home to be configured → https://git.io/Jfr6a
MmeQuignon has joined #nixos
<evanjs> jbox: ^ #89033
<{^_^}> https://github.com/NixOS/nixpkgs/pull/89033 (by evanjs, 46 seconds ago, open): nixos/terraria: allow home to be configured
gagbo has quit [Quit: I'm out !]
<abathur> anyone run into a script trying to run xargs during a build, and xargs failing because /bin/echo isn't available?
gxt__ has quit [Remote host closed the connection]
dongcarl has quit [Read error: Connection reset by peer]
ardumont has joined #nixos
<{^_^}> [nixpkgs] @h0chi closed pull request #59718 → bluej-bin: init at 414 → https://git.io/fjYcA
<nbathum> abathur: script in what context? is an existing package failing? are you working on a new package or local development?
<nbathum> generally I think the idea is to patch things like that out, or depending on circumstances, add a dependency for that thing which isn't available
ilios has joined #nixos
fresheyeball has quit [Ping timeout: 265 seconds]
<abathur> answer to the first questions is complicated
Thra11 has joined #nixos
mthst has quit [Ping timeout: 265 seconds]
<abathur> the break is my own stuff, but it's a demo from my CI run that uses shunit2 to run some tests
<abathur> and it's been running fine on macOS and in CI, but I pulled it down to my NixOS system and noticed it breaking
gxt__ has joined #nixos
<{^_^}> [nixpkgs] @veehaitch opened pull request #89034 → sslyze: init at 3.0.4 → https://git.io/Jfr65
<abathur> just seemed odd, made me wonder if it should be addressed at the package level for findutils
<abathur> the xargs manpage says pretty clearly that its default "command" is /bin/echo if none is provided
knupfer has quit [Quit: knupfer]
knupfer1 has joined #nixos
butcher has quit [Ping timeout: 256 seconds]
<nbathum> oh interesting. didn't know that about xargs
<abathur> I didn't either :]
knupfer1 is now known as knupfer
<abathur> I was pretty flummoxed at the error for a bit
<evanjs> nbathum: yah that's the idea behind the snippet i sent you the other week
<evanjs> `nix eval nixpkgs.python3Packages.batchgenerators.meta.homepage | xargs git clone`
maxdevjs has joined #nixos
<nbathum> findutils doesn't have maintainers listed, but its kind of a core thing
<evanjs> it basically just prints whatever
<evanjs> there was definitely a better instance but I can't remember what I used it for lately
<evanjs> I think it had to do with linebreak handling haha
jlv has joined #nixos
<nbathum> I'm not sure who to suggest to ping about it, but its not me xD
tno has quit [Quit: tno]
tno has joined #nixos
<abathur> I don't, however, grok why it runs fine on NixOS outside of a build
<abathur> since the path doesn't exist
<{^_^}> [nixpkgs] @magnetophon opened pull request #89035 → bshapr: 0.8 -> 0.9 → https://git.io/Jfric
<energizer> i have zoom-us installed in nixos. my webcam turns on but the video is just black, and nothing comes out of the speakers or into the mic. how to debug?
<evanjs> I can't imagine xargs tries /bin/echo on a NixOS system, though...
<nbathum> well how does xargs implements that, an exec call?
quinn_ has quit [Read error: Connection reset by peer]
<nbathum> echo is a shell builtin in many shells
quinn has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #88811 → fondo: 1.3.8 -> 1.3.9 → https://git.io/JfVTb
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « fondo: 1.3.8 -> 1.3.9 »: https://git.io/Jfril
<evanjs> yeah it's builtin in zsh here but sourced from coreutils if I enter bash
<{^_^}> [nixpkgs] @jonringer merged pull request #88795 → bitwarden_rs-vault: 2.13.2b -> 2.14.0 → https://git.io/JfVed
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « bitwarden_rs-vault: 2.13.2b -> 2.14.0 »: https://git.io/Jfri8
jgeerds_ has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #88816 → helmsman: 3.3.0 -> 3.4.1 → https://git.io/JfVLz
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « helmsman: 3.3.0 -> 3.4.1 »: https://git.io/JfriE
<evanjs> so maybe it could be referenced explicitly like ${pkgs}/coreutils/bin/echo... but that doesn't answer the behavior that we're seeing right here
<goibhniu> energizer: FWIW I had the same problem but it works with a different webcam.
<abathur> it's a builtin in bash as well, but I doubt xargs is calling the builtin?
<energizer> goibhniu: your audio started playing when you plug a different webcam?
<{^_^}> [nixpkgs] @jonringer merged pull request #88746 → python37Packages.tablib: 1.1.0 -> 2.0.0 → https://git.io/JfaDO
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python37Packages.tablib: 1.1.0 -> 2.0.0 »: https://git.io/Jfriz
<{^_^}> [nixpkgs] @jonringer merged pull request #88758 → remmina: 1.4.3 -> 1.4.4 → https://git.io/Jfa9r
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « remmina: 1.4.3 -> 1.4.4 »: https://git.io/Jfrig
<goibhniu> ah sorry, I meant that the webcam only showed black. In case you're not familiar with zoom, you have to click an extra button to enable the audio after joining the conference (AFAIK)
<energizer> ok thanks
<abathur> hmm, maybe the doc is dated
<{^_^}> [nixpkgs] @jonringer merged pull request #88752 → python27Packages.sqlalchemy-utils: 0.36.3 -> 0.36.5 → https://git.io/JfayT
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python27Packages.sqlalchemy-utils: 0.36.3 -> 0.36.5 »: https://git.io/JfriV
<energizer> goibhniu: just got the audio working, apparently there was a select audio device button that was the same color as the background so i couldn't see it
<energizer> camera's still black tho
<abathur> here it's just set to "echo" https://git.savannah.gnu.org/cgit/findutils.git/tree/xargs/xargs.c#n394 but I saw an older copy of the source on github and it was /bin/echo
anderslundstedt has quit [Quit: leaving]
<goibhniu> energizer: great! I'd love to know if you get that webcam working.
<{^_^}> [nixpkgs] @jonringer merged pull request #88745 → qtractor: 0.9.13 -> 0.9.14 → https://git.io/JfaMO
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « qtractor: 0.9.13 -> 0.9.14 »: https://git.io/JfriX
knupfer has quit [Quit: knupfer]
knupfer1 has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #88773 → simgear: 2019.1.1 -> 2020.1.1 → https://git.io/Jfady
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « simgear: 2019.1.1 -> 2020.1.1 »: https://git.io/JfriD
user_0x58 has joined #nixos
gvolpe has joined #nixos
knupfer1 is now known as knupfer
ilios has quit [Ping timeout: 256 seconds]
<gvolpe> Hi, could anyone point me in the right direction? I'm trying to override a package but it's not working, even though the derivation compiles: https://gist.github.com/gvolpe/eda16c3739fa70d9e7149a903b2f7b83
<gvolpe> The package doesn't seem to be overridden at all, I still have the old version that comes from nixpkgs in my shell
hmpffff has joined #nixos
o1lo01ol1o has joined #nixos
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
evanjs has quit [Quit: ZNC 1.8.0 - https://znc.in]
dongcarl has joined #nixos
evanjs has joined #nixos
endformationage has joined #nixos
<{^_^}> [patchelf] @edolstra pushed to master « flake.lock: Add »: https://git.io/JfrPU
jlv has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #89036 → mesa wayland: Fix/simplify cross → https://git.io/JfrPO
magnetophon has quit [Read error: Connection reset by peer]
eoli3n_ has joined #nixos
<evanjs> lassulus: https://pastebin.com/RX6sKpZ8 this is really all I had in mind lol
<Thra11> gvolpe: Seems to work for me.
<gvolpe> Do you get the right version Thra11 ?
cole-h has quit [Quit: Goodbye]
<Thra11> gvolpe: I don't know how to check the version. It downloaded the url in the override and built something with 0.7.3 in the path.
drakonis_ has quit [Ping timeout: 264 seconds]
<Thra11> If I try to run the binary, it just starts downloading something
<gvolpe> Yeah that works for me too. Can you run `mill version` ?
cole-h has joined #nixos
<gvolpe> It should be `0.7.3` but instead I get `0.6.1`, which is the one coming from `nixpkgs`?
<Thra11> gvolpe: It just starts downloading a 41MB file...
<gvolpe> Yeah it probably does the first time, unfortunately
<gvolpe> The issue is that the package is not being overridden at all
tazjin is now known as benry
benry is now known as tazjin
<{^_^}> [nixpkgs] @r-ryantm opened pull request #89037 → uclibc: 1.0.33 -> 1.0.34 → https://git.io/JfrPW
<Thra11> gvolpe: Yes. It does appear to still be 0.6.1
<gvolpe> Thanks for confirming Thra11. Do you know if the usage of `overrideAttrs` is correct in this case? Or should I be using `overrideDerivation`?
<gvolpe> Either way I get the old version and not the one I want :/
<Thra11> gvolpe: Have you looked inside the source it's downloading? It looks like it does some weird version-related voodoo.
<evanjs> lassulus: testing it with the scenario I (think? I) mentioned earlier w/vmware and the compat6 flag
<Thra11> gvolpe: Also look at the installPhase in the original derivation
drakonis_ has joined #nixos
alp has quit [Ping timeout: 272 seconds]
<gvolpe> Thanks Thra11 I'll have a look
<{^_^}> [nixpkgs] @jonringer merged pull request #88751 → python27Packages.spglib: 1.14.1.post0 -> 1.15.1 → https://git.io/JfaDA
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python27Packages.spglib: 1.14.1.post0 -> 1.15.1 »: https://git.io/JfrPV
<Thra11> gvolpe: I would try making installPhase echo the ${version} it's using, because I don't trust it :p
mananamenos has quit [Remote host closed the connection]
leungbk has joined #nixos
<gvolpe> AFAIU
<leungbk> Would somebody mind reviewing and merging my PR from 1.5 wks ago? https://github.com/NixOS/nixpkgs/pull/88005
<{^_^}> #88005 (by leungbk, 1 week ago, open): pythonPackages.ptvsd: init at 4.3.2
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @rnhmjoj merged pull request #85900 → nixos/dnscrypt-wrapper: use dnscrypt-proxy1 → https://git.io/JfIjI
<{^_^}> [nixpkgs] @rnhmjoj pushed 4 commits to master: https://git.io/JfrPQ
magnetophon has joined #nixos
gvolpe has quit [Remote host closed the connection]
magnetophon has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @jonringer merged pull request #88748 → python27Packages.stevedore: 1.31.0 -> 1.32.0 → https://git.io/JfaDR
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python27Packages.stevedore: 1.31.0 -> 1.32.0 »: https://git.io/JfrXv
<{^_^}> [nixpkgs] @r-ryantm opened pull request #89038 → tudu: 0.10.3 -> 0.10.4 → https://git.io/JfrXJ
magnetophon has joined #nixos
anderslundstedt has joined #nixos
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #89039 → tintin: 2.02.02 -> 2.02.03 → https://git.io/JfrXG
FRidh has quit [Ping timeout: 260 seconds]
FRidh has joined #nixos
FRidh has quit [Client Quit]
jlv has joined #nixos
o1lo01ol1o has quit [Ping timeout: 264 seconds]
<{^_^}> [hydra] @edolstra pushed 2 commits to remove-jobs: https://git.io/JfrXw
<{^_^}> [nixpkgs] @romildo opened pull request #89040 → deepin.deepin-screenshot: remove (has been archived upstream) → https://git.io/JfrXM
<{^_^}> [nixpkgs] @jonringer merged pull request #88733 → python27Packages.pydub: 0.23.1 -> 0.24.0 → https://git.io/JfaKU
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python27Packages.pydub: 0.23.1 -> 0.24.0 »: https://git.io/JfrX9
<{^_^}> [hydra] @edolstra opened pull request #770 → Remove the Jobs table → https://git.io/JfrXH
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos
iclanzan has joined #nixos
magnetophon has quit [Read error: Connection reset by peer]
rogue_koder has joined #nixos
tsrt^^ has quit []
magnetophon has joined #nixos
tff^ has joined #nixos
<{^_^}> [nixpkgs] @jonringer opened pull request #89041 → python3Packages.pyatv: 0.3.13 -> 0.6.1 → https://git.io/Jfr1t
<{^_^}> [nixpkgs] @jonringer merged pull request #88740 → python37Packages.zeroconf: 0.26.0 -> 0.26.1 → https://git.io/JfaPX
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python37Packages.zeroconf: 0.26.0 -> 0.26.1 »: https://git.io/Jfr1O
magnetophon has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @jonringer merged pull request #88726 → python37Packages.PyChromecast: 4.2.3 -> 5.2.0 → https://git.io/JfaVh
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python37Packages.PyChromecast: 4.2.3 -> 5.2.0 »: https://git.io/Jfr1n
hmpffff has quit [Quit: nchrrrr…]
<{^_^}> [nixpkgs] @jonringer merged pull request #88734 → python27Packages.plotly: 4.6.0 -> 4.7.1 → https://git.io/Jfa6e
<{^_^}> [nixpkgs] @jonringer pushed 2 commits to master: https://git.io/Jfr1W
<chloekek_> Is it possible to import-from-derivation the output of cabal2nix? I’m having trouble with the src attribute.
<{^_^}> [nixpkgs] @jonringer merged pull request #88729 → python27Packages.rasterio: 1.1.3 -> 1.1.4 → https://git.io/JfawQ
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python27Packages.rasterio: 1.1.3 -> 1.1.4 »: https://git.io/Jfr1l
magnetophon has joined #nixos
<evanjs> lassulus: okay I see why you held off on this now. This is _way_ more complicated than I was thinking :D
<clever> chloekek_: that is exactly what haskellPackages.callCabal2nix does
<{^_^}> [nixpkgs] @jonringer merged pull request #88705 → python27Packages.paste: 3.2.2 -> 3.4.0 → https://git.io/JfazV
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python27Packages.paste: 3.2.2 -> 3.4.0 »: https://git.io/Jfr10
<{^_^}> [nixpkgs] @primeos pushed to master « nvme-cli: 1.11.1 -> 1.11.2 »: https://git.io/Jfr1u
orivej has quit [Ping timeout: 256 seconds]
orivej_ has joined #nixos
<iclanzan> Is there any way to check in a nix expression if the platform is linux but not NixOS?
<bqv> chloekek_: remember, IFD is a sin ;)
<clever> iclanzan: not really
<bqv> iclanzan: it shouldn't ever matter
hmpffff has joined #nixos
<bqv> if it does, you're doing something very, very wrong
jlv has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @jonringer merged pull request #88724 → python27Packages.qtconsole: 4.7.3 -> 4.7.4 → https://git.io/JfaVd
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python27Packages.qtconsole: 4.7.3 -> 4.7.4 »: https://git.io/Jfr1i
<{^_^}> [nixpkgs] @jonringer merged pull request #88702 → python37Packages.minidb: 2.0.3 -> 2.0.4 → https://git.io/Jfaue
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python37Packages.minidb: 2.0.3 -> 2.0.4 »: https://git.io/Jfr1X
<{^_^}> [nixpkgs] @jonringer merged pull request #88687 → python37Packages.immutables: 0.12 -> 0.14 → https://git.io/JfaCg
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python37Packages.immutables: 0.12 -> 0.14 »: https://git.io/Jfr11
<{^_^}> [nixpkgs] @jonringer merged pull request #89041 → python3Packages.pyatv: 0.3.13 -> 0.6.1 → https://git.io/Jfr1t
<{^_^}> [nixpkgs] @jonringer pushed to master « python3Packages.pyatv: 0.3.13 -> 0.6.1 »: https://git.io/Jfr1D
<chloekek_> clever: Thanks, I will check that out.
fendor_ has joined #nixos
magnetophon has quit [Read error: Connection reset by peer]
<chloekek_> bqv: IME a workflow that consists of “make sure you don’t forget to run cabal2nix, or else you will spend an hour trying to figure out why your change did not apply” is a worse sin.
<iclanzan> bqv: I am trying to think of how I can avoid compiling MongoDB for each of my team mates cause the official nixos cache does not cache MongoDB binaries anymore.
<cole-h> Start your own cache? ;)
<clever> iclanzan: run your own cache? or use cachix?
fendor has quit [Ping timeout: 240 seconds]
<iclanzan> seems complicated. like how do I compile on the cache server for all the different platforms?
<clever> iclanzan: you compile on each platform, then push to the cache server
magnetophon has joined #nixos
<bqv> chloekek_: of course it is, but y'know
<{^_^}> [nixpkgs] @jonringer merged pull request #88703 → python27Packages.helpdev: 0.6.10 -> 0.7.1 → https://git.io/Jfauy
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python27Packages.helpdev: 0.6.10 -> 0.7.1 »: https://git.io/Jfr17
<bqv> iclanzan: cachix seems the most eminently sensible option imo
magnetophon has quit [Read error: Connection reset by peer]
<chloekek_> bqv: The nice thing about software is that if anything turns out to be a problem, you can just throw it away and make something new. :) Changing stuff is so much cheaper than in e.g. hardware design or architecture.
<iclanzan> clever: yeah, that’s a lot of work. I would have to put together VMs for Linux (Non NixOS) and macOS. It also makes it harder on my team cause they won’t be able to simply run `nix-shell`.
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
<chloekek_> bqv: So I will just use IFD, because it’s convenient. And if it ever turns out to be problematic, I will delete it and make a new workflow.
<clever> iclanzan: there is no difference between linux and nixos builds
magnetophon has joined #nixos
<bqv> chloekek_: preaching to the choir... i love IFD, i was making a joke about how nixpkgs hates it
<clever> iclanzan: and they can still just run nix-shell
<clever> iclanzan: if the cache is configured, it pulls a pre-built copy, if the cache isnt configured, nix builds whats missing
<{^_^}> [nixpkgs] @jonringer merged pull request #88731 → python27Packages.pyacoustid: 1.1.7 -> 1.2.0 → https://git.io/Jfar0
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python27Packages.pyacoustid: 1.1.7 -> 1.2.0 »: https://git.io/Jfr1A
jlv has joined #nixos
<bqv> i have an absurd error :: traefik.service: Failed to execute command: Resource temporarily unavailable
<iclanzan> clever: you mean a binary compiled on NixOS will work on non-NixOS linux?
<bqv> i genuinely don't understand how that happens
evils has quit [Quit: Lost terminal]
<chloekek_> bqv: Too bad Poe isn’t in the choir. :P
<clever> iclanzan: yes
<iclanzan> clever: wow, I did not know that
o1lo01ol1o has joined #nixos
<clever> iclanzan: all binaries made by nix, use libraries in /nix/store, even on darwin
<bqv> lol
<iclanzan> So it’s only binaries compiled on other distros that don’t work in NixOS
<clever> iclanzan: and nix will just fetch the deps automatically
<{^_^}> [nixpkgs] @jonringer merged pull request #88682 → python37Packages.hstspreload: 2020.5.5 -> 2020.5.19 → https://git.io/Jfan2
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python37Packages.hstspreload: 2020.5.5 -> 2020.5.19 »: https://git.io/JfrMU
<betawaffle> hey, so i'm back with questions about our crazy development environment...
<iclanzan> clever: is there a way to configure the cache in a project `default.nix` or in a `shell.nix` file?
<{^_^}> [nixpkgs] @mmahut merged pull request #89020 → morph: 1.4.0 -> 1.5.0 → https://git.io/JfrBc
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/JfrMT
<{^_^}> [nixpkgs] @jonringer merged pull request #88673 → python27Packages.convertdate: 2.2.0 -> 2.2.1 → https://git.io/JfaON
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python27Packages.convertdate: 2.2.0 -> 2.2.1 »: https://git.io/JfrMk
<betawaffle> would it be possible to mount some non-/nix directory into the container and use that as a poor-man's binary cache?
<clever> iclanzan: it has to be setup in the /etc/nix/nix.conf file
<betawaffle> the problem is we can't have /nix in the container if we also have to mount /nix from outside to get good caching
evils has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #88680 → python37Packages.pikepdf: 1.11.2 -> 1.13.0 → https://git.io/JfanO
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python37Packages.pikepdf: 1.11.2 -> 1.13.0 »: https://git.io/JfrMq
magnetophon has quit [Read error: Connection reset by peer]
hooo has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @jonringer merged pull request #88668 → python27Packages.deprecated: 1.2.9 -> 1.2.10 → https://git.io/JfaqR
Chiliparrot has joined #nixos
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python27Packages.deprecated: 1.2.9 -> 1.2.10 »: https://git.io/JfrM3
<evanjs> so if I'm importing a virtualisation/*-image.nix module, what's the best way to configure the image module? Not quite sure how to approach this
<evanjs> either with nix(-)build, nixos-generators, or whatever
kai_w has quit [Quit: Konversation terminated!]
magnetophon has joined #nixos
<bqv> that's very weird, the error is caused by `LimitNPROC=64` in traefik.service
oida has quit [Remote host closed the connection]
kai_w has joined #nixos
orivej_ has quit [Ping timeout: 272 seconds]
orivej has joined #nixos
oida has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #88676 → python27Packages.geoalchemy2: 0.7.0 -> 0.8.0 → https://git.io/JfaZU
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python27Packages.geoalchemy2: 0.7.0 -> 0.8.0 »: https://git.io/JfrMg
magnetophon has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @jonringer merged pull request #88670 → python27Packages.branca: 0.3.1 -> 0.4.1 → https://git.io/JfaYy
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python27Packages.branca: 0.3.1 -> 0.4.1 »: https://git.io/JfrMa
szicari has quit [Ping timeout: 265 seconds]
dermetfan has quit [Ping timeout: 252 seconds]
<bqv> it seems arbitrary and absurd, and it's actually breaking things for me
<bqv> i'll be overriding it in my config, at least
<{^_^}> [nixpkgs] @jonringer merged pull request #88664 → python27Packages.elasticsearch-dsl: 7.1.0 -> 7.2.0 → https://git.io/JfaLo
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python27Packages.elasticsearch-dsl: 7.1.0 -> 7.2.0 »: https://git.io/JfrMo
<{^_^}> [nixpkgs] @primeos pushed to master « jekyll: 4.0.1 -> 4.1.0 »: https://git.io/JfrM6
magnetophon has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #88666 → python27Packages.datadog: 0.35.0 -> 0.36.0 → https://git.io/JfatH
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python27Packages.datadog: 0.35.0 -> 0.36.0 »: https://git.io/JfrM1
<lopsided98> bqv: IMO sometimes people go a little crazy with the systemd sandboxing options
<{^_^}> [nixpkgs] @jonringer merged pull request #88644 → pantalaimon: 0.5.1 -> 0.6.1 → https://git.io/Jfavr
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « pantalaimon: 0.5.1 -> 0.6.1 »: https://git.io/JfrMM
leungbk has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « openfortivpn: 1.13.3 -> 1.14.0 »: https://git.io/JfrMy
<{^_^}> [nixpkgs] @jonringer merged pull request #88639 → openfortivpn: 1.13.3 -> 1.14.0 → https://git.io/Jf2hF
cole-h has quit [Quit: Goodbye]
<{^_^}> [nixpkgs] @jonringer merged pull request #88652 → plata-theme: 0.9.7 -> 0.9.8 → https://git.io/Jfakv
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « plata-theme: 0.9.7 -> 0.9.8 »: https://git.io/JfrMS
<{^_^}> [nixpkgs] @jonringer merged pull request #88649 → poedit: 2.3 -> 2.3.1 → https://git.io/JfaTa
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « poedit: 2.3 -> 2.3.1 »: https://git.io/JfrMQ
cole-h has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #88661 → python27Packages.cftime: 1.1.2 -> 1.1.3 → https://git.io/JfaLt
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python27Packages.cftime: 1.1.2 -> 1.1.3 »: https://git.io/JfrM7
magnetophon has quit [Read error: Connection reset by peer]
pamplemousse has quit [Ping timeout: 272 seconds]
<{^_^}> [nix] @LnL7 opened pull request #3632 → installer: don't require xz on darwin → https://git.io/JfrMb
ilios has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #88653 → proverif: 2.00 -> 2.01 → https://git.io/Jfakn
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « proverif: 2.00 -> 2.01 »: https://git.io/JfrMx
jmercouris has joined #nixos
magnetophon has joined #nixos
quinn has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @jonringer merged pull request #88689 → python27Packages.hg-evolve: 9.3.1 -> 10.0.0 → https://git.io/JfaCi
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python27Packages.hg-evolve: 9.3.1 -> 10.0.0 »: https://git.io/JfrMh
jmercouris has left #nixos ["Exit."]
<{^_^}> [nixpkgs] @jonringer merged pull request #88637 → pentobi: 17.3 -> 18.0 → https://git.io/Jf2h4
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « pentobi: 17.3 -> 18.0 »: https://git.io/JfrMj
codygman has quit [Ping timeout: 256 seconds]
codygman has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #88622 → mimalloc: 1.6.1 -> 1.6.3 → https://git.io/Jf2HD
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « mimalloc: 1.6.1 -> 1.6.3 »: https://git.io/JfrDv
magnetophon has quit [Read error: Connection reset by peer]
zupo has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #88589 → marvin: 20.10.0 -> 20.12.0 → https://git.io/Jf20a
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « marvin: 20.10.0 -> 20.12.0 »: https://git.io/JfrDU
<{^_^}> [nixpkgs] @jonringer merged pull request #88571 → libratbag: 0.13 -> 0.14 → https://git.io/Jf2ZF
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « libratbag: 0.13 -> 0.14 »: https://git.io/JfrDI
<{^_^}> [nixpkgs] @jonringer merged pull request #88576 → libfilezilla: 0.21.0 -> 0.22.0 → https://git.io/Jf2l5
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « libfilezilla: 0.21.0 -> 0.22.0 »: https://git.io/JfrDt
<{^_^}> [nixpkgs] @jonringer merged pull request #88566 → kid3: 3.8.2 -> 3.8.3 → https://git.io/Jf2sg
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « kid3: 3.8.2 -> 3.8.3 »: https://git.io/JfrDY
magnetophon has joined #nixos
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @jonringer merged pull request #88633 → networkmanager_strongswan: 1.5.0 -> 1.5.2 → https://git.io/Jf2by
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « networkmanager_strongswan: 1.5.0 -> 1.5.2 »: https://git.io/JfrD3
orivej has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @jonringer merged pull request #88547 → grml-zsh-config: 0.16.1 -> 0.16.2 → https://git.io/Jf2tL
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « grml-zsh-config: 0.16.1 -> 0.16.2 »: https://git.io/JfrDs
orivej_ has joined #nixos
<{^_^}> [nixops] @adisbladis opened pull request #1355 → Nixops aws compat → https://git.io/JfrDZ
<{^_^}> [nixpkgs] @jonringer merged pull request #88556 → homebank: 5.4.1 -> 5.4.2 → https://git.io/Jf2qH
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « homebank: 5.4.1 -> 5.4.2 »: https://git.io/JfrDn
magnetophon has quit [Read error: Connection reset by peer]
<chloekek_> clever: Thanks! callCabal2nix works great.
<benny> is there a place where a system derivation stores the time it was built or other metadata?
zupo has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @jonringer merged pull request #88555 → guile-cairo: 1.10.0 -> 1.11.0 → https://git.io/Jf2qo
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « guile-cairo: 1.10.0 -> 1.11.0 »: https://git.io/JfrD4
magnetophon has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #88503 → python27Packages.foxdot: 0.8.7 -> 0.8.8 → https://git.io/Jfgyk
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python27Packages.foxdot: 0.8.7 -> 0.8.8 »: https://git.io/JfrDu
magnetophon has quit [Read error: Connection reset by peer]
ngerstle[m] has joined #nixos
<{^_^}> [nixpkgs] @rnhmjoj pushed to release-20.03 « nixos/dnscrypt-wrapper: use dnscrypt-proxy1 »: https://git.io/JfrDP
<{^_^}> [nixpkgs] @jonringer merged pull request #88685 → python27Packages.nbsmoke: 0.3.0 -> 0.4.1 → https://git.io/JfacX
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python27Packages.nbsmoke: 0.3.0 -> 0.4.1 »: https://git.io/JfrDX
<clever> benny: the timestamp of the symlinks in /nix/var/nix/profiles/
quinn has joined #nixos
magnetophon has joined #nixos
zupo has joined #nixos
<benny> clever: neat, thanks
<{^_^}> [nixpkgs] @jonringer merged pull request #88486 → fdroidserver: 1.1.6 -> 1.1.7 → https://git.io/JfgoM
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « fdroidserver: 1.1.6 -> 1.1.7 »: https://git.io/JfrDd
jlv has quit [Ping timeout: 246 seconds]
<jbox> jonringer damn
<jbox> what's the difference between merging a pull request and pushing a commit from x to master?
magnetophon has quit [Read error: Connection reset by peer]
o1lo01ol1o has quit [Remote host closed the connection]
rogue_koder has quit [Ping timeout: 256 seconds]
bqv has quit [Quit: WeeChat 2.8]
magnetophon has joined #nixos
quinn has quit [Ping timeout: 256 seconds]
bqv has joined #nixos
<{^_^}> [nixpkgs] @dywedir opened pull request #89042 → scrcpy: 1.13 -> 1.14 → https://git.io/Jfryt
<{^_^}> [nixpkgs] @r-ryantm opened pull request #89043 → utillinux: 2.35.1 -> 2.35.2 → https://git.io/Jfrym
<evils> jbox: i'm not sure it's possible to merge a PR without pushing a commit, but that may not be to master; and it being from a PR means it was most likely reviewed and/or checked by the bot
<jbox> evils: ah, ok. That makess sense
szicari has joined #nixos
<hyper_ch> 1h to go till Space X Launch - if not aborted
orivej_ has quit [Ping timeout: 256 seconds]
orivej has joined #nixos
<evils> anyone know if nix(os) is being used in aerospace?
<colemickens> I love nixos-install taking --root and --system. <3
<hyper_ch> evils: probably not beiing used
alp has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #88483 → etesync-dav: 0.16.0 -> 0.17.0 → https://git.io/JfgrF
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « etesync-dav: 0.16.0 -> 0.17.0 »: https://git.io/Jfryz
<{^_^}> [nixpkgs] @jonringer merged pull request #88500 → fwts: 20.03.00 -> 20.05.00 → https://git.io/Jfg1q
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « fwts: 20.03.00 -> 20.05.00 »: https://git.io/JfryV
<{^_^}> [nixpkgs] @joachimschmidt557 opened pull request #89044 → nixos/rethinkdb: refactor enable option → https://git.io/Jfryr
szicari has quit [Quit: ZNC - http://znc.in]
alp has quit [Remote host closed the connection]
quinn has joined #nixos
cosimone has joined #nixos
gustavderdrache1 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #89045 → toybox: 0.8.2 -> 0.8.3 → https://git.io/JfryP
alp has joined #nixos
magnetophon has quit [Read error: Connection reset by peer]
alp has quit [Remote host closed the connection]
gustavderdrache has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @jtojnar merged pull request #88506 → fwupd: 1.4.1 -> 1.4.2 → https://git.io/JfgSL
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/JfryQ
<evils> hyper_ch: that's what we tell ourselves as we package something that uses python2...
<iclanzan> clever: is it safe to expose my private machine as a binary cache using nix-serve considering there is private data in my /nix/store that I wouldn’t want to share with anyone?
magnetophon has joined #nixos
<clever> iclanzan: its only a risk if you tell others what the path to one of the secrets is, or something depending on the secret
alp has joined #nixos
magnetophon has quit [Read error: Connection reset by peer]
<clever> iclanzan: nix-serve doesnt allow you to list things, so the attacker would need to know the hash of a storepath to download it
<{^_^}> [nixpkgs] @jonringer merged pull request #88424 → duplicity: 0.8.12.1612 -> 0.8.13 → https://git.io/Jfzxw
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « duplicity: 0.8.12.1612 -> 0.8.13 »: https://git.io/Jfryd
<balsoft> iclanzan: if you have a sufficiently high-latency connection, it's not an issue
<balsoft> clever: there's a timing attack on nix-serve that allows you to find valid hashes quite quickly if the connection to the server is sufficiently low-latency
<clever> balsoft: ah, hadnt looked at that attack angel
<clever> angle?
alp has quit [Remote host closed the connection]
<balsoft> I'm pretty sure it's not patched yet
magnetophon has joined #nixos
AndersonTorres has quit [Ping timeout: 272 seconds]
veleiro` has joined #nixos
ilios has quit [Quit: WeeChat 2.8]
<simpson> Nice. Chop-chop based on non-constant-time string comparison?
<balsoft> Although on the other hand, I'm still serving my cache to the world because my connection is so garbage it's not exploitable practically
opthomasprime has joined #nixos
<balsoft> simpson: yes, but full credit to Yegor on that, I haven't done anything to discover this
opthomasprime has left #nixos [#nixos]
<iclanzan> balsoft: what do you think a safe minimum latency would be?
veleiro has quit [Ping timeout: 260 seconds]
opthomasprime has joined #nixos
opthomasprime has left #nixos [#nixos]
rogue_koder has joined #nixos
opthomasprime has joined #nixos
opthomasprime has left #nixos [#nixos]
<cole-h> colemickens: What does --system do?
<cole-h> (Not on NixOS at the moment, so I can't check the manpage lol)
<jbox> I want to test out my changes to a nixos module in my own fork. I'm doing `nixpkgs-atlas = import /home/atlas/nixos {};` in my let block, but I don't know how to use it. I assume I'd change services.whatever to nixpkgs-atlas.services.whatever, but I'm not sure, since I don't know where the regular "services" comes from in my existing config
<colemickens> cole-h: tells it not to look for /etc/nixos/configuration.nix and lets you specify the path to system.build.toplevel output to install
<colemickens> cole-h: I assume your client is sending gibberish messages to explain the last message I got from you :P
<balsoft> iclanzan: I think anything with latency variations of >5ms should be fine, but definitely don't quote me on that; so, from practical experience, >50ms should be good enough
<balsoft> But I'm definitely not an expert here!
<balsoft> So please, please, please do your own research.
<balsoft> And definitely don't put your binary cache in a public data-center.
magnetophon has quit [Read error: Connection reset by peer]
<cole-h> colemickens: That's pretty nice. How is it used? Do you first nix-build your system.build.toplevel and then `--system ./result` ?
<balsoft> cole-h: yes. That was my installation method before flakes
<jbox> I guess I should ask one question at a time. When I write `services.openssh.enable = true;` in my configuration.nix, where does `services` come from?
<{^_^}> [nixpkgs] @jonringer merged pull request #88447 → gitAndTools.lefthook: 0.7.1 -> 0.7.2 → https://git.io/JfgO7
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « gitAndTools.lefthook: 0.7.1 -> 0.7.2 »: https://git.io/JfrSm
magnetophon has joined #nixos
<balsoft> jbox: from nixpkgs/nixos
<jbox> Oh, maybe it comes from nowhere. I may be creating that attribute to be passed wherever it needs to go, right?
<jbox> I mean, I'm not using something.services
dermetfan has joined #nixos
<balsoft> Oh, re-read your question above
<{^_^}> [nixpkgs] @r-ryantm opened pull request #89046 → tilda: 1.5.1 -> 1.5.2 → https://git.io/JfrSc
<balsoft> You want to NIX_PATH=/path/to/nixpkgs nixos-rebuild build or something similar
magnetophon has quit [Read error: Connection reset by peer]
<balsoft> Whoops, sorry, NIX_PATH=nixpkgs=/path/to/nixpkgs nixos-rebuild build
<balsoft> You may also want to write a simple configuration to test your changes, so NIX_PATH=nixpkgs=/path/to/nixpkgs:nixos-config=/path/to/simple/configuration.nix nixos-rebuild build
<balsoft> You can also nixos-rebuild build-vm instead, and test your changes in the VM
<balsoft> Oh, if you want to use the rest of the services from your default nixpkgs and only the openssh from your fork, it may get a bit tricky
Avaq has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #88995 → pinnwand: init at 1.1.0 → https://git.io/Jfwjk
<{^_^}> [nixpkgs] @jonringer pushed 2 commits to master: https://git.io/JfrS2
<balsoft> Actually, I forgot how to do it, shame on me... I think there's a way to tell nixos to not use a module from default nixpkgs and then import that module from your fork, but I don't remember how
<jbox> I've never heard of nixos-rebuild build-vm
<jbox> That last thing is what I want to do. It's not openssh, but terraria. I used openssh because it's common
<{^_^}> [nixpkgs] @r-ryantm opened pull request #89047 → zotero: 5.0.85 -> 5.0.87 → https://git.io/JfrSi
<jbox> I just want to use my working terraria module in my current configuration.nix
AndersonTorres has joined #nixos
<balsoft> Sorry to not help directly, but what's the nature of your changes?
<balsoft> May it be that said changes can be expressed without forking nixpkgs?
orivej has quit [Ping timeout: 260 seconds]
<colemickens> cole-h: the exact scenario is: nixcfg is on xeep (my laptop). raspberry is my installed nixos rpi4. I'm transitioning it from SD install to USB install. The partition labels are different. So I altered my configuration for the new partitionlabels/zfs-mounts, nix-build'ed it, mounted /mnt/..., nixos-install --system --root, rsynced a couple /var/lib dirs and had my install migrated.
orivej has joined #nixos
<euank> jbox: You can probably use the combination of..
<euank> `disabledModules = [ "services/terraria.nix"]; imports = [ /my/terraria/module.nix ]`
<euank> to sorta replace the module in the nixpkgs tree with your own out-of-tree one
<jbox> balsoft: https://github.com/NixOS/nixpkgs/blob/076860e0340a5e4a909b9a710e186508b14d1c90/nixos/modules/services/games/terraria.nix#L143 I'm changing postStart to preStart, and changing the hard-coded /var/lib/terraria/terraria.sock in L139 to the terraria user home directory
<balsoft> euank: yeah, that's the thing I forgot how to do, thanks for reminding; euank++
<{^_^}> euank's karma got increased to 2
<jbox> euank: thank you! That sounds like just what I need
fendor_ has quit [Remote host closed the connection]
<jbox> euank++
<{^_^}> euank's karma got increased to like 3, I think
<{^_^}> [nixpkgs] @jonringer merged pull request #88847 → plex-mpv-shim: 1.7.16 -> 1.8.0 → https://git.io/JfVs6
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « plex-mpv-shim: 1.7.16 -> 1.8.0 »: https://git.io/JfrS5
<jbox> balsoft: thank you for the help balsoft++
<{^_^}> balsoft's karma got increased to 7
<balsoft> jbox: both of these changes sound like they can be easily expressed without using a fork
fendor has joined #nixos
<gchristensen> simpson: you've turned me in to a zealot
<Avaq> Hi folks! I hope someone can help me with the following. I am trying to install Obsidian (https://obsidian.md/) on my NixOS machine. It is proprietary software offered as an AppImage or Snap package.
<Avaq> However, I'm running into GNOME problems now, in particular, the first problem listed under "frequently encountered [GNOME] issues": https://nixos.org/nixpkgs/manual/#ssec-gnome-common-issues.
<Avaq> I don't believe Snap is currently supported on NixOS, so I've tried to get the AppImage working. I think I've gotten quite far with the configuration: https://gist.github.com/a2de4ab6084237c5999e67afd630e75e
<Avaq> And since I've used appimageTools.wrapType2 to call my package, I don't know how to apply the solutions mentioned in the article above. As you can see from my gist, I've tried simply adding wrapGAppsHook to the extraPkgs to no avail, and I've tried setting programs.dconf.enable to true.
<samueldr> is it me, or is merging config values in nixos submodules not working?
<samueldr> oof, I see it
<simpson> gchristensen: Nothing wrong with enthusiasm for monitoring and metrics. Or something else?
<jbox> Obsidian seems really cool
<gchristensen> simpson: authority
<samueldr> I had lib.mkDefault a.b = {} instead of a = { b = lib.mkdefault = {} } so it didn't end up merging the one with the lower priority closer to the root
<balsoft> jbox: https://0x0.st/ipCm.txt
<gchristensen> simpson: https://twitter.com/grhmc/status/1265735768812724225 I saw a video about doing something with google sheets + some other app, and the capability model was "allow FooService to access all your sheets yes-read-write/yes-read/no" and I'm like, NONE of those are what I want!
<jbox> balsoft: it just says "lib." lol
<Avaq> jbox: Yeah, it came by on Hacker News, and I wanted to give it a spin.
<simpson> gchristensen: Yeah, it's terrible. Folks think in terms of B2B relationships, and not in terms of the actual permissions of each underlying object.
<gchristensen> yeah
<balsoft> jbox: sorry about that :) https://0x0.st/ipCu.txt
<balsoft> Avaq: do you know about appimage-run? It could serve as an ad-hoc solution I believe, but I'm not sure if that's what you want
<Avaq> balsoft: I got the AppImage to work, it's just that the running AppImage seems to expect a GNOME environment.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #89048 → xlockmore: 5.62 -> 5.63 → https://git.io/Jfr9I
<Avaq> First I got it to work ad-hoc with appimage-run, then I coded it into a .nix file using appimageTools.wrapType2. Both solutions get the appimage to run, but the first thing the app wants you to do is select a directory, upon which it immediately crashes with "No GSettings schemas are installed on the system".
<balsoft> Ah, I've seen that error before
bukkitgerman8608 has quit [Quit: Ping timeout (120 seconds)]
<jbox> balsoft: how would I go about referencing the terraria user's home directory in L139? Would I use config.users.users.terraria.home?
<Avaq> After some research into this error message, I found that a solution might be to "Temporarily add a random package containing schemas like gsettings-desktop-schemas to buildInputs. glib" (https://nixos.org/nixpkgs/manual/#ssec-gnome-common-issues). But I can't do so, as I have no access to buildInputs, because I'm using a layer on top, namely the appimageTools.wrapType2 utility.
<jbox> s/config/options
bukkitgerman8608 has joined #nixos
drakonis has joined #nixos
<Avaq> At this point I decided to throw it here in chat. Maybe someone else already went through this.
<balsoft> jbox: that would work, yes
<jbox> would I need to make the options attribute set recursive?
<hyper_ch> no space x launch today :(
<balsoft> Avaq: I think it might have something to do with an env variable the name of which I do not remember
drakonis_ has quit [Read error: Connection reset by peer]
<balsoft> jbox: Hmm, wait, no, s/options/config/ back :)
<balsoft> jbox: no, why would you? The config attribute comes from function argument pattern match, not from an attribute of the set
cosimone has quit [Quit: Quit.]
drakonis2 has joined #nixos
alp has joined #nixos
drakonis has quit [Ping timeout: 252 seconds]
magnetophon has joined #nixos
cosimone has joined #nixos
user_0x58 has quit [Remote host closed the connection]
gustavderdrache1 has quit [Quit: Leaving.]
alexherbo2 has joined #nixos
user_0x58 has joined #nixos
kaliumxyz has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @primeos pushed to master « python3Packages.google_api_python_client: 1.8.3 -> 1.8.4 »: https://git.io/Jfr9S
<__red__> ... and tell me if you'd expect /var/lib/bacula to be owned by bacula
<__red__> the problem is that the application runs as user bacula
<keithy[m]> hi, where can one search nix-darwin? looking for realpath
<__red__> but the working directory (/var/lib/bacula) is owned by root
<__red__> if I change it, when I run systemctl start - it changes it back to root
<{^_^}> [nixpkgs] @jonringer merged pull request #88450 → librsync: 2.3.0 -> 2.3.1 → https://git.io/Jfgst
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « librsync: 2.3.0 -> 2.3.1 »: https://git.io/Jfr9x
<clever> __red__: i would expect it to be owned by bacula
<__red__> me too
<__red__> another possibility
<__red__> I see in systemd.services.*.serviceConfig.LogsDirectory / StateDiretcoyr are just "bacula"
<clever> __red__: StateDirectory tells systemd to dynamically create its own dir with the right privs
<{^_^}> [nixpkgs] @r-ryantm opened pull request #89049 → xlayoutdisplay: 1.1.1 -> 1.1.2 → https://git.io/Jfr9j
<clever> __red__: while the home = libDir; tells nixos to make it as the home of a user
<__red__> clever: I don't suppose that's relative to /var/lib is it?
<clever> not sure
magnetophon has quit [Read error: Connection reset by peer]
<__red__> because if it is, I guessthat could explain the chown root that happens when systemd tried to start it
<{^_^}> [nixpkgs] @jonringer merged pull request #88365 → copyq: 3.11.0 -> 3.11.1 → https://git.io/Jfz72
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « copyq: 3.11.0 -> 3.11.1 »: https://git.io/JfrHf
<balsoft> __red__: do you actually set the User to bacula anywhere?
<{^_^}> [nixpkgs] @pSub merged pull request #89048 → xlockmore: 5.62 -> 5.63 → https://git.io/Jfr9I
<{^_^}> [nixpkgs] @pSub pushed 2 commits to master: https://git.io/JfrHJ
<clever> balsoft: the user is within the config file, so i expect the service to do its own root-drop
<jbox> balsoft: where does config even come from? I don't know what it is. It gets passed to our module; that's all I know. Why would I want to reference an argument (something that comes from outside my module), when I want to reference something inside this module?
<__red__> balsoft: it's in the ExecStart: ExecStart = "${pkgs.bacula}/sbin/bacula-dir -f -u bacula -g bacula -c ${dir_conf}";
<balsoft> __red__: systemd will chown the StateDirectory to User:Group on unit startup
magnetophon has joined #nixos
<balsoft> And AFAIU the User will be root
<clever> balsoft: ahh
<__red__> balsoft: do you know where StateDirectory is relative to?
magnetophon has quit [Read error: Connection reset by peer]
nicksloan has left #nixos [#nixos]
<balsoft> __red__: in no way am I a systemd specialist, for me it's always relative to /var/lib
<balsoft> I think it's configurable somehow
<balsoft> jbox: because you want merging
<__red__> okay - I guessthat means I need to look up the systemd unit file to see what's written
<ldlework> I am reviewing Styx's configuration logic, and I've come across the following code: https://gist.github.com/dustinlacewell/3a81911360df0f0f71424811423499b4 It does some strange things I don't understand. Styx defines it's own core option declarations. Themes can also define their own option declarations. Theme options get merged together. The result is then stored/merged under the 'theme' key of the
<ldlework> core declarations. What what's super wierd is that Styx actually merges the user configuration definitions into the core options before running the code above. It also only type checks the theme options against... themselves....?
<balsoft> jbox: in other words, you want other modules to be able to overwrite stuff in the module you're currently in
<__red__> how would I go about locating the actual systemd unit file for that?
<balsoft> __red__: systemctl cat ...
<clever> __red__: cat /etc/systemd/system/foo.service
magnetophon has joined #nixos
alp has quit [Ping timeout: 272 seconds]
o1lo01ol1o has joined #nixos
<__red__> thanks
<__red__> oh - I think I know what might have happened now
<__red__> potentially
<__red__> I added this to my configuration.nix file:
<__red__> systemd.services.bacula-sd.path = [ pkgs.gawk pkgs.mtx pkgs.mt-st pkgs.su ];
<__red__> which may futz with something that's already defined
<jbox> balsoft: that makes sense
<{^_^}> [nixpkgs] @jonringer merged pull request #88241 → yafaray-core: 3.4.1 -> 3.4.4 → https://git.io/Jfz2f
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « yafaray-core: 3.4.1 -> 3.4.4 »: https://git.io/JfrHl
<balsoft> jbox: it's kind of like with callPackage, it uses the same fix point logic too
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #89036 → mesa wayland: Fix/simplify cross → https://git.io/JfrPO
<{^_^}> [nixpkgs] @Ericson2314 pushed 4 commits to staging: https://git.io/JfrH8
<{^_^}> [nixpkgs] @jonringer merged pull request #88224 → sickgear: 0.21.30 -> 0.21.33 → https://git.io/Jfz0n
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « sickgear: 0.21.30 -> 0.21.33 »: https://git.io/JfrH4
<{^_^}> [nixpkgs] @jonringer merged pull request #88251 → birdfont: 2.28.0 -> 2.29.0 → https://git.io/Jfzit
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « birdfont: 2.28.0 -> 2.29.0 »: https://git.io/JfrHB
o1lo01ol1o has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @jonringer merged pull request #88189 → minder: 1.7.3 -> 1.8.0 → https://git.io/Jfz3p
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « minder: 1.7.3 -> 1.8.0 »: https://git.io/JfrHR
o1lo01ol1o has joined #nixos
<__red__> Well, there are two ways pof fixing this
<{^_^}> [cabal2nix] @peti closed pull request #456 → Use update scripts from nixpkgs → https://git.io/JfVK4
<__red__> ahem 'fixing' this
<{^_^}> [nixpkgs] @jonringer merged pull request #88187 → mill: 0.6.2 -> 0.7.1 → https://git.io/Jfz3H
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « mill: 0.6.2 -> 0.7.1 »: https://git.io/JfrHw
<__red__> 0. The bad idea - change the user bacula's uid to 0 ;-)
<__red__> or, the better idea
<__red__> 1. Fix the package
magnetophon has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @jonringer merged pull request #88149 → i3lock-color: 2.12.c.1 -> 2.12.c.4 → https://git.io/Jfu6j
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « i3lock-color: 2.12.c.1 -> 2.12.c.4 »: https://git.io/JfrH6
<{^_^}> [nixpkgs] @jonringer merged pull request #88186 → micronaut: 1.3.4 -> 1.3.5 → https://git.io/Jfz3u
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « micronaut: 1.3.4 -> 1.3.5 »: https://git.io/JfrHX
<{^_^}> [nixpkgs] @jonringer merged pull request #88144 → gortr: 0.14.1 -> 0.14.4 → https://git.io/JfuKJ
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « gortr: 0.14.1 -> 0.14.4 »: https://git.io/JfrHM
<jbox> How can I disable a module? disabledModules didn't do it for me
<__red__> 2. Ask the original maintainer if they still use / maintain it and if they can give me a hint as to where to look
<{^_^}> [nixpkgs] @jonringer merged pull request #88122 → cryptominisat: 5.7.0 -> 5.7.1 → https://git.io/Jfu4n
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « cryptominisat: 5.7.0 -> 5.7.1 »: https://git.io/JfrHQ
<{^_^}> [cabal2nix] @peti closed pull request #457 → extend nixpkgs update scripts to pin used versions → https://git.io/JfVKg
tobeportable has quit [Ping timeout: 272 seconds]
<__red__> it wouldn't be a problem if they didn't hard-code the working directoyr
<__red__> maybe I should just break that out as an option instead
<__red__> with the default as what they currently have
<jbox> disabledModues is correct
<jbox> I was doing it wrong
magnetophon has joined #nixos
jlv has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #87514 → solarus-quest-editor: 1.6.2 -> 1.6.4 → https://git.io/JfWKe
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « solarus-quest-editor: 1.6.2 -> 1.6.4 »: https://git.io/JfrQk
<__red__> btw - if you raise an issue in nixos/nixpkgs - is it considered good or bad form to cc: the maintainers in the issue?
<{^_^}> [nixpkgs] @jonringer merged pull request #87469 → qcad: 3.24.2.1 -> 3.24.3.4 → https://git.io/JfWsH
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « qcad: 3.24.2.1 -> 3.24.3.4 »: https://git.io/JfrQY
quinn has quit [Ping timeout: 265 seconds]
<evils> __red__: good
<{^_^}> [nixpkgs] @r-ryantm opened pull request #89050 → xbanish: 1.6 -> 1.7 → https://git.io/JfrQO
jbox- has quit [Quit: ZNC 1.7.5 - https://znc.in]
quinn has joined #nixos
<__red__> Okay - I'll raise it and see what I need to do
<__red__> I have a number of issues that are stopping me using it
magnetophon has quit [Read error: Connection reset by peer]
<__red__> so I kinda want to know what is different about my setup compared to theirs
jbox- has joined #nixos
<__red__> things like: bacula-dir-pre-start[8434]: /nix/store/h741mvx5n116286ym6w11mqvsxkxl16f-bacula-9.6.3/etc/update_bacula_tables: line 50: su: command not found
<__red__> the startupi script doesn't have su in its path
<{^_^}> [nixpkgs] @kidd opened pull request #89051 → datasette: add setuptools to propagatedBuildInputs → https://git.io/JfrQ4
<__red__> why is it that way on mine, but not on theirs?
<balsoft> __red__: it's very much possible that the module is broken, there's no particular guarantee of stability in nixpkgs, especially master/unstable
fusion809 has joined #nixos
<__red__> maybe - but it's had this specific issue for years (I tried years ago and gave up)
magnetophon has joined #nixos
<__red__> and they've continued adding features
<__red__> on the bright side - it exposed a bug in a package I maintain so I should fix that
<__red__> apparently my package has a runtime dependancy on awk
<__red__> and the systemd unit won't support tape access unless I add my mtx package to systemd.services.*.path
magnetophon has quit [Read error: Connection reset by peer]
<__red__> (even though it's defined in my configuration.nix as being global)
<__red__> like - I would assume, su and awk?
<lovesegfault> What's the speedFactor in a remote builder?
<__red__> I guess I didn't expect to have to add pkgs.su and pkgs.gawk to systemd.services.bacula-dir.path
<__red__> ?
<jared-w> @lovesegfault does speedFactor add racing stripes for extra horsepower?
magnetophon has joined #nixos
pamplemousse has joined #nixos
jlv has quit [Quit: leaving]
jlv has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #89052 → xawtv: 3.106 -> 3.107 → https://git.io/JfrQV
shabius_ has joined #nixos
<keithy[m]> hi guys, I am still looking for realpath on mac OS, hoping not to have to install brew lol!
matthewcroughan has joined #nixos
magnetophon has quit [Read error: Connection reset by peer]
shabius has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @jonringer merged pull request #87568 → xercesc: 3.2.2 -> 3.2.3 → https://git.io/JfWpG
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « xercesc: 3.2.2 -> 3.2.3 »: https://git.io/JfrQ1
<balsoft> keithy: sorry, what is realpath exactly?
<clever> ,locate bin/realpath
<{^_^}> Found in packages: toybox, busybox, coreutils, coreutils-full
jlv has quit [Disconnected by services]
<clever> keithy[m]: you can just `nix-shell -p coreutils`, even on a mac
jbox has quit [Ping timeout: 240 seconds]
magnetophon has joined #nixos
<balsoft> oh, that realpath... I do be dumb sometimes.
KindTwo has joined #nixos
jlv has joined #nixos
<keithy[m]> thx clever++
<{^_^}> clever's karma got increased to 446
KindOne has quit [Ping timeout: 256 seconds]
KindTwo is now known as KindOne
magnetophon has quit [Read error: Connection reset by peer]
alp has joined #nixos
magnetophon has joined #nixos
jlv has quit [Quit: leaving]
magnetophon has quit [Read error: Connection reset by peer]
jlv has joined #nixos
proofofkeags has joined #nixos
quinn has quit [Ping timeout: 240 seconds]
magnetophon has joined #nixos
quinn has joined #nixos
nixrebuildsallth has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #89053 → xmlrpc_c: 1.39.12 -> 1.51.06 → https://git.io/Jfr73
o1lo01ol1o has quit [Remote host closed the connection]
magnetophon has quit [Read error: Connection reset by peer]
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #88216 → rdkafka: 1.4.0 -> 1.4.2 → https://git.io/JfzBR
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « rdkafka: 1.4.0 -> 1.4.2 »: https://git.io/Jfr7l
o1lo01ol1o has joined #nixos
magnetophon has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zupo has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #88183 → libmypaint: 1.6.0 -> 1.6.1 → https://git.io/JfzOC
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « libmypaint: 1.6.0 -> 1.6.1 »: https://git.io/Jfr7u
<__red__> clever: I have deduced that there is something on this system which is chown -R root:root that directory structure
<__red__> any idea how I could go about identifying it?
<{^_^}> [nixpkgs] @jonringer merged pull request #89051 → datasette: add setuptools to propagatedBuildInputs → https://git.io/JfrQ4
<{^_^}> [nixpkgs] @jonringer pushed commit from @kidd to master « datasette: add setuptools to propagatedBuildInputs »: https://git.io/Jfr7w
knupfer has quit [Ping timeout: 260 seconds]
__monty__ has quit [Quit: leaving]
<__red__> GUess I'll strace pid 1 to find out wth is doing it
magnetophon has quit [Ping timeout: 258 seconds]
<evanjs> Does anybody know how the OVA created by virtualisation/virtualbox-image.nix differs from a standard OVA? Or does it really even have any VBox-specific bits?
<evanjs> I was able to import an OVA created by nixos-generators into VMWare workstation, though it did initially warn me, and I had to "retry with loosened restrictions" in order to import the appliance
<evanjs> Wasn't sure if this might have any implications on importing this into e.g. ESXi
nixrebuildsallth has quit [Remote host closed the connection]
fendor has quit [Read error: Connection reset by peer]
bqv has quit [Quit: WeeChat 2.8]
mmchen has joined #nixos
bqv has joined #nixos
<mmchen> How does NixOS work with C/C++ header files? I am trying to configure LSP with clangd but it has been frustrating. This is fairly weird but I am trying to `#include <bits/stdc++.h>` but clangd can't find that file and throws me an error. Meanwhile, it can find it on my Arch install.
bqv has quit [Client Quit]
<mmchen> It does show imports from the standard library however, but I guess not from GCC.
bqv has joined #nixos
<__red__> clever: I've confirmed that it's systemd that is doing to chown. I have no idea why.
<__red__> ugh
Jackneill has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #89054 → xbindkeys: 1.8.6 -> 1.8.7 → https://git.io/Jfr5n
<__red__> oh - I think I got it.
<__red__> ugh
mmchen has quit [Remote host closed the connection]
<__red__> yup - I was right
<__red__> damnit
<__red__> Well - at least I've identified the bug now
<__red__> bleugh
alexherbo2 has quit [Ping timeout: 260 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
magnetophon has joined #nixos
<balsoft> __red__: because it's written in documentation that it will chown the StateDirectory, no?
<balsoft> mmchen: generally, you want to package software with nix in order to build it.
<balsoft> nix-shell (or nix dev-shell in the modern days) can be used for development, it will set all the variables automatically.
mmchen has joined #nixos
<balsoft> mmchen: libc works because it's basically hardcoded to the toolchain.
<__red__> balsoft: I didn't see it in the docs, but I saw it in an strace I did of systemd
<__red__> so yeah-
<__red__> and I checked in the docs that the default directory for "StateDirectory" is /var/lib
<balsoft> I linked the docs above I think
<__red__> you did -=- thank you./
<mmchen> balsoft: well i am just trying stuff out and I do want to package it with nix right now.
<__red__> So we have systemd being told that it owns that directory, and a user and application being toldthat they do instead
<__red__> ie - it's broken.
<mmchen> I am just trying to get LSP to work, but it clangd doesn't detect <bits/stdc++.h>
<balsoft> mmchen: in that case you can just use nix-shell
<balsoft> mmchen: installing libraries globally is a pretty bad practice, because it pollutes your environment and makes your development less reproducible
<balsoft> You don't have to package your software _all the way_ with nix (so that it actually builds), usually specifying the dependencies will allow you to get into the shell
<__red__> balsoft: is it possible for me to just override that systemd.service.services.bacula-dir.serviceConfig.StateDirectory in my configuration.nix?
<__red__> can I just set it and it will override what's in the package?
matthewcroughan has quit [Quit: Connection closed]
<mmchen> balsoft: Yes I understand all of that. It's just when I have gcc and the lsp server, it doesn't detect all my headers. I even have tried it in a nix-shell.
<balsoft> __red__: yes
<balsoft> You can just override it
<__red__> that
<__red__> 's probably a decent workaround until they fix it
<balsoft> mmchen: Now that's more interesting. What exactly have you tried and how it failed?
<__red__> unless of course there's an option to set the user who owns the StateDirectory
<__red__> ...
zupo has joined #nixos
<mmchen> balsoft: I am just writing a simple c++ file to test out the clang lsp. I don't care about project structure or environment right now. I am using gcc as my compiler. The cpp file only has `#include<bits/stdc++.h>`. However, my lsp server complains that it cannot be found.
gentauro has quit [Read error: Connection reset by peer]
<balsoft> OK, will try to repro
<mmchen> This works on my other non nixOS install and it seems to be work, so I am assuming it is nixOS issue.
gentauro has joined #nixos
Jackneill has joined #nixos
<mmchen> I like to say that it does detect some header files, but just not bits/stdc++ (maybe more)
iclanzan has quit [Quit: leaving]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #89056 → yubioath-desktop: 5.0.3 -> 5.0.4 → https://git.io/Jfr5S
Thra11 has quit [Quit: WeeChat 2.8]
<balsoft> mmchen: Oh, it's probably because you're trying to use clang and it doesn't provide that header, right...
hmpffff has quit [Quit: nchrrrr…]
<balsoft> mmchen: I think you just need to force nix to include gcc include dirs
<mmchen> balsoft: then how come it works on my non-nixOS installs.
<mmchen> yea the compiler uses clang
<mmchen> or the lsp uses clang
<balsoft> Because non-nix installs have all the include dirs piled up in the same place
morgrimm has quit [Remote host closed the connection]
<mmchen> do you happen to know how to do what you just said?
<mmchen> forcing nix to include gcc dirs
<balsoft> You can think of the fact that the build fails with nix as a benefit ;) It shows that your project has an implicit dependency
<balsoft> I'm trying to figure that out
<colemickens> when I try to use an editor with an LSP in NixOS, I use a shell.nix to get my compilers + things like openssl into place
<balsoft> Oh well, it seems to be very unhappy at the linker stage, but that shouldn't matter for LSP
<colemickens> well, on top of that I guess I was building rust-analyzer frm scratch, though I've seen it will just work out of box on nixos now
<balsoft> So this seems to work: https://0x0.st/ifsz.txt
<balsoft> But it's obviously awful and needs fixing
<mmchen> I will try it as a nix-shell. Thanks!
opticnerve has quit [Quit: bye]
<balsoft> Oh, it won't work in nix-shell :P
<balsoft> Wait a sec please
<mmchen> oh wait lol
elher has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<mmchen> it just builds
<mmchen> sorry I didn't read
<__red__> balsoft: I managed to get the error: The option `systemd.services.bacula-dir.serviceConfig.StateDirectory' has conflicting definitions, in `/nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/services/backup/bacula.nix' and `/etc/nixos/bacula.nix'.
<__red__> can you tell me how to tell my configuration.nix that I actually mean to override it?
<balsoft> __red__: lib.mkForce
<__red__> Okay - never heard of that before - I'll have a google for that - thanks
orivej has quit [Ping timeout: 258 seconds]
orivej has joined #nixos
<__red__> got it I think
<{^_^}> [nixpkgs] @timokau opened pull request #89058 → palp: fix hash → https://git.io/Jfr5j
veleiro`` has joined #nixos
<balsoft> mmchen: I can't remember the name of the magic env var that sets CFLAGS for the wrapped clang
veleiro` has quit [Ping timeout: 246 seconds]
<__red__> balsoft: that worked perfectly
<__red__> thank you!
<balsoft> mmchen: try https://0x0.st/ifsP.txt
<balsoft> While it's janky beyond belief, it works for me in nix-shell (it fails during linking, which I guess is good enough)
<balsoft> Oh, it's kinda expected to fail during linking because it has no main...
erasmas has quit [Read error: Connection reset by peer]
<balsoft> Nope, still fails
<balsoft> I guess it's not a good idea to just randomly use headers from one toolchain and libraries from another toolchain
mmlb has joined #nixos
meh` has quit [Ping timeout: 260 seconds]
noudle has joined #nixos
fresheyeball has joined #nixos
<{^_^}> [nixpkgs] @primeos pushed to master « swaylock: Add a short note about the required PAM module »: https://git.io/JfrdL
<mmchen> balsoft: i don't know if it matters but I am using gcc to compile. I just want to use clangd due to its tooling.
<balsoft> mmchen: Yeah, I know, so I think this solution can be a starting point to the proper solution :)
<{^_^}> [nixpkgs] @lilyball opened pull request #89059 → bat: 0.15.3 -> 0.15.4 → https://git.io/Jfrdq
<balsoft> The fact that it doesn't link shouldn't matter to LSP
chloekek_ has quit [Ping timeout: 256 seconds]
<balsoft> Oh, it looks like you're not alone in clang struggles: https://codeforces.com/blog/entry/70957
eoli3n_ has quit [Ping timeout: 265 seconds]
asymptotically has quit [Quit: Leaving]
simba1 has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @timokau merged pull request #89058 → palp: fix hash → https://git.io/Jfr5j
<{^_^}> [nixpkgs] @timokau pushed 2 commits to master: https://git.io/Jfrd3
<balsoft> mmchen: You should probably ask again when someone who actually implemented the toolchains in nixpkgs is here
Darkmatter66_ has quit [Quit: ZNC 1.7.5 - https://znc.in]
smatting has quit [Ping timeout: 256 seconds]
<balsoft> They probably have the _proper_ solution
<{^_^}> [nixpkgs] @primeos closed pull request #89019 → nixos/pam: add service generation for swaylock → https://git.io/Jfr4Y
Darkmatter66 has joined #nixos
tff^ has quit []
cr4y1 has quit [Ping timeout: 264 seconds]
o1lo01ol1o has joined #nixos
matthewcroughan has joined #nixos
cosimone has quit [Remote host closed the connection]
cosimone has joined #nixos
NeoCron has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @MetaDark opened pull request #89060 → texlab: 2.1.0 -> 2.2.0 → https://git.io/JfrdR
o1lo01ol1o has quit [Ping timeout: 246 seconds]
MmeQuignon has quit [Ping timeout: 272 seconds]
Avaq has quit [Ping timeout: 256 seconds]
<jtojnar> is there a way to override nixpkgs flake to point to a local repo?
elher has quit [Remote host closed the connection]
dsx has quit [Quit: dsx]
tsrt^ has joined #nixos
<jtojnar> I can use `nix flake add nixpkgs git+file://$HOME/Projects/nixpkgs` but then I need to remove the lock file every time I change the tree
m0rphism has quit [Quit: WeeChat 2.7.1]
cosimone has quit [Quit: Quit.]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
simba1 has joined #nixos
<{^_^}> [nixpkgs] @davidak opened pull request #89061 → klavaro: 3.08 -> 3.09 → https://git.io/JfrdS
<HedgeMage> Hey, all. I recently did a fresh-ish install (with some config and data ported forward) of NixOS 20.03 onto a Thinkpad T460 which previously ran NixOS 19.09 flawlessly. I have no sound. I'm afraid I'm struggling to debug because I am inexperienced with pulseaudio, having run alsa-only sound for many years. My configuration.nix is at https://ghostbin.co/paste/qordt Any help would be appreciated!
<jtojnar> ugh, and of course `sudo nixos-rebuild` does not see my user aliases so it falls back to flake registry
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
<Ashy> simpson: ah damn, pkgsCross.gnu32.gfortran fails to build for me
<HedgeMage> lspci correctly IDs my audio chipset as: 00:1f.3 Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21)
<wrl> HedgeMage: does anything in alsamixer need to get unmuted?
<wrl> make sure you're looking at the mixer device of the card and not pulseaudio
cole-h_ has joined #nixos
cole-h has quit [Ping timeout: 256 seconds]
* HedgeMage facepalms
<HedgeMage> wrl: Thank you... it works now... I didn't even realize that was a thing on pulseaudio systems, I thought installing pulseaudio made those controls irrelevant.
proofofk_ has joined #nixos
MasseR has quit [Ping timeout: 240 seconds]
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
<HedgeMage> wrl++
<{^_^}> wrl's karma got increased to 2
<wrl> HedgeMage: pulseaudio... *mostly* works.
Ralith_ has quit [Remote host closed the connection]
orivej has quit [Ping timeout: 265 seconds]
orivej_ has joined #nixos
<HedgeMage> wrl: Yeah, I have to say I'm not a fan, but I now have a bluetooth audio device I need to use for work, so I'm stuck with it.
<HedgeMage> well, "need"... is incredibly convenient and I'll only give that headset up if I must :P
proofofk_ has quit [Read error: Connection reset by peer]
MasseR has joined #nixos
proofofk_ has joined #nixos
Ralith_ has joined #nixos
proofofkeags has quit [Ping timeout: 258 seconds]
<wrl> HedgeMage: i'm holding out hope that pipewire will be able to unify both the consumer and professional use-cases
dermetfan has quit [Ping timeout: 260 seconds]
rogue_koder has quit [Ping timeout: 265 seconds]
<HedgeMage> wrl: What is pipewire?
<wrl> HedgeMage: https://pipewire.org/
<balsoft> jtojnar: there is a way
<balsoft> jtojnar: --override-input
<balsoft> Also, --no-update-lock-file
<HedgeMage> wrl++ Thanks for making me smarter today. I share your hope that pipewire will bring some sanity to the A/V landscape!
<{^_^}> wrl's karma got increased to 3
<balsoft> wrl: that website makes my browser cry and my CPU to heat up
dsx has joined #nixos
orivej_ has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
mmchen has quit [Remote host closed the connection]
proofofk_ has quit [Read error: Connection reset by peer]
proofofkeags has joined #nixos
justanotheruser has quit [Ping timeout: 260 seconds]
justanotheruser has joined #nixos
agsdheidjd has quit [Ping timeout: 256 seconds]
cole-h_ is now known as cole-h
jgeerds_ has quit [Ping timeout: 272 seconds]
delneg has quit [Remote host closed the connection]
orivej_ has joined #nixos
wchresta has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #89056 → yubioath-desktop: 5.0.3 -> 5.0.4 → https://git.io/Jfr5S
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JfrFh
orivej has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @MetaDark opened pull request #89062 → cmake-language-server: init at 0.1.1 → https://git.io/JfrbT
<jtojnar> balsoft++ thanks, that is exactly what I was looking for
<{^_^}> balsoft's karma got increased to 8
<balsoft> glad to be of help :)
mmchen has joined #nixos
<jtojnar> (needed --no-write-lock-file)
<jtojnar> (needed --no-write-lock-file)
<mmchen> :balsoft do you know the right person to ask about this toolchaining thing?
charego has joined #nixos
m0rphism has joined #nixos
mbrgm_ has joined #nixos
<charego> would install questions about the new MacOS fix be better asked here or on discourse?
<cole-h> Why does my `mount /dev/mapper/backup /mnt` produce a read-only filesystem?
<clever> cole-h: what does `lvdisplay -C` report?
orivej_ has quit [Ping timeout: 265 seconds]
<cole-h> I'm on ZFS, so nothing.
orivej has joined #nixos
mbrgm has quit [Ping timeout: 258 seconds]
mbrgm_ is now known as mbrgm
<clever> cole-h: where did `backup` come from?
<balsoft> mmchen: probably just try again tomorrow, the people who implement such things are usually pretty busy, I don't really think pinging them is a good idea
fresheyeball has quit [Quit: WeeChat 2.7.1]
<infinisil> ,channels
<{^_^}> Largest Nix channels: #nixos, #nixos-dev, #nixos-chat, #nixos-aarch64, #nixos-security, #nixcon, #nixos-officehours, #nixops, #haskell.nix, #nix-darwin, #nixos-de, #nixos-emacs, #nixos-on-your-router, #nixos-nur, #nix-lang, #nixos-fr, #nixos-systemd, #nixos-borg, #nixos-wiki
<cole-h> clever: It's a veracrypt'd external disk that I `cryptsetup open`.
<cole-h> It's NTFS-formatted (when unencrypted) -- does that matter?
<balsoft> Although I guess you could ask clever, he seems to know literally everything
o1lo01ol1o has joined #nixos
<clever> cole-h: you might be using the read-only ntfs implementation
ericsagnes has quit [Quit: WeeChat 2.7.1]
<infinisil> charego: Maybe ask here or in #nix-darwin first and discourse if nobody replies within one IRC scroll
<cole-h> clever: How would I change to the read-write NTFS implementation?
<clever> cole-h: i think it was `mount -t ntfs3g` maybe?
<clever> cole-h: you may need to add it to boot.supportedFilesystems first
<jtojnar> now I just need to figure out why adding nixpkgs.nixosModules.notDetected to imports causes infinite recursion and I will be able to switch to flakes
<clever> jtojnar: imports cant depend on the pkgs passed into a module
ericsagnes has joined #nixos
<wchresta> I have a derivation (A) that takes quite a long time to build. Now I want to add other derivations (D) that use the binary of it and change some env (using wrapProgram). I don't want the derivations D to recompile whatever A built, so I think using parameters in A is not the right way to go. Is there a helper function that lets me create a wrapper binary? Anything else than just using mkDerivation with some empty source?
<jtojnar> clever: how does one use modules imported from a flake then?
<clever> jtojnar: not sure, usually you just <nixpkgs/nixos/something>
rogue_koder has joined #nixos
<energizer> is it good practice to make my overlays apply to nix-shell etc?
<charego> thanks I'll try #nix-darwin first
<jtojnar> clever: well, that would go through NIX_PATH which is not an option with flakes
<energizer> with these techniques https://nixos.wiki/wiki/Overlays
<clever> wchresta: pkgs.runCommand with makeWrapper should do
<clever> wchresta: makeWrapper takes a thing to run, and a thing to output to, while wrapProgram takes a single param, renames it, then runs makeWrapper on the renamed + original
o1lo01ol1o has quit [Ping timeout: 265 seconds]
<clever> wchresta: so basically, `wrapProgram foo` will rename foo -> .foo-wrapped, then runs `makeWrapper .foo-wrapped foo`
<clever> wchresta: but you could also just `makeWrapper ${a}/bin/foo $out/bin/foo`
<energizer> more precisely: is it bad practice to do that?
matthewcroughan has quit [Quit: Connection closed]
matthewcroughan has joined #nixos
<cole-h> clever: I'm imagining I'll need to reboot for the supported filesystems to take effect?
<wchresta> sweet, thanks clever
<clever> cole-h: nope
<bqv> can i get at $out from passthru?
<clever> bqv: runCommand has its own $out
<bqv> ?
<simpson> Ashy: Hm. Not sure what to try next, sorry.
<clever> bqv: why are you trying to get $out from passthru?
<{^_^}> [nixpkgs] @abathur opened pull request #89063 → findutils: fix undeclared xargs dep on echo → https://git.io/Jfrbr
<bqv> convenience
<clever> bqv: the derivation itself is $out
<clever> > "${hello}"
<{^_^}> "/nix/store/df15mgn0zsm6za1bkrbjd7ax1f75ycgf-hello-2.10"
philr_ has joined #nixos
<bqv> if i do lib.fix (self: { passthru = { something using self }}) it'll infrec, right?
<clever> bqv: only if you use self.passthru
<cole-h> AHHHHH I LOVE YOU <3 clever
<{^_^}> clever's karma got increased to 0b110111111
<bqv> hmm
justanotheruser has quit [Ping timeout: 272 seconds]
<bqv> it works \o/ awesome
<bqv> i was doing ({ out, ... }: instead, i suppose the infrec was due to that implicit expansion
kvda has joined #nixos
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #nixos