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
zeta_0 has joined #nixos
lord| has quit [Quit: https://i.imgur.com/xacQ09F.mp4]
zeta_0 has left #nixos [#nixos]
<xwza91> clever thx for your help will try it after reboot if all works :)
xwza91 has quit [Remote host closed the connection]
<hpfr[m]> I have a list of strings, and a string value. I want to build an attrset that has the string list items as keys, with each key having the string value as its value. i.e. [ "asdf" "jkl" ] and "val" produce { asdf = "val"; jkl = "val" }. is there a good way to do this with builtins and lib?
m0rphism has quit [Quit: WeeChat 2.7.1]
lord| has joined #nixos
<clever> > builtins.listToAttrs (map (key: { name = key; value = "val"; }) [ "a" "b" ])
<{^_^}> { a = "val"; b = "val"; }
<clever> hpfr[m]: ^^
<hpfr[m]> oh, I was looking at lta but didn't think of mapping a simple function like that, thanks
Doraemon has quit [Ping timeout: 260 seconds]
cr4y1 has quit [Ping timeout: 246 seconds]
orivej has quit [Ping timeout: 260 seconds]
orivej_ has joined #nixos
<aveltras> is there any package i could take as an example which would be composed from other packages ? for example, i've successfully built the frontend part and the api part of https://github.com/adtac/commento but i now need to bring it all together into another package to get it on nixpkgs
pamplemousse has quit [Ping timeout: 256 seconds]
proofofkeags has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @mweinelt opened pull request #89136 → mini-graph-card: init at v0.9.3; mini-media-player: init at v1.8.1 → https://git.io/JfoSy
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JfoSd
<euank> aveltras: there's a few examples, for one we can look at mariadb: https://github.com/NixOS/nixpkgs/blob/master/pkgs/servers/sql/mariadb/default.nix
<euank> It effectively has `let mariadb = { client = client; server = server; }; client = mkDerivation .......; in mariadb`
<euank> That's just having multiple derivations in one package and evaliating it to an attribute set of em
<euank> If you want an example of a package that builds other derivations into the final output, the docker derivation builds several things into it (i.e. docker-runc, docker-tini) but only has a single output
<aveltras> euank: my goal is to have a unique output
<{^_^}> [nixpkgs] @marsam merged pull request #89095 → tunnelto: 0.1.5 -> 0.1.6 → https://git.io/Jfo36
<{^_^}> [nixpkgs] @marsam pushed 3 commits to master: https://git.io/JfoSA
orivej_ has quit [Ping timeout: 246 seconds]
orivej has joined #nixos
<aveltras> euank: thanks, seems those lines are a nice example https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/virtualization/docker/default.nix#L135, i should be able to get it working soon
<euank> if you want to keep em in separate files and import them into the final derivation, you can do that too btw
<euank> Something like that should work
<colemickens> hpfr: I'm finding many useful thing in your config that you linked in #fx-desktop-community:mozilla.org
<colemickens> hpfr: including why virt-viewer+usb regressed when I moved to HM
<{^_^}> [nixpkgs] @marsam merged pull request #89088 → pdfcpu: 0.3.2 -> 0.3.3 → https://git.io/Jfoqu
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jfo9v
<{^_^}> [nixpkgs] @marsam merged pull request #88873 → cvs_fast_export: 1.53 -> 1.55 → https://git.io/JfVoY
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jfo9T
Rusty1 has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #88880 → fio: 3.19 -> 3.20 → https://git.io/JfVyZ
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jfo9k
<{^_^}> [nixpkgs] @marsam merged pull request #88875 → debianutils: 4.9.1 -> 4.10 → https://git.io/JfViz
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jfo9t
sigmundv has quit [Ping timeout: 246 seconds]
<adit[m]> hey good evening, I was wondering what the right way to add arbitrary iptables rules was to a nixos system
<adit[m]> do i need to create a custom package, or is there a way to just run them as a script from configuration.nix?
<adit[m]> thank you!
teto has quit [Ping timeout: 260 seconds]
orivej has quit [Ping timeout: 258 seconds]
orivej has joined #nixos
xwz91 has joined #nixos
<xwz91> Hey, I've still issues with getting some unstable package installed - I've added nixos-unstable channel and replaced a module with import and disable it. Now I need to reference unstabl packages ins systemPackages as well as in module.package
<clever> ,unstable xwz91
<xwz91> I tried to import let pkgsUnstable = import <nixos-unstable> {}; without the in part from wiki
<xwz91> is there any way to make this let availible in the whole config not only in the "in part"?
<clever> xwz91: put `let key=value; in` before the { that was on line 10 last time i saw the cfg
<xwz91> need it in environment.systemPackages and services.fprintd.package which are different blocks - can I put it at top level line 4-5 with lib; { ?
<clever> xwz91: yeah
<xwz91> will try this - after with lib; I guess?
<clever> xwz91: either works
<xwz91> seems to work clever thanks for your support :)
<clever> yep
proofofkeags has joined #nixos
<adit[m]> hey also got another question, how would i build a configuration.nix file using nix-build?
<clever> adit[m]: nix-build '<nixpkgs/nixos>' -I nixos-config=configuration.nix
<clever> adit[m]: nix-build '<nixpkgs/nixos>' -I nixos-config=configuration.nix -A system, oops, missed that bit
<hpfr[m]> @colemickens:matrix.org: yeah I spent hours trying to figure that polkit one out, worldofpeace helped me. In retrospect it makes sense because it’s a system level thing but that was super annoying, glad it’s benefiting someone
pamplemousse has joined #nixos
proofofkeags has quit [Ping timeout: 256 seconds]
<adit[m]> clever: will that also work with overlays and stuff for nixpkgs defined within configuration.nix, or will the nixpkgs/nixos imported there override those?
tsrt^ has quit []
<clever> adit[m]: it will still obey the overlays in configuration.nix
tff^ has joined #nixos
<{^_^}> [nixpkgs] @bhipple opened pull request #89137 → colormake: use fetchFromGitHub → https://git.io/Jfo9Q
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/d4226e3a4b5 (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
markus1189 has joined #nixos
<xwz91> clever have pkgsUnstable.fprintd in systemPackages as well as in services.fprintd.package but getting old version - I accidently not checked the output after rebuild switch but now its just as if noting changed if I comment it out - how to debug tihs?
<clever> xwz91: how did you check the version?
<xwz91> clever which fprintd-enroll ~/run/current-system/sw/bin/fprintd-enroll ls -al /run/current-system/sw/binfprintd-enroll
<xwz91> ~lrwxrwxrwx 1 root root 76 Jan 1 1970 /run/current-system/sw/bin/fprintd-enroll -> /nix/store/5dfwy1hfcv6fmwxxhjhfd1506wxdc0kn-fprintd-0.9.0/bin/fprintd-enroll
<clever> xwz91: do you have fprintd in systemPackages multiple times?
markus1199 has quit [Ping timeout: 256 seconds]
<xwz91> clever no I first do the import of "nixos-unstable/nixos/modules/services/security/fprintd.nix" then disable the old one, afterwards requireing in systemPackages and service.fprintd.package the pkgsUnstable.fprintd
<xwz91> At the beginning I do with lib;let pkgsUnstable = import <nixos-unstable> {};in{
<clever> xwz91: can you pastebin the whole configuration.nix file?
<xwz91> yeah mom
m0rphism has joined #nixos
smatting has quit [Ping timeout: 256 seconds]
<xwz91> clever sorry for the delay had to remove some personal informations https://pastebin.com/jkJRJn2K
<clever> xwz91: i would expect that to all work, what does `nixos-rebuild switch` output?
orivej has quit [Quit: No Ping reply in 180 seconds.]
<xwz91> https://pastebin.com/p7XNdXa8 there was something longer before but I never got this again even if I removed the unstable part, rebuild, added it again - remembering about sth "conflict" but wasn't highligted/broke up so I guessed its ok
orivej has joined #nixos
<clever> xwz91: aha, its a bug in the fprintf module
h0m1 has quit [Ping timeout: 246 seconds]
<clever> xwz91: it will use fprintd.package for the udev rules, but pkg.fprintd for the systemPackages
<clever> xwz91: you need to add `nixpkgs.overlays = [ (self: super: { fprintf = pkgsUnstable.fprintd; }) ];
<clever> xwz91: that will mutate pkgs.fprintf as well, and you dont need it in systemPackages at all
LevelChart8 has quit [Quit: LevelChart8]
<xwz91> Okay so just add tis after the systemPackages line? clever
h0m1 has joined #nixos
jluttine has quit [Ping timeout: 260 seconds]
<clever> xwz91: it goes near the nixpkgs.config you already have
<xwz91> ok :)
<xwz91> thx will try
fre has joined #nixos
pamplemousse has quit [Ping timeout: 272 seconds]
LevelChart8 has joined #nixos
<xwz91> clever I'm almost surrender, still the old version the rebuid-switch does the same as in the last pastebin
<xwz91> It feels like I would not have changed anything but I checked double with cat on terminal if file is up2date
<clever> xwz91: can you pastebin the nixpkgs. area of the config file?
<xwz91> yeah
jluttine has joined #nixos
<{^_^}> [nixpkgs] @bhipple opened pull request #89138 → go-bindata: use fetchFromGitHub → https://git.io/JfoHW
<clever> xwz91: that says fprintf, it should be fprintd
proofofkeags has joined #nixos
<clever> xwz91: i had a typo in my example!
<xwz91> You are right, to late for me :/ thx
<xwz91> agan
<xwz91> * again
q3ax[m] has joined #nixos
<xwz91> now something happen as expected will see :)
<xwz91> Now it's up2date - does it make sens to make a issue on github for services.fprintd and that it needs an overwirte?
<xwz91> * overwrite
<clever> yeah, its a bug that its mising cfg.package and pkgs.fprintd
<clever> it ignores .package in several spots
<xwz91> Will open an issue to address it also for others searching for a solution like me - but will be unable to provide pr ... Thank your very much will take some sleep for now ^
xwz91 has quit [Remote host closed the connection]
orivej has quit [Ping timeout: 256 seconds]
rogue_koder has quit [Remote host closed the connection]
rogue_koder has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/af7709afc74 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> [nixpkgs] @marsam merged pull request #88965 → snmp_exporter: 0.17.0 -> 0.18.0 → https://git.io/JfwQl
<{^_^}> [nixpkgs] @marsam pushed 3 commits to master: https://git.io/JfoHF
slack1256 has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @jonringer merged pull request #89003 → python27Packages.py_scrypt: 0.8.13 -> 0.8.15 → https://git.io/JfrIR
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python27Packages.py_scrypt: 0.8.13 -> 0.8.15 »: https://git.io/JfoQv
<{^_^}> [nixpkgs] @jonringer merged pull request #89062 → cmake-language-server: init at 0.1.1 → https://git.io/JfrbT
<{^_^}> [nixpkgs] @jonringer pushed 3 commits to master: https://git.io/JfoQf
raghavsood has joined #nixos
<raghavsood> Anyone running a variety of machines on hetzner? I have a total of six machines, 3 under nixops, and 3 set up manually. Of these, a handful of them just refuse to boot after installation. I've tried BIOS installs, UEFI installs, changing legacy/uefi/both modes in BIOS, installing to HDDs, SSDs, gpt table, msdos table, everything. It always gets
<raghavsood> stuck after boot on a screen that just says "GRUB _" (not a prompt, just the word with an underscore)
<clever> raghavsood: what is boot.loader.grub.devices set to?
<raghavsood> When using uefi, nodev, when using bios, it is set to one or more of the block devices
<raghavsood> The actual installation succeeds
<raghavsood> And the exact same nixops config works on 2 other machinse
<raghavsood> And the exact same nixops config works on 2 other machines
<clever> raghavsood: which block devices did you set it to?
jluttine has quit [Ping timeout: 265 seconds]
<raghavsood> The machine in question has four devices: /dev/sd[a|b], /dev/nvme[0|1]n1. I've tried setting it to just sda, sda and sdb, just nvme0n1, and both the nvme drives
<clever> raghavsood: nvme will rarely be able to boot via BIOS means
<clever> and the /boot cant be on nvme either in that case
<raghavsood> On the working machines, it is set to `[ "/dev/sda" "/dev/sdb" ];`
<clever> raghavsood: can you run this on one of the working machines?
<clever> and pastebin the results
<raghavsood> One of the working machines has just nvme drives, boots fine there - I didn't enable the efi params for boot.* on that machine either, so should be the default options for `boot.loader.grub.enable`.
<raghavsood> Sure, give me a minute
Wharncliffe has quit [Quit: Lost terminal]
cybrian has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @ryantm merged pull request #89091 → qbec: 0.11.0 -> 0.11.2 → https://git.io/JfoYn
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JfoQm
<raghavsood> clever: https://pastebin.com/zXrcdwCL This one is from the working machine with HDDs, grabbing another one from the one with only NVMEs
waleee-cl has quit [Quit: Connection closed for inactivity]
jluttine has joined #nixos
<raghavsood> https://pastebin.com/dc6HPUbz The one from the working NVME only machine, considerably shorter
<clever> raghavsood: sda is configured to find an fs with a given uuid (or default to sda1) and then read /grub from that, sdb is configured to just blindly read sda sector 1, which does the previous
<clever> raghavsood: so sdb isnt giving you very much redundancy
<raghavsood> Yeah, I just realized that too, hmm
<clever> about all it does, is make the boot order in the bios not matter
<clever> as for the nvme machine, you have 2 nvme devices, each with an ext4 boot and a zfs vdev, and the bootinfo script doesnt think legacy would work, so its not looking for it
spacefrogg has quit [Quit: Gone.]
aw has quit [Quit: Quitting.]
<clever> raghavsood: what does the script report, after you install nixos onto one of the failing machines?
aw has joined #nixos
spacefrogg has joined #nixos
<raghavsood> The nixops install is successful, as far as nixops knows - it reports that grub was installed on one or more block devices (depending on which config I used), then reboots the machine. The machine never comes up, when I go in via KVM I can see it's just stuck on a screen saying "GRUB _"
<clever> raghavsood: are you able to boot it into a rescue console?
<raghavsood> I can boot into a live debian image, but not the grub rescue (although I might be able to get into it via the debian rescue)
nwspk has quit [Quit: nwspk]
<clever> raghavsood: try running the bootinfo script, from the debian liveimage
nwspk has joined #nixos
felixfoertsch23 has joined #nixos
felixfoertsch has quit [Ping timeout: 260 seconds]
felixfoertsch23 is now known as felixfoertsch
iqubic has joined #nixos
<raghavsood> clever: Broken machine: https://pastebin.com/4nRABZkE
<raghavsood> Looks like my grub install is missing some information
slack1256 has joined #nixos
<iqubic> Is there a way that I can tell NixOS to append some configuration stuff to /etc/pulse/default.pa ?
<clever> raghavsood: yeah, somethings wrong there, is sda GPT or MBR?
<edef> iqubic: yes, hardware.pulseaudio.extraConfig
<raghavsood> sda and sdb were GPT (they're 8 TB, don't fit in msdos), but the most recent config dropped the partition tables there entirely and gave the full device to ZFS. Boot device in the current config is nvme0n1p1
<clever> raghavsood: you may need to zero the MBR of sda/sdb, to remove grub from it
<clever> raghavsood: so the nvme grub takes over
<raghavsood> Hmmmm. I thought I did that, let me do it again
<iqubic> Thank you clever
vanillaicecream has joined #nixos
<raghavsood> I'll just zero out all four disks and reinstall the current config
<clever> raghavsood: a faster way to do that is the blkdiscard cmd
<vanillaicecream> Hello! Could someone help me out: I'm running texlive on MacOs via nix-shell, and am not ending up with pdflatex or anything similar in the path.
<clever> raghavsood: that basically tells the disk controller to assume all blocks are wiped
<vanillaicecream> I use nix-shell with:
<raghavsood> Is it materially any different from `dd if=/dev/zero of=blockdev`?
<clever> raghavsood: for an SSD, blkdiscard will also give a boost to write performance, until youve written the whole disk once
<iqubic> So, I should just modify pulseaudio.cfg.extraConfig?
<clever> iqubic: yeah
<vanillaicecream> ```with import <nixpkgs> {};mkShell { inputs = [ (texlive.combine { inherit (texlive) scheme-basic IEEEtran; }) ];}```
<clever> iqubic: hardware.pulseaudio.extraConfig
mzan has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<{^_^}> Channel nixos-20.03 advanced to https://github.com/NixOS/nixpkgs/commit/71c059d12a8 (from 13 hours ago, history: https://channels.nix.gsc.io/nixos-20.03)
<iqubic> Ah. I see. Thanks.
<raghavsood> Turns out blkdiscard doesn't work on [my] HDDs anyways, operation not supported
<raghavsood> I'll just dd it
<{^_^}> [nixpkgs] @KyleOndy opened pull request #89140 → Add conjure vim plugin → https://git.io/Jfo7e
mthst has quit [Remote host closed the connection]
aveltras has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixos-homepage] @github-actions[bot] pushed commit from @edolstra to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/Jfo7s
<ehmry> bqv: ty
slack1256 has quit [Remote host closed the connection]
meh` has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @zowoq opened pull request #89141 → oniguruma: switch to autotools → https://git.io/Jfo76
<ldlework> I really wish I could get nix repl to just print the result of an expression in a file
<raghavsood> clever: nuking the partition tables for all disks and reinstalling onto the nvme drives worked, thanks!
<ldlework> :(
<clever> raghavsood: sounds like you could have also fixed it by somehow telling the bios to just boot from the nvme
<ldlework> is there anyway to just print the evaluated expression in a file?
gustavderdrache has quit [Quit: Leaving.]
<energizer> nix repl has a :p command
<energizer> and the debug trace functions
<energizer> ldlework: ^
<ldlework> ah :p might do the trick
<ldlework> energizer: thanks
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/d4226e3a4b5 (from 8 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<ldlework> energizer: doh, it doesn't re-evaluate or reimport or something
<energizer> yeah i think there's another command for taht
<raghavsood> clever: I tried that a number of times (using the boot menu to manually pick the disks), but I suspect that might be a hetzner limitation - when you boot, it always goes through PXE boot in case the rescue system was activated, and the PXE handoff to local drives doesn't seem to fully respect an individual boot device selection
<ldlework> energizer: :r?
<ldlework> no way to combine them
cybrian has joined #nixos
<ldlework> gotta hit C-p C-p enter C-p C-p enter each time lol damn it
davidak_ has quit [Remote host closed the connection]
tff^ has quit []
<ldlework> nix repl needs a command seperator!
<kalbasit> scratching my head trying to figure out why this overlay does not work. Any pointers? https://gist.github.com/kalbasit/f0edb9a34cab2dfef66755ca5838d778
<kalbasit> I'm trying to add a custom attribute to mkOption
<ldlework> kalbasit: wouldn't you have to do something like overrideAttrs?
<ldlework> i'm not sure you can actually overlay over lib, but i dunno
<{^_^}> [nixpkgs] @wchresta opened pull request #89142 → legendary-gl: init at 0.0.14 → https://git.io/Jfo5J
<kalbasit> ldlework: I thought that's mostly for derivations not simple lib functions
<kalbasit> am I wrong?
<ldlework> kalbasit: i have no idea
<kalbasit> clever: do you know what's going on here? ^^
o1lo01ol1o has joined #nixos
<clever> kalbasit: that overlay replaced ALL of pkgs.lib, with just { mkOption = ...; }
<kalbasit> oh!
<clever> kalbasit: lib.mkOption = is identical to lib = { mkOption = ...; };
<clever> which replaces the entire lib
<kalbasit> so I should be doing lib.extend then?
<notgne2> bit of a weird question, but through some unknown means my NixOS install supports emojis, but in half the places they show up, they are huge, is there some fontconfig option I can enable to fix this?
<clever> kalbasit: you would need to do `lib = super.lib // { mkOption = ..; };`
<ldlework> Is there anyway to use nix repl as a shebang?
<ldlework> neato
o1lo01ol1o has quit [Ping timeout: 246 seconds]
<ldlework> energizer: echo ":p import ./default.nix" | nix repl
<ldlework> :P
<{^_^}> [nixpkgs] @marsam merged pull request #84145 → qmapshack: add gdal/routino tools to PATH → https://git.io/JvFoF
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jfo5n
m0rphism has quit [Ping timeout: 258 seconds]
growpotkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
<{^_^}> [nixpkgs] @jonringer merged pull request #89140 → Add conjure vim plugin → https://git.io/Jfo7e
<{^_^}> [nixpkgs] @jonringer pushed 3 commits to master: https://git.io/Jfo5u
KindOne has quit [Ping timeout: 272 seconds]
aveltras has joined #nixos
KindOne has joined #nixos
Supersonic112 has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 is now known as Supersonic
Maxdamantus has quit [Ping timeout: 265 seconds]
LevelChart8 has quit [Quit: LevelChart8]
<aveltras> could anyone review https://github.com/aveltras/commento-nix ? first time im packaging something, i'd like to know what i could improve here, especially regarding building the package in default.nix
proofofkeags has quit [Remote host closed the connection]
proofofkeags has joined #nixos
<ldlework> Too bad nix repl doesn't give a traceback
growpotkin has joined #nixos
<clever> ldlework: `nix repl --show-trace` and it will
<ldlework> ah didn't show it in --help
lsyoyom has quit [Quit: WeeChat 2.8]
proofofkeags has quit [Ping timeout: 240 seconds]
growpotkin has quit [Ping timeout: 246 seconds]
KindTwo has joined #nixos
Maxdamantus has joined #nixos
<{^_^}> [nixpkgs] @eadwu opened pull request #89143 → swtpm: init at 0.3.1 → https://git.io/Jfods
<{^_^}> [nixpkgs] @eadwu opened pull request #89144 → libvirt: 6.2.0 -> 6.3.0 → https://git.io/JfodZ
KindOne has quit [Ping timeout: 272 seconds]
pat_h has joined #nixos
KindTwo is now known as KindOne
acowley has quit [Ping timeout: 256 seconds]
acowley has joined #nixos
<{^_^}> [nixpkgs] @cript0nauta opened pull request #89145 → mpv: don't use generated luasocket → https://git.io/JfodE
Maxdamantus has quit [Ping timeout: 246 seconds]
<elvishjerricco> What is `nix-command`?
<elvishjerricco> I know it's an experimental feature but I have no idea what it is
<drakonis> it enables the nix 2.0 cli
<elvishjerricco> drakonis: Oh, but that's available by default, right?
<drakonis> it got disabled as it is experimental
<drakonis> and subject to change
<drakonis> its not available by default anymore once you're using the flakes branch
pat_h has quit [Quit: Connection closed]
<drakonis> the reasoning that it got disabled is really due to it being still in flux
<elvishjerricco> :/ I use that command alllll the time
<drakonis> and flakes are only available with nix cli 2.0 so you need both of them
<ldlework> > (val: pkgs.lib.fix (self: { foo = val; bar = self.foo; })) 42
<{^_^}> { bar = <CODE>; foo = 42; }
<ldlework> :)
<ldlework> > :?
<{^_^}> error: syntax error, unexpected ':', at (string):313:1
<drakonis> so do i
<ldlework> in nix repl bar = 42
<drakonis> but then, i already have flakes enabled
<ldlework> drakonis: study that snippet
<ldlework> try to understand it :)
<elvishjerricco> ldlework: fix is awesome.
<ldlework> yeah
<elvishjerricco> Kinda wish `rec {}` didn't exist since `fix` is so much more sane. The scoping rules for `rec` are super weird
<drakonis> i already know what that snippet means
<ldlework> i dunno
<ldlework> fix is kind of uncomfortable
<ldlework> it can only take a unary function
<drakonis> i have no idea why i said so do i
<ldlework> and so if you want more in scope, it has to be expressed as functions returning a fixed function
<ldlework> drakonis: ?
<ldlework> oh
<drakonis> gonna get some shuteye before beginning my journey through styx
rail_ has quit [Quit: gone...]
<drakonis> i'll read up on fix properly later
rail_ has joined #nixos
<drakonis> i unfortunately don't know what the function does but i can at least reasonably read nix code
<drakonis> aight, peace y'all
drakonis has quit [Quit: WeeChat 2.8]
Maxdamantus has joined #nixos
agschaid has joined #nixos
endformationage has quit [Quit: WeeChat 2.6]
<{^_^}> [nixpkgs] @marsam opened pull request #89146 → libfyaml: init at 0.5.7 → https://git.io/JfodM
alexherbo2 has joined #nixos
Rusty1 has quit [Quit: WeeChat 2.3]
iyra has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @marsam merged pull request #88041 → imagemagick: 6.9.10-71 -> 6.9.11-14, 7.0.9-0 -> 7.0.10-14 → https://git.io/JfEGM
<{^_^}> [nixpkgs] @marsam pushed 3 commits to master: https://git.io/JfodH
<{^_^}> [rfcs] @Ericson2314 opened pull request #68 → Minimal daemon → https://git.io/JfodN
codygman has quit [Ping timeout: 260 seconds]
maxdevjs has quit [Ping timeout: 246 seconds]
codygman has joined #nixos
Brandon__ has quit [Ping timeout: 272 seconds]
is_null has quit [Ping timeout: 260 seconds]
palo1 has joined #nixos
bbarker has joined #nixos
palo has quit [Ping timeout: 256 seconds]
palo1 is now known as palo
<agschaid> hi. I am trying to get a binary (to be specific: an embedded postgres in a java/maven build) to run with `steam-run`. It however complains about not being able to find `libpam.so.0`. I all ready tried to install some "suspects" (`openpam`, `pam_pgsql`, `libcap_pam`, `linux-pam` and `google-authenticator`) as `systemPackages` with no effect. So . .
<agschaid> . I am not sure whether I tried the right package or whether that is the wrong approach completely. Could/should I provide the packages as `extraPkgs` as you do with `steam`? Or do I provide it to steam and than that gets passed to `steam-run`? Could anybody here point me in the right direction?
<{^_^}> [nixpkgs] @dywedir merged pull request #89103 → tiled: 1.3.4 -> 1.3.5 → https://git.io/JfoG9
<{^_^}> [nixpkgs] @dywedir pushed 2 commits to master: https://git.io/JfoFB
<srhb> agschaid: I think you'd want to override the steam env to contain the library, yes.
bbarker has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @jbaum98 opened pull request #89147 → python27Packages.tenacity: 6.0.0 -> 6.2.0 → https://git.io/JfoFg
<agschaid> srhb Thank you. Just to be clear: you are talking about something like `(steam.override { extraPkgs = pkgs: [whatEverPackage]}).run`? I just wasn't sure about that since I installed `steam-run` as a separate systemPackage
<srhb> agschaid: Yes, something like that. steam-run should depend on steam, so if you install it after adding an overlay to steam like that, it'll be changed as well
<srhb> agschaid: But you can verify that by looking at steam-run's runtime dependencies afterwards.
<agschaid> ok thank you. I wasn't aware that systemPackages could be interdepended so of course that solution was a bit counter-intuitive to me . . .
<srhb> agschaid: That said, I think it already has libpam.so in there, so you might be out of luck with this method. Maybe t should be in extraLibraries instead.
<srhb> agschaid: Generally with overlays, you're changing all of pkgs in one swoop, so a changed dependency propagates all the way.
<srhb> agschaid: If you're just adding (steam.override ...) directly in systemPackages, it will indeed not propagate
<srhb> So if that's what you intuited, you're correct. :)
<agschaid> ok. One step at a time ;) Concerning whether libpam is already in there: I ran `steam-run bash` and then checked `/bin/` for libpam. It isn't there. So that should be that, right?
bbarker has joined #nixos
<srhb> agschaid: What I did was: nix-store -qR $(which steam-run) | grep pam
<srhb> agschaid: I concluded that linux-pam is indeed in the closure from that.
<srhb> agschaid: But that doesn't necessarily mean that it's available in LD_PATH or whatever is necessary for your build to succeed, I guess
<srhb> That may be what extraLibraries is for (compared to extraPkgs)
<{^_^}> [nixpkgs] @zowoq opened pull request #89148 → [20.03] gitAndTools.gh: 0.8.0 -> 0.9.0 → https://git.io/Jfobs
<agschaid> ah ok. I see that linux-pam-1.3.1 is in there
<srhb> But extraLibraries also doesn't seem to do the trick. Hrmm.
<{^_^}> [nixpkgs] @zowoq opened pull request #89149 → [20.03] ffmpeg{_4,-full}, ffmpeg_2_8 → https://git.io/JfobZ
<agschaid> @srhb there are some executables (`pam_tally`,`pam_timestamp_check`,...) that appear to be provided by linux-pam. But it looks like the library isn't in there
<srhb> ls -l $(nix-build '<nixpkgs>' -A linux-pam --no-out-link)/lib/libpam.so -- seems to be there
eoli3n_ has joined #nixos
<agschaid> @srhb
<agschaid> ups
<{^_^}> [nixpkgs] @chip4 closed pull request #86371 → nodePackages.snowpack: init at 2.0.3 → https://git.io/JfYQs
<srhb> I'm an idiot, I was testing with a steam overlay I had disabled. One moment. :)
<agschaid> srhb; in my `steam-run bash` environment there is also `/run/current-system/sw/lib/libpam.so.0` present. So the problem is probably not to install it but to symlink it somewhere where my postgres can find it
<srhb> agschaid: That's from your systemPackages (where you should probably not have it)
user_0x58 has quit [Quit: Leaving]
<srhb> agschaid: Adding it to extraPkgs puts it in /lib in the fhs env just fine
agsdheidjd has joined #nixos
<iqubic> Should I have my main user in the audio group or not?
<srhb> (confirmed with steam-run ls /lib/libpam.so)
oida has quit [Remote host closed the connection]
oida has joined #nixos
<agschaid> @srhb wow! thank you. Also thank for pointing out "override vs overlay". I am still rather new to nix(os) and it might have taken me time to figure that distinction out
<srhb> iqubic: I suppose that depends on your setup. If you're getting sound through something that needs direct read/write to /dev/snd/* and friends, you need to be in audio.
<srhb> agschaid: No problem at all. Sorry about the confusion there. :)
<iqubic> I see. Well, I've had my user in audio for the past few years. No need to change it now.
<srhb> agschaid: The terminology is a bit overloaded, but yeah, overlays are generally the go-to method for nixpkgs-wide changes (with propagating deps)
<agschaid> the confusion was just on your side. You made things much clearer for ME ;)
<srhb> Ah, good :)
<iqubic> Why is Pulse Audio such a beast to understand?
<srhb> iqubic: I think it's just a pretty powerful system.
<iqubic> I'm currently trying to figure out the difference between a loopback and a null-sink.
<iqubic> Specifically this line from the PulseAudio documention: "Provides a simple null sink. All data written to this sink is silently dropped. This sink is clocked using the system time. All sinks have a corresponding "monitor" source which makes the null sink a practical way to plumb output to input."
<iqubic> How can you use it for plumbing audio if it's a null-sink?
alp has joined #nixos
<iqubic> Anyways, this is offtopic, I think.
<{^_^}> [nixpkgs] @mjlbach opened pull request #89150 → Enable python-language-server on darwin → https://git.io/JfoNc
<srk> monitors allows you to sniff on the audio, so probably even null-sink :)
<iqubic> Weird. That's so bizarre.
<srk> I like jack model with patchbay a little more intuitive for complex stuff
<srk> maybe pipewire has something similar
<iqubic> I might switch to JACK. How hard is it to switch?
<srk> not hard, you still want to run it with pulse I think
<iqubic> Interesting.
<iqubic> Does JACK support bluetooth audio?
<srk> so apps can just use pulse, and you can route pulse input/output via jack
<srk> not sure
<iqubic> Well, supporting bluetooth audio is requirement for my system.
<srk> also startup is (was) a bit tricky for me, as you need to start jack first and pulseaudio just connects to it
<srk> it might not be worth it if you don't need realtime audio or jack for specific audio apps
<iqubic> I don't need either of those.
<iqubic> I just want to do some complex audio wiring.
<srk> yeah, try jack for that, it's fun :)
<srk> would be nice if it could do more soundcards out-of-box tho
<srk> (more than one)
<iqubic> Will jack work for my soundcard?
<srk> most probably
<srk> I think it's just alsa in the end like with pulse
<{^_^}> [nixpkgs] @vcunat pushed 2 commits to master: https://git.io/JfoN5
<{^_^}> [nixpkgs] @vcunat merged pull request #89141 → oniguruma: switch to autotools → https://git.io/Jfo76
<srk> hmm, not quite
<iqubic> So, should I, or shouldn't I use jack?
<cole-h> You might need to adjust your period to reduce xruns
<iqubic> Or should I use this pipewire thing you told me about?
* srk haven't tried pipewire yet
<srk> I was running jack for a long time with musnix and patched rt kernel
<srk> and pulse on top of it
<srk> #-chat ? :)
<iqubic> Sure.
<cole-h> srk: Do you have your jack config posted anywhere?
<quinn> jack + pulse is pretty annoying imo. and you can do decent audio routing with pulse and pulseEffects. personally i like to do pure pulse or pure jack depending on whether i'm doing music stuff or not.
vanillaicecream has quit [Remote host closed the connection]
<quinn> i'm also on wayland which seems to mess with a lot of the dbus glue that normally would hold pulse and jack together
<cole-h> It definitely is annoying lol.
<cole-h> Especially without an RT kernel... Xruns out the wazoo
<quinn> alaso the default jack buffer settings are super high by default, if you get hella xruns on default you will not be able to do software monitoring with jack on that computer probably
<quinn> i think 1/4th of a second or something? which is absolutely painful for live monitoring. obviously fine for mixing though
<cole-h> I just want jack because it lowers the volume a crap ton :P
<cole-h> Otherwise, I'm at like 15% with pulse
<cole-h> Whereas with jack I can comfortably be between 50 and 75%
<quinn> try pulseeffects! you can add a bunch of effects including parametric eq and even lower volume
<cole-h> Is there a module for it, or is it just a package?
<quinn> it's just a package. you can start it with X though too and have it automagically load a preset.
* cole-h uses Wayland.
<cole-h> Alright, I'll check it, thanks :)
<quinn> ohhhh. well it actually was kind of buggy on wayland last time i tried :(
* quinn uses wayland too
<quinn> i also can't get too excited about it cause if i need accurate monitoring i'm in pure jack anyways so it don't matter
<cole-h> Buggy in what way?
<srk> quinn: is that ladsp based as well?
<adisbladis> srk: Iirc yes
<quinn> i actually don't think so
gxt has quit [Quit: WeeChat 2.8]
<quinn> cole-h: it was breaking pulse on restart after using jack? i think pulse gets killed or slept or something when i start jack with qjackctl, and it messed up pulse when i stopped jack and restarted pulse
<{^_^}> [nixpkgs] @vbgl pushed to master « ocamlPackages.core_kernel: remove at 112.24.00 »: https://git.io/JfoAL
<{^_^}> [nixpkgs] @vbgl merged pull request #89086 → ocamlPackages.core_kernel: remove at 112.24.00 → https://git.io/JfoL7
<quinn> (then again if you just use pulse cause your volume issue gets taken care i guess it doesnt matter)
<adisbladis> I was using another eq for a while, some cli one that was much better
<adisbladis> But I never bothered to put it in nixpkgs
<quinn> adisbladis: sir! could i trouble you for a link?
<adisbladis> quinn: I'm trying to find it again
<cole-h> My main problem with jack is that it's tbh a huge pain to get working. I needed to change the default.pa for my user (system-wide would break it) to autoload the jack module (and other stuff that cadence had in the file)
<quinn> adisbladis: i could really use this. i gotta stop being lazy and get actual EQ on these sennheisers or i will be stuck in treble prison until the end of my days
lzmartinico has quit [Ping timeout: 256 seconds]
<iqubic> Is switching to jack even worth it?
<quinn> cole-h: honestly i would just recommend going pure jack. if you don't bother with making the two dance together it takes like 5 minutes to set up
lzmartinico has joined #nixos
<cole-h> How would I go about doing that?
<cole-h> Just disable pulse and enable jackd?
<adisbladis> Gah, I can't find it for the life of me...
<quinn> iqubic: if you want to make music, yeah. you can only get so far with VSTs and with jack i can just start standalone programs and pipe them correctly without the DAW
<adisbladis> quinn: Which senns do you have? :)
gxt has joined #nixos
<quinn> adisbladis: just HD 599s. i was going to call them peasant sennheisers but 200 is still a dumb amount for headphones for a sane person
j-k has joined #nixos
<adisbladis> This guy ^
<srk> quinn: how's app support when you run jack only?
<adisbladis> quinn: _Only_ 200? ;)
<iqubic> I would just go pure jack, but I don't think pure jack will let me use a bluetooth device as an output.
<quinn> srk: nonexistent. even stuff that 'has support' is broken. cole-h: i just press start in qjackctl and it turns off pulse
<quinn> iqubic: blueZ is better supported (and maybe only supported?) through pulse.
<iqubic> I'm just using bluetoothctl to handle it.
<adisbladis> Pulseaudio's default BT support is really abysmal
<iqubic> I wish there was a program like qjackctl for pulseaudio.
<quinn> adisbladis: :') i mean i'm 20, i make minimum wage haha. (guess i'm wrong about the BT. i still imagine live swapping bluetooth won't play well with the way jack reserves outputs) anyways it's a lot if you don't listen or make a bunch of music
<quinn> iqubic: pavucontrol is great. and paprefs
<adisbladis> quinn: Btw, I don't know if you missed it https://github.com/bmc0/dsp
<iqubic> Really? I'm not sure paprefs works the best on my computer.
<agschaid> @srhb just to bring that to a closure: thx. Worked perfectly fine with the overlay (after some confusion about how to actually define an overlay ;) )
<adisbladis> This is the EQ I was using for a while
<srhb> agschaid: Great! Good job :-)
<quinn> adisbladis: i didn't, but i did forget to thank you. do you use with just pulse or also JACK?
<adisbladis> I'm not using jack
<quinn> iqubic: i've only used it once or twice. pavucontrol has worked well for me for a lot of time though
<adisbladis> I don't do audio production, and frankly as a user I prefer the less-frills of PA
<quinn> adisbladis: oh i see. have you used the AutoEq database?
<DigitalKiwi> quinn: a job? in this economy?
<agschaid> @srhb just out of interest. I guess I could have also overriden the steam dependency of steam-run and in that override override the extraPkgs of steam . . . . know what I am sayin'? :D
magnetophon has quit [Read error: Connection reset by peer]
<quinn> adisbladis: yeh if you don't do complicated routing or low latency stuff it's not a big deal. DigitalKiwi: a TA, now a student researcher. so the school gives me a fraction of my parents money back every semester and calls it a job. it's more like a rebate :^)
<iqubic> yeah, but pavucontrol doesn't let me do the fancy stuff jack does.
<srhb> agschaid: Yes, though steam-run is not set up to be easy to override. But absolutely, you could have it "detached" from pkgs :)
<quinn> iqubic: it's like ronnie coleman says: everybody wanna be a bodybuilder, nobody want to lift some heavy a** weights. if you want those features you're gonna have to implement a jack client for firefox or stop using it
<{^_^}> Channel nixos-20.03 advanced to https://github.com/NixOS/nixpkgs/commit/e985ffea2d6 (from 15 hours ago, history: https://channels.nix.gsc.io/nixos-20.03)
<quinn> and i mean for whatever its worth i use jack and i don't feel the need to have those routing features when i'm just web browsing honestly
<DigitalKiwi> https://github.com/NixOS/nixpkgs/pull/88882 anyone want to have a looksee at this? thanks (still need to test on aarch64 finally got a raspberry pi working...and i have a macos kvm but haven't gotten to putting nix on it yet...)
<{^_^}> #88882 (by Kiwi, 3 days ago, open): mlv-app: init at 1.11
<agschaid> @srhb thank you. everyday something new . . .
<iqubic> Does firefox have a jack client?
<srhb> agschaid: Brave new world :-)
switchy has quit [Quit: Bye!]
<quinn> iqubic: there is a patch, but i only saw some mailing list mention of it so i assume it's not working *great* yet
<quinn> maybe patch is in upstream? i don't remember. either way i wouldn't count on it
<{^_^}> [nixpkgs] @vbgl opened pull request #89151 → ocamlPackages.custom_printf: remove at 112.24.00 → https://git.io/JfoAn
switchy has joined #nixos
<agschaid> @srhb and just to put that into context: you saved my workday. So have a nice day. You deserve it. Bye.
<srhb> o/
agschaid has quit [Remote host closed the connection]
drainful has quit [Quit: ZNC 1.7.5 - https://znc.in]
lovesegfault has quit [Quit: WeeChat 2.8]
drainful has joined #nixos
<srk> saving a workday with steam? :)
<srhb> java -> native deps
<srhb> Or rather, maven -> native deps
<srhb> In other words pain and horror, I gues.
<DigitalKiwi> aanderse would be proud
<srhb> We've all been there, that point where you tableflip and reach for FHSEnv :P
<quinn> srhb: gaming - it's a tough job but somebody's gotta do it
<quinn> srk*
<srhb> Dammit. :P
<srk> ;))
<craftyguy> how can I find out what 'requires' or pulled in some package to my system? e.g. 'alacritty' is installed for some reason by something, and I would rather not have it installed
<quinn> DigitalKiwi: i have a weak little aarch64 VM i will try to run that on but it might take forever. if it works before i hit the hay i will let you know
<DigitalKiwi> quinn: if you have access to the community aarch64 server...it might be in the cache
<DigitalKiwi> it doesn't take long to compile though i think
<iqubic> Why is there no good patchbay for pulseaudio?
lovesegfault has joined #nixos
<wrl> aiui pulseaudio isn't really about routing audio around
<quinn> DigitalKiwi: oh you want it tested rather than compiled? i don't have GFX set up on my VM and i probably don't have time tonight, sorry bud
<DigitalKiwi> oh yeah i know it compiles. i haven't ran it yet though on aarch64
<iqubic> Well, I want to route my audio around, and have bluetooth audio too.
<DigitalKiwi> was having technical difficulties with my pi but now it works but i have to find the mouse and i'm lazy
<quinn> iqubic: as i've said you can do basic routing with pavucontrol, even through ladspa plugins with pulseeffects
<makefu> 2
<iqubic> quinn: Basic routing isn't good enough for me.
<quinn> what kind of routing do you need?
domogled has quit [Quit: domogled]
<adisbladis> quinn: http://ix.io/2nH3/nix
leungbk has joined #nixos
aveltras has quit [Quit: Connection closed for inactivity]
<quinn> adisbladis: oh very nice. in honor of this i will try to get autoeq working for jack too
<quinn> thank you very much!
<adisbladis> But as it turns out I prefer my sound sig completely as it is on both of my primary headphones
<iqubic> I'm doing some recording with Audacity. I want to be able to record both my voice from my microphone, and some audio from Firefox too. Except that I also what to send the audio from Firefox to my headphones too.
<adisbladis> But I really liked this one, also because it's not a gui so it's possible to declaratively define your own preset
<{^_^}> [nixpkgs] @Profpatsch merged pull request #87726 → Bazel 3 → https://git.io/Jf4mJ
<{^_^}> [nixpkgs] @Profpatsch pushed 2 commits to master: https://git.io/JfoA1
KeiraT has quit [Ping timeout: 240 seconds]
<energizer> how do i copy from ix.io without the line numbers?
magnetophon has joined #nixos
<quinn> iqubic: yeah, that's interesting. guess you can't do that with pulse without extra hacks. if you're trying to record audio over a youtube video you should just youtube-dl it i guess
<iqubic> How would that help me?
<quinn> energizer: you can take off the /nix from the URL
<quinn> iqubic: cause you can put the downloaded track in a DAW and play it back in a daw
<iqubic> I see.
<energizer> quinn: thanks
<iqubic> But I'd like the ability to be able to set up my own networks much like it looks like I could do with qjackctl
<quinn> yeah, so download the track and use a daw that works with jack (which is all of them that run on linux as far as i know)
<srk> Ardour!
<quinn> pipewire also has a "session manager"/connection graph (which is probably what you mean by patch bay, that's actually something different
<iqubic> My main issue here is that I want to use jack, but I also want to have buetoothctl.
<iqubic> quinn: How does pipewire work?
maddo has joined #nixos
<quinn> bluetoothctl will probably work fine with jack but you can't live swap your output in jack. it grabs one input device and one output device and if bluetoothctl works how i think it works it makes different ones available depending on connection status
<iqubic> Running pipewire in a terminal doesn't seem to do anything.
<quinn> i don't know how pipewire works just that it recently got a session manager, you will have to DIY it.
hmpffff has joined #nixos
<iqubic> Grr..
KeiraT has joined #nixos
NeoCron has joined #nixos
leungbk has quit [Remote host closed the connection]
<quinn> adisbladis: so have you ever tried presets from the autoeq database? and what headphones do you have?
<{^_^}> [nixos-homepage] @github-actions[bot] pushed commit from @edolstra to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/JfoAF
<{^_^}> [nixpkgs] @alapshin opened pull request #89153 → androidStudioPackages.stable: 3.6.3.0 -> 4.0.0.16 → https://git.io/JfoAN
noudle has joined #nixos
o1lo01ol1o has joined #nixos
emilien has joined #nixos
<{^_^}> [nixpkgs] @stigok closed pull request #83540 → unbound: don't implicitly enable local resolver in resolvconf → https://git.io/JvHAk
<emilien> Hello folks, I'm discovering NixOS and will have a few newbie questions. Hope I'm in the right place for that?
<quinn> yes
<iqubic> Yeah
<iqubic> ,,ask
<{^_^}> iqubic: Did you mean ask?
<{^_^}> Just ask your question. It's the best way to know if anybody can help. Or look at other ways of getting in touch with the Nix community here: https://nixos.wiki/wiki/Get_In_Touch
<quinn> (along with the wiki and manual)
o1lo01ol1o has quit [Ping timeout: 260 seconds]
<emilien> First one is: in a NixOps derivation, how can I set parameters for an import? `imports = [ ./log-server.nix ];`
<emilien> Given that in log-server.nix, I have that: `{ elasticSearchJavaOptions ? [ "-Xms8g" "-Xmx8g" ], config, pkgs, lib, ... }:`
<emilien> So I'd like to be able to change `elasticSearchJavaOptions` when importing it
<adisbladis> emilien: `imports` is not NixOps specific, and it expects a NixOS module
<adisbladis> quinn: Yeah, I did.
<adisbladis> I have the HD800S as my main daily drivers. I also use the HD600 at times.
<LnL> modules are global so every module can access or override options from another
<adisbladis> My in ears are Sony XJE-MH2
<adisbladis> emilien: What LnL said :)
<DigitalKiwi> only 1700 on amazon
<quinn> DigitalKiwi: what a bargain!
<adisbladis> I paid far less than that ;)
lsix has joined #nixos
<emilien> Ok, I don't know how to access/override options nixos module then :-)
<LnL> emilien: while it's possible do add arguments like pkgs/lib, it's generally not really done
<quinn> adisbladis: how much did you pay? and why do you use the hd600s ever?
lord| has quit [Ping timeout: 272 seconds]
<adisbladis> emilien: You can just set services.elasticsearch.extraJavaOptions anywhere
<emilien> aha!
<quinn> also bless autoeq for using harman, flat eq makes me very cranky
<LnL> emilien: alternatively you can also define your own more generic option and set that
alp has quit [Ping timeout: 272 seconds]
<adisbladis> emilien: And then in ./log-server.nix you'll probably want to set services.elasticsearch.extraJavaOptions with a different priority
<adisbladis> Because presumably you have a line like `services.elasticsearch.extraJavaOptions` and you don't want the default merge semantics
<emilien> How do you deal with priorities?
<adisbladis> So I _think_ you want `services.elasticsearch.extraJavaOptions = lib.mkDefault [ "-Xms8g" "-Xmx8g" ];`
<adisbladis> Then setting `services.elasticsearch.extraJavaOptions` in any other file will override the list completely
<LnL> emilien: probably contains a typo but should give you the basic idea https://gist.github.com/LnL7/50b916fdf1bc25e0f24be43cc48b6a4f
<adisbladis> quinn: About 1.1K USD
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<emilien> Ok great! Thanks LnL and @adisb
<emilien> Ok great! Thanks LnL and adisbladis
<emilien> Ha, sorry for the dub. So yes, both options are clear, and I think first one (just overriding the setting) is what I need. Good!
<LnL> for merge/ordering behaviour there are a bunch of functions, eg. mkBefore, mkForce, ...
<DigitalKiwi> that's a lot of teaching quinn might be easier to ask your parents directly
<quinn> DigitalKiwi: what?
<DigitalKiwi> for the headphones
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/4b0e7b1201c (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<quinn> oh true! at that price range i think i'd use speakers anyways, i think they're supposedly a lot better on the low end
<DigitalKiwi> parents -> college -> you vs parents -> you. much more efficient
<adisbladis> :/
cr4y1 has joined #nixos
<quinn> adisbladis: do you disagree?
* DigitalKiwi is building a subwoofer
<adisbladis> quinn: I'm definitely more of a headphone person =)
<LnL> emilien: there's some stuff described here, but doesn't look very in depth https://nixos.org/nixos/manual/#sec-option-definitions
alp has joined #nixos
<quinn> adisbladis: why is that? DigitalKiwi: also, why?
<DigitalKiwi> for one of my friends who records music
<DigitalKiwi> they had a speaker and an amp they bought a long time ago so i built a box
magnetophon has quit [Read error: Connection reset by peer]
<DigitalKiwi> this is totally on topic right
<adisbladis> quinn: I don't really know...
<emilien> LnL: thanks, will read that. Sometime it's just hard to know the name of the concepts we're looking for :-)
<adisbladis> For one I don't like to make noise
<adisbladis> I just prefer the immersion of headphones I think?
<quinn> alright, fair enough. i have noise issues in dorm, but considering my right ear is deaf something galls me about paying for cans i can't use half of lol
<energizer> lol
<adisbladis> quinn: Buy half of the headphone, pay half price
<quinn> DigitalKiwi: that sounds nice, i hope your project goes well
<quinn> DigitalKiwi: unfortunately i'm in jack right now tooling w eq so i can't watch the video sorry lol
<DigitalKiwi> https://www.dropbox.com/s/tmc9iozrl824kr3/2020-05-27%2016.07.31.mp4?dl=0 i didn't have the screws in tight enough so it was rattling a bit. goes away when i tighten it
<quinn> adisbladis: IF ONLY! i think i would need to hit the contact us page for that option
<DigitalKiwi> https://www.dropbox.com/s/1h7ixdhvd0ca7ad/2020-05-26%2020.39.32.jpg?dl=0 this is actually nixos related i could stare at it for hours
<{^_^}> [nixpkgs] @Dema opened pull request #89154 → vscode: 1.45.0 -> 1.45.1 → https://git.io/Jfox5
civodul has joined #nixos
<quinn> DigitalKiwi: what possessed you to build that?
<DigitalKiwi> https://www.dropbox.com/s/ju21054eey6ej9o/IMG_8464.JPG?dl=0 i propose this to be the hnix logo
<adisbladis> quinn: Also, I don't want to get in to speakers... It get's way more expensive than headphones very quickly :P
<adisbladis> And knowing myself I'd go full overboard
<quinn> adisbladis: ahh. so it's really fear holding you back :)
<adisbladis> Let go of the fear
<DigitalKiwi> (it was my birthday the other day and i didn't get enough attention. plz like and retweet)
<quinn> no twitter sorry bruh. can't let the nsa steal my pepsi
<adisbladis> Wat
<adisbladis> Haha
<DigitalKiwi> quinn: it seemed like a good idea
<DigitalKiwi> quinn: and i mean did you see it? it's awesome
<quinn> DigitalKiwi: yes it is sick. it just seems like a lot of trouble for someone who knows nothing about pixies such as myself
mallox has joined #nixos
<gilligan> adisbladis: i have the Naim Ovator S-400.. and i <3t them ;--D
<gilligan> adisbladis: good speakers are such a game changer
magnetophon has joined #nixos
<gilligan> adisbladis: then again it's more feasible to get a good listening experience with headphones than with speakers for sure
<DigitalKiwi> quinn: yeah i wanted to know more about electronics so learning was a lot of the process. that and finding a bug in kicad that resulted in evils spending hundreds of hours on it
<srk> DigitalKiwi: ooh, link? :D
<DigitalKiwi> link for the bug or?
<srk> yup
<srk> or just describe it in few words :)
lopsided98 has quit [Quit: No Ping reply in 180 seconds.]
<adisbladis> gilligan: Tbf I'm spending similar amounts on headphones..
chloekek_ has joined #nixos
<{^_^}> #72248 (by evils, 30 weeks ago, closed): Kicad: pcbnew segfault when searching for a footprint.
lopsided98 has joined #nixos
<gilligan> adisbladis: you can totally do that, but it is much cheaper to get a good sound on a headphone than on a loudspeaker
<quinn> gilligan: why is that? shouldn't it be cheaper to manufacture a larger diaphram that sounds better than a smaller one?
<betaboon> did anyone try to boot nixos using `nfsroot` from a readonly nfs-export ? XD
mzan has joined #nixos
<quinn> and also easier to get a good sounding setup with multiple drivers than a single driver or a few miniturized ones?
<quinn> miniaturized*
thc202 has joined #nixos
<adisbladis> quinn: Manufacturing costs have very little to do with pricing in the audio world
<quinn> :-(
<gilligan> right..
shafox has joined #nixos
<quinn> so it's just that the market is smaller and the manufacturers can afford to charge super high prices?
<adisbladis> Like, take a pair of DD expensive in ears
<betaboon> price is a representation of perceived value not of production cost XD
<adisbladis> Once you have a DD manufacturing setup you can manufacture dirt cheap
<adisbladis> Case in point, the MH755 are fantastic sounding and cost next to nothing
<quinn> oh i remember those. i should really get a pair set up once i get my soldering iron back
<betaboon> i like my beyerdynamics dt770pro :D
<quinn> betaboon: they look really comfy lol, don't know anything about the sound
<quinn> 'warosu' oh no...
<adisbladis> Huh?
<quinn> the image is from /g/, i'm just teasing you
<betaboon> quinn: just dont get the 16 or 32 ohm ones. for one they dont use velour (the 80 and 250ohm ones do). and i wouldnt go below 80ohms anyway
<quinn> i'm pretty set for headphones, but thank you for the advice
<quinn> if you care about audio you might like this thing i was talking about earlier https://github.com/jaakkopasanen/AutoEq/
Chiliparrot has joined #nixos
chloekek_ has quit [Ping timeout: 265 seconds]
Ariakenom has joined #nixos
Ariakenom has quit [Ping timeout: 258 seconds]
Ariakenom has joined #nixos
klntsky has quit [Remote host closed the connection]
klntsky has joined #nixos
alp has quit [Ping timeout: 272 seconds]
tsrt^ has joined #nixos
shafox has quit [Remote host closed the connection]
alexherbo2 has quit [Ping timeout: 260 seconds]
shafox has joined #nixos
alp has joined #nixos
Chiliparrot has quit [Quit: Textual IRC Client: www.textualapp.com]
vidbina has joined #nixos
tokudan has quit [Remote host closed the connection]
KeiraT has quit [Ping timeout: 240 seconds]
tokudan has joined #nixos
teto has joined #nixos
mfernandez has quit [Ping timeout: 265 seconds]
mfernandez has joined #nixos
KeiraT has joined #nixos
dnlkrgr has joined #nixos
rprospero has quit [Quit: ZNC 1.7.5 - https://znc.in]
rprospero has joined #nixos
is_null has joined #nixos
shafox has quit [Remote host closed the connection]
magnetophon has quit [Ping timeout: 272 seconds]
ddellacosta has quit [Ping timeout: 246 seconds]
<angerman> how do firmware blobs in nixos work?
rprospero has quit [Quit: ZNC 1.7.5 - https://znc.in]
<angerman> I'm seeing `[ 8490.914289] brcmfmac mmc0:0001:1: Direct firmware load for brcm/brcmfmac43456-sdio.bin failed with error -2`; can someone point me towards some background reading on this?
magnetophon has joined #nixos
cfricke has joined #nixos
FRidh has joined #nixos
dermetfan has joined #nixos
rprospero has joined #nixos
__monty__ has joined #nixos
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @soareschen opened pull request #89156 → haskell: Fix with-packages-wrapper MacOS linker hack for GHC 8.8 → https://git.io/JfKeY
o1lo01ol_ has joined #nixos
<kraem[m]> i'm having a problem with virt-manager freezing my system (the host) when opening it. usually just happens after my system has been booted for a while and has been suspended (i think). starting virt-manager when i have just booted my system works fine. journalctl -b -1 shows nothing when booting after a crash occurs. is there anything else than journalctl i can check?
<magnetophon> I'm working on ardour6, which needs to have ffmpeg in it's path, but renamed or linked to ffmpeg_harvid. I know how to wrap a program, but how do I rename/link? Should I make a separate package for ffmpeg_harvid and put that in ardour's path?
knupfer has joined #nixos
o1lo01ol1o has quit [Ping timeout: 258 seconds]
<MichaelRaskin> magnetophon: that hsould be cheap, and is likely to work
<MichaelRaskin> But maybe it expects ffmpeg_harvid to be compiled with some other options/features
o1lo01ol_ has quit [Remote host closed the connection]
knupfer has quit [Read error: Connection reset by peer]
pjt_014 has quit [Ping timeout: 260 seconds]
o1lo01ol1o has joined #nixos
knupfer has joined #nixos
<emilien> what's the difference between `import` and `imports`?
<{^_^}> [nixpkgs] @avdv opened pull request #89157 → bazel: 3.1.0 -> 3.2.0 → https://git.io/JfKvT
o1lo01ol1o has quit [Remote host closed the connection]
<magnetophon> MichaelRaskin: Thanks. Will do! No special compile should be needed.
<quinn> emilien: import is a function that takes a path and returns a nix value (like an attrset or string) and imports is a standardized attr that belongs in a module. if you add a path to the imports list it will get evaluated as a module
<evils> srk: bug's not entirely resolved, the patch we're currently using to avoid it hasn't been upstreamed, and won't be exactly, https://gitlab.com/kicad/code/kicad/-/issues/1755; https://gitlab.com/kicad/code/kicad/-/merge_requests/11
<srk> evils: interesting, thanks
<evils> it's definitely a kicad bug, but we have no idea why it's only occuring on nixos
<quinn> magnetophon: ardour 6 looks really exciting, thanks for doing that
<emilien> quinn: Ok, so in other words, `imports` would include the module sources, where `import` would "evaluate" the content? (I guess it's wrong in Nix implementation, just to get the idea)
<quinn> emilien: kind of the opposite actually. `imports` evaluates the modules (and might add config.foo to config, or change other configs) and `import` will evaluate to the contents of the .nix file
<quinn> note .nix files don't have to be modules. they can be plain attrsets, functions, strings, lists, whatever
<emilien> Aha. Ok, got it. Thanks
blibberblob has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @marsam merged pull request #88872 → openmpt123: 0.4.12 -> 0.5.0 → https://git.io/JfVwA
<{^_^}> [nixpkgs] @marsam pushed 3 commits to master: https://git.io/JfKvl
blibberblob has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #89146 → libfyaml: init at 0.5.7 → https://git.io/JfodM
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfKv4
<{^_^}> [nixpkgs] @marsam merged pull request #89125 → dump1090: 3.8.0 -> 3.8.1 → https://git.io/Jfo6E
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfKva
seanparsons has quit [Quit: ZNC 1.7.5 - https://znc.in]
<{^_^}> [nixpkgs] @marsam merged pull request #89130 → fldigi: 4.1.12 -> 4.1.13 → https://git.io/Jfo1y
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfKvw
jbox- has quit [Quit: ZNC 1.7.5 - https://znc.in]
jbox has joined #nixos
jbox is now known as Guest72385
seanparsons has joined #nixos
<magnetophon> quinn: Just scratching my own itch. ;) It's almost fully functional: https://github.com/NixOS/nixpkgs/pull/88950
<{^_^}> #88950 (by magnetophon, 2 days ago, open): ardour: add ardour 6 and make it the default
<{^_^}> [nix] @domenkozar closed pull request #763 → Implement pytest as test runner → https://git.io/vu400
cfricke has quit [Ping timeout: 272 seconds]
ArdaXi_ is now known as ArdaXi
detran has quit [Quit: ZNC 1.7.5 - https://znc.in]
<quinn> magnetophon: that is big diff. looks a little bit cleaner than the previous derivation code-wise too. hope it gets merged soon so i can play with it
<ArdaXi> Hello, has anyone seen issues with hydraUnstable building on nixpkgs master? it seems like a new version of nixFlakes is causing compilation issues, but I've not seen anyone else report it
cosimone has joined #nixos
detran has joined #nixos
quinn has quit [Quit: ZNC 1.7.5 - https://znc.in]
alexherbo2 has joined #nixos
noudle has quit []
<teto> anyone using minio-client https://github.com/minio/mc ? wondering if `mc watch` for you, it reports nothing here
<{^_^}> [nixpkgs] @Ma27 merged pull request #89131 → youtube-dl: 2020.05.08 -> 2020.05.29 → https://git.io/JfoMT
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JfKfL
noudle has joined #nixos
<{^_^}> [nixpkgs] @Ma27 pushed commit from @Luflosi to release-20.03 « youtube-dl: 2020.05.08 -> 2020.05.29 »: https://git.io/JfKf8
kvda has joined #nixos
kvda has quit [Client Quit]
<teto> nevermind, with --debug it works, weird it doesn't display requests as a default
schmittlauch[m] has left #nixos ["Kicked by @appservice-irc:matrix.org : Idle for 30+ days"]
shizonic has left #nixos ["Kicked by @appservice-irc:matrix.org : Idle for 30+ days"]
snupples[m] has left #nixos ["Kicked by @appservice-irc:matrix.org : Idle for 30+ days"]
deepchange[m] has left #nixos ["Kicked by @appservice-irc:matrix.org : Idle for 30+ days"]
fendor has joined #nixos
<dminuoso> Okay.. since my nixos update, slack is not giving me any audio anymore. Under pavucontrol, slack does not even appear under playback programs.
<dminuoso> Other programs can produce sounds just fine.
knupfer has quit [Quit: knupfer]
arcnmx has quit [Quit: Idle for 30+ days]
jgeerds_ has joined #nixos
Amit[m] has quit [Quit: Idle for 30+ days]
rihardsk[m] has quit [Quit: Idle for 30+ days]
fsmnarmosta[m] has quit [Quit: Idle for 30+ days]
chloekek_ has joined #nixos
devkabiir[m] has quit [Quit: Idle for 30+ days]
Albakham[m] has quit [Quit: Idle for 30+ days]
<dminuoso> Slack is not even listed under `pacmd list-sink-souces`
FRidh has quit [Ping timeout: 240 seconds]
rendeko[m] has quit [Quit: Idle for 30+ days]
FRidh has joined #nixos
mindtree[m] has quit [Quit: Idle for 30+ days]
gsals[m] has quit [Quit: Idle for 30+ days]
leonardp has quit [Quit: Idle for 30+ days]
xavierm02 has quit [Quit: Idle for 30+ days]
jamiemagee has left #nixos ["Kicked by @appservice-irc:matrix.org : Idle for 30+ days"]
i_run_out_of_use has left #nixos ["Kicked by @appservice-irc:matrix.org : Idle for 30+ days"]
simbergm has left #nixos ["Kicked by @appservice-irc:matrix.org : Idle for 30+ days"]
ecou[m] has quit [Quit: Idle for 30+ days]
JameySharp[m] has left #nixos ["Kicked by @appservice-irc:matrix.org : Idle for 30+ days"]
awatanabe[m] has quit [Quit: Idle for 30+ days]
aborsu[m] has quit [Quit: Idle for 30+ days]
mlatus[m] has quit [Quit: Idle for 30+ days]
sonercirit[m] has quit [Quit: Idle for 30+ days]
askatasun[m] has quit [Quit: Idle for 30+ days]
MohamedSarhan[m] has quit [Quit: Idle for 30+ days]
ixxie[m] has quit [Quit: Idle for 30+ days]
pamplemousse[m] has quit [Quit: Idle for 30+ days]
likivik[m] has quit [Quit: Idle for 30+ days]
emmanuelrosa[m] has left #nixos ["Kicked by @appservice-irc:matrix.org : Idle for 30+ days"]
brococoli[m] has left #nixos ["Kicked by @appservice-irc:matrix.org : Idle for 30+ days"]
Arcterus[m] has quit [Quit: Idle for 30+ days]
RexHackbro[m] has quit [Quit: Idle for 30+ days]
kcin[m] has left #nixos ["Kicked by @appservice-irc:matrix.org : Idle for 30+ days"]
edomfjp[m] has quit [Quit: Idle for 30+ days]
ZuS[m] has quit [Quit: Idle for 30+ days]
infinisil-m has quit [Quit: Idle for 30+ days]
ub[m] has quit [Quit: Idle for 30+ days]
tuxisgr8[m] has quit [Quit: Idle for 30+ days]
mrtorgo[m] has quit [Quit: Idle for 30+ days]
alexherbo2 has quit [Ping timeout: 256 seconds]
sigmundv has joined #nixos
<{^_^}> [nixpkgs] @datafoo opened pull request #89159 → nixos/networking: check interface state files exist before acting on them → https://git.io/JfKJc
iqubic has quit [Ping timeout: 260 seconds]
thequux[m] has quit [Quit: Idle for 30+ days]
jaray[m] has quit [Quit: Idle for 30+ days]
laval[m]1 has quit [Quit: Idle for 30+ days]
plato[m] has quit [Quit: Idle for 30+ days]
maxdeviant has quit [Quit: Idle for 30+ days]
notapache[m] has quit [Quit: Idle for 30+ days]
jak_wolf[m] has left #nixos ["Kicked by @appservice-irc:matrix.org : Idle for 30+ days"]
zrsk[m] has left #nixos ["Kicked by @appservice-irc:matrix.org : Idle for 30+ days"]
meh` has joined #nixos
Keith[m] has left #nixos ["Kicked by @appservice-irc:matrix.org : Idle for 30+ days"]
iyzsong has joined #nixos
dittofan[m] has quit [Quit: Idle for 30+ days]
tbenst[m] has quit [Quit: Idle for 30+ days]
faya[m] has quit [Quit: Idle for 30+ days]
PkmX[m] has quit [Quit: Idle for 30+ days]
f0i[m] has quit [Quit: Idle for 30+ days]
morr[m] has quit [Quit: Idle for 30+ days]
Criena has left #nixos ["Kicked by @appservice-irc:matrix.org : Idle for 30+ days"]
rfglinux[m] has quit [Quit: Idle for 30+ days]
aparkerdavid has quit [Quit: Idle for 30+ days]
kvda has joined #nixos
kvda has quit [Client Quit]
jgeerds_ has quit [Remote host closed the connection]
fusion809 has quit [Quit: Leaving]
Doraemon has joined #nixos
<{^_^}> [nixpkgs] @aanderse closed pull request #89012 → nixos/haproxy: Implement hitless reloads → https://git.io/JfrCz
<{^_^}> [nixpkgs] @aanderse reopened pull request #89012 → nixos/haproxy: Implement hitless reloads → https://git.io/JfrCz
NeoCron has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @aanderse merged pull request #88998 → musikcube: 0.90.1 -> 0.92.1 → https://git.io/JfreX
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to master: https://git.io/JfKJj
hmpffff has quit [Quit: nchrrrr…]
o1lo01ol1o has joined #nixos
cfricke has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @Ma27 merged pull request #89132 → php.buildEnv: Let enabled extensions to pass through by default → https://git.io/JfoMk
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JfKUz
oharvey has quit [Quit: Connection closed for inactivity]
alp has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @expipiplus1 opened pull request #89160 → haskellPackages.VulkanMemoryAllocator: Add extra library necessary for compilation → https://git.io/JfKU1
alp has joined #nixos
<{^_^}> [nixpkgs] @romildo opened pull request #89161 → lxqt.liblxqt: 0.15.0 -> 0.15.1 → https://git.io/JfKUp
knupfer has joined #nixos
thc202 has quit [Ping timeout: 260 seconds]
thc202 has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @romildo opened pull request #89162 → zuki-themes: 3.36-2 -> 3.36-3 → https://git.io/JfKTI
ckauhaus has joined #nixos
Rusty1 has joined #nixos
o1lo01ol1o has joined #nixos
codygman has quit [Ping timeout: 260 seconds]
chloekek_ has quit [Ping timeout: 265 seconds]
dermetfan has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @gnidorah opened pull request #89163 → cdetheme: init at 1.3 → https://git.io/JfKTP
chaoflow has joined #nixos
<hyperfekt> is there any reason i should be getting a dmsg about the filesystem at /nix/store being remounted when i start a build?
<hyperfekt> files in the store turn up empty and i'm trying to figure out if it's nix or the filesystem that's causing it
emilien has quit [Remote host closed the connection]
<chaoflow> I'd like emacs to see during runtime libvterm, cmake, make; I don't mind whether they are in my profile or not. What options do I have, ideally without recompiling emacs?
isHavvy has quit [Ping timeout: 260 seconds]
Havvy has joined #nixos
agsdheidjd has quit [Ping timeout: 246 seconds]
agsdheidjd has joined #nixos
<{^_^}> [nixpkgs] @domenkozar pushed to master « duplicati: 2.0.4.24 -> 2.0.5.1 »: https://git.io/JfKkJ
zupo has joined #nixos
alexherbo2 has joined #nixos
noudle has quit []
<{^_^}> [nixpkgs] @peterhoeg closed pull request #89012 → nixos/haproxy: Implement hitless reloads → https://git.io/JfrCz
<dminuoso> chaoflow: Start emacs from a nix-shell
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/1c5386fa1de (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<dminuoso> It's far from ideal because it forces you out of the "keep one global emacs running" mindmodel, but it's the only one I found to be remotely compatible with nix.
<dminuoso> So each time I switch projects, I quit emacs, start a nix shell from the new project, and then I start emacs.
<chaoflow> dminuoso: So far I'm holding on to one emacs running as daemon and nix-shell sounds great for that - thanks!
<dminuoso> chaoflow: Im not sure whether that will actually work to satisfaction. Depending on what you want from emacs that might not work.
<chaoflow> dminuoso: Could the things you need the different nix-shells for be dumped into an .env file?
<dminuoso> I think things like running commands will happen from the context of the daemon then.
<{^_^}> [nixpkgs] @kalekseev opened pull request #89164 → pipenv: 2018.11.26 -> 2020.5.28 → https://git.io/JfKkE
<chaoflow> dminuoso: They seem to at least be executed with the directory of the current file as CWD.
<{^_^}> [nixpkgs] @zimbatm opened pull request #89165 → direnv bash path → https://git.io/JfKku
<betawaffle> anyone know why i might be getting `$GOPATH/go.mod exists but should not` when trying to use buildGoModule using a local `src`?
<simukis_> does `genericBuild` in a nix-shell no longer work? I tried something like `nix-shell '<nixpkgs>' -A llvm --run 'genericBuild'` and nothing happens.
<{^_^}> [nix] @edolstra pushed 3 commits to flakes: https://git.io/JfKkP
<{^_^}> [nix] @edolstra merged pull request #3636 → add gitlab libfetcher → https://git.io/Jfow4
<wadkar> hi there - new to nix and excited! Is there a quick configuration where I can tell nixpkg to stick with binary packages?
<dminuoso> chaoflow: Not the CWD, but the PATH.
<dminuoso> That's the crux.
<dminuoso> Or libraries
orivej has joined #nixos
<dminuoso> Think about how nix works. Each nix environment contains a synthesized PATH (via whatever means), LD_LIBRARY_PATH, etc.. which is how isolated environments come into existence.
<dminuoso> If your emacs doesn't run in that same environment, then the commands it invokes wont either.
alp has quit [Remote host closed the connection]
alp has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<manveru> dminuoso: there's a direnv-mode that you can combine with nix-shell
<manveru> that'll do per-project environments quite nicely :)
<dminuoso> manveru: I've had much headache with that a while ago, though I cant recall why that was.
<dminuoso> Starting from emacs is a guaranteed-to-work workaround. :P
<dminuoso> *starting emacs from nix-shell
<manveru> i guess, it's been working for me for years :)
<manveru> not sure what your problem is with it
<dminuoso> manveru: How's the performance with it?
<dminuoso> (Latency in particular)
jakob_rs has joined #nixos
<manveru> very good, i use lorri as well
<jakob_rs> Is it okay to ignore parts of the issue template when creating an issue?
<dminuoso> jakob_rs: hard to say without context.
<jakob_rs> I'm fairly sure I already know why something is failing, and many of the points (like "Expected Behaviour" and "Metadata") are irrelevant.
LevelChart8 has joined #nixos
<jakob_rs> I'd really just like to open the issue, and then maybe come back to it later, so I'd like to just describe what the problem is.
<{^_^}> [nixpkgs] @domenkozar pushed commit from @jethrokuan to release-20.03 « mkdocs: default to Python 3 »: https://git.io/JfKII
<dminuoso> jakob_rs: Then leave them away.
Thra11 has joined #nixos
<jakob_rs> NixOS/nixpkgs#89166
<{^_^}> https://github.com/NixOS/nixpkgs/issues/89166 (by jakobrs, 20 seconds ago, open): libvirt is broken on x86_64-darwin
<jakob_rs> Relevant: What package is `rpcgen` located in on macos? On linux it's `glibc.bin`, which doesn't support darwin.
<dminuoso> I think it comes with base macOS
<jakob_rs> How do I use it in a derivation then?
<jakob_rs> I can confirm that rpcgen is located at /usr/bin/rpcgen for me.
<dminuoso> jakob_rs: I think you can just do something like add `++ optionals stdenv.isDarwin [ rpcgen ]` to the respective buildInput
<jakob_rs> The problem is that rpcgen isn't a package; it's located in glibc.bin
<dminuoso> Or wherever yu need it
<dminuoso> jakob_rs: It is under darwin
<jakob_rs> Not for me: "nix build nixpkgs.rpcgen" fails with "attribute ... in selection path ... not found"
<dminuoso> mmm
<jakob_rs> Same with nixpkgs.darwin.rpcgen if that's what you meant
<dminuoso> Okay I have absolutely no idea how things are connected
<dminuoso> pkgs/os-specific/bsd/netbsd/default.nix
<dminuoso> This someone does things .
vidbina has quit [Ping timeout: 272 seconds]
<jakob_rs> samba4 uses netbsd.rpcgen
<jakob_rs> I'll try that, yeah
<dminuoso> netbsd is actually explicitly callPackage'd
<dminuoso> netbsd is just `callPackage ../os-specific/bsd/netbsd {};`
<jakob_rs> Yes, samba4 does the same thing:
<dminuoso> For samba4 I couldnt see where it was used from
<jakob_rs> samba4 = callPackage ../path/to/samba/4.x.nix { rpcgen = netbsd.rpcgen; ... }
<dminuoso> As great as nix features are, as bad the code quality is..
<dminuoso> Ah maybe Im on a very old commit
<{^_^}> [nixpkgs] @ryantm merged pull request #89068 → codeql: 2.1.3 -> 2.1.4 → https://git.io/Jfoed
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JfKIB
<dminuoso> jakob_rs: Remember that you should only do that when you're on darwin though
<chaoflow> manveru: nix-shell/direnv sounds interesting - do you have a pointer for an example setup?
o1lo01ol1o has quit [Remote host closed the connection]
<simpson> chaoflow: https://github.com/direnv/direnv/wiki/Nix seems like it's been truncated recently, but still explains the basics. `use nix` is the key.
<MichaelRaskin> dminuoso: wrappers around upstream code are a typical risk zone! And Nixpkgs is literally almost exclusively that.
<chaoflow> dminuoso: At least term and run-python will execute in the directory of the current buffer. I'm aiming to use that together with shims that look for .env and .venv/bin in parent dirs
<simpson> chaoflow: `layout python` is compatible with `use nix`: https://github.com/direnv/direnv/wiki/Python
<dminuoso> MichaelRaskin: It's mostly just that so much nix code is so ad-hoc. I think much of it could be better if nix had a first class module system with explicit export/import mechanics.
<chaoflow> simpson: thanks a lot!
<dminuoso> It's very hard to figure out how nixpkgs is structured.
<jakob_rs> rpcgen is located in darwin.developer_cmds on macos it seems
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/6fe8bd0255b (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
<simpson> dminuoso: Most of nixpkgs is structured as one of two ad-hoc module systems. While it would be nice if the expression language had modules, it's not strictly necessary to make progress. (And speaking as a language designer, sometimes it's really nice when "modules" are just plain expressions with predictable behavior.)
o1lo01ol1o has joined #nixos
<betawaffle> huh, ok... i figured out my problem. how do i change the name of the directory my `src` is unpacked as?
<infinisil> betawaffle: How do you currently specify it?
maddo2 has joined #nixos
maddo has quit [Ping timeout: 260 seconds]
<jakob_rs> Hm, libvirt fails to build with either netbsd.rpcgen or darwin.developer_cmds despite the fact that it works with /usr/bin/rpcgen
<infinisil> betawaffle: If it's `src = ./.`, check out builtins.path in https://nixos.org/nix/manual/#ssec-builtins, tldr: builtins.path { name = "name"; path = ./.; }
<betawaffle> i think that's exactly what i need, thanks!
<jakob_rs> Also, clang is telling me to "PLEASE submit a bug report", although where to submit it to is not included
o1lo01ol1o has quit [Ping timeout: 264 seconds]
<dminuoso> simpson: The problem is that it promotes implicit dependencies, that coupled with lack of a type system makes it very hard to reverse engineer how some part is to be used.
<dminuoso> And then there's all these minefields like qt, where you have thick abstraction layers of functions you need to invoke to use any parts of it.
<MichaelRaskin> dminuoso: well, «hard to trace value provenance» sounds like an argument to restrict with a bit
<freeman42x[m]1> could anyone help me with fixing this error please? https://github.com/fairy-tale-agi-solutions/haskell-editor-setup/blob/master/setup#L3 I know it is not Nix... but wait, I have a #nix question also: should I use HNIX to operate on a Nix configuration file or just do it like above? or a 3rd or more option?
<simpson> dminuoso: Type systems aren't a panacea. Qt would be tough to understand regardless of what lens is placed on top of it.
<MichaelRaskin> dminuoso: re: Qt — this thick layer comes because Qt is a thick layer of assumptions
<betawaffle> infinisil++
<{^_^}> infinisil's karma got increased to 305
jakob_rs is now known as jakobrs
<MichaelRaskin> this is an inherent problem, not an incidental one
gustavderdrache has joined #nixos
<simpson> freeman42x[m]1: Ignoring the rudeness of altering somebody's /etc, I think that the sed error is because you've got unescaped [ characters. Not sure, though.
<freeman42x[m]1> simpson: `Ignoring the rudeness of altering somebody's /etc` You are assuming there would be no warning about this, there will be ofc.
m0rphism has joined #nixos
gxt has quit [Remote host closed the connection]
<freeman42x[m]1> Also intend to rewrite the script to a Turtle script and use HNIX to parse the AST to make safer modifications to it.
gxt has joined #nixos
<simpson> freeman42x[m]1: I'm tackling your second question more directly. I suggest that you should *not* modify Nix files this way, at all, period. A large part of the Nix philosophy is that one shouldn't have to alter their core system configuration in this way in order to install packages. It's not reasonable to force people to use Cachix.
<srk> freeman42x[m]1: hnix and dhall or both options
jakobrs has quit [Quit: WeeChat 2.8]
<srk> also what simpson says and cachix can install caches with single command or you can provide snippets to import which configure the cache you need
o1lo01ol1o has joined #nixos
<dminuoso> simpson: Im not suggesting to add a type system to nix, I understand type theory well enough to know that adding a type system after the fact is almost guaranteed a hopeless excercise if you want to adhere to any real type theory benefits.
<dminuoso> But it would definitely reduce development bugs and potentially compensate for the great lack of documentation. When you see some variable binding, it's almost always impossible to have any clue what is being assigned without looking yourself.
iyzsong has quit [Ping timeout: 240 seconds]
<dminuoso> By the way, when you said language designer, do you mean you're (amongst others) behind nix?
iyzsong has joined #nixos
<simpson> No, I work on Monte. I am not a contributor to Nix.
<freeman42x[m]1> srk: dhall an option for scripting? how come?
<srk> freeman42x[m]1: for interfacing with nix via dhall2nix
<freeman42x[m]1> simpson: `It's not reasonable to force people to use Cachix.` Again, you are misunderstanding, no-one is forcine no-one. A lot of these things will be optional with sensible defaults.
<freeman42x[m]1> srk: why would I want to complicate thing so much when I can just write Haskell code?
<srk> freeman42x[m]1: I don't know what the goal is :)
<freeman42x[m]1> srk: high level goal is the project: https://github.com/fairy-tale-agi-solutions/haskell-editor-setup#haskell-editor--ide-setup sub goal is automating the dev setup for it in CONTIBUTING.md
<srk> dminuoso: there are some attempts at partialy typed nix
LevelChart8 has quit [Quit: LevelChart8]
<{^_^}> [nixpkgs] @Profpatsch merged pull request #89157 → bazel: 3.1.0 -> 3.2.0 → https://git.io/JfKvT
<{^_^}> [nixpkgs] @Profpatsch pushed commit from @avdv to master « bazel: 3.1.0 -> 3.2.0 »: https://git.io/JfKLm
<freeman42x[m]1> simpson: a full build of the project without a cache takes 40 minutes up to a few hours on old PCs. With cachix it takes 1 to 3 minutes
<dminuoso> srk: Indeed, but from a type theoretic perspective you have no type safety (in the sense of progress and preservation) in such a setting.
<dminuoso> So it's really lack luster.
<freeman42x[m]1> so I think that using cachix is a good sensible default
is_null has quit [Ping timeout: 265 seconds]
is_null has joined #nixos
<dminuoso> If a type checker proves the absence from certain behaviors, it cannot do that if we admit backdoors to allow for "partial typing" - most of these usually boil down to "There some sort of any type that unifies with anything". In such a setting the fact that a type checker is satisfied sadly proves no properties about your program.
<srk> dminuoso: exactly!
<srk> maybe as a stepping stone considering the millions of lines of nix in nixpkgs :)
<dminuoso> Has there ever been a successful attempt at bolting a meaningful type system onto a language?
noudle has joined #nixos
LevelChart8 has joined #nixos
<wadkar> hi there - new to nix and excited! Is there a quick configuration where I can tell nixpkg to stick with binary packages?
<wadkar> I am on macOS and I really don't want to build firefox from source
<dminuoso> wadkar: Generally nix will use precompiled binaries from caches.
is_null has quit [Ping timeout: 265 seconds]
<wadkar> dminuoso: is there a flag to tell nix to stop if it can't find binaries from caches?
<infinisil> dminuoso: There's http://mypy-lang.org/ at least, don't know much about it though
is_null has joined #nixos
<bqv> srk: these… "attempts"
<bqv> Where are they?
<simpson> wadkar: ^C will work on nix-build and friends. I don't see a flag for this behavior. FWIW, while many folks have your stance at first, there's simply too many useful small configuration files that Nix can build; if you want to use something like nix-darwin then you'll have to be okay with building stuff that isn't in any cache.
<bqv> Last I saw was in 2015 I think?
<bqv> And no code
<srk> bqv: regnat/tix haskell-nix/hnix
<bqv> Hm
<wadkar> dminuoso: I am slowly migrating things from brew to nixpkg, and I don't want to end up compiling gcc/libc first so that i can compile something else
<immae> is hnix types nix? It seemed to me like parsing nix code to haskell no?
bahamas has joined #nixos
<dminuoso> wadkar: I cant tell you. Redirect your question to the channel.
<LnL> what does that have to do with types?
<dminuoso> wadkar: But usually it should be rare that you need to compile something yourelf.
<wadkar> dminuoso: got it
<bqv> immae: this was my understanding too
<immae> (and regnat abandonned bof tix and its successor ptyx, at least that’s what he said)
<immae> both*
<wadkar> simpson: I see, thanks for the tip. I understand that in the long run I will have to compile my own stuff. I wish there was a way I could contribute my binaries back to community,
<LnL> immae: it's a nix parser and evaluator, nothing to do with types
<srk> immae: ptyx, right!
is_null has quit [Ping timeout: 246 seconds]
<immae> LnL: that’s what I understood yes but srk pointed it as an attempt to typed nix so I asked :)
<dminuoso> simpson: Oh, nix-darwin has no caches?
<dminuoso> I didn't expect that...
* dminuoso is so spoiled
srid2 has joined #nixos
doyougnu has joined #nixos
<bahamas> hello. if I want to create a custom and stripped down image of nixos, how can I go about it? I imagine there's an entry point that specifies top-level files, directories and packages present in the file image. I did find release-small.nix in the nixos dir. is that the file I want to edit?
<{^_^}> [nixpkgs] @vcunat pushed 4 commits to staging: https://git.io/JfKLr
<immae> srk: I don’t get your point with the link in hnix but since I jumped in the conversation I may have misunderstood the topic
<simpson> dminuoso: It's not possible to cache configuration files generated specifically for the machine at hand.
is_null has joined #nixos
<srk> immae: I don't know the details but there's some typing support for nix in hnix already
<{^_^}> [nixpkgs] @magnetophon opened pull request #89168 → rubberband: 1.8.1 -> 1.8.2 → https://git.io/JfKLK
<wadkar> thanks, this is my first time with nix - I was wondering if there are any beginner friendly docs/tutorials on how to get things started?
<simpson> wadkar: The trust model of Nix doesn't allow for easy sharing of binaries. You are pre-configured to trust (read: "be vulnerable to") hydra.nixos.org. There's no easy answer for large monoliths like Firefox; their size makes them problematic.
iyzsong has quit [Quit: ZNC 1.7.1 - https://znc.in]
<immae> srk: as far as I understood hnix parses standard nix and creates (typed indeed) haskell code from it, but you cannot go anywhere back to nix from there can you?
<{^_^}> [nixpkgs] @magnetophon opened pull request #89169 → vamp-plugin-sdk: 2.9 -> 2.10 → https://git.io/JfKLX
<srk> immae: you can e.g. tranform and pretty back to nix
<immae> ok that’s more than what I thought indeed
cosimone has quit [Quit: Quit.]
<wadkar> My goal is to commit a bunch of .nix files that will allow me to "sort of replicate" my config anywhere quickly.
<wadkar> s/config/package installations/
<wadkar> yes, I am reading /nixpkgs/manual :-)
<bqv> Its sad that he gave up on ptyx
<bqv> But I understand why
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/6fe8bd0255b (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
knupfer has quit [Quit: knupfer]
knupfer1 has joined #nixos
<bqv> dminuoso is right, after-the-fact type systems are probably doomed
alexherbo2 has quit [Quit: The Lounge - https://thelounge.chat]
<simpson> There's no such thing as a before-the-fact type system. The languages always come first, and then the type systems are established in order to reject undesired expressions.
randoDev has joined #nixos
<bqv> I think you're being intentionally obtuse here
<bqv> I'm not gonna play ball
knupfer1 is now known as knupfer
<LnL> not necessarily, thinks like mypy or dialyzer are pretty successful but it's a hard thing to pull off
<{^_^}> [nixpkgs] @magnetophon opened pull request #89171 → uhhyou.lv2: init at unstable-2020-05-27 → https://git.io/JfKLy
<wadkar> simpson: I understand. There's a tradeoff between comfort and trust.
<dminuoso> simpson: That's not true.
<dminuoso> simpson: You can design them together at the same time.
<dminuoso> Or do a ping-pong where, if your type checker cant reject undesired programs, you modify your language to be type checkable.
lord| has joined #nixos
<{^_^}> [nixpkgs] @magnetophon closed pull request #88950 → ardour: add ardour 6 and make it the default → https://git.io/JfwPK
<{^_^}> [nixpkgs] @zowoq opened pull request #89172 → ripgrep: 12.1.0 -> 12.1.1 → https://git.io/JfKLd
<{^_^}> [nixpkgs] @magnetophon closed pull request #89169 → vamp-plugin-sdk: 2.9 -> 2.10 → https://git.io/JfKLX
<simpson> dminuoso: Minor tweaks to syntax don't change that the syntactic forms precede type-driven attempts to limit their possible interpretations. We first have each syntactic family (Algol, Forth, Lisp, Smalltalk) and then we have attempts to add type systems. This dance has gone on since the lambda calculus, where the untyped flavor preceded the simply-typed.
<dminuoso> Non-sequitur on your comparison to "untyped lambda calculus preceeding simply-typed calculus"...
growpotkin has joined #nixos
<simpson> I'm merely saying that, when you asked earlier whether type systems have successfully been bolted on, I'd suggest that *every* type system has been bolted on, and so you're just asking about whether any type systems have ever succeeded, period.
KeiraT has quit [Remote host closed the connection]
KeiraT has joined #nixos
<{^_^}> [nixpkgs] @zimbatm merged pull request #89165 → direnv: fix missing BASH_PATH → https://git.io/JfKku
<{^_^}> [nixpkgs] @zimbatm pushed to master « direnv: fix missing BASH_PATH (#89165) »: https://git.io/JfKtq
Pidgeotto has quit [Quit: ZNC: the superior metal to CBLT]
<bahamas> still, there's a difference between languages designed with the idea that they will have a type checker and languages that weren't designed with that idea in mind. I think this is what the others are refering to
<{^_^}> [nixpkgs] @avdv opened pull request #89174 → Wtf 0.30.0 → https://git.io/JfKts
<bahamas> there's a difference between languages where the semantics and the type checker evolved side-by-side and languages that had a type-checker added 20 years after they were created
<TheSirC[m]> If I would install [this package](https://github.com/NixOS/nixpkgs/blob/d21cc14114dc59207963aaca09c3254eec2168c6/pkgs/os-specific/linux/v4l2loopback/default.nix) (which is a kernel module) via `nix-env` how would I access it (i.e where is the .ko I would `insmod` ?) ?
<betawaffle> infinisil: hey, so sort of back to questions about our development environment... another one of the reasons we were using a container is our stuff is very messy, and makes a lot of assumptions
<betawaffle> is there something like nix shell, but ... even more isolated?
Neo-- has joined #nixos
<balsoft> betawaffle: nix-shell --pure ?
<betawaffle> that doesn't prevent things in the shell from f*cking up the host
<balsoft> Only a full VM can prevent things from messing up the host, and even it doesn't provide a 100% guarantee
<betawaffle> well, a container was _enough_ for us
<betawaffle> it's like we want the isolation of a container, without any of the normal docker building/images/etc
<lucus16> You can generate docker images using Nix
<lucus16> see dockerTools
Pidgeotto has joined #nixos
<bahamas> betawaffle: look at chroot
ckauhaus has quit [Quit: WeeChat 2.7.1]
cosimone has joined #nixos
<betawaffle> i feel like using a chroot might be good enough. that requires root, correct?
asymptotically has joined #nixos
<betawaffle> is there a nixpkgs thing to help build a chroot?
<srk> nixos-install? :D
<niso> betawaffle: maybe use a nixos-container?
<infinisil> betawaffle: There is https://github.com/NixOS/nixpkgs/pull/78967 fyi, though it relies on docker
<{^_^}> #78967 (by Infinisil, 16 weeks ago, open): dockerTools: Add `buildNixShellImage`
<betawaffle> niso: we can only use plain nix. we're not ready to dictate the host linux distro
Doraemon has quit [Quit: Leaving]
<niso> betawaffle: in this case: systemd-nspawn?
NeoCron has joined #nixos
<betawaffle> i think all our host OSes have systemd
<betawaffle> but i'm mainly asking about "building" the correct directory structure for the chroot, such that it'll allow us to have a bunch of things bind-mounted in
buckley310 has joined #nixos
eoli3n_ has quit [Ping timeout: 272 seconds]
asbachb has joined #nixos
<asbachb> Hi. Is someone using ssh-agent? Do I need to add the key manually?
asymptotically has quit [Remote host closed the connection]
proofofkeags has joined #nixos
tno has quit [Quit: tno]
<{^_^}> [nixpkgs] @orivej-nixos pushed commit from @orivej to master « gpsd: clarify license »: https://git.io/JfKqv
agschaid has joined #nixos
<agschaid> hi huys. Sorry to pest you twice a day ;)
<agschaid> return too early
virus_dave_ has joined #nixos
virus_dave has quit [Ping timeout: 272 seconds]
virus_dave_ is now known as virus_dave
<agschaid> I need vim with python3 support. Actually no problem by its own. But I do use home-manager. And as soon as I have some vim configuration there for my user it obviously uses the default package without python3 again . . . I had my vim+python3 setup with a simple override. Now I resolved to an overlay believing that this should fix it systemwide. But
<agschaid> still I have a different vim as soon as I start configuring it in homemanager. Is this a bug or am I "holding it wrong"?
LevelChart8 has quit [Quit: LevelChart8]
asymptotically has joined #nixos
<c00w> marsam: I'll tag you on GitHub when I expand more, but if a dependency gets a new version, the output will change if it wasn't specified.
cfricke has quit [Quit: WeeChat 2.8]
orivej has quit [Read error: Connection reset by peer]
orivej has joined #nixos
proofofkeags has quit [Remote host closed the connection]
proofofkeags has joined #nixos
fendor_ has joined #nixos
hmpffff has joined #nixos
LevelChart8 has joined #nixos
<{^_^}> [nixpkgs] @magnetophon opened pull request #89175 → ardour: add ardour 6 and make it the default → https://git.io/JfKqX
fendor has quit [Ping timeout: 256 seconds]
i077 has joined #nixos
proofofkeags has quit [Ping timeout: 258 seconds]
cinimod``` has joined #nixos
pamplemousse has joined #nixos
is_null has quit [Ping timeout: 246 seconds]
cinimod``` has quit [Client Quit]
<{^_^}> [nixpkgs] @SuperBo opened pull request #89176 → ibus-bamboo: init at 0.6.5 → https://git.io/JfKqd
<i077> how can i spawn a nix shell with an unfree package if im using nixFlakes?
cinimod has joined #nixos
LevelChart8 has quit [Client Quit]
noudle has quit []
bukkitgerman8608 has quit [Ping timeout: 260 seconds]
<i077> also how do i get rid of a cached failure
<cinimod> I am trying to use Julia via nix and have the following: https://gist.github.com/idontgetoutmuch/c3a85b52c725c72ecfdcea6744017883
<cinimod> But when I try nix-shell, I can't see the environment variables such as $CUDA_PATH or the packages I have listed as buildInputs
<cinimod> I am guessing my shell.nix is embarassingly wrong
waleee-cl has joined #nixos
<i077> don't you just want a mkShell call in your shell.nix, and put the derivation in buildInputs?
<typetetris> Can I use the `nix-shell -E 'expr'` in a "nix-shell" skript? (Ones with `#! /usr/bin/env nix-shell`)?
<i077> cinimod: mkShell should expose the environment variables
hmpffff has quit [Quit: nchrrrr…]
<typetetris> seems like it didn't like the `'` changing that to `"` did it ...
lucus16 has quit [Quit: lucus16]
Neo-- has quit [Ping timeout: 246 seconds]
<i077> okay, looks like passing `--option pure-eval false` to nix shell worked, but i still need to get rid of the cached failure
bukkitgerman8608 has joined #nixos
OmnipotentEntity has joined #nixos
ddellacosta has joined #nixos
magnetophon has quit [Ping timeout: 256 seconds]
<OmnipotentEntity> How do I turn a nix array into a bash list within the context of nixpkgs? (For instance, when doing variable replacement in a shell hook.) Googling is turning up multiline snippets of code, and I'm thinking that there's probably an easier way, because I can't be the first person who wants to do this.
<wadkar> Hey - just a feedback as a n00b to nix; the nix pills articles are great intro and people should start from there instead of /nix/manual
selfsymmetric-mu has joined #nixos
i077 has quit [Quit: WeeChat 2.8]
tno has joined #nixos
DanP[m] has joined #nixos
i077 has joined #nixos
magnetophon has joined #nixos
<clever> omnipotententity: if the string wont contain spaces, you can just do `export FOO=${toString foo}`
<i077> rebooting to get rid of the cached failure didnt work lol
<selfsymmetric-mu> Linux LTS sure does update point releases fairly often. Which means that NixOS rebuilds my kernel fairly often. Which means that every few days/weeks (I have no idea because it's impossible to find a point-release history), NixOS rebuilds the world which takes half an hour or so.
agschaid has quit [Ping timeout: 245 seconds]
<selfsymmetric-mu> Maybe I should try 4.14…
<asbachb> Is there an libreoffice version which does not require to build from source...
<OmnipotentEntity> clever, in my particular use case the list is a list of strings, the individual strings don't have spaces, but will the toString output have spaces?
<clever> > "${toString [ "1" "2" "3" ]}"
<{^_^}> "1 2 3"
<clever> omnipotententity: it will use spaces to seperate each element
knupfer has quit [Quit: knupfer]
knupfer1 has joined #nixos
<{^_^}> [nixpkgs] @foxit64 opened pull request #89177 → gopacked - init at 0.4.1 → https://git.io/JfKm5
<cinimod> i077: what's the syntax for this? `nixpkgs.mkShell { buildInputs = [ nixpkgs.callPackage ./default.nix { pkgs = nixpkgs; } ];`?
<clever> cinimod: use () around the callPackage
<clever> cinimod: that is a list with 3 elements, a function, path, and set
<OmnipotentEntity> clever, so in that case I can do `export FOO=(${toString foo})` and it will work as expected?
<clever> omnipotententity: probably
<OmnipotentEntity> excellent thanks!
<OmnipotentEntity> clever++
<{^_^}> clever's karma got increased to 450
selfsymmetric-mu has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @FRidh pushed 80 commits to staging-next: https://git.io/JfKmp
knupfer1 is now known as knupfer
<cinimod> Hmmm I still can't see the environment variables being set
<{^_^}> [nixpkgs] @FRidh pushed 81 commits to staging: https://git.io/JfKmh
<clever> cinimod: `echo $buildInputs` ?
Neo-- has joined #nixos
Avaq has quit [Quit: Leaving.]
Ariakenom has quit [Quit: WeeChat 2.7]
LevelChart8 has joined #nixos
<cinimod> [nix-shell:~/JuliaExperiments]$ echo $buildInputs
<cinimod> /nix/store/8kmk7k7p6chcbf41z6lpjy2g70nfm4rh-julia-env
alp has quit [Ping timeout: 265 seconds]
LevelChart8 has quit [Client Quit]
alp has joined #nixos
codygman has joined #nixos
<i077> cinimod: try doing `nix dev-shell` on the derivation?
<bqv> clever: oh ffs i've been using lib.concatStringsSep
<i077> actually nvm, that probably wont do it
<clever> cinimod: and what do you then want to do with that path?
ArdaXi has quit [Quit: WeeChat 2.4]
<clever> bqv: also, you dont even need toString in some cases
orivej has quit [Ping timeout: 246 seconds]
<i077> cinimod: so you want to be able to see variables you set in the installPhase, it looks like
<clever> bqv: stdenv.mkDerivation { foo = [ "1" "2" "3" ]; } will toString for you
<bqv> hm
LevelChart8 has joined #nixos
<cinimod> clever: i077: I want to have a shell in which I can run Julia and the packages listed are available
<cinimod> I can run /nix/store/8kmk7k7p6chcbf41z6lpjy2g70nfm4rh-julia-env/bin/julia
<clever> cinimod: that should also be in $PATH, so you can just `julia`
<cinimod> But I hoped nix-shell would create a shell in which julia mapped to this
<i077> try `echo $PATH` to see what's in your path
orivej has joined #nixos
<i077> you wont be able to query $CUDA_PATH directly because you're not exposing it in the shell, it's only in the derivation's installPhase and the wrapper you made
<i077> but the julia wrapper should have it
<cinimod> You are right the wrapper does have it
<i077> and the /bin that the wrapper is in should have made it to your $PATH
lsix has quit [Ping timeout: 246 seconds]
<cinimod> Hmm all seems to be working now in the sense that I can see e.g. julia> ENV["CUDA_PATH"]
<cinimod>
<cinimod> "/nix/store/zq8xb9zp8vknm4vpxg68fkmgib9fz39c-cudatoolkit-9.2.148.1"
fendor_ is now known as fendor
<cinimod> But I can't find the packages - but that's a different problem - thanks
erasmas has joined #nixos
drewr has quit [Ping timeout: 252 seconds]
ArdaXi has joined #nixos
lsix has joined #nixos
orivej has quit [Ping timeout: 265 seconds]
orivej_ has joined #nixos
<betawaffle> how do i take a binary built with nix and patchelf it to work on "normal" linuxes?
randoDev has quit [Quit: Connection closed]
<betawaffle> this is what the ldd output looks like right now: https://gist.github.com/betawaffle/f02bacc8a2182f6013bc9608a1569da4
<{^_^}> [nixpkgs] @asbachb opened pull request #89178 → postfix: refactored tls certificate configuration → https://git.io/JfKO0
nikivi has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
nikivi has joined #nixos
<DanP[m]> hello, I'd like to figure out how to add a certificate to my jdk keystore, just for one project
<i077> cinimod: are you talking about Julia packages?
<DanP[m]> looking through the package definition, I see that there is a JAVAX_NET_SSL_TRUSTSTORE environment variable that I can set to point to my truststore
<DanP[m]> hold on, I'm going to try copying the whole store to my project directory
dermetfan has joined #nixos
<{^_^}> [nixpkgs] @jlesquembre opened pull request #89179 → sway: deterministic .desktop file → https://git.io/JfKO1
bahamas has quit [Ping timeout: 258 seconds]
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/e7752db2fb6 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
orivej_ has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
<{^_^}> [nixpkgs] @Ma27 merged pull request #89172 → ripgrep: 12.1.0 -> 12.1.1 → https://git.io/JfKLd
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JfKON
knupfer has quit [Quit: knupfer]
srid2 has quit [Quit: Connection closed for inactivity]
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
i077 has quit [Quit: WeeChat 2.8]
opthomasprime has joined #nixos
philr has quit [Ping timeout: 256 seconds]
asymptotically has quit [Ping timeout: 240 seconds]
teto has quit [Ping timeout: 246 seconds]
opthomasprime has left #nixos [#nixos]
<{^_^}> [nixos-homepage] @github-actions[bot] pushed commit from @edolstra to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/JfK3y
asymptotically has joined #nixos
xeu has quit [Ping timeout: 260 seconds]
LevelChart8 has quit [Quit: LevelChart8]
<OmnipotentEntity> > a = ["1" "2" "3"]; "${toString a}"
<{^_^}> error: syntax error, unexpected ';', expecting '.' or '=', at (string):38:36
chloekek_ has joined #nixos
<{^_^}> [nixpkgs] @zimbatm opened pull request #89180 → confd: 0.9.0 -> 0.16.0 → https://git.io/JfKsv
bahamas has joined #nixos
user_0x58 has joined #nixos
LevelChart8 has joined #nixos
<betawaffle> anyone know why nixFlakes doesn't seem to be updating from my source directory?
<betawaffle> `error: getting status of '/nix/store/7dym9mp2pm260figj3ww7aagycn9gm6r-source/nix/packages/wire.nix': No such file or directory`
<betawaffle> that *-source directory is generated from the directory where my flake.nix is
<betawaffle> and it has a relative import of stuff
<betawaffle> but it doesn't seem to update sometimes
<{^_^}> [nixpkgs] @zimbatm merged pull request #89180 → confd: 0.9.0 -> 0.16.0 → https://git.io/JfKsv
<{^_^}> [nixpkgs] @zimbatm pushed to master « confd: 0.9.0 -> 0.16.0 (#89180) »: https://git.io/JfKsZ
<bqv> betawaffle: what are you doing and what do you expect to happen
<bqv> omnipotententity: let in
<betawaffle> i added that ./nix/packages/wire.nix file
<betawaffle> and i expect it to be available to the flake
<bqv> betawaffle: please be specific
agsdheidjd has quit [Ping timeout: 246 seconds]
<betawaffle> which things would you like to see? i'm not sure what information is relevant
asymptotically has quit [Remote host closed the connection]
<bqv> what command are you running, what do you expect it to do, how is the flake referred to, and what context are you expecting it to update in
<betawaffle> `nix shell -c bash`
<betawaffle> which errors out, because it's trying to build wire
<betawaffle> (but it can't find the .nix file)
bahamas has quit [Ping timeout: 260 seconds]
agsdheidjd has joined #nixos
<bqv> still not enough information for me to know for sure but i'm gonna hazard a guess that you've not added that file to git
<{^_^}> [nixpkgs] @peti pushed 504 commits to haskell-updates: https://git.io/JfKsK
knupfer has quit [Ping timeout: 260 seconds]
<betawaffle> bqv: it only works with files checked-in?
<bqv> yes, or nix doesn't know to care about the files - they have to either be staged or committed by git
<bqv> looks like that's the problem
<betawaffle> that did the trick, interesting
<betawaffle> so it's not possible to have a flake reference an gitignore'd file?
<betawaffle> (i know how crazy that sounds)
LevelChart8 has quit [Quit: LevelChart8]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « haskell-devtools: break infinite recursion with mprelude »: https://git.io/JfKs9
noreferences has joined #nixos
justanotheruser has quit [Ping timeout: 246 seconds]
LevelChart8 has joined #nixos
<noreferences> Is there an equivalent of apt search on NixOS?
cptMikky has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JfKs7
dxtr has quit [Ping timeout: 260 seconds]
martyet-o has quit [Ping timeout: 256 seconds]
proofofkeags has joined #nixos
noreferences has quit [Quit: Connection closed]
jluttine has quit [Ping timeout: 272 seconds]
martyet-o has joined #nixos
b42 has quit [Ping timeout: 244 seconds]
knupfer has joined #nixos
korner has joined #nixos
<korner> has someone installed vmware workstation on nixOS?
Ankhers has quit [Quit: ZNC 1.7.5 - https://znc.in]
oida has quit [Ping timeout: 240 seconds]
Ankhers has joined #nixos
dxtr has joined #nixos
oida has joined #nixos
alp has quit [Remote host closed the connection]
justanotheruser has joined #nixos
cinimod has quit [Ping timeout: 272 seconds]
<dsx> Hi! Is there a better tool than vgo2nix to generate deps.nix for go?
cinimod has joined #nixos
<jtojnar> noreferences nix search?
alp has joined #nixos
<adisbladis> dsx: No :/
<adisbladis> But I'll rewrite vgo2nix very, very soon
<dsx> adisbladis: using golang.org/x/mod? ;)
dxtr has quit [Ping timeout: 246 seconds]
cinimod has quit [Ping timeout: 265 seconds]
dxtr has joined #nixos
<dsx> I tried to run vgo2nix on k3s codebase, it can't get through all that
bahamas has joined #nixos
bahamas has joined #nixos
<dsx> Anyway, I'm on the fence to volunteer to work on vgo2nix for virtual Internet points.
jco has joined #nixos
jco has quit [Client Quit]
bahamas has quit [Client Quit]
jco has joined #nixos
jluttine has joined #nixos
<{^_^}> [nixpkgs] @OmnipotentEntity opened pull request #89181 → geant4: 10.6.1 -> 10.6.2 → https://git.io/JfKGj
<adisbladis> dsx: Probably, yeah
<adisbladis> That wasn't a thing last I checked
jco has quit [Client Quit]
<adisbladis> I regret not just exposing the Go internals and using those
cptMikky has joined #nixos
<dsx> I'm looking at the code right now, it seems to me that fixing getModules() could help a lot.
<dsx> I'll try that, if it works I'll send PR
oida has quit [Ping timeout: 240 seconds]
gxt has quit [Ping timeout: 240 seconds]
KeiraT has quit [Ping timeout: 240 seconds]
klntsky has quit [Ping timeout: 240 seconds]
korner has quit [Quit: Leaving]
klntsky has joined #nixos
KeiraT has joined #nixos
gxt has joined #nixos
oida has joined #nixos
slack1256 has joined #nixos
b42 has joined #nixos
<jtojnar> What is /etc/profiles? How does it differ from /nix/var/nix/profiles?
iqubic has joined #nixos
cinimod has joined #nixos
lsix has quit [Quit: WeeChat 2.8]
teto has joined #nixos
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/e7752db2fb6 (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
<Mic92> jtojnar: it's per-user profiles defined by nixos.
<Mic92> so you can use configuration.nix to install programs for a particular user.
blibberblob has quit [Quit: WeeChat 2.8]
<Mic92> adisbladis: You could re-write it so it can spoon-feed our new buildGoModule stuff. All we need are symlinks from the nix store to ./vendor in the source directory.
plutes has joined #nixos
<Mic92> Something on those lines was my plan. But I am not sure, when I get to it.
plutes has quit [Max SendQ exceeded]
plutes has joined #nixos
user_0x58 has quit [Remote host closed the connection]
user_0x58 has joined #nixos
<jtojnar> oh, Mic92++
<{^_^}> Mic92's karma got increased to 0b11001
agsdheidjd has quit [Ping timeout: 246 seconds]
cinimod has quit [Ping timeout: 260 seconds]
icey_ has joined #nixos
icey__ has joined #nixos
iceypoi has quit [Ping timeout: 260 seconds]
icey_ has quit [Ping timeout: 256 seconds]
agsdheidjd has joined #nixos
<aswanson> I have a bash script with a dependency that I would like to use as a quasi-application from my nix store. Is there a builder pattern for mkDerivation that essentially just copies a bash script into the nix store from an arbitrary location?
<gchristensen> no need: yourProgram = ./your.script.sh
noudle has joined #nixos
linkrage has joined #nixos
<aswanson> neat, I'll give that a shot
gustavderdrache has quit [Quit: Leaving.]
<dsx> >If subPackages is not specified, all child packages will be built.
<dsx> Mic92: so go build should generally just work?
linkrage has left #nixos [#nixos]
<Mic92> dsx: I don't understand your question?
<sauyon> https://b2.vc/actuaninap does anybody know what's going on here?
<sauyon> those paths are the same path
<dsx> Without subPackages, will buildGoModule allow for go to download stuff from internet or I still have to specify all dependencies?
<Mic92> dsx: it will allow downloading in both cases. That's what the additional checksum is for.
<dsx> modSha256?
<dsx> Ah, ok, now subPackages make sense
<aswanson> gchristensen: I guess I need to ask the followup - where in my nixos configuration does that go? should I be adding that as an override to pkgs or am I overthinking this?
<Mic92> dsx: in 20.03 it's modSha256. We switched to a new checksum in master called vendorSha256, which stores modules differently. modSha256 will be removed after the next release.
<Mic92> For the time being both are valid in nixpkgs master, but we throw a warning
<dsx> I see
<dsx> Let's see if everything will magically work
cinimod has joined #nixos
cinimod` has joined #nixos
noudle has quit []
cinimod has quit [Ping timeout: 264 seconds]
flip[m] has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #87814 → Staging next → https://git.io/JfBZ9
alexherbo2 has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed 288 commits to master: https://git.io/JfKnP
noudle has joined #nixos
tarzeau has joined #nixos
hmpffff has joined #nixos
<tarzeau> i've got nix 2.3.4 (debian sid), and i'm reading https://nixos.org/nix/manual/#chap-package-management
<tarzeau> can i use nix as root, and install software for all users?
<pbb> tarzeau: yes and no and it depends. First: Did you do the single-user or the multi-user installation?
<tarzeau> i did the lazy apt install nix installation
<pbb> ehh Nix is in the debian repositories?
<tarzeau> (actually it's called nix-bin)
<tarzeau> yes
<pbb> didn't know that
<pbb> Do you have a nix-daemon service running?
<tarzeau> https://packages.debian.org/search?keywords=nix-bin it's been in new queue for ages
<tarzeau> # ps -ef |grep nix
<tarzeau> root 3805565 1 0 13:57 ? 00:00:00 nix-daemon --daemon
<tarzeau> # yes it looks like it
<pbb> Okay nice, you have a multi-user installation then
<pbb> In this case the full answer is: Each user has an own profile (collection of packages that is exposed in the users PATH), and you can specify the profile you want to add a package to when running "nix-env"
<tarzeau> i can manage parallel versions of software installed, all built from source
<tarzeau> i want to nix install packages for our users, the users just run the software i install
magnetophon has quit [Ping timeout: 258 seconds]
<tarzeau> gobolinux also has something like that, with a bit a different file structure, but nix catched my attention
<tarzeau> (spack is also similar maybe)
<tarzeau> i'm familiar with freebsd ports also
Neo-- has quit [Ping timeout: 256 seconds]
<pbb> Okay, I'm using NixOS and some things are quite different over here compared to Debian+Nix, but I think you want to set up a new profile with all the software that should be installed for all users. This profile can then be added to all users' profiles.
<tarzeau> so nixos is a linux distribution with nix as their native package manager
<tarzeau> and it supports both source and binary packages of software
<pbb> Yes
<pbb> And also the configuration and system files are built as packages with the Nix package manager
<tarzeau> oh and it supports macos... brew and macports friend
<pbb> If your users are not supposed to be able to install software, you might be able to move them all to one profile
<cinimod`> Does anyone understand the Julia story? There's this https://discourse.julialang.org/t/using-julia-with-nixos/35129 but do I then just use the julia package manager? E.g. `julia> Pkg.add("Gadfly")`? This seems very un-nix.
nuncanada has joined #nixos
<tarzeau> i used to create some tools to make multiple packaging things from one, like debian2rpm debian2solarispkg debian2macbrew... maybe something like debian2nix is possible?
<tarzeau> coreboot-utils is outdated in nixpkgs-unstable, ahhh i saw it on github somewhere, i'll find
<pbb> tarzeau: I can update it, I'm actually the maintainer of coreboot-utils
<adisbladis> tarzeau: All packages are maintained in this repo https://github.com/nixos/nixpkgs/
<tarzeau> pbb: cool and i've got packages for debian for that :)
<tarzeau> looks not too hard, similar to brew/freebsd ports
<tarzeau> pbb: you also do flashrom by any chance?
<pbb> is that outdated as well?
Neo-- has joined #nixos
<tarzeau> i didn't search, but i'm also interested in typography, packaging a few fonts built from source for debian (fontmake, fontforge, birdfont, etc)
<tarzeau> no that's up to date, but there's a problem if you use meson to build it
alp has quit [Ping timeout: 272 seconds]
<tarzeau> and i let myself inspire from other packagers (i mainly use repology.org for that) of other distributions
<adisbladis> > builtins.map (m: m.github or m.name) flashrom.meta.maintainers
<{^_^}> [ <CODE> <CODE> ]
<pbb> :D
<adisbladis> > lib.concatStringSep " & " (builtins.map (m: m.github or m.name) flashrom.meta.maintainers)
<{^_^}> attribute 'concatStringSep' missing, at (string):313:1
<cole-h> (plural "Strings")
<pbb> can it do something like ":p" in the nix repl maybe?
<adisbladis> > lib.concatStringsSep " & " (builtins.map (m: m.github or m.name) flashrom.meta.maintainers)
<{^_^}> "Edward O'Callaghan & fpletz"
<cole-h> > :p builtins.map (m: m.github or m.name) flashrom.meta.maintainers # indeed it can
<{^_^}> [ "Edward O'Callaghan" "fpletz" ]
<pbb> nice
<pbb> tarzeau: we do use meson to build flashrom, what's the problem?
<pbb> ::q
<pbb> whoops
<tarzeau> what i don't get is if you use gcc or clang, for gnustep there's that newer obj-c 2 runtime that needs be built with clang, but also required libdispatch which i couldn't find
<tarzeau> pbb: i already know how to fix it, but just didn't do so yet, because well if a package has one maintainer you just do it, if it's maintained by a team, you don't want to waste resources and need to talk to others first
magnetophon has joined #nixos
<pbb> hmm I would just look if there's already an open PR or issue assigned to someone
<tarzeau> (it'd be a double build, meson for libflashrom, and make for flashrom, wasting some little cpu but can also wait for upstream to get it fixed)
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/19aac2413ae (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<tarzeau> pbb: nothing on salsa, but the devs on #flashrom know about it
<tarzeau> thanks for all the answers so far, i'll hang around (but afk)
<adisbladis> tarzeau: Package maintenance is a much more distributed effort in nixpkgs than most distros
<adisbladis> That someone is listed in the maintainers list doesn't mean that they have to do the actual updates
<{^_^}> [nixpkgs] @Frostman opened pull request #89182 → docker: 19.03.9 -> 19.03.10 → https://git.io/JfKci
<betawaffle> how do i get nixFlakes to stop trying to scan all the files in my git repo?
<betawaffle> it takes forever inside a VM
asymptotically has joined #nixos
artemist has joined #nixos
<artemist> ,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
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « all-cabal-hashes: update to Hackage at 2020-05-28T23:38:21Z »: https://git.io/JfKcj
KindTwo has joined #nixos
KindOne has quit [Ping timeout: 272 seconds]
<{^_^}> [nixos-weekly] @Flakebi opened pull request #121 → Correct now-dead link → https://git.io/JfKCk
<{^_^}> [nixpkgs] @FRidh pushed to staging « python.pkgs.cython: use pkg-config instead of python.pkgs.pkgconfig »: https://git.io/JfKCI
cantstanya has quit [Ping timeout: 240 seconds]
cantstanya has joined #nixos
KindTwo is now known as KindOne
<LevelChart8> I am getting a computer with Windows installed that I will partition to create a NixOS installation. Later, I will add a second harddrive. How would I associate that second HD with NixOS?
<MichaelRaskin> You want migration of store, or just ad-hoc use for various large files?
<LevelChart8> I dont understand the distinction
<LevelChart8> I will use NixOS as my primary OS
sheeldotme has joined #nixos
<LevelChart8> so i dont want the additional HD space to go to Windows
iqubic` has joined #nixos
<MichaelRaskin> Well, all OSes will see the HDD
<LevelChart8> ok so it’s a non-issue
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « haskell-hackage2nix.yaml: update list of broken builds »: https://git.io/JfKCR
<MichaelRaskin> If you format it from NixOS, it might be that Windows will be unable to read the partitions there
iqubic has quit [Ping timeout: 260 seconds]
<LevelChart8> Ok, that’s fine
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JfKC0
iqubic` has quit [Remote host closed the connection]
<MichaelRaskin> Windows doesn't have ext4 or ZFS drivers out of the box
<MichaelRaskin> If you format it as FAT32, both OS will have full access
<sheeldotme> I just installed a fresh copy of nixos tracking unstable, and created a new user. I was able to install home manager, and lorri seemingly successfully. When I went to start the lorri service I noticed "systemctl --user status" gives me Failed to connect to bus: Permission denied
<LevelChart8> On another note, do people have issues programming in JavaScript on NixOS?
Izorkin has quit [Quit: ZNC 1.8.0 - https://znc.in]
<LevelChart8> I am reading a lot of weird troubleshooting posts about npm workarounds
<euank> ;q
<euank> Oops, wrong terminal
<sheeldotme> Does anyone know why this may be? It seems like the correct env variables haven't been set.
<MichaelRaskin> LevelChart8: yes, some widespread assumptions do not hold anymore. So some workflows are different
<LevelChart8> ok
<LevelChart8> perhaps I am better off doing JS development on the windows partition
<MichaelRaskin> Well, you can very easily have a completely standard Debian or Ubuntu in a chroot.
<LevelChart8> What does that mean
<MichaelRaskin> Hmm, how much GNU/Linux experience do you have?
iqubic has joined #nixos
<LevelChart8> Not much other than when I manage Ubuntu ec2s from the CLI in AWS
<sheeldotme> Hmm, it seems nix-shell -p nix-info --run "nix-info -m" also gives me Permission denied
justanotheruser has quit [Quit: WeeChat 2.7.1]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « git-annex: update sha256 hash for the new 8.20200522 version »: https://git.io/JfKCy
<MichaelRaskin> LevelChart8: You might have a hard time with NixOS, because a lot of NixOS material presupposes familiarity with the «normal» way to do various things in other distributions (and Ubuntu or Debian learning material is typically not applicable as-is because of NixOS doing some things differently)
<sheeldotme> Is it normal that in a multiuser setup I see multi-user?: `yes` if run by root otherwise, `no`?
<LevelChart8> I have used NixOS previously, but never with a dual-boot and never while doing Javascript work
<MichaelRaskin> sheeldotme: I don't think so (it would make some sense the other way round, I guess, but not like that)
dermetfan has quit [Ping timeout: 260 seconds]
<LevelChart8> I feel reasonably comfortable with NixOS itself
dermetfan has joined #nixos
<MichaelRaskin> LevelChart8: it also depends on the kind of JS work you plan. A lot of things are basically «read node2nix README… spend five or fifteen minutes making sure you have correct options… nix-shell and work normally»
<sheeldotme> Hmm, I'm wondering if I botched some config somewhere then. It all feels fairly straight forward though.
<LevelChart8> I see
<LevelChart8> Mostly React Native I expect
<MichaelRaskin> But some things are more complicated
<LevelChart8> But I can do that work on the Windows partition if it seems complicated
justanotheruser has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to staging: https://git.io/JfKWf
<MichaelRaskin> Well, you can always check in a NixOS VM whether things you care about work
<LevelChart8> Yes
<LevelChart8> I really want to learn about NixOps
virus_dave has quit [Ping timeout: 260 seconds]
<LevelChart8> It seems very powerful so I want to force myself to learn it
<MichaelRaskin> And I think I have also booted Windows from another partition on the same HDD in a VM while running NixOS from another partition.
<clever> MichaelRaskin: if you expose the root disk to a guest, you run the risk of data corruption
MmeQuignon has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #88697 → libva: Switch from GNU Autotools to Meson → https://git.io/Jfa02
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to staging: https://git.io/JfKWn
<MichaelRaskin> clever: well, if guest only writes to the partition the main OS doesn't ever want to touch, it is not so bad
<clever> MichaelRaskin: if you can be sure of that, yeah
plutes has quit [Quit: If you judge me now, you have judge me prematurely.]
<MichaelRaskin> Well, Windows/Linux dual-boot leads to such a separation more often than not
<{^_^}> [nixpkgs] @FRidh merged pull request #78910 → libarchive: link to zstd (split zstd output) → https://git.io/JvOHO
<{^_^}> [nixpkgs] @FRidh pushed 3 commits to master: https://git.io/JfKWB
elher has joined #nixos
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « git-annex: don't update to version 8.20200522 yet to avoid test suite failures »: https://git.io/JfKWa
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JfKWr
<{^_^}> [nixpkgs] @FRidh pushed 116 commits to staging-next: https://git.io/JfKW6
<{^_^}> [nixpkgs] @FRidh pushed 6 commits to staging-next: https://git.io/JfKWP
sheeldotme has quit [Remote host closed the connection]
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
cinimod` has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @FRidh pushed to master « Revert "Merge pull request #78910 from serokell/libarchive-zstd" »: https://git.io/JfKW7
<mica[m]> How can I define an overlay that uses a whole derivation? Including a let statement
shibboleth has joined #nixos
<mica[m]> I'd like to just pull a derivation from nixpkg master branch and include it on my stable system
<cole-h> ,unstable mica[m]
<clever> ,unstable MichaelRaskin
<cole-h> lol
<clever> cole-h: faster and fewer typos!, you beat me!
<cole-h> It is an honor
<mica[m]> My PR for my package isn't even merged yet.
<clever> mica[m]: you can use builtins.fetchTarball against a git revision, or just import your own clone of nixpkgs on-disk
<mica[m]> clever: but I can't have it as an overlay?
<clever> mica[m]: you can
<clever> mica[m]: nixpkgs.overlays = [ (self: super: { foo = (import /home/clever/nixpkgs {}).foo; }) ];
<{^_^}> [nixpkgs] @primeos merged pull request #89153 → androidStudioPackages.stable: 3.6.3.0 -> 4.0.0.16 → https://git.io/JfoAN
<{^_^}> [nixpkgs] @primeos pushed 2 commits to master: https://git.io/JfKWA
<euank> I want to double check my understanding of something. I've got a flake.nix in a git repo, but I want to have `nix build` etc ignore that and treat it just as a path type flake.
<mica[m]> clever: thanks
<euank> I tried `inputs.self = { type = "path"; path = builtins.path { path = ./.; filter = filterFunc; }; };`
__monty__ has quit [Ping timeout: 272 seconds]
<euank> And that gives me 'circular import of flake path:/......'
agsdheidjd has quit [Quit: WeeChat 2.8]
<euank> (similarly `self = { type = "path"; path = "./."; };` gives me that too, but is much slower)
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/135073a87b7 (from 13 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
<euank> I guess my question is: is there any way for a flake to define or override its own input, or does the `nix` tool figure out if it's a path or not on its own and the `flake.nix` itself can't change anything there
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « idris: drop obsolete overrides for the new 1.3.3 version »: https://git.io/JfKlk
<{^_^}> [nixpkgs] @peti pushed 3 commits to haskell-updates: https://git.io/JfKlL
<ldlework> The discussion on Styx 0.8 is lively and I invite anyone who's interested to read through the discussion and leave your feedback: https://gist.github.com/dustinlacewell/1f327beccc6f1c9dcf872a7c293ef4bb
alp has joined #nixos
<{^_^}> [nixpkgs] @timstott opened pull request #89183 → go-jira: 1.0.17 -> 1.0.23 → https://git.io/JfKlC
endocrimes_ is now known as endocrimes
maxdevjs has joined #nixos
__monty__ has joined #nixos
elher has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @peti merged pull request #76427 → vscode-utils/vscodeEnv: add vscodeWithConfiguration, vscodeExts2nix a… → https://git.io/JeFAK
<{^_^}> [nixpkgs] @peti pushed 19 commits to master: https://git.io/JfKlQ
FRidh has quit [Quit: Konversation terminated!]
<{^_^}> [nixpkgs] @primeos pushed to master « rav1e: 0.3.1 -> 0.3.2 »: https://git.io/JfKlh
<{^_^}> [nixpkgs] @peti merged pull request #89160 → haskellPackages.VulkanMemoryAllocator: Add extra library necessary for compilation → https://git.io/JfKU1
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/JfK8e
orivej has quit [Ping timeout: 258 seconds]
orivej has joined #nixos
<{^_^}> [nixpkgs] @peti merged pull request #89156 → haskell: Fix with-packages-wrapper MacOS linker hack for GHC 8.8 → https://git.io/JfKeY
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/JfK8s
esclear has quit [Quit: WeeChat 2.1]
agschaid has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « configuration-hackage2nix.yaml: update list of broken builds »: https://git.io/JfK8i
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JfK8N
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage2nix.yaml: update list of broken builds »: https://git.io/JfK4e
T0pH4t has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JfK4f
quinn has joined #nixos
<cole-h> How would I overlay a package to be built with `nix-build`, directly from the commandline? e.g. I want something like `--arg overlays "pkg = pkgs.override..."` or similar.
<T0pH4t> hi all, could somebody maybe enlighten me as to why aws-lambda-cpp is not a valid package in my small test nix file https://pastebin.com/dqgF6q4M
<T0pH4t> keep getting error cannot coerce a set to a string
<T0pH4t> while evaluating the attribute 'aws-lambda-cpp' of the derivation 'validator-1'
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #nixos
__monty__ has quit [Ping timeout: 240 seconds]
__monty__ has joined #nixos
<T0pH4t> ah, nvm got it working 1 too many layers of functions. Kind of curious as to how that evaluates tho. Eg what mechanics are used to eval function mkDerivation.
alp has quit [Read error: Connection reset by peer]
alp has joined #nixos
gilligan has quit [Quit: WeeChat 2.7.1]
lopsided98 has quit [Remote host closed the connection]
lopsided98 has joined #nixos
<clever> cole-h: --arg needs a valid expr, in this case, a list of 2 layers of functions returning a set
<clever> cole-h: -arg overlays '[ (self: super: { ... }) ]'
stevenxl has joined #nixos
<bqv> ldlework: I'm keeping an eye from afar, fyi. Good work :)
<ldlework> bqv: thanks. i hope we can find an excellent api
lukegb is now known as nijzat
<cole-h> clever: Oh, that would work? Great.
<euank> cole-h: nix-build -E 'with import <nixpkgs> { overlays = ........; }; callPackage ./package {}' might work for that? Untested
<clever> euank: yeah, that would also work
<euank> arg seems cleaner though, clever++
<{^_^}> clever's karma got decreased to 449
symphorien has quit [Quit: WeeChat 2.8]
<{^_^}> Wait no, it got *increased* to 451
mudtose has joined #nixos
symphorien has joined #nixos
<mudtose> I was going to post this on reddit but submissions were restricted:
<mudtose> I have a Windows 10 Fedora dual boot. Want to switch Fedora to NixOS without losing Windows boot files. My boot partition is ext4 and Nix requires Fat32 so I can’t copy the files over even if I knew which files specifically to keep. I haven’t seen anywhere online how to deal with this. I was using GParted and deleted my fedora install.
<{^_^}> Channel nixos-20.03 advanced to https://github.com/NixOS/nixpkgs/commit/e7752db2fb6 (from 8 hours ago, history: https://channels.nix.gsc.io/nixos-20.03)
<quinn> adisbladis: when you used ladspa_dsp, how did you get pulseaudio to cooperate with LADSPA_PATH?
orivej has quit [Quit: No Ping reply in 180 seconds.]
LevelChart8 has quit [Quit: LevelChart8]
orivej has joined #nixos
ok2`- has joined #nixos
ok2` has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @peti pushed 47 commits to haskell-updates: https://git.io/JfK4Q
ok2`- is now known as ok2`
<{^_^}> [nixpkgs] @peti pushed 47 commits to haskell-updates: https://git.io/JfK4d
Izorkin has joined #nixos
<{^_^}> [nixpkgs] @calbrecht opened pull request #89184 → nodePackages: Switch to 12.x and 14.x, continue #85764 → https://git.io/JfK4x
Neo-- has quit [Ping timeout: 265 seconds]
<ma27[m]> niksnut: would you mind taking a look at https://github.com/NixOS/nix/pull/3549 ? :)
<{^_^}> nix#3549 (by Ma27, 4 weeks ago, open): Merge legacy `fetchGit`-builtin with the generic `fetchTree`-function
nikivi has quit [Remote host closed the connection]
matthiaskrgr has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @peti pushed 28 commits to haskell-updates: https://git.io/JfKBJ
shibboleth has quit [Quit: shibboleth]
agschaid has quit [Remote host closed the connection]
matthiaskrgr has joined #nixos
<{^_^}> [nixpkgs] @peti pushed 19 commits to haskell-updates: https://git.io/JfKBq
<{^_^}> [nixpkgs] @peti pushed 19 commits to haskell-updates: https://git.io/JfKBO
nikivi has joined #nixos
nikivi has quit [Read error: Connection reset by peer]
matthiaskrgr has quit [Remote host closed the connection]
<{^_^}> [nix] @Ericson2314 opened pull request #3639 → Remove `addToStore` variant as requested by `FIXME` → https://git.io/JfKBn
orivej has quit [Ping timeout: 260 seconds]
orivej_ has joined #nixos
matthiaskrgr has joined #nixos
nikivi has joined #nixos
<{^_^}> [nixpkgs] @peti pushed 16 commits to haskell-updates: https://git.io/JfKB0
nikivi has quit [Remote host closed the connection]
matthiaskrgr has quit [Remote host closed the connection]
matthiaskrgr has joined #nixos
alexherbo2 has quit [Quit: The Lounge - https://thelounge.chat]
magnetophon has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @peti merged pull request #88894 → Update Haskell package set to LTS 15.13 (plus other fixes) → https://git.io/JfVFu
<{^_^}> [nixpkgs] @peti pushed 26 commits to master: https://git.io/JfKBz
nikivi has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « Merge pull request #88894 from NixOS/haskell-updates »: https://git.io/JfKBV
LevelChart8 has joined #nixos
Dagger has quit [Excess Flood]
Dagger has joined #nixos
proofofkeags has quit [Remote host closed the connection]
proofofkeags has joined #nixos
orivej_ has quit [Ping timeout: 265 seconds]
orivej has joined #nixos
marusich has joined #nixos
proofofkeags has quit [Ping timeout: 240 seconds]
LevelChart8 has quit [Quit: LevelChart8]
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
con-f-use has joined #nixos
proofofkeags has joined #nixos
LevelChart8 has joined #nixos
LevelChart8 has quit [Client Quit]
<{^_^}> [nixpkgs] @rudolph9 opened pull request #89185 → cue: 0.1.2 -> 0.2.0 → https://git.io/JfKRk
<{^_^}> [nixpkgs] @tcbravo opened pull request #89186 → ashuffle: init at version 3.4.0 → https://git.io/JfKRL
mallox has quit [Quit: WeeChat 2.8]
alp has quit [Ping timeout: 272 seconds]
<{^_^}> [nix-pills] @sturdevant opened pull request #145 → fix minor typo in pill 11 → https://git.io/JfKRn
<{^_^}> [nixpkgs] @Ma27 merged pull request #89174 → Wtf 0.30.0 → https://git.io/JfKts
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JfKRc
marusich has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @danielfullmer opened pull request #89188 → wifite2: 2.5.3 -> 2.5.5 → https://git.io/JfKRC
<{^_^}> [nixpkgs] @stigtsp opened pull request #89189 → perlPackages.DataULID: init at 1.0.0 → https://git.io/JfKRB
<{^_^}> [nixos-homepage] @github-actions[bot] pushed commit from @edolstra to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/JfKRg
doyougnu has quit [Ping timeout: 264 seconds]
bdju has quit [Read error: Connection reset by peer]
bdju has joined #nixos
magnetophon has joined #nixos
fendor has quit [Remote host closed the connection]
knupfer has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @Ekleog opened pull request #89191 → nix-daemon module: do not rely on the daemon being running → https://git.io/JfKRP
eoli3n_ has joined #nixos
fendor has joined #nixos
<mudtose> ,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
alp has joined #nixos
<mudtose> ,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
<mudtose> Is there another channel for installation support?
mudtose has quit [Remote host closed the connection]
knupfer has joined #nixos
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #nixos
<{^_^}> [nixpkgs] @Ma27 merged pull request #89182 → docker: 19.03.9 -> 19.03.10 → https://git.io/JfKci
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JfK0B
<{^_^}> [nixos-weekly] @domenkozar merged pull request #121 → Correct now-dead link → https://git.io/JfKCk
<{^_^}> [nixos-weekly] @domenkozar pushed 2 commits to master: https://git.io/JfK0E
<{^_^}> [nixos-weekly] @domenkozar pushed commit from @Flakebi to production « Correct now-dead link »: https://git.io/JfK0g
calbrecht has quit [Remote host closed the connection]
calbrecht has joined #nixos
Izorkin has quit [Quit: ZNC 1.8.0 - https://znc.in]
con-f-use has quit [Remote host closed the connection]
quinn has quit [Quit: ZNC 1.7.5 - https://znc.in]
Izorkin has joined #nixos
Izorkin has quit [Client Quit]
quinn has joined #nixos
Izorkin has joined #nixos
T0pH4t has quit [Quit: bye...]
T0pH4t has joined #nixos
Rusty1 has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
proofofkeags has quit [Remote host closed the connection]
proofofkeags has joined #nixos
cosimone has quit [Remote host closed the connection]
cosimone has joined #nixos
proofofkeags has quit [Ping timeout: 256 seconds]
cosimone_ has joined #nixos
cosimone has quit [Ping timeout: 260 seconds]
cosimone_ is now known as cosimone
j-k has quit [Ping timeout: 246 seconds]
KeiraT has quit [Remote host closed the connection]
KeiraT has joined #nixos
marusich has joined #nixos
Dagger has quit [Excess Flood]
Dagger2 has joined #nixos
LevelChart8 has joined #nixos
<{^_^}> [nixpkgs] @raboof opened pull request #89192 → gem: init at 2020-03-26 → https://git.io/JfKEY
LevelChart8 has quit [Client Quit]
asymptotically has quit [Ping timeout: 240 seconds]
cosimone has quit [Quit: Quit.]
knupfer has quit [Quit: knupfer]
gentauro has quit [Read error: Connection reset by peer]
knupfer1 has joined #nixos
knupfer1 has quit [Client Quit]
knupfer has joined #nixos
knupfer has quit [Client Quit]
dnlkrgr has quit [Quit: WeeChat 2.7.1]
gentauro has joined #nixos
knupfer has joined #nixos
knupfer has quit [Client Quit]
eoli3n_ has quit [Ping timeout: 256 seconds]
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer1 has joined #nixos
proofofkeags has joined #nixos
knupfer1 is now known as knupfer
proofofkeags has quit [Ping timeout: 240 seconds]
proofofkeags has joined #nixos
<jtojnar> mudtose here or on discourse is fine
<jtojnar> I thought FAT was required by EFI
<{^_^}> [nixpkgs] @zowoq opened pull request #89193 → minikube: 1.10.1 -> 1.11.0 → https://git.io/JfKEx
pjt_014 has joined #nixos
erasmas has quit [Quit: leaving]
hmpffff has quit [Quit: nchrrrr…]
hmpffff has joined #nixos
hmpffff has quit [Client Quit]
fendor has quit [Read error: Connection reset by peer]
<iqubic> Setting up JACK with pulseaudio, on NIXOS is confusing me. I'm looking at the wiki and getting lost.
<iqubic> I would use this set of steps, but I don't know which set of steps to follow: https://nixos.wiki/wiki/JACK
zupo has joined #nixos
<iqubic> Do I use the JACK module, or do I start by loading the sequencer modules and stuff?
orivej has quit [Ping timeout: 246 seconds]
proofofkeags has quit [Remote host closed the connection]
proofofkeags has joined #nixos
sphalerite has quit [Quit: WeeChat 2.6]
MmeQuignon has quit [Ping timeout: 246 seconds]
proofofkeags has quit [Ping timeout: 246 seconds]
<samueldr> jtojnar: it is, the ESP should be FAT according to the spec, but some UEFI implementations have more than one FS they can recognize and some of that subset may honour a non-FAT ESP like I believe HFS on mac hardware (unverified)
<samueldr> what the heck? subreddit restricted?
gustavderdrache has joined #nixos
<iqubic> Do you use JACK and Pulse?
<ldlework> yep
sphalerite has joined #nixos
<iqubic> What does options.mine.workstation.sound.enable do?
<ldlework> it enables the module
<ldlework> look at the next line
<ldlework> you care about lines 9-43
<iqubic> I see. And does that just work out of the box?
<ldlework> no that's my personal module system, ignore that
<iqubic> So, will this just work out of the box? And will I need to install something like qjackctl separately?
<ldlework> i mean i don't know what you mean by out of the box
<ldlework> you're literally look at my configuration, which is sort of the opposite of out of the box
<abathur> when you add qjackctl and rebuild, nix will take care of that
<ldlework> assuming nixos is actually reproducable, then adding this config to yours, it should work the same :P
<abathur> ldlework: new player here, don't bite :)
<ldlework> abathur: not really lol
<iqubic> abathur: How do I add qjackctl?
<abathur> <3 ldlework
<{^_^}> ldlework's karma got increased to 17
<iqubic> What does pa_applet do?
<ldlework> pulse audio applet
<iqubic> Well, my question was more like: "Don't pavucontrol and pa_applet" do the same things.
<iqubic> ??
<ldlework> pavucontrol is like a standalone application
<ldlework> pa_applet is an applet
knupfer has quit [Ping timeout: 260 seconds]
<iqubic> I'm not sure I see the difference.
<ldlework> between a standalone application and an applet?
<iqubic> Also, sorry for my abysmal use of punctuation.
<iqubic> ldlework: Yeah.
<ldlework> ...
<ldlework> ok
<abathur> ldlework: your setup looks plausible enough that I might be willing to risk a miserable evening to try it
maddo2 has quit [Quit: See ya]
<abathur> ldlework: is it like a DE applet?
<ldlework> yeah
<ldlework> in my main window manager bar
<iqubic> Oh, so it just sits in your system-tray.
<abathur> iqubic: so, probably just a little desktop utility for configuring it; hopefully not essential to making it work
stevenxl has quit [Quit: Connection closed for inactivity]
<iqubic> abathur: Doesn't seem like it's essential
<simpson> Makes me feel guilty for not sharing my JACK setup. It's working and on NixOS but not separable from other stuff. The wiki looks like it's roughly on the right track for low-latency configuration; the security numbers are silly but they've been silly for decades.
<ldlework> lol it is just a volume control :P
orivej has joined #nixos
<iqubic> The wiki also claims that it's out of date.
<abathur> simpson: this is one of those things; I'm still traumatized from trying to get my audio config working
<simpson> *A* volume control is essential. pavucontrol's nice because it makes hotplugging easy. I wish that there were a better declarative way to prewire PA diagrams somehow. (Not like PA even has the concept of wiring diagrams internalized~)
<ldlework> I mostly followed the wiki
<ldlework> With some help in here
<abathur> I tried to fix my front-audio ports not working one time like a year ago and got so frustrated I just went back to plain alsa and gave up on bells and whistles like all of my ports working :D
<ldlework> pavucontrol is a whole window, but yes i include it because it does things that a applet volume control doesn't
<ldlework> such a bizarre conversation
<ldlework> With the setup above a jack sink for pulseaudio is created
<iqubic> simpson: The reason I'm switching to Jack is to have some nice wiring/patchbay stuff.
<ldlework> so all pa apps that don't know jack (lol), just end up working
<ldlework> For everything that talks alsa or jack, you can use jackctrl
<ldlework> it's based off the wiki, but not the realtime stuff
<simpson> iqubic: I don't have my patchbay declared. If I boot things up in the wrong order, then I have to go pavucontrol and fix things around.
<iqubic> What does that mean?
<iqubic> Can't you use qjackctl as a patchbay?
<simpson> Like, I have an external hardware module that connects over USB. Whether it is on or not will affect what PA decides to wire up.
<iqubic> Weird. That's so freaking bizarre.
<simpson> Well, in this channel, let's say that declarative configuration is in Nix expressions.
<iqubic> Alright.
proofofkeags has joined #nixos
asbachb has quit [Remote host closed the connection]
<simpson> Nah, that's life. That's how basically all peripherals work. Most configuration changes don't commute. How is PA supposed to know that I'm recording 4 channels or 2 channels? I have to tell it.
orivej has quit [Ping timeout: 264 seconds]
<iqubic> And how do you do that?
proofofkeags has quit [Remote host closed the connection]
<simpson> Clicking around a bunch in pavucontrol every time I want to record stuff.
proofofkeags has joined #nixos
<abathur> iqubic do you have a sense of how to adapt what ldlework shared into your own .nix config??
<ldlework> "copy paste lines 8 - 43 into configuration.nix or equivalent"
<iqubic> Yes. I can do that real easily.
<iqubic> ldlework: I was going to something a bit more complex, but yeah that basically.
philr has joined #nixos
NeoCron has quit [Ping timeout: 260 seconds]
<{^_^}> [nix] @edolstra pushed 2 commits to flakes: https://git.io/JfKzR
acarrico has quit [Ping timeout: 256 seconds]
proofofkeags has quit [Ping timeout: 246 seconds]
o1lo01ol_ has joined #nixos
zupo has quit [Ping timeout: 246 seconds]
o1lo01ol1o has quit [Ping timeout: 246 seconds]
__monty__ has quit [Quit: leaving]
meh` has quit [Ping timeout: 260 seconds]
zupo has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
justanotheruser has quit [Ping timeout: 256 seconds]
<{^_^}> [nix] @edolstra pushed to flakes « Move substitution into Input::fetch() »: https://git.io/JfKge
LevelChart8 has joined #nixos
<{^_^}> [nix] @edolstra closed pull request #3520 → Try to substitute tree for all uses of fetchTree instead of just in flakes → https://git.io/JfTCJ
leotaku has quit [Ping timeout: 260 seconds]
lightbulbjim has joined #nixos
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
leotaku has joined #nixos
orivej has joined #nixos
justanotheruser has joined #nixos
dhess has quit [Quit: ZNC - https://znc.in]
dhess has joined #nixos
<{^_^}> [nixpkgs] @danielfullmer opened pull request #89195 → diffoscope: add missing tools → https://git.io/JfKg8
nijzat is now known as lukegb
orivej has quit [Ping timeout: 256 seconds]
proofofkeags has joined #nixos
<energizer> i wish nix could rebuild so fast that i could use it instead of mutable configuration values but it's about 10x too slow for that atm
<energizer> i'm curious where the bottlenecks are
<{^_^}> nix-community/vgo2nix#40 (by dsx, 7 minutes ago, open): Enabled shallow clones
mbrgm_ has joined #nixos
<energizer> `time nixos-rebuild dry-build` takes 6 seconds. is that all evaluation time?
proofofkeags has quit [Ping timeout: 240 seconds]
mbrgm has quit [Ping timeout: 260 seconds]
mbrgm_ is now known as mbrgm
jlv[m] has joined #nixos
sigmundv has quit [Read error: Connection reset by peer]
Dagger2 has quit [Excess Flood]
Dagger2 has joined #nixos
sigmundv has joined #nixos
orivej has joined #nixos
LevelChart8 has quit [Quit: LevelChart8]
chloekek_ has quit [Ping timeout: 260 seconds]
LevelChart8 has joined #nixos
iyzsong has joined #nixos
<energizer> ongoing discussion https://github.com/NixOS/nixpkgs/issues/57477
<{^_^}> #57477 (by Infinisil, 1 year ago, open): `nixos-rebuild --switch` too slow, tracking issue
LevelChart8 has quit [Quit: LevelChart8]