andi- changed the topic of #nixos to: NixOS stable: 19.09 \o/ https://discourse.nixos.org/t/nixos-19-09-release/4306/2 || 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
Mateon1 has quit [Ping timeout: 268 seconds]
Mateon3 is now known as Mateon1
pbb_ has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<nilsirl[m]> thoughtpolice: How can I fully reset postgresql. It seems to be stuff newly declared inside of configuration.nix isn't applied and stuff that has been removed is still applied. (I do not mind loosing data inside of databases)
pbb has joined #nixos
<samueldr> infinisil: oh wow
<nilsirl[m]> thoughtpolice: which is why I'd like to reset it
<gchristensen> wowowowowowowow infinisil
ryanartecona has quit [Quit: ryanartecona]
Maxdamantus has quit [Ping timeout: 260 seconds]
Maxdaman2us has joined #nixos
<qyliss> that's awesome infinisil
linkrage has quit [Quit: Leaving]
<samueldr> infinisil++
<{^_^}> infinisil's karma got increased to 212
<infinisil> :D
<qyliss> infinisil++
<{^_^}> infinisil's karma got increased to 213
erictapen has quit [Ping timeout: 240 seconds]
erictapen has joined #nixos
judson has quit [Ping timeout: 240 seconds]
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
egasimus has joined #nixos
j4m3s__ has quit [Ping timeout: 268 seconds]
<egasimus> https://github.com/musnix/musnix/issues/104 am I correct in thinking this is a circular reference/forward declaration issue in https://github.com/musnix/musnix/blob/master/modules/kernel.nix#L84
<{^_^}> musnix/musnix#104 (by egasimus, 5 minutes ago, open): attribute 'linuxPackages_4_9_rt' missing
multun has quit [Ping timeout: 265 seconds]
KeiraT- has joined #nixos
Maxdaman2us has quit [Ping timeout: 240 seconds]
Maxdamantus has joined #nixos
egasimus has left #nixos [#nixos]
egasimus has joined #nixos
multun has joined #nixos
kloenk has quit [Remote host closed the connection]
mexisme_ has quit [Quit: WeeChat 2.7]
j4m3s__ has joined #nixos
pbb has quit [Ping timeout: 272 seconds]
pbb_ has joined #nixos
kloenk has joined #nixos
gustavderdrache has joined #nixos
Heirlung has quit [Ping timeout: 260 seconds]
turona has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @rnhmjoj merged pull request #71302 → rngd: Start early during boot and encrypted swap entropy fix → https://git.io/Je4Qo
<{^_^}> [nixpkgs] @rnhmjoj pushed 3 commits to master: https://git.io/JvCD0
egasimus has quit [Ping timeout: 260 seconds]
KeiraT- has quit [Quit: KeiraT-]
turona has joined #nixos
Heirlung has joined #nixos
xkapastel has joined #nixos
kleisli has joined #nixos
<gchristensen> infinisil: I *love* the idea you have here.
<samueldr> I'm wondering what other things can be done with nix, and nixpkgs, if we allow a "go fast" mode that would be able to turn off things that are meant to help the end-user
<{^_^}> [nixpkgs] @r-ryantm opened pull request #79879 → allegro5: 5.2.5.0 -> 5.2.6.0 → https://git.io/JvCDr
<samueldr> there will always be push back against user-friendliness when it's at the cost of performance
<qyliss> there should be no performance cost here though, right?
<qyliss> it should only run in the error case
<samueldr> not sure, if I look at the comments
<samueldr> or maybe I misremebered one?
<samueldr> but eh, the idea still stands
<qyliss> You could be right, I'd just assumed
<samueldr> even inside nix, keeping more debugging information
<infinisil> qyliss: Performance cost should be negligible
<infinisil> There is a tiny one for evaluating missingArgs == []
<qyliss> nice :)
<samueldr> yeah, looking back at the comments I only see the question "what's the performance impact?", I must have assumed there was one :)
<gchristensen> I'm excited by the prospect of Nix doing this automatically
<samueldr> 17% increase in cpuTime, is this something that could be related or just noise?
<gchristensen> 17% is pretty big
shibboleth has quit [Quit: shibboleth]
<emily> I think Nix's performance problems are largely not ones that conflict with user-friendliness
cartwright has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<infinisil> samueldr: gchristensen: This number can't be trusted at all really
<samueldr> let's inverse the question: what can we do to improve user-friendliness that is costly in perfs?
<infinisil> It's a single sample
<samueldr> yeah, that's why I'm asking
<gchristensen> heh
<samueldr> I don't know what to make of that number
<infinisil> Should be at least 5 samples before and after, then check stddev, otherwise this could be anything :)
<gchristensen> true, and the other elements (which I believe are deterministic) don't change much
o1lo01ol1o has joined #nixos
mbrgm_ has joined #nixos
mbrgm has quit [Ping timeout: 246 seconds]
mbrgm_ is now known as mbrgm
<{^_^}> [nixpkgs] @petabyteboy opened pull request #79880 → seabios: 1.11.0 -> 1.13.0 → https://git.io/JvCDF
mexisme has joined #nixos
Synthetica has quit [Quit: Connection closed for inactivity]
o1lo01ol1o has quit [Ping timeout: 265 seconds]
pbb_ has quit [Ping timeout: 246 seconds]
kloenk has quit [Ping timeout: 246 seconds]
kloenk has joined #nixos
pbb has joined #nixos
<infinisil> gchristensen: samueldr: Though really, I don't think there's any benefit to implementing this in Nix
<infinisil> (with something like builtins.callPackage)
<infinisil> Because everybody uses pkgs.callPackage for this auto-calling thing already
<infinisil> There's no other place where that builtin would be used
jojojojojo has quit [Quit: ZNC 1.7.4 - https://znc.in]
jojojojojo has joined #nixos
turona has quit [Quit: ...]
kleisli has quit [Ping timeout: 265 seconds]
KeiraT has quit [Remote host closed the connection]
mexisme_ has joined #nixos
turona has joined #nixos
mexisme has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @marsam opened pull request #79881 → ncspot: 0.1.1 -> 0.1.2 → https://git.io/JvCyO
<{^_^}> [nixpkgs] @petabyteboy opened pull request #79882 → update libubox, uqmi; init uci, ubus, netifd → https://git.io/JvCys
<{^_^}> [nixpkgs] @marsam opened pull request #79883 → nodejs-12_x: 12.15.0 -> 12.16.0 → https://git.io/JvCyc
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
wildtrees has quit [Quit: Leaving]
zeta_0 has joined #nixos
zeta_0 has quit [Client Quit]
<{^_^}> [nixpkgs] @marsam merged pull request #79865 → spdx-license-list-data: 3.7 -> 3.8 → https://git.io/JvCXC
<{^_^}> [nixpkgs] @marsam pushed 3 commits to master: https://git.io/JvCyE
kloenk has quit [Ping timeout: 246 seconds]
pbb has quit [Ping timeout: 272 seconds]
logzet has quit [Ping timeout: 240 seconds]
pbb has joined #nixos
kloenk has joined #nixos
logzet has joined #nixos
bhipple has joined #nixos
gustavderdrache has quit [Quit: Leaving.]
thc202 has quit [Ping timeout: 245 seconds]
erictapen has quit [Ping timeout: 265 seconds]
Soo_Slow has quit [Quit: Soo_Slow]
logzet has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JvCy6
Rusty1 has quit [Remote host closed the connection]
<gchristensen> I have a systetmd service failing with: logger: failed to resolve name 'foo', but `ping foo` works fine. any ... uh ... thoughts?
<Cadey> what magic is going on inside the systemd unit?
<Cadey> like any magic unix flags like network namespaces?
<gchristensen> I don't think so, checking though
werner291 has quit [Quit: werner291]
<gchristensen> nothing -- really plain systemd service: http://ix.io/2bsB
<{^_^}> [nixpkgs] @r-ryantm opened pull request #79884 → caf: 0.17.3 -> 0.17.4 → https://git.io/JvCyN
<gchristensen> I think it is some evilness I'm doing with bash.
<gchristensen> yes. that is it.
<samueldr> what was it doing?
<gchristensen> here is a hint: logger doesn't quote the name it is trying to resolve.
<Cadey> lol
<Cadey> that was my next thought
F-Zer0 has joined #nixos
mexisme_ has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @MetaDark opened pull request #79885 → texlab: 1.9.0 -> 1.10.0 → https://git.io/JvCS8
mexisme_ has joined #nixos
h0m1 has quit [Ping timeout: 272 seconds]
h0m1 has joined #nixos
KeiraT has joined #nixos
swapgs has joined #nixos
swapgs has joined #nixos
swapgs has quit [Changing host]
iyzsong has joined #nixos
nuncanada has quit [Quit: Leaving]
rogue_koder has quit [Remote host closed the connection]
rogue_koder has joined #nixos
F-Zer0 has quit [Ping timeout: 260 seconds]
F-Zer0 has joined #nixos
sbetrium has joined #nixos
sbetrium has quit [Client Quit]
kvda has joined #nixos
boxscape has quit [Remote host closed the connection]
sbetrium has joined #nixos
sbetrium has quit [Client Quit]
h0m1 has quit [Ping timeout: 246 seconds]
waleee-cl has quit [Quit: Connection closed for inactivity]
Supersonic has quit [Ping timeout: 272 seconds]
<cole-h> If I wanted to specify env vars for a specific binary package to start with, how would I do that, inside of `home.packages`? Or would it just be better to let-bind it?
felixfoertsch has quit [Ping timeout: 246 seconds]
doublex__ has quit [Remote host closed the connection]
doublex__ has joined #nixos
<cole-h> Just needed parentheses :^) `(pkg.overrideAttrs (_: { VAR1="lol"; }))` does the job
<cole-h> Or rather, is building
<{^_^}> [nixpkgs] @brcha opened pull request #79886 → Fix/vscode dbusmenu support → https://git.io/JvC9R
<{^_^}> [nixpkgs] @ryantm merged pull request #79807 → go-jsonnet: 0.14.0 -> 0.15.0 → https://git.io/JvCGK
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to staging: https://git.io/JvC9z
kleisli has joined #nixos
<{^_^}> [nixpkgs] @brcha closed pull request #79886 → Fix/vscode dbusmenu support → https://git.io/JvC9R
captn3m0- has quit [Ping timeout: 260 seconds]
captn3m0 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #79887 → armadillo: 9.800.4 -> 9.850.1 → https://git.io/JvC99
captn3m0 has quit [Ping timeout: 260 seconds]
<infinisil> cole-h: That won't set that variable at runtime
<infinisil> But rather only at build time
mrpi has quit [Remote host closed the connection]
ajs124 has quit [Remote host closed the connection]
Scriptkiddi has quit [Remote host closed the connection]
das_j has quit [Remote host closed the connection]
<cole-h> Yeah, I found that out the hard way
<cole-h> And makeWrapper didn't seem to work the way I was expecting either.
<{^_^}> [nixpkgs] @ldelelis opened pull request #79888 → tdesktop: creates desktop item post install → https://git.io/JvC9N
<infinisil> cole-h: I'd recommend the symlinkJoin with makeWrapper method there
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alexherbo2 has quit [Ping timeout: 265 seconds]
mexisme_ has quit [Ping timeout: 268 seconds]
KeiraT has quit [Quit: KeiraT]
KeiraT has joined #nixos
mexisme_ has joined #nixos
<cole-h> That did the trick. Thanks! The actual issue (when using makeWrapper) was that I had misspelled the operative env var :D
<cole-h> infinisil++
<{^_^}> infinisil's karma got increased to 214
ben_ has joined #nixos
ben_ has quit [Read error: Connection reset by peer]
xkapastel has quit [Quit: Connection closed for inactivity]
philr has quit [Ping timeout: 265 seconds]
philr has joined #nixos
<infinisil> :D
<{^_^}> [nixpkgs] @brcha opened pull request #79889 → vscode: Added libdbusmenu support → https://git.io/JvCHJ
mexisme_ has quit [Ping timeout: 260 seconds]
cap_sensitive has quit [Remote host closed the connection]
kvda has joined #nixos
<samueldr> infinisil (sorry to bother you specifically, but you're the one most likely to help) there's a default in the options system that needs to be set conditionally depending on the system's platform (e.g. pkgs.stdenv.isx86_64)
<samueldr> this leads to infinite recursion
<samueldr> any tip or trick?
<samueldr> (searching is I can see something relevant meanwhile)
cap_sensitive has joined #nixos
<gchristensen> I have a strange problem. I'm installing on to a new system with grub. I run mkfs --type vfat -F 32 -n EFI /dev/disk/by-id/ata-SuperMicro_SSD_SMC0515D93017DIA6060-part1; mount -t vfat /dev/disk/by-id/ata-SuperMicro_SSD_SMC0515D93017DIA6060-part1 /mnt/boot and nixos-install outputs: installing the GRUB 2 boot loader on /dev/disk/by-id/ata-SuperMicro_SSD_SMC0515D93017DIA6060... and then I kexec the
<gchristensen> installed system. right before I do, the kernel prints [ 225.591894] FAT-fs (sdc1): Invalid FSINFO signature: 0x00821cea, 0x8a001002 (sector = 1) to dmesg. then at boot I get [ 12.287246] FAT-fs (sdk1): invalid media value (0xe2), -- anyone seen this?
philr has quit [Ping timeout: 268 seconds]
ris has quit [Ping timeout: 240 seconds]
<infinisil> samueldr: What's the --show-trace?
<samueldr> just a sec, I might have been unobservant and failed at testing properly something
<samueldr> those long stack traces, sometimes my eyes glaze and I assume it's the same issue when the error does change :/
<samueldr> I was getting another error when testing against unstable, so this confused me, one of the package I'm using is apparently removed
<samueldr> but yeah, that's what I was getting
<infinisil> samueldr: Oh i think I've seen this before
<samueldr> why didn't you fix it :^)
<infinisil> samueldr: this is probably a case of a strict system.build attrset
<infinisil> Hehe
<samueldr> this uh, doesn't help me, not sure what is a strict system.build
<infinisil> Hmm..
v88m has quit [Ping timeout: 272 seconds]
<samueldr> and to answer the XY, the goal is to not have `vmware` as a videoDrivers on platforms where it's not available, in the default value
<samueldr> if a user adds a videoDriver that is not available on their platform it should error out
<infinisil> So it's something with: Some system.build.* attr is evaluated -> because of this all other system.build.* attrs are evaluated, one of which is system.build.toplevel -> this evaluates all assertions -> the assertions do some file system checks -> file systems are declared with system.build.fileSystems
<samueldr> so the easy out of "just filtering out invalid packages" is not good
dansho has quit [Ping timeout: 240 seconds]
<samueldr> oh
<samueldr> I think I get the main idea
<samueldr> obviously cannot use currentSystem since... well cross-compilation
<infinisil> Hope that helps, I'm gonna go sleep now though, good luck :P
<samueldr> could the default be null, and lib.mkDefault'd in the config?
mexisme_ has joined #nixos
<infinisil> samueldr I'd try to understand how the recursion happens exactly, then I often find that the problem becomes clear
<samueldr> go sleep now, and thanks :)
mac10688 has joined #nixos
HailSagan[m] has joined #nixos
<cole-h> What's the function that checks if the user is in a NixOS environment or not?
lovesegfault has joined #nixos
<mdash> is there one?
<cole-h> Ah, it seems most people just roll their own by checking is `/etc/nixos` exists
<samueldr> it's really one of these moments the ability to step / pause, and look at stuff would tremendously help
<{^_^}> [nixpkgs] @jonringer opened pull request #79890 → readme: add discord link → https://git.io/JvCHS
nathanlkoch has joined #nixos
phreedom has quit [Remote host closed the connection]
nathanlkoch has quit [Quit: No Gods, No Masters.]
phreedom has joined #nixos
nathanlkoch has joined #nixos
cap_sensitive has quit [Remote host closed the connection]
* emily personally disapproves of checking the existence of /etc/nixos
<emily> as a NixOS user without /etc/nixos
<emily> emily@renko ~> echo $NIX_PATH
<emily> nixpkgs=/home/emily/etc/nixos/extern/nixpkgs nixos-config=/home/emily/etc/nixos/renko.nix nixpkgs-overlays=/home/emily/etc/nixos/overlays
<emily> not sure if there's a much better alternative, though
captn3m0 has joined #nixos
chagra_ has joined #nixos
chagra has quit [Ping timeout: 240 seconds]
nathanlkoch has quit [Quit: No Gods, No Masters.]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #79891 → cppunit: 1.15.0 -> 1.15.1 → https://git.io/JvCQf
nathanlkoch has joined #nixos
cap_sensitive has joined #nixos
nathanlkoch has quit [Client Quit]
nathanlkoch has joined #nixos
raghavsood has joined #nixos
<raghavsood> ,channels
<{^_^}> Largest Nix-related channels: #nixos, #nixos-dev, #nix-darwin, #nixos-chat, #nixos-aarch64, #nixos-wiki, #nixos-borg, #nixos-security, #nix-core
<raghavsood> Hello, I'm trying to get the google_pubsub plugin working for logstash (https://github.com/logstash-plugins/logstash-input-google_pubsub).
<raghavsood> logstash plugins need to be installed into a directory, which the main logstash config file can then refer to. For ruby gems, existing derivations simply copy the lib/* dir and use the output path. This doesn't work in this case, since the pubsub plugin relies on a number of jar files, which evidently must be pulled by bundler. Howerver, `bundix`
<raghavsood> also chokes on trying to create a derivation for the gem (which is, according to the README, not intended to be installed as a package directly anyways)
endformationage has quit [Quit: WeeChat 2.6]
<raghavsood> I'm now trying to use the `logstash-plugin install` command (https://www.elastic.co/guide/en/logstash/current/offline-plugins.html) with an offline plugin pack generated from another system. However, my derivation for that seems to be failing, and I would appreciate any help: https://gist.github.com/RaghavSood/db145a7bd56cff13f4af791a0d7e412d
nathanlkoch has quit [Quit: No Gods, No Masters.]
v88m has joined #nixos
nathanlkoch has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #79892 → clickhouse: 19.13.6.51 -> 19.17.8.54 → https://git.io/JvCQ1
nathanlkoch has quit [Quit: No Gods, No Masters.]
<NoctisLa1> How do I setup my bootloader to launch different nixos configs?
growpotkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #79893 → closurecompiler: 20190909 -> 20200204 → https://git.io/JvCQF
ddellacosta has quit [Ping timeout: 272 seconds]
lovesegfault has quit [Ping timeout: 246 seconds]
lovesegfault has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #79894 → dar: 2.6.7 -> 2.6.8 → https://git.io/JvC7J
EdsNix has joined #nixos
bhipple has quit [Remote host closed the connection]
<EdsNix> hi, how do I add a bootloader parameter to my nixos config while installing nixos? My hardware won't boot nixos, or any Linux, without pci=noats
<EdsNix> I did this by pressing "e" during the ISO boot, but want to make it permenant in the new install
<EdsNix> hmm, anyone awake here?
<EdsNix> I'm also installing with a ZFS root if I can, if that matters
<cole-h> For some reason, the 3.1b1 beta release of fish-shell has a problem with some unicode like family: IBM Plex Mono
<cole-h> Oops
<cole-h> I meant, like '❯'
<cole-h> Weirdest part is that 3.0.2 from the cache doesn't exhibit this problem
<EdsNix> very fishy
<cole-h> :D
<EdsNix> how do I modify the bootloader kernel parameters the nixos way?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #79895 → chirp: 20191221 -> 20200207 → https://git.io/JvC7O
<EdsNix> I need to get this done just to boot without intervening during boot
<cole-h> EdsNix: Have you tried `boot.kernelParams = [ /* args */ ];`?
<buckley310> can anyone spot the bug in this config snippet? http://ix.io/2bt6 when I run it i get: error: attribute 'xlibsWrapper' missing, at /nix/store/.../gstreamer/legacy/gst-plugins-base/default.nix:43:9
<EdsNix> I haven't tried anything yet, other than pressing ""e" during boot, in fact, I haven't finished installing yet.
<emily> yeah, boot.kernelParams is it
<EdsNix> so that'ss what to do?
<emily> I think the config generator might include ones you specified explicitly to the installer by default, but don't rely on that without checking my hunch
<EdsNix> I didn't see that in the config generator
<EdsNix> I added it manually tho.
<EdsNix> thanks
<cole-h> :)
<EdsNix> anaconda in Fedora does that, that was a bit of a pleasant surprise.
<EdsNix> (adding kernel parameters automagically)
<EdsNix> nixos though is a bit more involved anyway. :)
<cole-h> Is there a way to remove some lines from a postInstall section without copying the entire string and removing them?
mexisme_ has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #79896 → cmake: 3.16.3 -> 3.16.4 → https://git.io/JvC7Z
cap_sensitive has quit [Remote host closed the connection]
cap_sensitive has joined #nixos
EdsNix has quit [Remote host closed the connection]
natek has joined #nixos
<cole-h> Any NixOS users feel up to testing a fish 3.1b1 overlay to see if the issue is because I have a mixed system and not NixOS?
lord| has quit [Read error: Connection reset by peer]
<cole-h> If you're feeling adventurous, I have a gist with the overlay. Basically, just set your fish prompt to something with a unicode character (like '❯' or 'λ') and see if fish complains.
lord| has joined #nixos
wifi-problems has joined #nixos
ryjm has joined #nixos
aterius has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #79897 → byobu: 5.130 -> 5.131 → https://git.io/JvC7V
<aterius> Running latest nixpkgs, wondering if it's a driver incompatibility error
<wifi-problems> i have some wifi problems and i'd like some help to diagnose the cause. I often lose wifi connectivity and it's pretty annoying. It will disconnect and reconnect often and idk how to troubleshoot
drakonis_ has quit [Read error: Connection reset by peer]
wifi-problems has quit [Remote host closed the connection]
<cole-h> RIP
<{^_^}> [nixpkgs] @r-ryantm opened pull request #79898 → debootstrap: 1.0.116 -> 1.0.117 → https://git.io/JvC7H
Supersonic has joined #nixos
xkapastel has joined #nixos
zupo has joined #nixos
palo1 has joined #nixos
Carp has joined #nixos
palo has quit [Ping timeout: 260 seconds]
palo1 is now known as palo
<{^_^}> [nixpkgs] @r-ryantm opened pull request #79899 → dcmtk: 3.6.5 -> 3.6.5+_20191213 → https://git.io/JvC5W
<{^_^}> [nixpkgs] @Gabriel439 opened pull request #79900 → Add Nixpkgs support for Dhall → https://git.io/JvC5l
<{^_^}> [nixpkgs] @sikmir opened pull request #79901 → nnn:: 2.9 -> 3.0 → https://git.io/JvC54
cap_sensitive has quit [Quit: WeeChat 2.7]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #79902 → btrbk: 0.29.0 -> 0.29.1 → https://git.io/JvC5u
mexisme_ has joined #nixos
mexisme_ has quit [Ping timeout: 260 seconds]
karantan has joined #nixos
thc202 has joined #nixos
mexisme_ has joined #nixos
sarna has joined #nixos
<sarna> hello, I’m trying to install Nix on Manjaro. I ran the install script, but it didn’t modify any of my .*rc files :/ what should I do?
<clever> sarna: what does `ls -ltrha` in your home folder end with?
<sarna> it also didn’t create the ~/.nix-profile directory
<clever> sarna: what is the last thing the install script printed?
wiml has quit [Quit: wiml]
<sarna> clever: it listed all my stuff, I grepped nix - nothing
<sarna> clever: it said everything went fine and it’s gonna modify .bashrc now
<clever> can you pastebin the output?
<sarna> not really, I closed the terminal.. let me reinstall
<sarna> didn’t print anything about bash this time, weird..
orivej has quit [Ping timeout: 268 seconds]
u0_a121 has joined #nixos
cidkid has joined #nixos
cidkid has quit [Client Quit]
<clever> sarna: did it make something in /etc/profile.d ?
<sarna> clever: yeah there’s nix.sh
<clever> then it already worked, and something in your shell should be sourcing everything in /etc/profile.d/
Church- has quit [Ping timeout: 260 seconds]
<sarna> oh, so I gotta relog then
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
<sarna> clever: works now :) thanks
pjan has quit [Remote host closed the connection]
u0_a121 has quit [Read error: Connection reset by peer]
u0_a122 has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
leotaku has joined #nixos
hyper_ch2 has joined #nixos
sarna has left #nixos [#nixos]
pjan has joined #nixos
kleisli has quit [Ping timeout: 240 seconds]
Chiliparrot has joined #nixos
Church- has joined #nixos
c0c0 has joined #nixos
<{^_^}> [nixpkgs] @mmahut merged pull request #79857 → trezord: 2.0.27 -> 2.0.28 → https://git.io/JvCrp
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/JvCdo
h0m1 has joined #nixos
graf_blutwurst has joined #nixos
<{^_^}> [nixpkgs] @mmahut opened pull request #79903 → (20.03) trezord-go: 2.0.27 -> 2.0.28 → https://git.io/JvCdy
zupo has joined #nixos
zupo has quit [Client Quit]
mexisme_ has quit [Ping timeout: 240 seconds]
mac10688 has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #79904 → fasm: 1.73.21 -> 1.73.22 → https://git.io/JvCdd
linarcx has joined #nixos
<ar> /34
cidkid has joined #nixos
zupo has joined #nixos
cidkid has quit [Client Quit]
zupo has quit [Client Quit]
philr has joined #nixos
leotaku has quit [Ping timeout: 260 seconds]
gagbo has joined #nixos
graf_blutwurst has quit [Remote host closed the connection]
cidkid has joined #nixos
Tucky has joined #nixos
ng0_ has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #79896 → cmake: 3.16.3 -> 3.16.4 → https://git.io/JvC7Z
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to staging « cmake: 3.16.3 -> 3.16.4 »: https://git.io/JvCFI
ng0 has quit [Ping timeout: 272 seconds]
<eoli3n> Hi /all
logzet has joined #nixos
lsix has joined #nixos
<eoli3n> why using let in and not just simple flat var set ?
<eoli3n> 'let a = "foo"; in a' == 'a = "foo" \n a'
<eoli3n> just to override gloval vars ?
<dminuoso> eoli3n: Because we have no notion of "setting variables"
<dminuoso> eoli3n: The equals sign does not mean "assign something to a variable"
<dminuoso> eoli3n: There is also no notion of "top level"
<eoli3n> so what is a = "foo" ?
<eoli3n> what does
<dminuoso> eoli3n: Its not `a = "foo"
<dminuoso> eoli3n: Its `let a = "foo" in ...`
<eoli3n> yep but in nix repl a = "foo" works
<dminuoso> eoli3n: That's an *expression* which essentially says "Inside this ..., let a and "foo" mean the same thing"
<dminuoso> eoli3n: nix repl is special
<dminuoso> ignore it
<eoli3n> arrr
<{^_^}> [nixpkgs] @marsam merged pull request #79881 → ncspot: 0.1.1 -> 0.1.2 → https://git.io/JvCyO
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvCFn
m0rphism has joined #nixos
<eoli3n> so we can't use key = value in nix files, that's why
<dminuoso> eoli3n: There's not really a notion of "nix files"
<dminuoso> eoli3n: They are just files containing nix expressions.
<dminuoso> Or well. I suppose `import` provides that notion
<eoli3n> hm
vandenoever has joined #nixos
vandenoever has joined #nixos
vandenoever has quit [Changing host]
graf_blutwurst has joined #nixos
veske has joined #nixos
<eoli3n> ok i'm starting to understand generic builder pill
<eoli3n> but this is still obscure : with (import <nixpkgs> {});
<eoli3n> import nixpkgs {} return a set, that is "loaded" with "with" ?
logzet has quit [Ping timeout: 240 seconds]
<eoli3n> the set contains ALL drv of all packages
puffnfresh_ is now known as puffnfresh
<eoli3n> s/"loaded"/instanciated
iz16 has joined #nixos
zupo has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #79905 → digitalbitbox: 2.2.2 -> 3.0.0 → https://git.io/JvCFK
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<dminuoso> eoli3n: "with" does not load, it's similar to let
<eoli3n> ok, with is here to be able to call each packages
<eoli3n> like inherit gnutar
<eoli3n> gnutar in <nixpkgs>.gnutar
<eoli3n> is that true ?
<eoli3n> s/in/is
Nycatelos has left #nixos ["WeeChat 2.7"]
<eoli3n> gnutar is <nixpkgs>.gnutar
karantan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
natek has quit [Quit: No Gods, No Masters.]
tilpner_ is now known as tilpner
Makaveli7 has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #79906 → flashrom: 1.1 -> 1.2 → https://git.io/JvCFA
kloenk has quit [Remote host closed the connection]
pbb has quit [Remote host closed the connection]
pbb has joined #nixos
karantan has joined #nixos
<dminuoso> eoli3n: Well yeah. Think of `with x; expr` as `let foo = x.foo; bar = x.bar; ... in expr`
<dminuoso> eoli3n: It's probably not exactly true in some edges cases, but roughly its right.
kwork_ is now known as kwork
dm9 has joined #nixos
<eoli3n> ok
<eoli3n> thx dminuoso
kloenk has joined #nixos
timor has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed 70 commits to staging-next: https://git.io/JvCbs
<{^_^}> [nixpkgs] @FRidh pushed 71 commits to staging: https://git.io/JvCbG
<eoli3n> why "for d in *" ?
<eoli3n> and not extract tar in a temp dir ?
<eoli3n> a specific one ?
<eoli3n> it seems dirty, it extract in variable dir, then we need to test each entry to find this one
<Unode> hi all, is it possible to prevent nix-build from trying to connect to the internet?
chloekek has joined #nixos
<Unode> I tried using it offline from a bash script and the script kept retrying the connection
cole-h has quit [Ping timeout: 240 seconds]
zupo_ has joined #nixos
timor has quit [Remote host closed the connection]
timor has joined #nixos
<{^_^}> [nixpkgs] @bkchr opened pull request #79908 → kdepim-runtime: Remove obsolete patch to fix compilation → https://git.io/JvCbR
smatting has joined #nixos
mexisme_ has joined #nixos
Tucky has quit [Quit: WeeChat 2.7]
gxt has quit [Remote host closed the connection]
gxt has joined #nixos
chagra_ has quit [Quit: WeeChat 2.6]
mexisme_ has quit [Ping timeout: 246 seconds]
claudiii has joined #nixos
o1lo01ol1o has joined #nixos
Tucky has joined #nixos
martinb_ has joined #nixos
<wedens[m]> Unode: nix-build --option substituters ""
<wedens[m]> if that's what you mean
timor has quit [Read error: Connection reset by peer]
o1lo01ol1o has quit [Ping timeout: 268 seconds]
hyper_ch2 has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
martinb_ has quit [Ping timeout: 268 seconds]
martinb_ has joined #nixos
<{^_^}> [nixpkgs] @fgaz opened pull request #79910 → mindustry,mindustry-server: 103 -> 104.1 → https://git.io/JvCbb
vidbina has joined #nixos
o1lo01ol1o has quit [Ping timeout: 260 seconds]
o1lo01ol1o has joined #nixos
hyper_ch2 has joined #nixos
graf_blutwurst has quit [Remote host closed the connection]
<hyper_ch2> hmmmm, what is a recommended setup for a installation on which I only want to run Virt-Viewer or Virt-Manager. I don't need to run anything else
MinceR has quit [Ping timeout: 245 seconds]
karantan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zceejkr has joined #nixos
o1lo01ol1o has quit [Ping timeout: 260 seconds]
<LinuxHackerman> hyper_ch2: I recently did a "thin client" sort of thing using the `auto` display manager and i3 with a minimal config
o1lo01ol1o has joined #nixos
cryptowest has joined #nixos
<zceejkr> Hello everyone. I hope this question belongs here: how does one go an install the nix package manager on macOS catalina? Are there any good resources about this online?
<LinuxHackerman> hyper_ch2: but I think starting the X server and its clients in a dedicated systemd service rather than using any display manager at all might be better
<hyper_ch2> LinuxHackerman: share2care your configuration.nix for that thin client?
<hyper_ch2> s/share2care/care2/share/
v88m has quit [Ping timeout: 260 seconds]
<hyper_ch2> s/share2care/care2share/
karantan has joined #nixos
F-Zer0 has quit [Read error: Connection reset by peer]
F-Zer0 has joined #nixos
<multun> zceejkr: I _think_ just running this works curl https://nixos.org/nix/install | sh
<sphalerite> hyper_ch2: https://gist.github.com/lheckemann/7fc08afb4ebfbfe6f969c2f1dbf2e811 see the comment though
<hyper_ch2> sphalerite: thx
<LinuxHackerman> hyper_ch2: I particularly don't like how it assumes that the X server is running on :0
<LinuxHackerman> hyper_ch2: hence the suggestion to start the X server in a unit along with its clients
Hunterkll has quit [Ping timeout: 240 seconds]
karantan has quit [Client Quit]
<{^_^}> [nix] @edolstra pushed to flakes « Test narHash mismatch »: https://git.io/JvCN2
<LinuxHackerman> hyper_ch2: I'll be working a bit more on this in the near future and probably publish a blog post about it, I'll let you know when I've finished that if you want :)
<zceejkr> multun: thanks for the reply. The curl installer does not work on macos catalina, due to this: https://discourse.nixos.org/t/current-status-of-nix-on-macos-catalina/4286
v88m has joined #nixos
v88m has quit [Read error: Connection reset by peer]
<zceejkr> I tried reading the thread but I am just starting out with nix so most of it makes little sense to me.
<hyper_ch2> LinuxHackerman: that would be great. I need a "lightweight" way to access a windows VM but not with the windows "remote desktop" tool but virt-viewer.
martinb_ has quit [Ping timeout: 268 seconds]
<hyper_ch2> and installing a full-blown DE just seems overpowered
<clever> hyper_ch2: heard of ratpoison?
martinb has joined #nixos
<sphalerite> hyper_ch2: yeah, just i3 with virt-viewer (or rdesktop works nicely too) should work well
martinb is now known as timor
<{^_^}> [nixpkgs] @xwvvvvwx opened pull request #79911 → vimPlugins.jellybeans-vim: init at 2019-06-22 → https://git.io/JvCN1
hyper_ch288 has joined #nixos
<hyper_ch288> sphalerite: rdesktop?
karantan has joined #nixos
<sphalerite> hyper_ch288: I guess it's not relevant if you don't want to use windows's built-in remote desktop, but I use it all the time for RDP
Hunterkll has joined #nixos
<hyper_ch288> sphalerite: the problem is I have a smartcard reader and smartcard attached to the server so that the windows vm can access it
MinceR has joined #nixos
MinceR has joined #nixos
MinceR has quit [Changing host]
zceejkr has left #nixos ["ERC (IRC client for Emacs 28.0.50)"]
<hyper_ch288> sphalerite: however if you use window's built-in remote desktop, you can't access that smartcard read. it's blocked. hence using virt-viewer / virt-manager from a linux will/should work
hyper_ch2 has quit [Ping timeout: 240 seconds]
<sphalerite> hyper_ch288: aaah
<eoli3n> hyper_ch288: why not using a simple WM, like i3 or sway ?
<hyper_ch288> eoli3n: that's what I asked: what is a recommended setup for a installation on which I only want to run Virt-Viewer or Virt-Manager. I don't need to run anything else
<eoli3n> so just run those with X
<eoli3n> but without a WM, you can have some pb to fullscreen
<{^_^}> [nixpkgs] @r-ryantm opened pull request #79912 → gitAndTools.gitRemoteGcrypt: 1.2 -> 1.3 → https://git.io/JvCNh
<sphalerite> eoli3n: hyper_ch288: actually, maybe virt-viewer will work without a WM since you can tell it to full-screen itself on the command line
<sphalerite> hyper_ch288: so it's probably worth trying without i3 for a start
<hyper_ch288> sphalerite: thx
<eoli3n> sphalerite: applications doesn't know about screen size without a vm AFAIK
<eoli3n> i know that because i worked on kiosk mode
rnhmjoj has joined #nixos
<rnhmjoj> so, i updated to unstable and gpg stopped working: no pinentry. i already have programs.gnupg.agent enabled, any ideas?
<eoli3n> how to kiosk without a DE
<eoli3n> without a WM*
<sphalerite> eoli3n: that's something they should be able to get from the X server with RANDR
<eoli3n> eoli3n | sphalerite: applications doesn't know about screen size without a WM AFAIK
<sphalerite> without a WM
<eoli3n> maybe, i know that firefox can't get fullscreen without hard setting the screen size in a specific configuration file
<eoli3n> but yep i think i math it with xrandr
<eoli3n> verified and actually, i use chrome and fullscreen works
<eoli3n> hyper_ch288: my xinitrc for chrome kiosk mode : http://ix.io/2bue
<eoli3n> and sphalerite i needed to start xfwm4 to be able to fullscreen
<hyper_ch288> eoli3n: thx
kloenk has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
Maxdamantus has quit [Ping timeout: 272 seconds]
<eoli3n> xfwm4 is a part of xfce, try without, and if it does not work, choose a light one in those : https://wiki.archlinux.org/index.php/window_manager
Maxdamantus has joined #nixos
<{^_^}> [nixpkgs] @vbgl merged pull request #79435 → ocaml-ng.ocamlPackages_4_10.ocaml: 4.10.0+β2 → 4.10.0+rc1 → https://git.io/JvnTe
<{^_^}> [nixpkgs] @vbgl pushed to master « ocaml-ng.ocamlPackages_4_10.ocaml: 4.10.0+β2 → 4.10.0+rc1 »: https://git.io/JvCAY
v88m has joined #nixos
alexherbo2 has joined #nixos
<vidbina> Hey folks, I'm kind of losing it trying to add a new package and as a last resort I'm humbly coming to you with my head bowed and my tail between my legs with the request if anyone can try to build this package on their setup and help me debug this commit https://github.com/vidbina/nixpkgs/commit/5695ec00ead79c61d7e0cae6f2be68a7acd4bd67 and if you're typing rather go to
Seto_Kaiba has joined #nixos
dm9 has quit [Quit: WeeChat 2.7]
Hunterkll has quit [Ping timeout: 240 seconds]
kloenk has joined #nixos
domogled has joined #nixos
<eoli3n> https://gist.github.com/lethalman/734b168a0258b8a38ca2 why in hello.nix, we pass mkDerivation as argument ?
<vidbina> Running another nix-build with openssl added to buildInputs since I just figured that urllib.urlopen Errno -2 issues could have something to do with OpenSSL. ¯\_(ツ)_/¯
mrpi has joined #nixos
das_j has joined #nixos
Scriptkiddi has joined #nixos
ajs124 has joined #nixos
__monty__ has joined #nixos
<{^_^}> [nixos-hardware] @Mic92 merged pull request #144 → Added profile for issues 69289 → https://git.io/JvCwJ
<{^_^}> [nixos-hardware] @Mic92 pushed 4 commits to master: https://git.io/JvCAh
<{^_^}> [nixpkgs] @adisbladis merged pull request #77975 → amp: git rev 2c88e8 (2019-06-09) -> 0.6.1 → https://git.io/JvkOL
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/JvCxe
<eoli3n> "mkDerivation from autotools. Recall that mkDerivation has an implicit dependency on the toolchain."
<eoli3n> i don't get this
waleee-cl has joined #nixos
gxt has quit [Remote host closed the connection]
<immae> eoli3n: In the tutorial you’re following (nix pills?) you’re reimplementing a simplified version of the mkDerivation (that is normally available as standard in the nixpkgs), so that’s why you’re passing it as argument to make use of this one rather than the "standard implemented" one
<eoli3n> in default.nix "let" we set mkDerivation = import ./autotools.nix pkgs; then in "in" with "with pkgs + inherit" we set mkDerivation = pkgs.mkDerivation
<eoli3n> immae: i am
gxt has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #79801 → Staging next → https://git.io/JvC3D
<{^_^}> [nixpkgs] @FRidh pushed 24 commits to master: https://git.io/JvCxs
<eoli3n> immae: but i don't understand the mecanic here
<eoli3n> that's the gitst from the 12's pill
<eoli3n> gist
<immae> (I cannot help you now sorry)
<eoli3n> ok
<{^_^}> [nixpkgs] @andir merged pull request #79786 → firefox: 72.0.3 -> 73.0 → https://git.io/JvCkX
<{^_^}> [nixpkgs] @andir pushed 8 commits to master: https://git.io/JvCxl
<eoli3n> or maybe when "hello = import ./hello.nix { inherit mkDerivation; };" in default.nix, it is resolved as "hello = import ./hello.nix { mkDerivation = mkDerivation; };" from upper line and not pkg.mkDerivation
o1lo01ol1o has quit [Ping timeout: 260 seconds]
<vidbina> @eol13n: more or less, I would argue... The inherit bit just binds an attribute to its namesake within the scope. So the { inherit blah; } evals to { blah = blah; } more or less as you already mentioned before.
<{^_^}> [nixpkgs] @FRidh merged pull request #79824 → wasm-pack: 0.8.1 -> 0.9.1 → https://git.io/JvC8G
<vidbina> From my struggles, you can tell that I'm not a Nix pro throuhg
<{^_^}> [nixpkgs] @FRidh pushed commit from @dhl to master « wasm-pack: 0.8.1 -> 0.9.1 »: https://git.io/JvCx2
veske has quit [Quit: This computer has gone to sleep]
<eoli3n> ok but a line in pill says : The "inherit x" syntax is equivalent to "x = x". So "inherit gd" here, combined to the above "with pkgs;" is equivalent to "gd = pkgs.gd".
<eoli3n> its true for other dependencies but not for mkderivation
<eoli3n> i think i get it now, thx
<{^_^}> [nixpkgs] @jethrokuan opened pull request #79913 → mkdocs: default to Python 3 → https://git.io/JvCxw
domogled has quit [Quit: domogled]
domogled has joined #nixos
kloenk has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<das_j> umm, does 20.03 drop small channels or are they not set up yet?
<{^_^}> [nixpkgs] @andir opened pull request #79914 → [20.03] firefox 73 → https://git.io/JvCxo
kloenk has joined #nixos
<LnL> probably just not setup yet
<das_j> whew
<das_j> also - is anything broken with mono on unstable? I haven't found any PRs or issues, but it doesn't build for me because it lacks -lgcc
<{^_^}> [nixos-hardware] @Luis-Hebendanz opened pull request #145 → Added profile for Thinkpad E495 → https://git.io/JvCxi
<{^_^}> [nixpkgs] @taku0 opened pull request #79915 → flashplayer: 32.0.0.314 -> 32.0.0.330 [Critical security fixes] → https://git.io/JvCx1
sigmundv has joined #nixos
domogled has quit [Ping timeout: 272 seconds]
karantan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
martinb__ has joined #nixos
<{^_^}> [nixpkgs] @taku0 opened pull request #79916 → flashplayer: 32.0.0.314 -> 32.0.0.330 [Critical security fixes][19.09] → https://git.io/JvCxx
<fusion809> When doing a rebuild I needed to free up some disk space, so I deleted some dot files in my home folder, including in .config and .cache, and now thumbnails for video files aren't being generated in my file manager, Dolphin. ffmpegthumbnailer is installed. In Dolphin's preferences window under the "Previews" tab I've got the Video files box ticked.
martinb__ has quit [Client Quit]
timor has quit [Ping timeout: 260 seconds]
karantan has joined #nixos
<fusion809> Other file managers aren't generating video thumbnails either.
<infinisil> fusion809: You shouldn't delete .config!
<infinisil> That's where all the config files live, I'm not surprised this breaks stuff
<fusion809> I didn't it all, just files I thought weren't essential. Besides, I couldn't find any other fat to trim, so that's what I was left with.
<fusion809> I regularly do nix-collect-garbage -d and nix-store --optimise, but still I find it hard to fit my OS in a 80 GB petition.
<fusion809> That's even though I use a separate petition to store most data files.
<infinisil> fusion809: Are you using an auto optimized store too?
<fusion809> Didn't know that was an option.
<infinisil> nix.autoOptimiseStore
<infinisil> And probably run it once with "nix-store --optimise" to get it started
<infinisil> This deduplicates all files :)
<fusion809> Where do I put that option? I must admit, I'm not particularly fluent in the Nix language, I know how to edit /etc/nixos/configuration.nix to get what I need done, and not much more.
<infinisil> fusion809: Oh also look at the nix.gc option, which lets you run the gc automatically at regular intervals
<infinisil> fusion809: Yup that's where you put those
tilcreator has quit [Ping timeout: 240 seconds]
<fusion809> When I tried a rebuild with that in /etc/nixos/configuration.nix I got the error: https://paste2.org/Eez5IAkg.
<fusion809> That is nix.autooptimisestore=true
<fusion809> with a space between the equal signs
<fusion809> Oops, might be the capitalization
<infinisil> Indeed
wavirc22 has joined #nixos
<fusion809> OK, now that's in place, thanks, but how do I fix this thumbnailing issue?
karantan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<infinisil> No idea, maybe try relogging/rebooting or restoring the stuff you deleted from a backup
<{^_^}> [nixpkgs] @marsam merged pull request #79883 → nodejs-12_x: 12.15.0 -> 12.16.0 → https://git.io/JvCyc
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvCp8
<infinisil> Well I guess that is an idea
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
karantan has joined #nixos
<fusion809> Already rebooted a few times since then. I don't back up dotfiles. So, I suppose I'll just have to wait for it to either rectify itself, or another suggestion from this channel.
alexherbo2 has quit [Ping timeout: 272 seconds]
<{^_^}> [nixos-hardware] @Mic92 opened pull request #146 → thinkpad/e495: fix evaluation → https://git.io/JvCpB
sbetrium has joined #nixos
<{^_^}> [nixos-hardware] @Mic92 closed pull request #145 → Added profile for Thinkpad E495 → https://git.io/JvCxi
<{^_^}> [nixos-hardware] @Mic92 pushed 2 commits to master: https://git.io/JvCpR
<{^_^}> [nixos-hardware] @Mic92 merged pull request #146 → thinkpad/e495: fix evaluation → https://git.io/JvCpB
jojojojojo has quit [Remote host closed the connection]
jojojojojo has joined #nixos
sbetrium has quit [Client Quit]
zupo has joined #nixos
<infinisil> fusion809: You could try to figure out the underlying problem, looking how thumbnails are generated, where they're stored, etc.
o1lo01ol1o has joined #nixos
<fusion809> Tried something in that vein already, actually. I ran ffmpegthumbnailer manually and tried storing it in ~/.cache/thumbnails, in case it was an issue with ffmpegthumbnailer or the permissions of the directory itself, and it worked.
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
CMCDragonkai1 has joined #nixos
sbetrium has joined #nixos
zupo_ has joined #nixos
o1lo01ol_ has joined #nixos
<wedens[m]> try starting file manager from terminal. it may print some errors to the terminal
mexisme_ has joined #nixos
zupo has quit [Ping timeout: 260 seconds]
<fusion809> Not a bad idea, thanks, I'll give it a go
alexherbo2 has joined #nixos
o1lo01ol1o has quit [Ping timeout: 240 seconds]
veske has joined #nixos
mexisme_ has quit [Ping timeout: 272 seconds]
<fusion809> Not very verbose output, I'm afraid. Just some theme parsing error warnings
alexherbo27 has joined #nixos
alexherbo2 has quit [Ping timeout: 240 seconds]
alexherbo27 is now known as alexherbo2
<fusion809> Oops, wrong file manager, I have a few installed I tried some of the others. Dolphin actually gives good output, "KServiceTypeTrader: serviceType "ThumbCreator""
<fusion809> is one error.
<fusion809> Not sure what I'm meant to do with it.
<wedens[m]> btw, do you have thumbnails activated? (not in settings. in the main window)
tilcreator has joined #nixos
<fusion809> Yep, if by activated you mean have I clicked the "Preview" option that is between to "Search" and "Split"
<{^_^}> [nixpkgs] @taku0 opened pull request #79917 → thunderbird, thunderbird-bin: 68.4.2 -> 68.5.0 [High security fixes] → https://git.io/JvCpA
<fusion809> Oops, I says that the thumbcreator is not found.
<fusion809> I accidentally cut that bit off
<fusion809> kf5.kservice.services: KServiceTypeTrader: serviceType "ThumbCreator" not found
<{^_^}> [nixpkgs] @taku0 opened pull request #79918 → thunderbird, thunderbird-bin: 68.4.2 -> 68.5.0 [High security fixes][19.09] → https://git.io/JvCph
<fusion809> Aha! I fixed it. I added kio-extras to systemPackages in /etc/nixos/configuration.nix, then pressed "Preview" (turning off preview) and clicked it again (turning it back on) and the thumbnails are back.
<fusion809> Thanks for your help, wedens[m] and infinisil.
claudiii has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @marsam merged pull request #79912 → gitAndTools.gitRemoteGcrypt: 1.2 -> 1.3 → https://git.io/JvCNh
<{^_^}> [nixpkgs] @marsam pushed 2 commits to staging: https://git.io/JvChm
<wedens[m]> do you use full kde or just dolphin?
<fusion809> Full KDE funnily enough.
sbetrium has quit [Quit: sbetrium]
gxt has quit [Ping timeout: 240 seconds]
CMCDragonkai1 has quit [Ping timeout: 272 seconds]
<wedens[m]> perhaps turning it off and back on would've helped without adding kio-extras? :D
xkapastel has quit [Quit: Connection closed for inactivity]
<fusion809> Adding kio-extras didn't cause any new paths to be copied, so maybe you're right.
<fusion809> Anyone have any ideas on how to get Google Chrome to be able to use Adobe Flash player? I have google-chrome = {
<fusion809> enableAdobeFlash = true;
<fusion809> }
hyper_ch288 has quit [Ping timeout: 260 seconds]
<fusion809> in my ~/.config/overlays.nix file
<fusion809> I also have pepper flash enabled in that file
<fusion809> Yet in Chrome I can't seem to play flash videos
lord| has quit [Quit: https://i.imgur.com/xacQ09F.mp4]
fendor has joined #nixos
<wedens[m]> that's not an existing option
<wedens[m]> `chromium.enablePepperFlash = true;` is. for chromium, not chrome
F-Zer0 has quit [Ping timeout: 240 seconds]
kleisli has joined #nixos
Neo-- has joined #nixos
v88m has quit [Ping timeout: 260 seconds]
chiefgoat has joined #nixos
<fusion809> Firefox with the option, enableAdobeFlash = true ; in ~/.config/nixpkgs/overlays.nix also fails to load Adobe.
<fusion809> Adobe flash vids
leotaku has joined #nixos
<fusion809> DuckDuckGo searching has told me that for Firefox at least that should work
<{^_^}> [nixpkgs] @jtojnar merged pull request #79764 → udiskie: 1.7.7 -> 2.1.0 → https://git.io/JvCfc
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/JvChP
lord| has joined #nixos
meck has quit [Max SendQ exceeded]
hyper_ch2 has joined #nixos
<wedens[m]> why are you doing it in overlays.nix?
hyper_ch2 has quit [Remote host closed the connection]
meck has joined #nixos
sbetrium has joined #nixos
<wedens[m]> it's supposed to be in `nixpkgs.config` in configuration.nix (on nixos) or ~/.config/nixpkgs/config.nix on non-nixos or per-user configuration
chiefgoat has quit [Quit: ZNC 1.7.5 - https://znc.in]
hyper_ch2 has joined #nixos
<fusion809> I'm not familiar enough with the lingo to know that, lol. That's why, but I'll put it in there.
chiefgoat has joined #nixos
<fusion809> Or is it possible to put it in /etc/nixos/configuration.nix instead?
<wedens[m]> add `nixpkgs.config.firefox.enableAdobeFlash = false` to /etc/nixos/configuration.nix
sbetrium has quit [Client Quit]
<wedens[m]> sorry, true
sbetrium has joined #nixos
Guest2599 has joined #nixos
<fusion809> Fixed one issue only to expose another. I tried a rebuild and I got the error: https://paste2.org/WMUkYeDC
Guest2599 has left #nixos [#nixos]
erictapen has joined #nixos
<fusion809> Tried opening the link my browser, the tar archive link shown in the output that is, and I got 404'd
<meck> Hi I'm having an issue with nix on macos, I run a single user install on this machine, but every time I reboot the ~/.nix-profile link gets deleted (Everything works fine if I add it back or rerun the install script). The issue has been present in both 10.14 and 10.15. Couldn't find any relevant issues on gh or elsewhere. Anyone here seen anything similar?
kahiru has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @Mic92 merged pull request #79868 → clojure 1.10.1.492 -> 1.10.1.507 plus bugfix → https://git.io/JvCXH
<{^_^}> [nixpkgs] @Mic92 pushed commit from @hlolli to master « clojure 1.10.1.492 -> 1.10.1.507 plus bugfix (#79868) »: https://git.io/JvCje
<{^_^}> [nixpkgs] @Mic92 pushed commit from @hlolli to release-20.03 « clojure 1.10.1.492 -> 1.10.1.507 plus bugfix (#79868) »: https://git.io/JvCjv
<{^_^}> [nixpkgs] @Taneb opened pull request #79919 → metamath: 0.178 -> 0.180 → https://git.io/JvCjf
kahiru has joined #nixos
<LnL> meck: sounds very bizarre, ~/.nix-profile itself or the thing it points to?
<meck> LnL Just the link, if i do "ln -s /nix/var/nix/profiles/per-user/meck/profile ~/.nix-profile" it all is fine again,
rihardsk[m] has joined #nixos
<rihardsk[m]> hi, i'm using Nix on Ubuntu and i'm currently getting "error: opening lock file '/nix/var/nix/profiles/per-user/.../profile.lock': No such file or directory", when trying to install something like `nix-env -i nix-prefetch-git`. it's likely because the /nix/var/nix/profiles/per-user/ directory doesn't contain a subdirectory for my user. what's responsible for creating per-user subdirectories there? why isn't it happening? m
<rihardsk[m]> a bit unconventional in that the $HOME is mounted on an NFS drive (shared with other hosts), but i can't figure out what's causing issues here
<LnL> meck: I highly doubt it's related to the nix installation itself in that case
<LnL> perhaps some dotfiles tool that's creating links and removing unknown ones?
<meck> LnL I don't think so either, most likely seems like I mac issue. But I'm guessing there might be a few people running nix on mac here...
<LnL> yeah, never heard this before
<LnL> if it was the profile itself it could be the garbage collector, but nothing really touches the ~/.nix-profile link other than nix-env -i
CRTified has quit [Quit: Gateway shutdown]
philipp[m] has joined #nixos
<philipp[m]> I'm trying to build a shell with some perl modules installed in a one-liner in nix run, but I'm not sure how --arg works for nix run and how to apply it.
<philipp[m]> Do I even need arg?
<philipp[m]> I'd like to do sth like `nix run "nixpkgs.per.withPackages (pkgs: with perlPackages; [ YAML JSON])"
vidbina has quit [Ping timeout: 272 seconds]
<philipp[m]> *perl
sbetrium has quit [Quit: sbetrium]
<philipp[m]> `nix run nixpkgs.perl.withPackages --arg pkgs "with import <nixpkgs>.perlPackages; [ YAML JSON]"` was another idea of mine.
<{^_^}> [nixpkgs] @vcunat pushed to staging-20.03 « Merge #79740: libssh2: patch CVE-2019-17498 »: https://git.io/JvCjg
<wedens[m]> fusion809: well, that's pretty common problem with flashplayer. they delete previous versions. you can try updating the channel as it may have updated version
m15k has joined #nixos
<rihardsk[m]> <rihardsk[m] "hi, i'm using Nix on Ubuntu and "> could the issue be that nix creates the user profile directories when it's installed and it might be a timing issue - on that machine Nix was installed first and only then the NFS home directory (with existing user home dirs) was mounted to it?
<fusion809> Before every rebuild I update the channel, I've tried updating the nix file in nixpkgs to the latest and updating checksums then adapting ~/.config/nixpkgs/overlays.nix to use it and then do a rebuild and even with flash player installed I keep getting the same error saying that flashplayer isn't found
<fusion809> The precise error message I get in my browser is, "
<fusion809> higher to view the videos on this site"
<fusion809> You need Adobe Flash plugin version 8 or
linkrage has joined #nixos
<LinuxHackerman> m15k: nix-shell -A gives you the build environment for a derivation
<LinuxHackerman> m15k: my guess would be that in this case, java 8u222 is built using adoptopenjdk 8u242
<meck> LnL Seem like setting a "user immutable flag" on (ie lock) the file sorted it for now, I found some vaguely related issues with icloud deleting symlinks in the home directory. Anyhow it works for now, although I'm not sure why. But thanks anyway!
<m15k> LinuxHackerman: Ah. That would make sense. And also explains why the build does not fail when I change the versions.
<LinuxHackerman> m15k: also, the NIX_PATH you're setting there won't have any effect
linkrage has left #nixos [#nixos]
<LinuxHackerman> m15k: since you're using nix-shell without a filename, it will use the shell.nix or default.nix in your cwd — if you run that command elsewhere, it won't work :)
pkolloch[m] has joined #nixos
karantan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<m15k> LinuxHackerman: Mhhhh I see. I wonder if the idea is basically legit to spawn into a "package shell".
<infinisil> LinuxHackerman: If they were using the -p flag (which I think is the intension) then that NIX_PATH will be relevant
<LinuxHackerman> m15k: absolutely is! `nix-shell -p jre` will give you jre in the PATH
<LinuxHackerman> as will `nix run nixpkgs.jre`
karantan has joined #nixos
<evanjs> Okay guys, going to link clever 's repo until I okay mine for publicizing (because I'm paranoid) but how might one add kernelModules to a minimal initrd image such as this? https://github.com/cleverca22/rpi-open-firmware/blob/a9a36ef93e110ad8776c1a7cca97f7ea0a0deedf/default.nix#L142
<m15k> LinuxHackerman: thanks! :thumbs_up:
<evanjs> Trying to add some realtek drivers, specifically, as those that are included by (AFAIK) default are staging drivers, and I think my coworker mentioned he couldn't get them working with hostAPD? Something like that
<evanjs> Was able to compile an example module (https://github.com/lwfinger/rtl8188eu) per samueldr 's recommendation to look at some other stuff in tree, but now I need to add it to the barebones initrd I'm making
<evanjs> after some poking around in nixpkgs, I found this https://github.com/NixOS/nixpkgs/blob/295888c622d7a4a6190e6bf6881c07a6d9a5046d/nixos/modules/system/boot/stage-1.nix#L21, but that takes place in something wrapping the initrd, which I am not using here
<{^_^}> [nixpkgs] @r-ryantm opened pull request #79920 → groovy: 2.5.9 -> 3.0.0 → https://git.io/JvWeG
domogled has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #79921 → gti: 1.6.1 -> 1.7.0 → https://git.io/JvWe4
<colemickens> opinion: we should build from git tags instead of tarballs for projects that use autotools and dont commit the generated goop
<colemickens> I hate switching the source for a package and having it fail to build because the tarball doesn't match a github archive tar, for example.
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hyper_ch2 has quit [Remote host closed the connection]
<clever> evanjs: try running makeModulesClosure in your default.nix, and nix-build that first
karantan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
iyzsong has quit [Ping timeout: 240 seconds]
F-Zer0 has joined #nixos
karantan has joined #nixos
domogled has quit [Quit: domogled]
domogled has joined #nixos
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
karantan has quit [Client Quit]
<evanjs> clever: I had inherit modulesClosure in nixos { } before. I'll try making that first, though. I realized that making nixos before the scripts did change things for some reason...
zupo has joined #nixos
hyper_ch2 has joined #nixos
vandenoever has quit [Read error: Connection reset by peer]
zupo has quit [Client Quit]
vandenoever has joined #nixos
vandenoever has joined #nixos
vandenoever has quit [Changing host]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #79922 → gitAndTools.gh: 0.5.3 -> 0.5.4 → https://git.io/JvWex
nikola_i has joined #nixos
raghavsood has quit [Remote host closed the connection]
orivej has joined #nixos
werner291 has joined #nixos
<evanjs> clever: is inheriting modulesClosure in nixos (default.nix) all I need to do to include them, then?
<clever> evanjs: this will replace the @modulesClosure@ in stage-1-init.sh with the path
<clever> that shell script must then do something with it
<evanjs> clever: right that's what I was seei---ohhhhhhhhh
<evanjs> wow. 2 lines? Really... all I needed to do was look :D
user22 has joined #nixos
mexisme_ has joined #nixos
user22 is now known as userr22
<clever> evanjs: the open firmware is currently cheating the whole module problem, by just never using modules, everything is baked into the kernel
<userr22> Is anyone able to look at this PR? https://github.com/NixOS/nixpkgs/pull/70762
<{^_^}> #70762 (by xfix, 18 weeks ago, open): nixos/mullvad-vpn: add service
<clever> evanjs: 2 main reasons for that, 1st: i'm impurely building a kernel in nix-shell for speed, and getting those modules back into the pure nixos is difficult
<clever> evanjs: 2nd, the kernel nix builds doesnt actually boot, so i must use the impure kernel, havent narrowed down which .config is to blame
<userr22> It's for a mullvad service. There's already a 2nd PR opened by accident as mullvad is a bit of a pain to use without the service. It'd be nice not to manually start the daemon
<pie_[bnc]> infinisil: so the script generator uses toString which turns my outside path into a string, but i want it to be imported into the store
<pie_[bnc]> im trying to get the file in a container
<clever> pie_[bnc]: if you want it copied to the store, dont use toString
<pie_[bnc]> I guess I can do "${./path}" ?
<clever> pie_[bnc]: it will be copied automatically, yep
<pie_[bnc]> clever yeah but its a module
<evanjs> clever: ah gotcha. Yeah I was initially just linking to specific modules and firmware folders, unsure if that's why various symbols and etc weren't found
<pie_[bnc]> i mean id have to patch the module
<evanjs> replaced those with the modulesClosure though
<clever> evanjs: modulesClosure should be given the same kernelPackages the kernel came from, to ensure the symbols line up
<evanjs> clever: yup, I'm just using the same kernel I defined in the let block
mexisme_ has quit [Ping timeout: 245 seconds]
<clever> pie_[bnc]: if you do "${./foo}", and then the module runs toString on the value, the "${ already copied to the store
<evanjs> and yeah, what I was linking in before was not the same kernel version, so it might've been relevant :D
<pie_[bnc]> clever: yeah
<{^_^}> Channel nixos-19.09 advanced to https://github.com/NixOS/nixpkgs/commit/b9cb3b2fb2f (from 2 days ago, history: https://channels.nix.gsc.io/nixos-19.09)
karantan has joined #nixos
Rusty1 has joined #nixos
zupo has joined #nixos
waleee-cl has quit [Quit: Connection closed for inactivity]
felixfoertsch has joined #nixos
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
<{^_^}> [nixpkgs] @primeos merged pull request #79237 → wayland: 1.17.0 -> 1.18.0 → https://git.io/JvGXY
<{^_^}> [nixpkgs] @primeos pushed 5 commits to staging: https://git.io/JvWv9
ericsagnes has quit [Ping timeout: 272 seconds]
civodul has joined #nixos
karantan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cosimone has joined #nixos
veske has quit [Quit: This computer has gone to sleep]
* pie_[bnc] attempts to figure out why tomcat still 404s no matter what he does
<{^_^}> [nixpkgs] @cohei opened pull request #79923 → chromedriver: 78.0.3904.70 -> 80.0.3987.16 → https://git.io/JvWft
<{^_^}> [nixpkgs] @marsam merged pull request #77738 → sile: v0.9.5.1 -> v0.10.3; adjust build process → https://git.io/JvUng
<{^_^}> [nixpkgs] @marsam pushed 8 commits to master: https://git.io/JvWfq
<{^_^}> [nixpkgs] @mmahut merged pull request #79901 → nnn: 2.9 -> 3.0 → https://git.io/JvC54
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/JvWf3
smatting has quit [Ping timeout: 265 seconds]
karantan has joined #nixos
wjjunyor[m] has joined #nixos
<wjjunyor[m]> Guys, I've broke my nixos - Don't know whata Is wrong.
* wjjunyor[m] uploaded an image: image.png (418KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/sBMbsogcjOueiiBsQuGzOcHD >
<AluisioASG> So, I'm working on a package update that depends on updating a second package as well as adding a third package to nixpkgs (three commits in total). Can I send those as a single PR or do I break them up?
ericsagnes has joined #nixos
<wjjunyor[m]> <wjjunyor[m] "image.png"> Somebody has a hint.
<infinisil> wjjunyor[m]: You need to actually explain the problem yet
<hyper_ch2> AluisioASG: IIRC single PR but individual commits
<AluisioASG> Alright, thanks
<hyper_ch2> actually /me eyes infinisil
<wjjunyor[m]> <infinisil "wjjunyor: You need to actually e"> The system is working - But there are a lot of errors This is the fist one and I don't know how to fix it
<AluisioASG> Btw, is there any current reason for having two ordered package lists in pkgs/top-level/python-packages.nix?
<infinisil> wjjunyor[m]: Nothing at all to worry about
<infinisil> wjjunyor[m]: It's normal to have some warnings/errors in random logs. Unless it affects you then all is fine
<AluisioASG> wjjunyor[m]: I don't claim to understand kernel babble, but there doesn't seem to be any problem in that screenshot
karantan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<__monty__> AluisioASG: Two lists? Those contents don't look all that alphabetized to me.
<wjjunyor[m]> OK - I undestand it - but they annoy me I can live with this one.
<wjjunyor[m]> I'll have to.
<wjjunyor[m]> Just one more:
<wjjunyor[m]> fev 12 09:31:25 T101 systemd-udevd[132]: /nix/store/7pjc3s5nak83105p433cmcn6ic4agjqz-udev-rules/11-dm-lvm.rules:40 The line takes no effect, ignoring.
<wjjunyor[m]> fev 12 09:31:25 T101 systemd-udevd[132]: /nix/store/7pjc3s5nak83105p433cmcn6ic4agjqz-udev-rules/11-dm-lvm.rules:40 Invalid value for OPTIONS key, ignoring: 'event_timeout=180'
Chiliparrot has joined #nixos
<wjjunyor[m]> And this one:
* wjjunyor[m] uploaded an image: image.png (18KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/nqqIzrRHguaZffKZFnDOkurH >
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<pie_[bnc]> ugh. does anyone here know how to use tomcat?
<pie_[bnc]> i seem to have been able to deploy a war but i cant access anything through any url
<wjjunyor[m]> <wjjunyor[m] "image.png"> This onde, I guess is preventing plasma to work properly
<wjjunyor[m]> > <@wjjunyor:matrix.org> sent an image.
<wjjunyor[m]> * This one, I guess is preventing plasma to work properly
<{^_^}> error: syntax error, unexpected '<', at (string):277:1
<wjjunyor[m]> * OK - I undestand it - but they annoy me. I'll have to live with this one.
Scriptkiddi has quit [Remote host closed the connection]
ajs124 has quit [Remote host closed the connection]
mrpi has quit [Remote host closed the connection]
das_j has quit [Remote host closed the connection]
veske has joined #nixos
KeiraT has quit [Ping timeout: 240 seconds]
ajs124 has joined #nixos
<{^_^}> [nixpkgs] @AluisioASG opened pull request #79924 → r128gain: 0.9.3 -> 1.0.1 → https://git.io/JvWJC
mrpi has joined #nixos
das_j has joined #nixos
Scriptkiddi has joined #nixos
nst^ has quit []
tsrt^ has joined #nixos
linarcx has quit [Quit: WeeChat 2.7]
dansho has joined #nixos
<pie_[bnc]> there was something like mkBefore for prepending to a module system string right?
<infinisil> pie_[bnc]: Still is (but it's more general than strings)
<{^_^}> [nixpkgs] @marsam merged pull request #79923 → chromedriver: 78.0.3904.70 -> 80.0.3987.16 → https://git.io/JvWft
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvWJi
<pie_[bnc]> yeah
Makaveli7 has quit [Quit: WeeChat 2.7]
<{^_^}> [nixpkgs] @NeQuissimus pushed 2 commits to master: https://git.io/JvWJ7
o1lo01ol1o has joined #nixos
<pie_[bnc]> systemd doesnt like this https://bpaste.net/K4YQ
<pie_[bnc]> Loaded: bad-setting (Reason: Unit mkDoc.service has a bad unit file setting.)
<pie_[bnc]> whats the problem?
<{^_^}> [nixpkgs] @marsam merged pull request #72433 → duplicacy: 2.1.2 -> 2.2.3 → https://git.io/JegL7
<{^_^}> [nixpkgs] @marsam pushed commit from @ffinkdevs to master « duplicacy: 2.1.2 -> 2.3.0 »: https://git.io/JvWJx
o1lo01ol_ has quit [Ping timeout: 272 seconds]
<gchristensen> pie_[bnc]: there is no thing which runs
<gchristensen> you have a preStart but no ... script, or program, etc
<pie_[bnc]> oh
<pie_[bnc]> i just want "script" i think it was
<gchristensen> you may want to look at RemainAfterExit and Type = oneshot
<pie_[bnc]> i think it defaults to oneshot
<pie_[bnc]> thanks \o/
<gchristensen> I think they usually default to simple?
<gchristensen> not sure
<immae> (simple is the default yes)
<pie_[bnc]> hm. i did systemctl show on the broken version and it said type=onehsot
<immae> > If set to simple (the default if neither Type= nor BusName=, but ExecStart= are specified)
<{^_^}> error: syntax error, unexpected IF, expecting ')', at (string):277:31
<immae> Since you had no ExecStart the Type was oneshot by default
<immae> (man systemd.service)
<gchristensen> ah
<{^_^}> [nixpkgs] @ryantm merged pull request #79697 → rust-bindgen: 0.52.0 -> 0.53.1 → https://git.io/JvcXW
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JvWUt
<pie_[bnc]> oh
<pie_[bnc]> thanks
<pie_[bnc]> i dont suppose either of you know how to enable the tomcat manager with the tomcat module
<{^_^}> [nixpkgs] @mrkkrp opened pull request #79925 → Add nix-store-gcs-proxy service → https://git.io/JvWUm
<immae> Nope that’s out of my competences there
<nahamu> gchristensen:is there a way to understand why I got tagged as a reviewer for https://github.com/NixOS/nixpkgs/pull/79237 even if I'm not marked as a maintainer in the changed files?
<{^_^}> #79237 (by primeos, 1 week ago, merged): wayland: 1.17.0 -> 1.18.0
<nahamu> does it tag recently active maintainers/approvers?
* pie_[bnc] fiddles more and checks the manager docs
smatting has joined #nixos
<gchristensen> nahamu: hmm
<nahamu> To be clear, I'm confused/curious, not upset.
<gchristensen> nahamu: oh it was because of the switch to staging -- there was a period where you were a listed maintainer in the diff, and the list of maintainers was sufficiently small that it tagged reviewers
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
nikola_i has quit [Ping timeout: 240 seconds]
KeiraT has joined #nixos
hyper_ch2 has quit [Remote host closed the connection]
hyper_ch2 has joined #nixos
waleee-cl has joined #nixos
<{^_^}> [nixpkgs] @ehmry merged pull request #79563 → mawk: 1.3.4-20200106 -> 1.3.4-20200120 → https://git.io/Jvn56
<{^_^}> [nixpkgs] @ehmry pushed commit from @r-ryantm to master « mawk: 1.3.4-20200106 -> 1.3.4-20200120 »: https://git.io/JvWTt
Freneticks has joined #nixos
<Freneticks> How can I get a symlink to ==> /store/xxx/latestversion of package/bin ? I forgot where is the symlink
<Freneticks> Hoo, maybe it's ~/.nix-profile/bin/bin
nikola_i has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #79687 → pythonPackages.pysnow: init at 0.7.14 → https://git.io/Jvc2u
<{^_^}> [nixpkgs] @jonringer pushed 2 commits to master: https://git.io/JvWTw
<immae> Freneticks: ~/.nix-profile/ is filled via symlinks of elements the store by nix-env. If the element contains a bin subfolder then you’ll get its content in ~/.nix-profile/bin. Does that answer your question?
ixxie has joined #nixos
<Freneticks> immae: yes, thanks !
sb0 has joined #nixos
veske has quit [Quit: This computer has gone to sleep]
gustavderdrache has joined #nixos
<evanjs> srk: finally got it haha. `console=ttyS0` in kernel args :D wow I feel dumb. "Keyboard support" is working in virt-manager w/direct kernel+initrd boot, now!
erictapen has quit [Ping timeout: 265 seconds]
mexisme_ has joined #nixos
hyper_ch2 has quit [Remote host closed the connection]
<nahamu> serial consoles are so nice.
mexisme_ has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @jonringer merged pull request #72207 → vivaldi: fix patched paths → https://git.io/JeuVE
<{^_^}> [nixpkgs] @jonringer pushed 3 commits to master: https://git.io/JvWkr
philr has quit [Ping timeout: 265 seconds]
butterthebuddha has joined #nixos
erictapen has joined #nixos
Ilya_G has joined #nixos
<butterthebuddha> Getting this error when running "nix search [whatever] -u"
<butterthebuddha> Assertion failed: (size_ < capacity_), function push_back, file src/libexpr/attr-set.hh, line 54.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #79927 → homebank: 5.3.1 -> 5.3.2 → https://git.io/JvWkS
domogled has quit [Remote host closed the connection]
<niksnut> butterthebuddha: which version of nix?
<butterthebuddha> 2.3.1
<butterthebuddha> on darwin btw
<niksnut> I think this is fixed in 2.3.2
mac10688 has joined #nixos
werner291 has quit [Ping timeout: 260 seconds]
<butterthebuddha> nix-channel --list does not show nixpkgs
<{^_^}> [nixpkgs] @bjornfor merged pull request #79783 → Fixed typo → https://git.io/JvCTV
<{^_^}> [nixpkgs] @bjornfor pushed commit from @sarah-s-zhang to master « Fixed typo »: https://git.io/JvWIm
<{^_^}> [nixpkgs] @jonringer merged pull request #78873 → pythonPackages.dlx: init at 1.0.4 → https://git.io/JvOih
<{^_^}> [nixpkgs] @jonringer pushed commit from @drewrisinger to master « pythonPackages.dlx: init at 1.0.4 »: https://git.io/JvWIZ
<{^_^}> [nixpkgs] @ju1m opened pull request #79928 → knot: fix keymgr permissions → https://git.io/JvWIC
<wjjunyor[m]> Guys, there is a way to list the packages instaled under my user and those instaled under root ?
werner291 has joined #nixos
<userr22> wjjunyor[m] User profile: `nix-env --query`, System: `nix-store --query --requisites /run/current-system | cut -d- -f2- | sort | uniq` - Source: https://functor.tokyo/blog/2018-02-20-show-packages-installed-on-nixos
domogled has joined #nixos
<userr22> If you're using home-manager this looks like it'll work to view all home-manager packages: `nix-store --query --requisites ~/.nix-profile | cut -d- -f2- | sort | uniq`
<userr22> although that one has quite a lot of useless stuff too ^
cole-h has joined #nixos
ryanartecona has joined #nixos
ddellacosta has joined #nixos
domogled has quit [Read error: Connection reset by peer]
domogled has joined #nixos
<butterthebuddha> So apparently I don't update nix through nixpkgs?
tmplt has joined #nixos
fusion809 has quit [Remote host closed the connection]
<gchristensen> can I ask systemd to send my service's log output to /dev/console?
shafox has joined #nixos
<userr22> butterthebuddha https://nixos.org/nix/manual/#ch-upgrading-nix This might help
<wjjunyor[m]> <userr22 "wjjunyor User profile: `nix-env "> Thanks
<userr22> wjjunyor[m] np :)
<tmplt> Is it possible to use `nixos-rebuild build` and similar subcommands if my system is declared nixops-style? `deployment.targetHost = "localhost"`.
KeiraT has quit [Quit: KeiraT]
<userr22> functor.tokyo is a great resource for nix & nixos stuff
butterthebuddha has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Seto_Kaiba is now known as Hunterkll
<{^_^}> [nixpkgs] @jonringer merged pull request #79911 → vimPlugins.jellybeans-vim: init at 2019-06-22 → https://git.io/JvCN1
<{^_^}> [nixpkgs] @jonringer pushed 2 commits to master: https://git.io/JvWLn
butterthebuddha has joined #nixos
<butterthebuddha> userr22 that replaced 2.3.1 with a new installation of 2.3.1 :(
<userr22> which channel are you on?
<butterthebuddha> userr22 how do I check that?
<butterthebuddha> Are you looking for the git revision of nixpkgs I'm on?
<userr22> nix-channel --list (might have to run as sudo, not sure about nix mac)
<butterthebuddha> ~ λ nix-channel --list
<butterthebuddha> same output with sudo
kloenk has quit [Read error: Connection reset by peer]
domogled has quit [Ping timeout: 272 seconds]
<LnL> butterthebuddha: nix-instantiate --eval -E 'builtins.readFile <nixpkgs/.git-revision>'
<userr22> If anyone is going to know the fix it'll be LnL :D
domogled has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #79929 → jsonnet: 0.14.0 -> 0.15.0 → https://git.io/JvWLV
<butterthebuddha> 7e8454fb856573967a70f61116e15f879f2e3f6a
Carp has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @rnhmjoj merged pull request #79478 → aws-sam-cli: disable telemetry → https://git.io/JvnlC
<{^_^}> [nixpkgs] @rnhmjoj pushed 3 commits to master: https://git.io/JvWLK
Carp has joined #nixos
<userr22> butterthebuddha mm that's from 3rd January
<LnL> that's 6 weeks old
<butterthebuddha> I've run "nix-channel --update"
<LnL> run nix-info -m
kloenk has joined #nixos
<LnL> looks like root owns the channels
<LnL> nix-instantiate --find-file nixpkgs
<butterthebuddha> Yep: /nix/var/nix/profiles/per-user/root/channels/nixpkgs
<butterthebuddha> Btw, whenever I run nix-env -u '*', I also get the following error:
<clever> LnL: nix eval nixpkgs.lib.version
<clever> butterthebuddha: that means that you added the same channels to both root and your user, so its ignoring root's copies
<LnL> your user channels also point to root, so you have them twice in the lookup path
<mudri> Is there any way to set trackpad tapping sensitivity on NixOS? Before, I've used Synaptics, but now that's deprecated and falling apart.
<{^_^}> [nixpkgs] @andir opened pull request #79930 → cargo: use bundled libgit2 → https://git.io/JvWLp
<ornxka> how do i use a local dir as a nixos channel
<clever> ornxka: does it need to be a channel or just something you build from?
<ornxka> ive got the whole nixpkgs repo checked out in various worktrees for unstable, release, etc, and id like to upgrade my packages i installed via nix-env against that checked out copy of nixpkgs
<clever> ornxka: nix-env -f ~/nixpkgs -iA hello
<butterthebuddha> LnL I thought that it might be a good idea to remove all the channels from root, but now I'm getting this error: https://pastebin.com/raw/NkF3QNDQ
<ornxka> ahh
KeiraT has joined #nixos
<butterthebuddha> I guess I would appreciate an explanation of how channels are supposed to work
<clever> butterthebuddha: each user has their own channel list, and nix-env will look in the current users channels, plus root
mac10688 has quit [Ping timeout: 246 seconds]
<clever> butterthebuddha: if you are the only user of the machine, its simplest to only put channels on root, and nowhere else
<butterthebuddha> clever If I'm the only user, is there any reason to use a multi-user installation instead of a single-user installation?
<LnL> lookup is a bit confusing and not consistent between all tools
<clever> butterthebuddha: also, darwin is "broken" and `sudo nix-channel` wont act on roots channels
<clever> butterthebuddha: you want `sudo -i` then use `nix-channel`
<mudri> ornxka: You can also give them convenient names by putting a symlink to the nixpkgs directory in `~/.nix-defexpr/`.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #79931 → libinput: 1.15.0 -> 1.15.1 → https://git.io/JvWtm
<ornxka> oooooh
<ornxka> thats very helpful!
nikola_i has quit [Ping timeout: 240 seconds]
<clever> [clever@amd-nixos:~]$ cat ~/.nix-defexpr/test/foo/default.nix
<clever> import /home/clever/apps/nixpkgs
<LnL> butterthebuddha: yeah I think your user stuff ended up in a bad state because of sudo
<clever> ornxka: this lets you do `nix-env -iA foo.hello`
<mudri> For example, I've done `ln -s ~/nixpkgs ~/.nix-defexpr/g` then `nix-env -iA g.hello`.
<clever> ornxka: note, that `-u '*'` wont look in a specific channel, but just look in all channels
<ornxka> thats a huge help, thank you both very much
u0_a122 has quit [Read error: Connection reset by peer]
<ornxka> ah i see
<LnL> butterthebuddha: try removing ~/.nix-defexpr and update again
knupfer has joined #nixos
<butterthebuddha> Okay, no more errors on nix-info -m
<butterthebuddha> But nix-env -u '*' still didn't update nix
alexherbo25 has joined #nixos
<clever> butterthebuddha: does `nix-env -q` list nix?
<mudri> clever: Is there a reason to prefer a nix file in a directory, rather than a symlink to the directory?
Tucky has quit [Quit: WeeChat 2.7]
<butterthebuddha> clever nope
<clever> mudri: both should work
<clever> butterthebuddha: then nix-env -u will never update nix, its not in that users profile
<clever> butterthebuddha: what does `which nix-env` return?
<mudri> Any advantages that either have over the other?
<butterthebuddha> /nix/var/nix/profiles/default/bin/nix-env
<clever> mudri: no real difference really, mostly user preference
<LnL> butterthebuddha: you're using nix-darwin so that should be managing nix itself, run darwin-rebuild to apply the changes again
<mudri> 👍
alexherbo2 has quit [Ping timeout: 265 seconds]
alexherbo25 is now known as alexherbo2
<clever> butterthebuddha: its in roots profile, so root must be the one to run `nix-env -u`, or it might be part of darwin-rebuild
<butterthebuddha> I did run darwin-rebuild switch
<LnL> butterthebuddha: hm actually, that's not what I was expecting
<clever> butterthebuddha: `which --all nix-env` ?
<butterthebuddha> clever: which: illegal option -- -
<butterthebuddha> usage: which [-as] program ...
<clever> butterthebuddha: the darwin copy of which is old and doesnt support --all
<LnL> nix doctor should also list duplicate nix installatjons
<clever> butterthebuddha: manually check each entry in $PATH for a nix-env, are there duplicates?
<LnL> clever: ^
<lc> Hi, I'm gtting this in stack on nixos `error while loading shared libraries: libffi.so.6: cannot open shared object file: No such file or directory`
<butterthebuddha> Just installed a new version of which
<butterthebuddha> /nix/var/nix/profiles/default/bin/nix-env
<butterthebuddha> and /run/current-system/sw/bin/nix-env
<butterthebuddha> And, yep: Warning: multiple versions of nix found in PATH.
<clever> then its installed with both nix-env (as root) and nix-darwin
<butterthebuddha> (that was output from nix doctor)
<clever> you need to `nix-env -e nix` as root, to uninstall the duplicate
<butterthebuddha> /nix/store/7jl7kbsqnh5wzdfsdif7g1rjsssq6ilz-nix-2.3.1/bin
<butterthebuddha> /nix/store/ahnhrb79fzlpsszybih2v3vg6d40vnrz-nix-2.3.2/bin
<LnL> the order should dbe different tho
<butterthebuddha> So I *do* have nix 2.3.2
<butterthebuddha> At this point: is it worth just reinstalling everything?
<{^_^}> [nixpkgs] @andir merged pull request #79914 → [20.03] firefox 73 → https://git.io/JvCxo
chagra has joined #nixos
<{^_^}> [nixpkgs] @andir pushed 8 commits to staging-20.03: https://git.io/JvWtg
<clever> butterthebuddha: no point in that, just `nix-env -e nix` as root and you should be fixed
<butterthebuddha> Okay I did that, and that did fix it!
eso has joined #nixos
<LnL> yeah, just get rid of the duplicate
<butterthebuddha> Any idea why I had two versions instaleld
<LnL> the rest should be fine now
<butterthebuddha> I don't remember installed nix via nix
<butterthebuddha> installing*
dckc has quit [Ping timeout: 260 seconds]
<clever> butterthebuddha: when you first install nix, its in roots profile
<clever> butterthebuddha: then when you switched to nix-darwin, a second copy was added in current-system
<LnL> it's from the initial install, it's just supposed to be at the end of path
<clever> and now your wanting to use the version in current-system
<LnL> so it will be there for most people, just unused
<butterthebuddha> btw "nix-channel --list" doesn't print anything now
<clever> LnL: on nixos, roots profile comes before current-system, so you can override things without a rebuild
<clever> butterthebuddha: what about as root?
<LnL> ah really?
<butterthebuddha> Nope, nothing
<clever> butterthebuddha: what about under `sudo -i` ?
<butterthebuddha> But nix-info -m lists the channels under my user
<butterthebuddha> clever I tried that
<clever> butterthebuddha: what are the contents of ~/.nix-channels (a text file) on both users?
romildo has joined #nixos
<butterthebuddha> Empty on my user, doesn't exist for root
<Ilya_G> Folks I have the following issue happening away from my machine installing a python application:
<Ilya_G> ```
kloenk has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<clever> butterthebuddha: then root never had channels, and sudo has been lying to you the entire time
<Ilya_G> ```locking path '/nix/store/3lzklka8qm0v8gra9bn0v8dvijw2x6i5-log_adapter_engine-0.2.0.drv'lock acquired on '/nix/store/3lzklka8qm0v8gra9bn0v8dvijw2x6i5-log_adapter_engine-0.2.0.drv.lock'lock released on '/nix/store/3lzklka8qm0v8gra9bn0v8dvijw2x6i5-log_adapter_engine-0.2.0.drv.lock'instantiated 'log_adapter_engine-0.2.0' ->
<Ilya_G> '/nix/store/3lzklka8qm0v8gra9bn0v8dvijw2x6i5-log_adapter_engine-0.2.0.drv'querying info about missing paths...starting pool of 3 threadschecking substituter 'https://cache.nixos.org' for path '/nix/store/fr2vsw0ziizhb99m348rsygvzd7b5glq-log_adapter_engine-0.2.0'querying info about
<Ilya_G> '/nix/store/fr2vsw0ziizhb99m348rsygvzd7b5glq-log_adapter_engine-0.2.0' on 'https://cache.nixos.org'...downloading 'https://cache.nixos.org/fr2vsw0ziizhb99m348rsygvzd7b5glq.narinfo'...starting download of https://cache.nixos.org/fr2vsw0ziizhb99m348rsygvzd7b5glq.narinfofinished download of
<Ilya_G> 'https://cache.nixos.org/fr2vsw0ziizhb99m348rsygvzd7b5glq.narinfo'; curl status = 77, HTTP status = 0, body = 0 bytes[31;1merror:[0m unable to download 'https://cache.nixos.org/fr2vsw0ziizhb99m348rsygvzd7b5glq.narinfo': Problem with the SSL CA cert (path? access rights?) (77)```
<Ilya_G> locking path '/nix/store/3lzklka8qm0v8gra9bn0v8dvijw2x6i5-log_adapter_engine-0.2.0.drv'lock acquired on '/nix/store/3lzklka8qm0v8gra9bn0v8dvijw2x6i5-log_adapter_engine-0.2.0.drv.lock'lock released on '/nix/store/3lzklka8qm0v8gra9bn0v8dvijw2x6i5-log_adapter_engine-0.2.0.drv.lock'instantiated 'log_adapter_engine-0.2.0' ->
<Ilya_G> '/nix/store/3lzklka8qm0v8gra9bn0v8dvijw2x6i5-log_adapter_engine-0.2.0.drv'querying info about missing paths...starting pool of 3 threadschecking substituter 'https://cache.nixos.org' for path '/nix/store/fr2vsw0ziizhb99m348rsygvzd7b5glq-log_adapter_engine-0.2.0'querying info about
<clever> butterthebuddha: `sudo nix-channel --list` shows the channels for your user, not root
<Ilya_G> '/nix/store/fr2vsw0ziizhb99m348rsygvzd7b5glq-log_adapter_engine-0.2.0' on 'https://cache.nixos.org'...downloading 'https://cache.nixos.org/fr2vsw0ziizhb99m348rsygvzd7b5glq.narinfo'...starting download of https://cache.nixos.org/fr2vsw0ziizhb99m348rsygvzd7b5glq.narinfofinished download of
<Ilya_G> 'https://cache.nixos.org/fr2vsw0ziizhb99m348rsygvzd7b5glq.narinfo'; curl status = 77, HTTP status = 0, body = 0 bytes[31;1merror:[0m unable to download 'https://cache.nixos.org/fr2vsw0ziizhb99m348rsygvzd7b5glq.narinfo': Problem with the SSL CA cert (path? access rights?) (77)
<LnL> ,paste ilya_g
<{^_^}> ilya_g: Use a website such as [ https://gist.github.com/ http://ix.io/ https://hastebin.com/ http://sprunge.us/ https://paste.ee/ ] or similar services to share anything that's longer than a couple lines.
<Ilya_G> `locking path '/nix/store/3lzklka8qm0v8gra9bn0v8dvijw2x6i5-log_adapter_engine-0.2.0.drv'lock acquired on '/nix/store/3lzklka8qm0v8gra9bn0v8dvijw2x6i5-log_adapter_engine-0.2.0.drv.lock'lock released on '/nix/store/3lzklka8qm0v8gra9bn0v8dvijw2x6i5-log_adapter_engine-0.2.0.drv.lock'instantiated 'log_adapter_engine-0.2.0' ->
<Ilya_G> '/nix/store/3lzklka8qm0v8gra9bn0v8dvijw2x6i5-log_adapter_engine-0.2.0.drv'querying info about missing paths...starting pool of 3 threadschecking substituter 'https://cache.nixos.org' for path '/nix/store/fr2vsw0ziizhb99m348rsygvzd7b5glq-log_adapter_engine-0.2.0'querying info about
<Ilya_G> '/nix/store/fr2vsw0ziizhb99m348rsygvzd7b5glq-log_adapter_engine-0.2.0' on 'https://cache.nixos.org'...downloading 'https://cache.nixos.org/fr2vsw0ziizhb99m348rsygvzd7b5glq.narinfo'...starting download of https://cache.nixos.org/fr2vsw0ziizhb99m348rsygvzd7b5glq.narinfofinished download of
<Ilya_G> 'https://cache.nixos.org/fr2vsw0ziizhb99m348rsygvzd7b5glq.narinfo'; curl status = 77, HTTP status = 0, body = 0 bytes[31;1merror:[0m unable to download 'https://cache.nixos.org/fr2vsw0ziizhb99m348rsygvzd7b5glq.narinfo': Problem with the SSL CA cert (path? access rights?) (77)`
<clever> butterthebuddha: and `sudo nix-channel --remove` removed all channels from your user, not root
<cole-h> Good lord
<Ilya_G> sorry I will fix that
<butterthebuddha> clever the channels are still listed under my user in nix-info -m
dckc has joined #nixos
<LnL> clever: butterthebuddha: yeah the sudo thing is pretty annoying/confusing
sbetrium has joined #nixos
<butterthebuddha> So I guess to be clear: I should stay from sudo in the future when trying to do nix stuff?
<gchristensen> ilya_g: no worries, but a ,pastebin next time will be good :)
<gchristensen> ,paste
<{^_^}> Use a website such as [ https://gist.github.com/ http://ix.io/ https://hastebin.com/ http://sprunge.us/ https://paste.ee/ ] or similar services to share anything that's longer than a couple lines.
<{^_^}> [nixpkgs] @jonringer merged pull request #79272 → pythonPackages.sanic-auth: init at 0.2.0 → https://git.io/JvZeW
<{^_^}> [nixpkgs] @jonringer pushed commit from Farkas, Arnold to master « pythonPackages.sanic-auth: init at 0.2.0 »: https://git.io/JvWt9
domogled has quit [Remote host closed the connection]
<Ilya_G> there I fixed it :D
Chiliparrot has joined #nixos
<eso> Hello guys, I'm stating using nix and i face a little problem using `nix-shell --pure`; I do need ssh commands but i havent acces to it, so i wanted to add the package that contains ssh but i didnt found it. Is this the way i should do it or i missunderstand something
domogled has joined #nixos
<gchristensen> eso: you might have many troubles with --pure, like if you use an SSH agent. but: openssh
<clever> butterthebuddha: on darwin, you should always use `sudo -i` then `cmd`, not `sudo cmd`
<eso> ah thx i'll try to add openssh thx !
<Ilya_G> So for gist I included there I have an issue when NixOS is trying to pull my package from cache.nixos instead of installing it from GitLab like I asked it to.
<romildo> Atril (from the mate desktop) depends on the synctex lib. atril-1.24.0 removed the internal build of the ‘synctex’ library to use only the external version. On my system there is /nix/store/i7a3ggf993ziiz5r788fw770yb36k5nx-texlive-bin-2019/lib/pkgconfig/synctex.pc How should it be included as a dependency for atril?
<clever> butterthebuddha: darwin sets the wrong $HOME with the 2nd form, and the commands act on the wrong user
<butterthebuddha> clever is that fixable?
<butterthebuddha> that sounds like an error with the sudo impl that ships with darwin?
<Ilya_G> I had to create a custom module that pulls from private GitLab folder and it works well in the same docker image on my machine, but when tested outside I get this madness :https://gist.github.com/ilyaGotfryd/b3d206f830627e65dcc398d0f166c621
<LnL> grep HOME /etc/sudoers
alexherbo21 has joined #nixos
<clever> butterthebuddha: its a config option, in /etc/sudoers i think, `man sudoers`
<LnL> Defaults env_keep += "HOME MAIL"
<clever> yeah, thats the one
<LnL> butterthebuddha: ^ it's added explicitly by apple for some weird reason
<clever> butterthebuddha: also, you will want to use `visudo` to edit it
<Ilya_G> not sure what causes it to go to `checking substituter 'https://cache.nixos.org' for path '/nix/store/fr2vsw0ziizhb99m348rsygvzd7b5glq-log_adapter_engine-0.2.0'`
<butterthebuddha> LnL: Can I arrange for nix-darwin to edit that for me :P
<Ilya_G> It should just fetch and install application from GitLab
alexherbo2 has quit [Ping timeout: 240 seconds]
alexherbo21 is now known as alexherbo2
<LnL> butterthebuddha: not really in a safe way currently
kloenk has joined #nixos
<userr22> Yeah, most people will be upset at anything touching the sudoers file for you :P
<LnL> ilya_g: is $NIX_SSL_CERT_FILE or $SSL_CERT_FILE set?
<LnL> userr22: yeah, I'm a bit scared to add support for it :p
<butterthebuddha> fair enough
<eso> gchristensen: it worked fine thx for help
<butterthebuddha> I'll try to fix the nix-channel issue by manually readding the channels
<gchristensen> great!
sbetrium has quit [Quit: sbetrium]
cosimone has quit [Remote host closed the connection]
cosimone has joined #nixos
<m15k> when I do `nix-shell -p pkg` am I able to adjust the derivation from command line?
<{^_^}> [nixpkgs] @jonringer merged pull request #79688 → Python3 Packages - digi-xbee and srp → https://git.io/JvcaB
<{^_^}> [nixpkgs] @jonringer pushed 3 commits to master: https://git.io/JvWql
<clever> m15k: `nix-shell -p 'pkg.override....'`
butterthebuddha has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #79932 → libgee: 0.20.2 -> 0.20.3 → https://git.io/JvWqu
chagra has quit [Ping timeout: 272 seconds]
eso has quit [Quit: WeeChat 2.6]
userr22 has quit [Remote host closed the connection]
<m15k> clever: tired: `nix-shell -p 'jre.override{enableInfinality = false;}'`
eso has joined #nixos
endformationage has joined #nixos
<m15k> *tried
erasmas has joined #nixos
<clever> m15k: and what (didnt) happen?
sbetrium has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #78867 → pythonPackages.marshmallow-polyfield: init at 5.7 → https://git.io/JvOim
<{^_^}> [nixpkgs] @jonringer pushed commit from @drewrisinger to master « pythonPackages.marshmallow-polyfield: init at 5.7 »: https://git.io/JvWq1
tmplt has quit [Ping timeout: 268 seconds]
<clever> 8461 jre = jre8;
kloenk has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<clever> 8451 jre8 = openjdk8.jre;
wildtrees has joined #nixos
<clever> 8395 openjdk8 =
<clever> 8399 callPackage ../development/compilers/openjdk/8.nix {
domogled has quit [Remote host closed the connection]
<cole-h> Using home-manager, how would I install only one `home.packages` package from a local nixpkgs repo?
<clever> m15k: .override is an attribute added by callPackage, so it only exists at openjdk8.override
<clever> m15k: the jre8 alias breaks .override on you
wildtrees has quit [Remote host closed the connection]
<clever> m15k: you want: nix-shell -p '(openjdk8.override{enableInfinality = false;}).jre'
wildtrees has joined #nixos
butterthebuddha has joined #nixos
jgeerds has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #70637 → Squeezelite updates and refactor → https://git.io/JeCds
<{^_^}> [nixpkgs] @jonringer pushed 2 commits to master: https://git.io/JvWqj
kloenk has joined #nixos
vandenoever has quit [Read error: Connection reset by peer]
vandenoever has joined #nixos
domogled has joined #nixos
monadplus has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #79933 → libcap_ng: 0.7.9 -> 0.7.10 → https://git.io/JvWmq
<{^_^}> [nixpkgs] @flokli merged pull request #79862 → nixos/filesystems: don't chown /run/keys recursively → https://git.io/JvCiO
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/JvWmm
<cole-h> Answering my own question: some (all?) home-manager modules have a package attribute you can change
tarnacious has quit [Quit: Lost terminal]
<{^_^}> [nixpkgs] @flokli pushed to release-20.03 « nixos/filesystems: don't chown /run/keys recursively »: https://git.io/JvWms
domogled has quit [Ping timeout: 240 seconds]
linarcx has joined #nixos
johnw has quit [Quit: ZNC - http://znc.in]
shibboleth has joined #nixos
johnw has joined #nixos
kloenk has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
v88m has joined #nixos
domogled has joined #nixos
dingenskirchen has quit [Quit: dingenskirchen]
kloenk has joined #nixos
dingenskirchen has joined #nixos
mexisme_ has joined #nixos
<m15k> clever: Thanks!
domogled has quit [Read error: Connection reset by peer]
domogled has joined #nixos
romildo has quit [Quit: Leaving]
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
chloekek has quit [Quit: WeeChat 2.6]
mexisme_ has quit [Ping timeout: 272 seconds]
opthomasprime has joined #nixos
drakonis has joined #nixos
<Ilya_G> @LnL it is set. It is set to include internal cert for our GitLab as well. I think I am covered there. I feel the problem stems from the fact that nix-build is trying to fetch this package from cache.nixos. This packge is our in-house application that I built. It should be retrieved from internal GitLab
<Ilya_G> repository
<Ilya_G> Which it does no my machine no problem
<{^_^}> [nixpkgs] @worldofpeace merged pull request #79890 → readme: add link to community chat options → https://git.io/JvCHS
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JvWYZ
<Ilya_G> That URL in cache.nixos.org does not exist
<cole-h> Is it a binary cache or just a repo?
domogled has quit [Ping timeout: 260 seconds]
m15k has quit [Ping timeout: 260 seconds]
Neo-- has quit [Ping timeout: 245 seconds]
chagra has joined #nixos
<LnL> ilya_g: a full cert bundle or only the curstom thing?
<Ilya_G> @LnL full cert bundle plus custom cert appended
<LnL> nix still uses the cache to (check) and fetch all dependencies available upstream
kloenk has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<Ilya_G> That would make sense but again this particular dependency is a python app installed as a service from our gitlab repository so it should not have any of this
<LnL> can you verify with curl, It think something might be wrong with it
<Ilya_G> @LnL could you be a bit more specific, sorry. I am not sure how to verify this particular thing with curl
domogled has joined #nixos
<LnL> curl --cacert <file> https://google.com
Chiliparrot has joined #nixos
domogled has quit [Read error: Connection reset by peer]
domogled has joined #nixos
kloenk has joined #nixos
kloenk has quit [Client Quit]
ryanartecona has quit [Quit: ryanartecona]
<Ilya_G> @LnL it looks like I got a different problem locally.
domogled1 has joined #nixos
<Ilya_G> hash mismatch importing path '/nix/store/6fx7x0jilbkk1d3kmikz81g5z4jbf752-nss-cacert-3.48';
epl692 has joined #nixos
domogled has quit [Ping timeout: 265 seconds]
domogled1 is now known as domogled
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
kloenk has joined #nixos
detran has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @mmahut opened pull request #79935 → ezquake: 3.0.1 -> 3.1 → https://git.io/JvWOZ
NinjaTrappeur has quit [Quit: WeeChat 2.7]
NinjaTrappeur has joined #nixos
gagbo has quit [Quit: I'm out !]
<{^_^}> [nixpkgs] @jonringer merged pull request #79922 → gitAndTools.gh: 0.5.3 -> 0.5.4 → https://git.io/JvWex
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « gitAndTools.gh: 0.5.3 -> 0.5.4 »: https://git.io/JvWO8
<Ilya_G> looks like adding `nix-store --verify --check-contents` addressed that discrepancy
sbetrium has quit [Quit: sbetrium]
sbetrium has joined #nixos
vidbina has joined #nixos
<{^_^}> [nixpkgs] @mmahut opened pull request #79936 → duplicacy: 2.1.2 -> 2.3.0 → https://git.io/JvWO2
<{^_^}> [nixpkgs] @mmahut closed pull request #79936 → duplicacy: 2.1.2 -> 2.3.0 → https://git.io/JvWO2
monadplus has quit [Quit: Leaving]
c0c0 has quit [Quit: WeeChat 2.6]
stzsch has quit [Ping timeout: 246 seconds]
zirpu[m] has joined #nixos
ryanartecona has joined #nixos
<{^_^}> [nixpkgs] @mmahut opened pull request #79937 → eggdrop: 1.6.21-nix1 -> 1.8.4 → https://git.io/JvWOH
hyper_ch has joined #nixos
sb0 has quit [Quit: Leaving]
dansho has quit [Remote host closed the connection]
timor has joined #nixos
dansho has joined #nixos
butterthebuddha has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
growpotkin has joined #nixos
sigmundv has quit [Ping timeout: 265 seconds]
nuncanada has joined #nixos
<{^_^}> [nixpkgs] @Frostman opened pull request #79938 → [19.09] zfs: 0.8.2 -> 0.8.3 → https://git.io/JvWOh
<timor> Hi. In a package for GHDL, the resulting binary `ghdl` requires a working compiler and linker at runtime, i.e. `gcc` should be a binary which works as expected. How can I do that? Do I use `wrap_program` around `ghdl`? If yes, what do I wrap it with?
o1lo01ol1o has quit [Ping timeout: 260 seconds]
chagra has quit [Ping timeout: 272 seconds]
chloekek has joined #nixos
chloekek has quit [Client Quit]
chloekek has joined #nixos
rune3055 has joined #nixos
<rune3055> hey y'all! I'm trying to investigate wifi problems and i'm really not sure how tbh... My connection often drops and then I have to reboot because it won't connect back to the wifi
cartwright has quit [Ping timeout: 240 seconds]
johnw has quit [Quit: ZNC - http://znc.in]
<cole-h> Is it considered bad form to ping the maintainer of a package you're updating? I saw that it was removed from the PR template.
<{^_^}> [nixpkgs] @romildo opened pull request #79939 → mate: update to version 1.24.0 → https://git.io/JvW3O
butterthebuddha has joined #nixos
cartwright has joined #nixos
<{^_^}> [nixpkgs] @mmahut opened pull request #79940 → glide: 0.12.3 -> 0.13.3 → https://git.io/JvW3l
kloenk has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
sbetrium has quit [Quit: sbetrium]
butterthebuddha has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kloenk has joined #nixos
<pie_[bnc]> did i make some dumb mistake here; fetchFromGitHub { owner = "sismics"; repo = "docs"; rev = "a7423caeb1464254e2e42d599ee6e1fddfefe978"; sha256 = "87428fc522803d31065e7bce3cf03fe475096631e5e07bbd7a0fde60c4cf25c8"; }
stzsch has joined #nixos
<pie_[bnc]> or is fetchfromgithub broken right now or something
butterthebuddha has joined #nixos
<pie_[bnc]> that sha is fake btw
<clever> pie_[bnc]: what error does it fail with?
<pie_[bnc]> im not sure :I seems to hang in nix repl with :b
<cole-h> If it doesn't fail to build, maybe the sha256 is the same as another package, and so fetches whatever has the specified hash?
<cole-h> tbh I usually just replace the hash with all 0s
rune3055 has quit [Remote host closed the connection]
<pie_[bnc]> tbh i wish this was less of a pain, i need something that copies the correct amount of zeros in
<clever> pie_[bnc]: how big is the repo? how slow is your network?
<emily> timor: you'd override PATH with wrapProgram
<clever> pie_[bnc]: 52i0<escape> in vim
<pie_[bnc]> shouldnt be a big repo
<emily> timor: however, I think it's probably fine to just leave the runtime dependency implicit in this case... in the same way that gcc requires a linker in the PATH
fenedor has joined #nixos
<pie_[bnc]> oh wait maybe its not a fake hash, but anyway
<emily> the other FPGA tools mostly implicitly require the other toolchain glue and wrapping them seemed like it wouldn't be worth it
<emily> but I'm not sure what the exact way ghdl uses gcc is
<gchristensen> lol: /nix/store/cvcvljr48j40kijxjgyrdsr7sn1clny8-nixos-enter/bin/nixos-enter: line 72: /dev/stderr: No such device or address
<clever> pie_[bnc]: i always switch to insert mode, and zero out a few digits, so its obviously wrong
<timor> emily: what would I set PATH to, then?
<{^_^}> [nixpkgs] @jonringer merged pull request #79790 → dnnl: run tests, fix install tree → https://git.io/JvCqt
<{^_^}> [nixpkgs] @jonringer pushed commit from @bhipple to master « dnnl: run tests, fix install tree »: https://git.io/JvW31
<emily> timor: you'd want to use the options to add ${gcc}/bin to PATH, I guess, but I'm not sure ${gcc} specifically is right there, because all the compiler stuff is tangled up in stdenv in ways I don't fully understand
<emily> timor: every nix-shell environment / package build gets stdenv by default, so for uses of ghdl in packages there's no need to wrap it at least
<emily> and the convention with other compiler tools doesn't seem to be to bake stdenv paths in
boxscape has joined #nixos
<emily> so I'm not sure it's the correct thing to do
<pie_[bnc]> ok looks like the clone is just hella slow for some reason
<pie_[bnc]> (repo is not big)
<clever> pie_[bnc]: github randomly does that
<timor> emily: So I guess I'd have to do some ghdl_wrapper semantics for interactive use...
fendor has quit [Ping timeout: 265 seconds]
domogled has quit [Quit: domogled]
<emily> timor: how does it invoke gcc in interactive scenarios? it might be best to bake it after all in if it's designed as an overall build tool
<emily> I haven't used ghdl personally so I'm not familiar
<timor> emily: I am currently trying to find out.
<emily> (I was considering packaging it and ghdlsynth for yosys earlier though, so I'm happy to see progress on that!)
<timor> emily: Don't get your hopes up too high. Getting a working ada compiler in that whole process is not pretty...
ryanartecona has quit [Quit: ryanartecona]
<emily> oh, is GNAT not in nixpkgs already? that's sad :(
<emily> I kinda just assumed it was
<timor> emily: it's not in nixpkgs anymore
<{^_^}> [nixpkgs] @cole-h opened pull request #79941 → fish: 3.0.2 -> 3.1.0 → https://git.io/JvW35
chagra has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #79830 → nixos/display-managers: Add DesktopNames parameter to generated desktop session files → https://git.io/JvCRO
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JvW3d
NoctisLa1 has quit [Read error: Connection reset by peer]
Chiliparrot has joined #nixos
<{^_^}> [nixpkgs] @JeffLabonte closed pull request #79634 → Upgrade brave 1.1.23 to 1.3.113 → https://git.io/JvcGB
NoctisLabs has joined #nixos
nikola_i has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #79919 → metamath: 0.178 -> 0.180 → https://git.io/JvCjf
<{^_^}> [nixpkgs] @jonringer pushed commit from @Taneb to master « metamath: 0.178 -> 0.180 »: https://git.io/JvW3A
butterthebuddha has quit [Read error: Connection reset by peer]
<gchristensen> clever: did systemd do something recently to change /dev/stderr inside a unit? my just-do-it like thing is failing, with nixos-enter: line 72: /dev/stderr: No such device or address which seems ... strange
<{^_^}> [nixpkgs] @jonringer merged pull request #79929 → jsonnet: 0.14.0 -> 0.15.0 → https://git.io/JvWLV
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « jsonnet: 0.14.0 -> 0.15.0 »: https://git.io/JvW3p
<clever> gchristensen: not sure, try adding an `ls -l /dev/stderr` to the preScript ?
<clever> the error itself is also weird, that doesnt feel systemd related
johnw has joined #nixos
<gchristensen> very :/
<gchristensen> it is right after "installing the boot loader..."
<clever> lrwxrwxrwx 1 root root 15 Jan 14 11:59 /dev/stderr -> /proc/self/fd/2
<clever> its usually a symlink to fd 2 on the current pid
<gchristensen> yup
<clever> so it will heavily depend on what pid is opening that link, and what stderr already is
<gchristensen> hrm
<cole-h> (dang, you haven't rebooted since January 2014?)
<clever> cole-h: jan 14th, 2020
qasaur has joined #nixos
<clever> cole-h: i typed reboot into the wrong window, and discovered that you dont need sudo anymore :P
<cole-h> :D I kid, I kid
kloenk has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<cole-h> Yeah, systemd gives interactive sessions the ability to reboot without prompting, it apperas...
<cole-h> s/apperas/appears
<clever> cole-h: i think its polkit actually
<cole-h> You're right
NoctisLa1 has joined #nixos
<timor> emily: Well, I did get two of the GHDL backends to work already. It's just that I think the way the derivation uses GNAT is not really fit for nixpkgs...
<qasaur> Hello, I have a quick question which I can't seem to find the solution for, am quite new to Nix and NixOS. Does pkgs.nixosTest exist anywhere in the nixpkgs source tree and if so how is it documented anywhere how VM tests declared in a package can be executed by the NixOS test suite? I read this
<qasaur> https://nixos.mayflower.consulting/blog/2019/07/11/leveraging-nixos-tests-in-your-project/ and it seems like it is possible but I wanted to see some more details on it.
<qasaur> or perhaps the only idiomatic way is to declare these tests in nixpkgs/nixos/tests only?
NoctisLabs has quit [Ping timeout: 268 seconds]
alienpirate5 has joined #nixos
<alienpirate5> hi, can someone please help me set up Nginx and PHP on NixOS?
vandenoever has quit [Read error: Connection reset by peer]
NoctisLa1 has quit [Read error: Connection reset by peer]
kloenk has joined #nixos
<gchristensen> clever: actually no it doesn't depend on the caller, because this is happening inside the nixos-enter chroot
NoctisLa1 has joined #nixos
smatting has quit [Ping timeout: 265 seconds]
vandenoever has joined #nixos
vandenoever has quit [Changing host]
vandenoever has joined #nixos
<gchristensen> wait maybe not
<{^_^}> [nixpkgs] @primeos merged pull request #79853 → fscrypt-experimental: 0.2.5 -> 0.2.6 → https://git.io/JvCVF
<{^_^}> [nixpkgs] @primeos pushed to master « fscrypt-experimental: 0.2.5 -> 0.2.6 (#79853) »: https://git.io/JvWsO
<clever> gchristensen: each pid opening /dev/stderr will see a different /proc/self
<gchristensen> I know
kaliumxyz has quit [Remote host closed the connection]
<gchristensen> my question at this point is is it the /proc/self inside the chroot or outside it, and I'm not yet sure
<clever> does nixos-enter use pid namespacing? try running it manually and see what `ps aux` leaks
<gchristensen> doesn't leak anything
* clever checks sc
<clever> src
<clever> 12 exec unshare --fork --mount --uts --mount-proc --pid $extraFlags -- "$0" "$@"
<clever> that creates a pid namespace (and others), and mounts a new /proc for you
<clever> Just before running the program, mount the proc filesystem at mountpoint (default is /proc). This is useful when creating a new PID namespace. It also implies creating a new mount namespace since the /proc mount would otherwise mess up existing programs on
<clever> so that new /proc will respect the new pid namespace
<gchristensen> this is very strange
<clever> actually, now that i think of it, `ps aux` reads /proc, so only if /proc is mounted, will it respect the sandbox
akapaka[m] has joined #nixos
<clever> if you didnt `--mount-proc`, you would be in a pid namespace, but `ps aux` wouldnt agree with the actual pid's
<gchristensen> yea
<clever> ah yeah, thats not you choosing to run nixos-enter, thats nixos-install using it as a helper
<gchristensen> right exactly
<clever> 72 LOCALE_ARCHIVE="$system/sw/lib/locale/locale-archive" chroot "$mountPoint" "$system/activate" >>$PIPE_TARGET 2>&1 || true
<gchristensen> interestingl, running sudo NIXOS_INSTALL_BOOTLOADER=1 nixos-enter --root "/mnt" -- /run/current-system/bin/switch-to-configuration boot again has worked -- maybe there is a race condition I'm not accounting for?
<clever> and is that error, caused by bash turning 2>&1 into /dev/stderr? heh
<clever> i think systemd generates a ...
<gchristensen> like do I need to add in an additional udevadm settle or something, maybe
<clever> unix socket (via socketpair()?), and ties it to stdout/stderr of the service
<clever> and if the main pid for the service exits, it might close the sockets
<clever> but then, how are you even seeing the logs?
la-con is now known as tytauabu
<gchristensen> heh yeah
<clever> lrwx------ 1 cachecache nogroup 64 Feb 11 16:10 /proc/32435/fd/1 -> 'socket:[262342793]'
<clever> lrwx------ 1 cachecache nogroup 64 Feb 11 16:10 /proc/32435/fd/2 -> 'socket:[262342793]'
<gchristensen> oh neat
<clever> and its the exact same socket for both handles
<worldofpeace> qasaur: nixosTest is a function in all-packages.nix. and what do you mean by the NixOS test suite? Are you trying to add a test in nixpkgs for a PR and want it to be ran for a package too?
<gchristensen> clever: I think I will update nixpkgs (it is a bit out of date at this point) and also add a `udevadm settle` before I run nixos-install ...... juuuust in case.
<clever> [root@nas:~]# grep 262342793 /proc/net/unix
<clever> ffff8d024cc7b800: 00000003 00000000 00000000 0001 03 262342793
<rnhmjoj> qasaur: i'm not familiar with pkgs.nixosTest but it looks like an alias to the `import ./make-test.nix`, it's defined in pkgs/top-level/all-packages.nix. the documentation on how to write tests is here https://nixos.org/nixos/manual/index.html#sec-writing-nixos-tests
<clever> gchristensen: this is the info that lsof reads, but lsof doesnt understand namespaces, so it can be tricky to read the sockets inside a container
<gchristensen> hrm
kloenk has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<tilpner> alienpirate5: I don't do much with php, but I have nginx setup. Do you have any specific problems? Here's a collection of modules that use phpfpm, which you probably want for nginx: https://search.tx0.co/?q=phpfpm&i=nope&files=&repos=
claudiii has joined #nixos
<rnhmjoj> qasaur: also a note: the current test driver (writter in perl) has recently been replaced with a new one in python. so if you intend to write new tests you better start using the python one. the interface is mostly unchaged though.
wildtrees has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
wildtrees has joined #nixos
kloenk has joined #nixos
Carp has quit [Quit: WeeChat 2.7]
orivej has quit [Ping timeout: 265 seconds]
NoctisLa1 has quit [Read error: Connection reset by peer]
NoctisLa1 has joined #nixos
<{^_^}> [nixpkgs] @primeos merged pull request #79867 → tdesktop: 1.9.9 -> 1.9.12 → https://git.io/JvCX9
<{^_^}> [nixpkgs] @primeos pushed 3 commits to master: https://git.io/JvWsD
<lovesegfault> Can someone help me by merging this: https://github.com/NixOS/nixpkgs/pull/79785
<{^_^}> #79785 (by lovesegfault, 1 day ago, open): cargo-udeps: 0.1.5 -> 0.1.7
<pie_[bnc]> joepie91: / anyone that knows: im trying to package something that calls npm via maven
<joepie91> pie_[bnc]: run
<pie_[bnc]> i seem to have the maven side covered but how should i make npm runnable in nix?
<joepie91> :P
wiml has joined #nixos
<joepie91> pie_[bnc]: honestly I have no idea, but any time "JS tools invoked by Java tools" comes up in #Node.js it ends up being a lovecraftian horror
<pie_[bnc]> joepie91: :P yeah but that doesnt help
<pie_[bnc]> heh
<joepie91> so maybe you'll get lucky, but I'd prepare for headaches :)
<pie_[bnc]> well, im going to give up pretty soon since i dont ahve alot of time
erictapen has quit [Ping timeout: 268 seconds]
sbetrium has joined #nixos
<pie_[bnc]> but i basically wasted all day figuring out something about tomcat, which ive never used, and the fact that figuring that out was unnecessary :p
<{^_^}> sismics/docs#375 (by deliciouslytyped, 3 hours ago, closed): 404 when trying to access autodeploy path
<joepie91> looks like a normal `npm install` invocation
<joepie91> and skipping the invocation entirely
<joepie91> probably your best bet is just generating the node_modules using one of the {node,npm,yarn}2nix tools
<pie_[bnc]> hm
ris has joined #nixos
qasaur has quit [Ping timeout: 260 seconds]
<pie_[bnc]> joepie91: can i not just predownload the dependencies and let it run itself?
alexherbo2 has quit [Quit: The Lounge - https://thelounge.chat]
<pie_[bnc]> or something
<pie_[bnc]> you know, the usual nix way
bvdw has quit [Read error: Connection reset by peer]
<pie_[bnc]> the less i have to dig in the guts of this the better
alexherbo2 has joined #nixos
bvdw has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
jonten has joined #nixos
orivej has joined #nixos
sbetrium has quit [Quit: sbetrium]
kloenk has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
kloenk has joined #nixos
<{^_^}> [nixpkgs] @thoughtpolice merged pull request #79875 → urweb: 20190217 -> 20200209 → https://git.io/JvC1S
<{^_^}> [nixpkgs] @thoughtpolice pushed commit from @r-ryantm to master « urweb: 20190217 -> 20200209 »: https://git.io/JvWGl
lohfu1 has quit [Quit: WeeChat 1.9]
lohfu has joined #nixos
<thoughtpolice> Anyone ever hit an issue like this with a workaround, or is the only solution truly just to fix rust-dns-resolver: https://github.com/NixOS/nixpkgs/pull/79224#issuecomment-585183243
vidbina has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #79942 → libsForQt5.libopenshot-audio: 0.1.8 -> 0.1.9 → https://git.io/JvWG5
karantan has joined #nixos
<karantan> if anyone knows how to solve this I would be supper happy: https://stackoverflow.com/questions/60188092/allow-apache-user-to-connect-to-mysql-via-auth-socket
cosimone has quit [Quit: Terminated!]
<pie_[bnc]> joepie91: so, id node_modules exists npm will be happy?
<pie_[bnc]> s/id/if
<joepie91> pie_[bnc]: well, you wouldn't run npm at all, so whether it's happy is irrelevant
<joepie91> the only thing that matters is whether Node is happy, and Node is fine with node_modules existing by any means
<joepie91> what exactly put it there, it doesn't care about :P
replikvlt has joined #nixos
<replikvlt> hello, who is an icecat maintainer?
<pie_[bnc]> joepie91: id run it because i dont want to figure out how to build this thing myself :P
<pie_[bnc]> joepie91: or is it simpler than i dont know?
<gchristensen> replikvlt: not me, but what's up?
<replikvlt> there was new version 68 availiable but on 19.09 v60 is availiable
qasaur has joined #nixos
<joepie91> pie_[bnc]: well npm needs network access and dynamically fetching packages is a no-no in nixpkgs :P
<joepie91> the various *2nix tools just take the package.json/package-lock.json/yarn.lock, then precompute Nix expressions with hardcoded tarball URLs
<joepie91> and the plumbing to put everything in the right place
<pie_[bnc]> yeah, you havent lost me yet
<qasaur> worldofpeace sorry for the delay, was AFK, yes I'm trying to write tests for a package but it is not for distribution in nixpkgs
<joepie91> yarn2nix has been easiest in my experience, but does require a yarn.lock I think
<qasaur> rnhmjoj thanks, that answered my question I think, seems like github search didn't pick up nixosTest in all-packages.nix
<joepie91> (yarn2nix can be relatively trivially used as part of an expression)
<pie_[bnc]> joepie91: but this maven script calls npm install. so can i not tell npm "no. bad. dont use the internet, node_modules is right <here>"?
<joepie91> (that is, it will generate the Nix-y plumbing from a yarn.lock at runtime)
<joepie91> pie_[bnc]: I mean, probably, but why not just rip out the npm invocation entirely
<joepie91> and put the stuff where npm would have otherwise put it
<joepie91> but with Nix
<rnhmjoj> qasaur: all-packages is really huge, probably github turns off the indexing for files that large
<gchristensen> qasaur: search.nix.gsc.io or a local grep / rg is typically needed
<joepie91> npm literally doesn't do anything other than "take package.json and optionally lockfile, resolve stuff in there, build a node_modules with it"
<joepie91> if you already have the node_modules, npm serves no purpose
<qasaur> rnhmjoj: yeah, I figured
<pie_[bnc]> joepie91: sorry, i keep talking past you; i dnt know how to build something without npm
<qasaur> gchristensen didn't know about search.nix.gsc.io! thanks
<gchristensen> yep!
<pie_[bnc]> and using yarn2nix or whatever means i have to redo the maven thingy somewhat
<pie_[bnc]> not that i wont, thats just how im understanding it so far
<pie_[bnc]> OH OK. <joepie91> npm literally doesn't do anything other than "take package.json and optionally lockfile, resolve stuff in there, build a node_modules with it" <joepie91> if you already have the node_modules, npm serves no purpose
timor has quit [Ping timeout: 272 seconds]
<pie_[bnc]> joepie91: but like how does node_modules get used after that
karantan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<qasaur> also another question... what are the requirements for submitting a package and module to nixpkgs? It seems like submitting a package is pretty straight-forward, but are there any guiding principles for modules as well or does anything go_
<qasaur> ?*
jonten has quit [Ping timeout: 240 seconds]
<replikvlt> So yeah, i umm am not sure if you didn't lose my message in all this activity. Basically there is a newer version of icecat 68 while nixos 19.09 has only older icecat 60
<cole-h> 20.03 branchoff was the other day, right?
ryanartecona has joined #nixos
<cole-h> Or does branchoff only happen once it is fully released
linarcx has quit [Ping timeout: 268 seconds]
<gchristensen> it was branched off
<gchristensen> but not yet released
<pie_[bnc]> joepie91: so im rereading what we just discussed (my attention is very iffy the last two days..), node_modules is what node needs and if i got it thats fine, ok.
<joepie91> pie_[bnc]: yeah
<joepie91> pie_[bnc]: and node_modules gets used because Node.js is hardcoded to search the path (recursively ascending) for a node_modules
replikvlt has quit [Remote host closed the connection]
<joepie91> and module folders therein
<joepie91> it's totally disconnected from npm, they just operate on the same 'spec'
<pie_[bnc]> joepie91: so does npm install call some kind of `node build` or somethng or what
<pie_[bnc]> because i think this is supposed to use grunt, whatever that is, to build some stuff
<pie_[bnc]> and not actually run node
<joepie91> pie_[bnc]: there is no concept of 'building' in Node
<joepie91> it just runs Node, Grunt is an application written in JS that runs in Node
<pie_[bnc]> uhuh.
<pie_[bnc]> ok
<joepie91> so it's basically doing like `node node_modules/.bin/grunt .` or something like that
<pie_[bnc]> ok theres a gruntfile. i guess i should look at that to get a clue
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<joepie91> Node is just the JS runtime
<pie_[bnc]> right
<joepie91> the Gruntfile defines project-specific build tasks for Grunt to carry out
<joepie91> (caution: Gruntfiles may cause headaches, desperation, and loss of sleep)
<{^_^}> [nixpkgs] @jonringer merged pull request #79312 → vimPlugins.arcanist-vim: init at 2016-05-27 → https://git.io/JvZZu
<{^_^}> [nixpkgs] @jonringer pushed 4 commits to master: https://git.io/JvWZE
<pie_[bnc]> i think what im still confused aout is how npm install ends up calling grunt
<pie_[bnc]> lol yeah i hope i dont need to understand the gruntfile
<joepie91> it doesn't, most likely
<pie_[bnc]> let me guess, it doesnt and its done by maven
<joepie91> but that's not super common
<joepie91> it technically *could* do so by a `postinstall` command being specified in package.json
<pie_[bnc]> aha.
<joepie91> nop, no `postinstall`, so yeah, Grunt is invoked somewhere else
<pie_[bnc]> i forgot this is in ther:
<pie_[bnc]> <arg line="--apiurl=api" />
<pie_[bnc]> <exec executable="grunt" dir="${project.basedir}/src/main/webapp" osfamily="unix" failonerror="true">
<pie_[bnc]> thanks for your patience
<joepie91> np :)
<pie_[bnc]> i could make npm a script that just returns true but that feels dirty :P
<pie_[bnc]> (or patch the pom)
jonten has joined #nixos
<yorick> is calibre book view working for anyone?
<yorick> I'm getting ImportError: No module named QtWebEngineCore
<lovesegfault> yorick: Let me try
<yorick> I'm using /nix/store/hsg1k21qwy62z3c0s1wqi5vd9mnbjkh6-calibre-4.8.0 from cache
<lovesegfault> yorick: Yep, I can repro
<yorick> hmm
* pie_[bnc] wonders why buildMaven or whatever it is, is ignoring his postUnpack and preBuild
<pie_[bnc]> (not sure about the preBuild yet)
t420babe has joined #nixos
cosimone has joined #nixos
Ilya_G has quit [Remote host closed the connection]
NoctisLabs has joined #nixos
NoctisLa1 has quit [Ping timeout: 272 seconds]
mexisme_ has joined #nixos
<gchristensen> sorry, I can't look today
<cole-h> No problem. It's just a comment saying "remove after 20.03 branchoff"
NoctisLabs has quit [Read error: Connection reset by peer]
NoctisLa1 has joined #nixos
<evanjs> are kernel .config files not necessarily usable with configfile for nixos kernels? I tried removing the =s and etc but there are still plenty of options that aren't recognized IIUC
<evanjs> e.g. 64BIT (CONFIG_64BIT), etc
davidcl has quit [Quit: The Lounge - https://thelounge.github.io]
<clever> evanjs: if you try to change the arch, it will likely fail due to using the wrong compiler
cap_sensitive has joined #nixos
davidcl has joined #nixos
<evanjs> clever: 64 on 64, not trying to change the arch
<clever> evanjs: try extraConfig instead?
<cap_sensitive> Hi. How can I accept all igmp multicast packets?
nikola_i has quit [Ping timeout: 260 seconds]
NoctisLa1 has quit [Read error: Connection reset by peer]
<evanjs> clever: didn't think about it but `readFile ./config` might work in that case. now to massage the config a bit...
NoctisLa1 has joined #nixos
zeta_0 has joined #nixos
infty has quit [Quit: leaving]
<evanjs> .... okay yeah derp. I think it's related to my initial issue... which was just having configfile in the wrong place :D structuredExtraConfig + configfile seem to both let me compile now... hopefully that's all I will need
<clever> i still need to figure out whats wrong with my config, the one i linked hangs on boot
infty has joined #nixos
<evanjs> luckily I'm just referencing whatever we've been using for other stuff so far :P
<clever> i do have a .config that works, but i want to keep the overrides minimal
<clever> i can diff the config nix generates, and the known-good one
qasaur has quit [Remote host closed the connection]
NoctisLabs has joined #nixos
vandenoever has quit [Read error: Connection reset by peer]
vandenoever has joined #nixos
vandenoever has quit [Changing host]
vandenoever has joined #nixos
<cap_sensitive> How to I configure firewall to accept igmp protocol from everywhere?
ixxie has quit [Ping timeout: 268 seconds]
<gchristensen> clever: I *think* my problem started when I set systemd.journald.forward_to_console on the kernel commandline, which looking at systemd.exec might change the default StandardOutput / StandardError values?
<clever> gchristensen: that sounds like it might break things
NoctisLa1 has quit [Ping timeout: 272 seconds]
<gchristensen> very weird, I would have assumed setting that would have not changed run-time behavior of programs, beyond perhaps additional buffering of writing to the console
<{^_^}> [nix] @edolstra pushed 564 commits to precise-gc: https://git.io/JvWn1
<gchristensen> worldofpeace: ^
mexisme_ has quit [Ping timeout: 240 seconds]
jco has joined #nixos
<jco> Hello!
<pie_[bnc]> how does it not take you guys at least a week to package anythign ever
<jco> Anyone using gnome keyring with i3wm or sway?
<gchristensen> clever: "inherit duplicates the file descriptor of standard input for standard output." surely this is not correct?? :o :o
<worldofpeace> gchristensen: oooh, those look like commits that I have no idea what they do 😂
delli3_ has quit [Quit: Leaving]
<worldofpeace> precision
<cole-h> 564, wow
<gchristensen> same tbh :P
tytauabu is now known as la-tiheis
<worldofpeace> gchristensen: it's cool to observe though
<jco> because when using git to sign commits within a gnome session, I do not have to repeatedly enter my password
<pie_[bnc]> hey i see some docs in there
<gchristensen> just wanted you to see there was some looking in to it, worldofpeace
mexisme_ has joined #nixos
<jco> whereas on sway or i3 a dialog appear everytime to enter the password
<pie_[bnc]> niksnut: so how do you like rust
<clever> gchristensen: socket activation, would want the same socket as stdin and stdout
F-Zer0 has quit [Remote host closed the connection]
F-Zer0 has joined #nixos
<gchristensen> ah, clever
opthomasprime has quit [Remote host closed the connection]
<lovesegfault> Is there a way to enable a service, like docker, so I get all the configs etc; but _not_ having it auto-start?
F-Zer0 has quit [Remote host closed the connection]
u0_a121 has joined #nixos
<gchristensen> lovesegfault: you could use lib.mkForce to set wantedBy = []
<clever> lovesegfault: systemd.services.docker.wantedBy = lib.mkForce [];
<lovesegfault> I see, so only the way I had in mind :P
magnetophon has quit [Ping timeout: 265 seconds]
<lovesegfault> I wish `mkService` (or w/e these actually use to be declared) exposed a `autoStart` for everything; but maybe that'd be too many new options
jco has quit [Quit: WeeChat 2.7]
<clever> lovesegfault: by default, it doesnt auto-start, its up to each module to set wantedBy = [ "multi-user.target" ]; to make it auto-start
dongcarl has quit [Read error: Connection reset by peer]
<lovesegfault> Oh, I see
magnetophon has joined #nixos
leotaku has quit [Ping timeout: 240 seconds]
<gchristensen> clever: so the service has StandardOutput=journal; StandardError = inherit; and that inherit means stderr is duped to stdout. I wonder if /dev/stderr reflects that ...
<clever> gchristensen: check the /proc/pid/fd/ for the service, once its running
u0_a121 has quit [Read error: Connection reset by peer]
<gchristensen> nice idea
<{^_^}> [nixpkgs] @worldofpeace merged pull request #79758 → sequoia: 0.13.0 -> 0.14.0 → https://git.io/JvchW
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JvWcT
<gchristensen> I can't, it is spewing too much garbage in to the console haha
<clever> gchristensen: start a service on your local machine, with the same options
<clever> one that doesnt install
zirpu[m] has left #nixos ["User left"]
alexherbo2 has quit [Ping timeout: 260 seconds]
cap_sensitive has quit [Quit: WeeChat 2.7]
<{^_^}> [nixpkgs] @flokli merged pull request #79906 → flashrom: 1.1 -> 1.2 → https://git.io/JvCFA
<{^_^}> [nixpkgs] @flokli pushed 3 commits to master: https://git.io/JvWck
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
veske has joined #nixos
veske has quit [Client Quit]
<clever> gchristensen: yeah, pretty much identical to my end, its just null for stdin, and 2 sockets of a socket for stdout/stderr
<clever> stderr is also opened for reading
<clever> which mine is as well
delli3 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #79944 → libratbag: 0.12 -> 0.13 → https://git.io/JvWcz
Naptra has quit [Remote host closed the connection]
sbetrium has joined #nixos
alexherbo2 has joined #nixos
<pie_[bnc]> joepie91: any ideas? :I https://github.com/gruntjs/grunt/issues/1214
<{^_^}> gruntjs/grunt#1214 (by mechanicalduck, 5 years ago, closed): NODE_PATH support / separate task load path (grunt.file.setBase)
<{^_^}> [nixpkgs] @r-ryantm opened pull request #79945 → libmypaint: 1.4.0 -> 1.5.0 → https://git.io/JvWcp
<joepie91> pie_[bnc]: just put node_modules where it is expected? :P
<joepie91> ie. next to package.json
<pie_[bnc]> uh ok hold on
<pie_[bnc]> im increasingly getting node package management sucks vibes :P
<pie_[bnc]> why
jojojojojo has quit [Ping timeout: 240 seconds]
<pie_[bnc]> joepie91: i guess its kind of ok that i can put node_modules next to package.js, i was expecting there be no way to do anyhting except have some globla folder or something
<{^_^}> [nixpkgs] @r-ryantm opened pull request #79946 → libmicrohttpd: 0.9.69 -> 0.9.70 → https://git.io/JvWCU
NoctisLa1 has joined #nixos
jojojojojo has joined #nixos
NoctisLa1 has quit [Read error: Connection reset by peer]
NoctisLa2 has joined #nixos
NoctisLabs has quit [Ping timeout: 240 seconds]
sjef has joined #nixos
jojojojojo has quit [Remote host closed the connection]
jojojojojo has joined #nixos
WinchellsM has joined #nixos
<WinchellsM> Is there a way to assign a value to a nix variable that is obtained from running a shell command?
<lassulus> --argstr myvar "bla"
<WinchellsM> Something like `let var = $(echo 1); in ..` in pseudo-bash/pseudo-nix
<clever> WinchellsM: if you want nix code to actually generate the script and run it, builtins.exec
<clever> ,exec
<{^_^}> builtins.exec is a hidden unsafe impure Nix 2.0 feature that can be used to execute arbitrary commands during a Nix evaluation. Use with caution! Enable with `--option allow-unsafe-native-code-during-evaluation true`, simple example: https://gist.github.com/Infinisil/bb59b5258ccf17801179c249a9bb3342 More info: https://github.com/NixOS/nix/commit/0bb8db25
<{^_^}> [nixpkgs] @edolstra pushed to master « nixos/release.nix: Import './..' instead of nixpkgs »: https://git.io/JvWCE
<joepie91> pie_[bnc]: deps in JS are project-local by default, not system-global - it's one of the major reasons I use JS :P
<joepie91> system-global deps in JS are rare and can basically be avoided in 100% of cases
<gchristensen> clever: I feel like I'm losing my mind :(
<joepie91> the normal mode of operation is having a node_modules in the project root, and the project root is determined by where the package.json is
<pie_[bnc]> joepie91: sounds reasonable i guess
<pie_[bnc]> clever: woahwoahwoah
<pie_[bnc]> builtins.exec
<pie_[bnc]> TIL
<{^_^}> [nixpkgs] @worldofpeace merged pull request #79858 → quilter: 2.1.0 -> 2.1.1 → https://git.io/JvCKt
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JvWCr
<gchristensen> clever: you probably shouldn't tell anybody that :P
<pie_[bnc]> wish i knew about this befoe
<gchristensen> no, you don't
<pie_[bnc]> some interesting stuff in this thread
<pie_[bnc]> gchristensen :P
<cransom> i'd be ok with bulitins.exec when i get to do it. less ok if nixpkgs had to do it.
<gchristensen> it is a complete and total misfeature
<pie_[bnc]> meanwhile: gchristensen running around, is arms full of builtins, dropping them all over the place, trying to hide impure builtins everybody
<pie_[bnc]> *from everybody
<pie_[bnc]> *his arms
<pie_[bnc]> you saw nothing!! nothing!!
<gchristensen> I mean I can't stop you from putting beans up your nose but that is a bean you really don't want up your nose
<pie_[bnc]> :D
<andi-> gchristensen: why aren't we removing it then and let those that need it add it via a plugin? ;)
<clever> remember how homer accidently left one crayon up his nose? :P
<pie_[bnc]> (also, builtins.memoise?)
<pie_[bnc]> clever: wait, did he fit more than two?
<gchristensen> andi-: please yes
* andi- works on a PR
<clever> pie_[bnc]: he had 4 or 5 up his nose, then sneezed and most went flying, including out his ears
<pie_[bnc]> joepie91: holy crap the build didnt fail!
<pie_[bnc]> now if only i could figure out why prebuild doesnt work so i could patch upstream in my nix code...
<xavierzwirtz[m]> is there a way to fake the existance of a path in /var/?
<gustavderdrache> npm doesn't run scripts if it thinks you're running as root, and i think the nix builder has a root UID when it runs
jojojojojo has quit [Ping timeout: 240 seconds]
<xavierzwirtz[m]> mssql-server wants to store some data in /var/opt/mssql/system/, but nixos wont let it do that
<gchristensen> clever: could I get some more ... hands-on ... help from you? like, could I give you access to this box for you to play with?
<clever> xavierzwirtz[m]: config files, cmdline args, or libredirect
<xavierzwirtz[m]> clever: thx
jojojojojo has joined #nixos
jojojojojo has quit [Remote host closed the connection]
<clever> gchristensen: can you do `strace -ff -o logfiles -s 3000 nixos-install ...` and then tar up the logfiles?
<gchristensen> sure
jonten has quit [Ping timeout: 260 seconds]
jojojojojo has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @r-ryantm to release-20.03 « quilter: 2.1.0 -> 2.1.1 »: https://git.io/JvWCN
<gchristensen> clever: not sure you saw it in the other channel, but I've developed this beauty: mount | grep /mnt | cut -d' ' -f3 | tac | xargs -n1 umount; zpool list -Ho name | xargs -n1 zpool destroy; find /dev/disk/by-path -mindepth 1 -not -name '*-part*' | xargs -n1 wipefs -af
<clever> lol
<gchristensen> "scariest command to be shared in #nixos" for $500
chloekek has quit [Ping timeout: 268 seconds]
<gchristensen> it is a lot of files, haha
<pie_[bnc]> > zpool destroy
<{^_^}> undefined variable 'zpool' at (string):277:1
<pie_[bnc]> nopeeee
<gchristensen> I need to travel in a few minutes. I'll tar them up and upload, and then back in like 30 minutes
<clever> kk
<pie_[bnc]> this looks like an interesting use of exec https://elvishjerricco.github.io/2018/06/24/secure-declarative-key-management.html
<pie_[bnc]> hey Profpatsch, you should do something cool with it
<gchristensen> honestly clever you might be losing trace files due to shared PIDs
<clever> gchristensen: strace uses host pid's for everything
<clever> gchristensen: which makes it slightly confusing, when pid namespacing comes into play
<gchristensen> I know but there are a *lot* of files here
sjef has quit [Quit: Leaving]
<clever> gchristensen: as long as its under 65k, and it should append anyways
<clever> (i think)
<{^_^}> [nixpkgs] @ysengrimm opened pull request #79947 → polar-bookshelf: 1.13.10 -> 1.90.18 → https://git.io/JvWWY
<gchristensen> only 12k
knupfer has quit [Ping timeout: 240 seconds]
justanotheruser has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #79948 → man-pages: 5.04 -> 5.05 → https://git.io/JvWWC
<gchristensen> clever: ehh its like 300M compressed, can I just add you to the box? :P
<clever> gchristensen: that works
<clever> gchristensen: curl https://github.com/cleverca22.keys
<xavierzwirtz[m]> clever: does libredirect work if elf is linked against stdenv.cc.cc instead of stdenv.glibc?
konobi has joined #nixos
<clever> xavierzwirtz[m]: libredirect should work on any dynamic library, its using LD_PRELOAD to overwrite the open() function
gustavderdrache has quit [Quit: Leaving.]
<xavierzwirtz[m]> I must be doing something wrong then
<gchristensen> clever: nixos@139.178.88.61 -- you have passwordless sudo. the strace output is in /wtf. doinstall.service runs nixos-install. an override at /run/systemd/system/doinstall.service.d/10-overrides.conf tells it to run /doinstall-start intsead of the /nix/store version so that I can make edits and try again and again quickly
<gchristensen> clever: confirm you can log in?
<clever> gchristensen: i have the powah!
<gchristensen> clever: also: don't hesitate to run that scary "blow away all the disks" command in the bash history and re-run doinstall
<gchristensen> great! I'll be back in like 30 min, thank you <3
<joepie91> pie_[bnc]: all the JS-y bits worked?
NoctisLabs has joined #nixos
nuncanada2 has joined #nixos
<{^_^}> [nix] @andir opened pull request #3355 → remove builtins.exec → https://git.io/JvWWz
<pie_[bnc]> joepie91: yeah, i think.
<andi-> gchristensen: ^
nuncanada has quit [Read error: Connection reset by peer]
justanotheruser has joined #nixos
<joepie91> \o/
<pie_[bnc]> andi-: we could distribute it with nix just not have it loaded by default? :PP
<pie_[bnc]> or nix-community/plugins or soemthing
<andi-> pie_[bnc]: well go ahead and do that. I think it is against the actual idea of Nix to have that.
sbetrium has quit [Quit: sbetrium]
* pie_[bnc] hides
<andi-> I like less crap in my tools
NoctisLa2 has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @benley merged pull request #79533 → latte-dock: 0.9.7 -> 0.9.8.1 → https://git.io/Jvni0
<{^_^}> [nixpkgs] @benley pushed commit from @r-ryantm to master « latte-dock: 0.9.7 -> 0.9.8.1 (#79533) »: https://git.io/JvWWK
sbetrium has joined #nixos
ryanartecona has quit [Quit: ryanartecona]
detran has joined #nixos
* pie_[bnc] thinks out loud;
<pie_[bnc]> this is what mavenix looks like https://github.com/icetan/mavenix/blob/master/mavenix.nix#L226
<pie_[bnc]> but if I add a preBuild to the generated default.nix, it does nothing..
<{^_^}> [nixpkgs] @andir merged pull request #79930 → cargo: use bundled libgit2 → https://git.io/JvWLp
<{^_^}> [nixpkgs] @andir pushed 3 commits to master: https://git.io/JvWWD
<Orbstheorem> How can I test a debian package from nixos?
<{^_^}> [nixpkgs] @andir closed pull request #79850 → cargo: install man pages → https://git.io/JvCa5
<Orbstheorem> For the moment I chroot into a debian with bind mounts.
plutes has quit [Ping timeout: 240 seconds]
<Orbstheorem> Ideally, I'd like a derivation that runs sbuild declaratively
jojojojojo_ has joined #nixos
jojojojojo has quit [Quit: ZNC 1.7.4 - https://znc.in]
fusion809 has joined #nixos
plutes has joined #nixos
mexisme has joined #nixos
plutes has quit [Remote host closed the connection]
sbetrium has quit [Quit: sbetrium]
lovesegfault has quit [Quit: WeeChat 2.7]
mexisme_ has quit [Ping timeout: 260 seconds]
<benley> it's been a long time since I used these tools, but I bet you could make pbuilder work on nixos with a bit of hacking
<benley> iirc debootstrap is available and that covers the majority of it, right?
sbetrium has joined #nixos
<benley> inside a fhsUserEnv would be easier in some ways but I suspect cowbuilder might not work there
<dashkal> This is more general *nix than nixos, but does anybody know where to finx urxvt docs for keybinding to eval: commands? The man page makes no mention of it, but I'm using it.
<dashkal> Searching just keeps me finding nuggets of wisdom to use it, but it's like a piece of information with no source.
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
plutes has joined #nixos
<Orbstheorem> benley: I don't think fhs would be the way to go since I'm packaging _for_ debian. sbuild may require an fhs to work though
<benley> that's what I was thinking, yes
<{^_^}> [nixpkgs] @puckipedia opened pull request #79949 → signal-desktop: fix notifications → https://git.io/JvWlI
<dashkal> Oh, oh no. Ok, I found it straight up in the source code. eval is literally "evaluate arbitrary perl code using actions"
<Profpatsch> pie_[bnc]: Really not a fan of allow_unsafe_code_during_evaluation
<Orbstheorem> dashkal: that sounds.. Horrible :(
* Orbstheorem dislikes Turing complete configurations >:(
m15k has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #79949 → signal-desktop: fix notifications → https://git.io/JvWlI
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JvWl3
<pie_[bnc]> Profpatsch: :P
<xavierzwirtz[m]> figured out the libredirect issue, was actually a permission issue for the redirected folder, error message was not changing
<pie_[bnc]> Profpatsch: otoh, sounds cool for secrets. if only we had a type system :p
<pie_[bnc]> Profpatsch: with restrictable unsafety
<Profpatsch> pie_[bnc]: If you need secrets, you should pass them at execution time
* pie_[bnc] is distracted
sbetrium has quit [Quit: sbetrium]
<Profpatsch> of your scripts that is
<Profpatsch> which you can generate with nix of course
<pie_[bnc]> tbf i didnt read the blog post yet but right...that makes sense
plutes has quit [Max SendQ exceeded]
<Profpatsch> I had a bookmark somewhere
<pie_[bnc]> nix needs frp :P
* pie_[bnc] hates his tunnel vision
<Orbstheorem> pie_[bnc]: xD
sbetrium has joined #nixos
<{^_^}> [nixpkgs] @puckipedia opened pull request #79950 → [20.03] signal-desktop: fix notifications → https://git.io/JvWln
plutes has joined #nixos
<Profpatsch> tl;dr: use a fifo
<Profpatsch> don’t use env, and especially don’t use tmp files
<pie_[bnc]> Profpatsch: wat, no passwords over ioctl?
<pie_[bnc]> yeah i saw a list and my first thought was "hm socket."
<Profpatsch> you can probably also hand a “secondary” stdin to a process if you want a separate channel. I’d have to experiment with that
<clever> Profpatsch: when something like sudo or ssh asks for a pw, it opens /dev/tty, which bypasses any redirections, and goes to the tty that spawned it
<Profpatsch> clever: talking non-interactive here
<clever> ah
plutes has quit [Remote host closed the connection]
Ridout has joined #nixos
kvda has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to release-20.03: https://git.io/JvWlE
<{^_^}> [nixpkgs] @worldofpeace merged pull request #79950 → [20.03] signal-desktop: fix notifications → https://git.io/JvWln
vandenoever has quit [Read error: Connection reset by peer]
vandenoever has joined #nixos
vandenoever has joined #nixos
vandenoever has quit [Changing host]
sbetrium has quit [Quit: sbetrium]
o1lo01ol1o has joined #nixos
<gchristensen> clever: (back for a while!)
<clever> gchristensen: i dumped a bunch of stuff in #nixos-on-your-router
<tokudan> clever, a proof-of-concept that I wrote once... https://github.com/tokudan/solaris_tricks/blob/master/xssh that thing is probably full of security holes and should not be used at all
<AmandaC_> So uh. I just did my weekly unstable rebuild, and It seems NixOS jumped to 5.4 -- which has somepretty severe issues with i915 (which I need)
<AmandaC_> How can I roll back to 4.13.x or whatever I'm on in the previous generation
<Orbstheorem> pie_[bnc]: I got super curious about your comment on IOCTL, and discovered that luks uses Netlink AF_ALG to send the password :D
NoctisLabs has quit [Read error: Connection reset by peer]
NoctisLabs has joined #nixos
sbetrium has joined #nixos
<tokudan> AmandaC_, set https://nixos.org/nixos/options.html#boot.kernelpackages in your configuration.nix
dirtwrangler has joined #nixos
<AmandaC_> So I'd do `boot.kernelPackages = pkgs.linuxPackages_4_19;` ? I'm kinda overwhelmed by the number of packages found in `nix search linuxPackages`
<tokudan> AmandaC_, yeah, that should do it
<pie_[bnc]> Orbstheorem I was joking, I dont even know how an ioctl works or what it is exactly, but awesome
<pie_[bnc]> so thanks for the link
<pie_[bnc]> which is funny because i was just wondering earlier today what netlink is
<pie_[bnc]> clever: whats the easiest way to modify the results of a ferchFromGithub and get a derivation i can pass to src = ? runCommand?
<Orbstheorem> fun fact: I've used ioctl in the past and considered it to be safe, I wouldn't have ever rolled crypto without reading the doc, but yet another instance of I didn't know how much I didn't know
<clever> pie_[bnc]: probably
<pie_[bnc]> clever: actually, i kinda want to do mkderivation so i can use patches=
<pie_[bnc]> but i guess i can just do it with runcommand
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @marsam opened pull request #79951 → mutagen: 0.10.3 -> 0.11.0 → https://git.io/JvWlQ
<clever> pie_[bnc]: you can do patches with runCommand
<pie_[bnc]> oh but i have to chmod everything first because its probably read only
<pie_[bnc]> egh
<pie_[bnc]> oh cool, i can?
<clever> pie_[bnc]: the phase functions still exist
sbetrium has quit [Quit: sbetrium]
kvda has joined #nixos
<Orbstheorem> about fetchFromGithub: clever (or anyone, really). Do you have any suggestions to this: https://gitlab.com/roosemberth/dotfiles/commit/dc50bb9e36613cad6612c46decaa74ea087bd66f#cde37a46f886e563313b65dcd58ca3ee9796816e_0_12
__monty__ has quit [Quit: leaving]
sbetrium has joined #nixos
KONTOL has quit [Ping timeout: 252 seconds]
nwspk has quit [Ping timeout: 245 seconds]
nwspk has joined #nixos
primeos has quit [Ping timeout: 252 seconds]
primeos has joined #nixos
<pie_[bnc]> clever: nice
<pie_[bnc]> woot, took another step forward
KONTOL has joined #nixos
sbetrium has quit [Quit: sbetrium]
lsix has quit [Quit: WeeChat 2.6]
philr has joined #nixos
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
fenedor has quit [Read error: Connection reset by peer]
sbetrium has joined #nixos
kvda has joined #nixos
jbbr[m] has joined #nixos
sbetrium has quit [Quit: sbetrium]
gentauro has quit [Read error: Connection reset by peer]
gentauro has joined #nixos
sbetrium has joined #nixos
jojojojojo_ is now known as jojojojojo
plutes has joined #nixos
m15k has quit [Remote host closed the connection]
sbetrium has quit [Quit: sbetrium]
<aminechikhaoui> Hi in https://nixos.org/nix/manual/#chap-distributed-builds it says if there is an issue such as "bash: nix-store: command not found" then you need to ensure that the PATH of non-interactive login shells contains Nix.
<aminechikhaoui> what magic should that be on osx, which exact file should I update ?
ng0_ has quit [Quit: leaving]
<clever> aminechikhaoui: ~/.bashrc
<aminechikhaoui> nix ping-store to the builder seems to succeed btw
<aminechikhaoui> but when trying to run with --builders it complains about nix-store not found
<{^_^}> [nixpkgs] @ju1m closed pull request #79928 → knot: fix keymgr permissions → https://git.io/JvWIC
<aminechikhaoui> bashrc already has . '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh'
<clever> aminechikhaoui: `ssh user@host nix-store --version` is another test
<{^_^}> [nixpkgs] @veprbl merged pull request #79570 → opencc: enable on darwin → https://git.io/JvnFj
<clever> aminechikhaoui: .bashrc or /etc/bashrc ?
<{^_^}> [nixpkgs] @veprbl pushed 2 commits to master: https://git.io/JvW8z
sbetrium has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #79953 → mdds: 1.5.0 -> 1.6.0 → https://git.io/JvW8g
<aminechikhaoui> ah well under root .bashrc is a symlink to /etc/bashrc
<clever> aminechikhaoui: and which user does /etc/nix/machines say to ssh into?
<aminechikhaoui> doing 'ssh://root@host' for now
nuncanada2 has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @veprbl pushed commit from @sikmir to release-20.03 « opencc: enable on darwin »: https://git.io/JvW8w
zgrep has quit [Ping timeout: 260 seconds]
<aminechikhaoui> ah wait seems it's using 'sh' not 'bash' in the error with root
<aminechikhaoui> ok silly me
<aminechikhaoui> bashrc had:
<aminechikhaoui> fi
<aminechikhaoui> return
<aminechikhaoui> if [ -z "$PS1" ]; then
<aminechikhaoui> it's working now
sbetrium has quit [Quit: sbetrium]
cidkid has joined #nixos
shafox_ has joined #nixos
shafox has quit [Remote host closed the connection]
shibboleth has quit [Ping timeout: 240 seconds]
sbetrium has joined #nixos
jgeerds has quit [Ping timeout: 272 seconds]
dongcarl has joined #nixos
<{^_^}> [nixpkgs] @zowoq opened pull request #79955 → pcre 8.43 -> 8.44 → https://git.io/JvW8x
shibboleth has joined #nixos