worldofpeace 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/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat, #nixcon ... nixcon videos: https://tinyurl.com/nixcon2018 || For best support,
br_ has quit [Ping timeout: 265 seconds]
toppler has quit [Ping timeout: 240 seconds]
jluttine has quit [Ping timeout: 240 seconds]
toppler has joined #nixos
mexisme has joined #nixos
qubasa has quit [Remote host closed the connection]
<infinisil> superbaloo: What doesn't work with it?
<superbaloo> file is empty
toppler has quit [Ping timeout: 240 seconds]
<infinisil> Completely empty?
qubasa has joined #nixos
jluttine has joined #nixos
<superbaloo> let me try again with an new image
<infinisil> superbaloo: Is it completely empty..?
toppler has joined #nixos
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
toppler has quit [Ping timeout: 240 seconds]
philr has quit [Ping timeout: 276 seconds]
br_ has joined #nixos
toppler has joined #nixos
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/f64309532f9 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
<superbaloo> wc -c /etc/nixos/configuration.nix
<superbaloo> 0 /etc/nixos/configuration.nix
<superbaloo> I guess
jluttine has quit [Ping timeout: 265 seconds]
rawtaz has quit [Quit: bailing]
toppler has quit [Ping timeout: 268 seconds]
br_ has quit [Ping timeout: 240 seconds]
jluttine has joined #nixos
toppler has joined #nixos
iqubic has joined #nixos
toppler has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/Je8Yr
toppler has joined #nixos
<danderson> hrm. the nix ppp package is hugely incomplete. Seems like debian's been maintaining a kajillion patches to modernize pppd.
toppler has quit [Ping timeout: 240 seconds]
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/5000b1478a1 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
<jackdk> what a pppita
<danderson> heh
toppler has joined #nixos
<danderson> luckily, nobody uses PPP any more... Definitely nobody uses it to configure symetric gigabit FTTH links... OH WAIT
<danderson> grmbl.
<danderson> legacy code will never die :)
freeman42xx has quit [Ping timeout: 246 seconds]
br_ has joined #nixos
rajivr___ has joined #nixos
leo_ has joined #nixos
toppler has quit [Ping timeout: 240 seconds]
br_ has quit [Ping timeout: 268 seconds]
toppler has joined #nixos
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #nixos
toppler has quit [Ping timeout: 240 seconds]
<leo_> nix.binaryCaches includes cache.nixos.org by default.
<leo_> But if in my config I declare nix.binaryCaches = [ "bla" "ble" ]; and then cat /etc/nix/nix.conf
feep_ is now known as feep
<leo_> There's no cache.nixos.org. Despite trusted-public-keys including it.
<leo_> Stupid question: shouldn't it be automatically merged?
<leo_> I have to include it explicitly if I happen to set other binary caches.
toppler has joined #nixos
<infinisil> leo_: It should be merged automatically, which version of nixpkgs are you using?
<infinisil> Only since recently this gets merged like that
<leo_> 19.09 infinisil
<leo_> I went for your config
<leo_> And you seem to set it manually, too.
<infinisil> leo_: I mean the exact version
<leo_> I don't know. How to look that?
<infinisil> nix-info
<leo_> nixos-19.03.173582.df7e351af91
<leo_> This?
<infinisil> I set it manually because it was necessary when I wrote it, but it shouldn't be necessary anymore
<infinisil> Yea
<infinisil> That looks like 19.03 to me
<leo_> Yeah. xd
<leo_> Change takes effect at 19.09?
toppler has quit [Ping timeout: 240 seconds]
<infinisil> Yeah
<leo_> I upgraded the channels. Thought it "updated everything".
<infinisil> What's the full output of nix-info?
<leo_> system: "x86_64-linux", multi-user?: yes, version: nix-env (Nix) 2.2.2, channels(root): "nixos-19.03.173582.df7e351af91", channels(leo): "", nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos
<leo_> Oh! I think I had to rollback the machine.
<infinisil> Ah that might be it :)
<leo_> 19.09 channel and it shouldn't be necessary right?
<leo_> And thank you!
<leo_> Maybe I'll put it anyway just to be safe. .-.
<infinisil> Yup
<leo_> Thanks man. :| This chat saved me a bunch.
<leo_> infinisil++
ebzzry has quit [Ping timeout: 265 seconds]
<{^_^}> infinisil's karma got increased to 147
<infinisil> leo_: You can check with `nix-instantiate '<nixpkgs/nixos>' -A config.nix.binaryCaches --strict` to see what it ends up as
<infinisil> :)
<infinisil> Add --eval
toppler has joined #nixos
<leo_> Hehe
br_ has joined #nixos
alex``` has quit [Ping timeout: 276 seconds]
toppler has quit [Ping timeout: 268 seconds]
<inkbottle> I've put some sh script in environment.interactiveShellInit and it works well; however I don't know in which file the code really is. I don't have a ~/.bashrc file
br_ has quit [Ping timeout: 268 seconds]
toppler has joined #nixos
<infinisil> inkbottle: /etc/bashrc probably
<inkbottle> infinisil: it's there, thanks; Do you know why the code is not loaded when I'm root? The code should apply to everybody, right?
toppler has quit [Ping timeout: 276 seconds]
<inkbottle> well it's loaded, my bad
<{^_^}> [nixos-weekly] @matthewbauer pushed to master « Add "Improved performance in Nixpkgs" »: https://git.io/Je8OT
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/f64309532f9 (from 5 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
toppler has joined #nixos
tmaekawa has joined #nixos
toppler has quit [Ping timeout: 265 seconds]
toppler has joined #nixos
orivej has quit [Ping timeout: 276 seconds]
br_ has joined #nixos
toppler has quit [Ping timeout: 250 seconds]
Mr_Keyser_Soze has quit [Ping timeout: 265 seconds]
toppler has joined #nixos
kleisli has quit [Ping timeout: 264 seconds]
br_ has quit [Ping timeout: 240 seconds]
toppler has quit [Ping timeout: 268 seconds]
toppler has joined #nixos
kleisli has joined #nixos
toppler has quit [Ping timeout: 240 seconds]
toppler has joined #nixos
mexisme has quit [Ping timeout: 250 seconds]
toppler has quit [Ping timeout: 240 seconds]
br_ has joined #nixos
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/5000b1478a1 (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
toppler has joined #nixos
xkapastel has quit [Quit: Connection closed for inactivity]
br_ has quit [Ping timeout: 276 seconds]
toppler has quit [Ping timeout: 265 seconds]
toppler has joined #nixos
slack1256 has joined #nixos
<inkbottle> node2nix and npm2nix are the same thing?
toppler has quit [Ping timeout: 268 seconds]
mexisme has joined #nixos
<inkbottle> No, 2 different projects
<inkbottle> DISCLAIMER: This project is no longer maintained. Instead use node2nix
toppler has joined #nixos
<inkbottle> there's also https://github.com/moretea/yarn2nix, which seems the most recent
aristid_ has quit [Ping timeout: 276 seconds]
leo_ has left #nixos [#nixos]
toppler has quit [Ping timeout: 240 seconds]
mexisme has quit [Ping timeout: 240 seconds]
br_ has joined #nixos
toppler has joined #nixos
felixfoertsch23 has joined #nixos
felixfoertsch has quit [Ping timeout: 246 seconds]
<samueldr> yarn2nix is for projects managed with yarn
<samueldr> and then, there's two yarn2nix
rople has joined #nixos
br_ has quit [Ping timeout: 240 seconds]
<inkbottle> yes. since I want to simulate "npm install -g" I think I should go with node2nix
toppler has quit [Ping timeout: 240 seconds]
aristid_ has joined #nixos
<inkbottle> I think the following is a good example: https://discourse.nixos.org/t/bs-platform-install/1520/5
foldingcookie has joined #nixos
<inkbottle> the "Feb 8" post
Fare has joined #nixos
toppler has joined #nixos
nixnothing has quit [Ping timeout: 252 seconds]
<Ashy> are any of the protobuf users here?
nixnothing has joined #nixos
ottidmes has quit [Ping timeout: 240 seconds]
domogled has joined #nixos
<jackdk> Ashy: I recommend asking your protobuf question directly, for the reasons outlined at https://sol.gfxile.net/dontask.html . Someone might know a bit but he or she might not be keen to put up a hand as an expert.
<Ashy> i'm trying to package up mssql for nixpkgs (from the official deb and then patchelf-ing the libs) and it specifically needs libprotobuf.so.15 which seems to only be available from protobuf3_5 which was removed in this commit: https://github.com/NixOS/nixpkgs/commit/9702cd1acf5cc8e202cd59b5d597bbcc2674c45c
toppler has quit [Ping timeout: 268 seconds]
work_ has joined #nixos
<jackdk> Ashy: thanks. knowing nothing about protobuf, I wonder: a) could you symlink an existing protobuf library as libprotobuf.so.15? b) partially revert that nixpkgs commit since protobuf3_5 will have a user after you're done?
toppler has joined #nixos
mexisme has joined #nixos
Fare has quit [Quit: Leaving]
<Ashy> yeah i've reverted that commit locally and am testing now
br_ has joined #nixos
<Ashy> i had tried to symlink a newer libprotobuf.so to libprotobuf.so.15 but ldd was still showing it as not found so i may have put that in the wrong place
<jackdk> I'm not sure how you'd test whether you've set that up correctly
toppler has quit [Ping timeout: 265 seconds]
cptchaos83 has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
toppler has joined #nixos
cptchaos83 has joined #nixos
br_ has quit [Ping timeout: 240 seconds]
<Ashy> i've just been doing: ldd result/out/bin/sqlsevr | grep 'not found'
fusion809 has quit [Remote host closed the connection]
mexisme has quit [Ping timeout: 240 seconds]
toppler has quit [Ping timeout: 250 seconds]
<danderson> grump. My PPP session won't come up. Time to start tcpdumping and diffing packets :/
mexisme has joined #nixos
toppler has joined #nixos
toppler has quit [Ping timeout: 265 seconds]
toppler has joined #nixos
<{^_^}> [nixpkgs] @singron opened pull request #71101 → pythonPackages.setuptools: Remove windows files and make reproducible → https://git.io/Je8Oh
toppler has quit [Ping timeout: 240 seconds]
<CMCDragonkai> So there's this thing
<CMCDragonkai> And this is a kernel module required called `uas`
<CMCDragonkai> which is required in order to boot from USB attached disk drive?
<CMCDragonkai> non-thumbdrive based?
br_ has joined #nixos
aw has quit [Quit: Quitting.]
spacefrogg has quit [Quit: Gone.]
toppler has joined #nixos
aw has joined #nixos
spacefrogg has joined #nixos
br_ has quit [Ping timeout: 250 seconds]
toppler has quit [Ping timeout: 240 seconds]
mexisme has quit [Ping timeout: 240 seconds]
toppler has joined #nixos
toppler has quit [Ping timeout: 240 seconds]
toppler has joined #nixos
Supersonic112 has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 is now known as Supersonic
<superbaloo> I think I figured out my problem with raspberry pi install \o/
<superbaloo> filesystem has not grown up yet and most of the activate script fails because of that
toppler has quit [Ping timeout: 240 seconds]
<superbaloo> that filesystem can barely walks, already trying to drink beer
br_ has joined #nixos
mexisme has joined #nixos
toppler has joined #nixos
domogled has quit [Quit: domogled]
br_ has quit [Ping timeout: 268 seconds]
toppler has quit [Ping timeout: 240 seconds]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/93016e62881 (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
toppler has joined #nixos
toppler has quit [Ping timeout: 268 seconds]
toppler has joined #nixos
<danderson> debugging nix's pppd continues... Current mystery: when the remote PPP server sends it an LCP Configure request indicating that CHAP auth is required, nixos's pppd NAKs the "CHAP required" part
<danderson> to which the remote pppd says "no CHAP, no service" and hangs up...
<danderson> in contrast, debian's pppd acks the LCP config request, and proceeds to do CHAP auth
boxscape has quit [Ping timeout: 265 seconds]
nexgen has joined #nixos
br_ has joined #nixos
toppler has quit [Ping timeout: 268 seconds]
nexgen has quit [Remote host closed the connection]
nexgen has joined #nixos
toppler has joined #nixos
br_ has quit [Ping timeout: 240 seconds]
<danderson> ah! Turns out if you typo your PPP username, auth doesn't work. Who knew :D
toppler has quit [Ping timeout: 276 seconds]
toppler has joined #nixos
Zer0xp has joined #nixos
toppler has quit [Ping timeout: 240 seconds]
parity has joined #nixos
parity has quit [Client Quit]
mexisme has quit [Ping timeout: 276 seconds]
toppler has joined #nixos
mexisme has joined #nixos
br_ has joined #nixos
toppler has quit [Ping timeout: 246 seconds]
br_ has quit [Ping timeout: 240 seconds]
toppler has joined #nixos
mrCyborg has quit [Quit: The Lounge - https://thelounge.github.io]
wtv_nick has joined #nixos
mrCyborg has joined #nixos
toppler has quit [Ping timeout: 240 seconds]
<switchy> is there some way to build gcc from a git snapshot?
ddellacosta has quit [Ping timeout: 240 seconds]
toppler has joined #nixos
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
<slack1256> If it is a recent version, should just change the version/source be enough?
toppler has quit [Ping timeout: 276 seconds]
br_ has joined #nixos
toppler has joined #nixos
toppler has quit [Ping timeout: 276 seconds]
br_ has quit [Ping timeout: 268 seconds]
toppler has joined #nixos
<wtv_nick> is there a way to run login into a certain environment depending on which user i log into
<wtv_nick> like instead of having my derivation in configuration.nix, I want to have one at the root of the users home directory that can be run when logged into
mexisme has quit [Ping timeout: 265 seconds]
toppler has quit [Ping timeout: 268 seconds]
pbb has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
pbb has joined #nixos
work_ has quit [Quit: Connection closed for inactivity]
<slack1256> That sound like home-manager.
toppler has joined #nixos
<wtv_nick> i looked into that but it seems weird to me to have that solution when it feel like its something nix should do natively
<wtv_nick> like is everyone who uses nixos supposed to download home-manager?
pbb has quit [Client Quit]
pbb has joined #nixos
toppler has quit [Ping timeout: 250 seconds]
<slack1256> Well I don't use home-manager and I think you can declare packages environments at user creation time.
<simpson> wtv_nick: Not at all. I've been using NixOS for years (wow, time flies!) and not yet used home-manager.
<slack1256> But what home-manager does give you is a way to declare configurations at /home/user level for the programs you declare. Think .xinit, xmonad.hs, xmodmap, offlineimap, taffybar, tex-packages, .emacs.d . All that lives on a per-user instance which shouldn't be globally managed.
toppler has joined #nixos
<slack1256> Even if nixos did that by default, it would look a lot like home-manager modulo the name.
wedens has joined #nixos
hiratara has joined #nixos
<slack1256> The alternative can be a git-repo with your dot files.
br_ has joined #nixos
Rusty1 has quit [Quit: Konversation terminated!]
toppler has quit [Ping timeout: 276 seconds]
br_ has quit [Ping timeout: 240 seconds]
wfranzini has quit [Remote host closed the connection]
toppler has joined #nixos
Havvy has quit [Ping timeout: 265 seconds]
<wtv_nick> ok so best thing to do if i dont want to use home manager is configure my user with dotfiles and have the /etc/nixos/configuration contain all the packages i need?
<slack1256> You can use nix-env and be fine.
<slack1256> I don't even care that much for dotfiles. If I delete them, I usually have a copy somewhere on another PC.
mexisme has joined #nixos
Havvy has joined #nixos
drakonis has quit [Read error: Connection reset by peer]
toppler has quit [Ping timeout: 276 seconds]
toppler has joined #nixos
slack1256 has quit [Ping timeout: 240 seconds]
slack1256 has joined #nixos
toppler has quit [Ping timeout: 240 seconds]
dansho has joined #nixos
wtv_nick has quit [Quit: Lost terminal]
toppler has joined #nixos
br_ has joined #nixos
toppler has quit [Ping timeout: 250 seconds]
toppler has joined #nixos
br_ has quit [Ping timeout: 265 seconds]
Wizek has joined #nixos
toppler has quit [Ping timeout: 240 seconds]
slack1256 has quit [Remote host closed the connection]
toppler has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/dd050270c78 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
mabel has joined #nixos
mabel has quit [Client Quit]
mabel has joined #nixos
mabel has quit [Changing host]
mabel has joined #nixos
<mabel> pbb: I got passthrough working! it was excruciating!
toppler has quit [Ping timeout: 268 seconds]
<mabel> issues encountered: 1. if you have two cards of the same SKU, you have to add vfio-pci to boot.initrd.kernelModules, *and* write a boot.initrd.preDeviceCommands which sets driver_override, then sets bind
<mabel> 2. BIOS settings need to be configured. I set ACS, IOMMU, PCI Bus Probing, and a few others
toppler has joined #nixos
<mabel> 3. there was a terrible bug in old Threadripper BIOS firmwares that caused the parent PCI bus controller to crash if it receives a reset. so I had to flash a new BIOS, and then reconfigure settings that got lost
<mabel> 4. NVidia drivers refuse to load if you don't hide KVM and spoof your firmware ID, so I had to tweak that.
<mabel> but once I got all that resolved, it was easy :p
br_ has joined #nixos
<mabel> I should probably write a wiki page on it while it's fresh in my mind
toppler has quit [Ping timeout: 250 seconds]
nikivi has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
toppler has joined #nixos
br_ has quit [Ping timeout: 240 seconds]
<jophish> I'd it possible to add a new option in a module?
Zer0xp has quit [Ping timeout: 250 seconds]
<jophish> Just setting 'options' doesn't seem to work
toppler has quit [Ping timeout: 250 seconds]
nikivi has joined #nixos
<jophish> Ah, I need to have options and everything else under 'config'
philmacfly has left #nixos ["WeeChat 2.5"]
toppler has joined #nixos
<jackdk> mabel: You probably should, sounds like a nightmare
toppler has quit [Ping timeout: 268 seconds]
mudrii has joined #nixos
toppler has joined #nixos
mudrii has left #nixos [#nixos]
palo1 has joined #nixos
mudrii has joined #nixos
endformationage has quit [Ping timeout: 265 seconds]
br_ has joined #nixos
rauno has joined #nixos
palo has quit [Ping timeout: 268 seconds]
palo1 is now known as palo
Havvy has quit [Read error: Connection reset by peer]
toppler has quit [Ping timeout: 240 seconds]
toppler has joined #nixos
mexisme has quit [Ping timeout: 240 seconds]
<ashkitten> OH
<ashkitten> IS THAT WHY MY 560 TI WASNT WORKING IN A WINDOWS VM
br_ has quit [Ping timeout: 240 seconds]
<ashkitten> sorry for the caps but this caused me so much pain lol
Havvy has joined #nixos
<ashkitten> and i never did get it working
<ashkitten> mabel: thank you for talking about this
knupfer has joined #nixos
toppler has quit [Ping timeout: 240 seconds]
mudrii has quit [Remote host closed the connection]
hmpffff has joined #nixos
toppler has joined #nixos
<ivan> I have to patch my kernel for ACS :-)
dtkav[m] has joined #nixos
toppler has quit [Ping timeout: 240 seconds]
<wedens> ashkitten: 560 Ti probably doesn't have uefi which makes it much less likely to work in vm
toppler has joined #nixos
<ashkitten> ohh
MichaelRaskin has left #nixos [#nixos]
<wedens> it _might_ work with seabios instead of ovmf
br_ has joined #nixos
toppler has quit [Ping timeout: 240 seconds]
<ashkitten> hmmm
<ashkitten> either way i don't need it rn
<ashkitten> but thank you
<ashkitten> (the error i was getting was some unspecified initialization error)
toppler has joined #nixos
br_ has quit [Ping timeout: 240 seconds]
toppler has quit [Ping timeout: 276 seconds]
toppler has joined #nixos
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
toppler has quit [Ping timeout: 250 seconds]
hiratara has quit [Quit: ZNC - http://znc.in]
hmpffff has quit [Quit: nchrrrr…]
toppler has joined #nixos
<mabel> ashkitten it also shows up as error 127 when you start the VM
mounty has quit [Remote host closed the connection]
mounty has joined #nixos
<yorick> is there a way I can do copy + permissions with systemd-tmpfiles?
Ariakenom has joined #nixos
br_ has joined #nixos
<Ariakenom> is there any recommended ways to do nodejs dev?
<Ariakenom> (eh, not on node itself)
toppler has quit [Ping timeout: 240 seconds]
<ivan> environment.systemPackages = [ nodejs-12_x yarn ];
<{^_^}> [nixpkgs] @cw789 opened pull request #71103 → elixir_1_9: 1.9.1 -> 1.9.2 → https://git.io/Je8GZ
toppler has joined #nixos
<Squarism> So nix provides me with binaries built for the OS im running or how should one express it?
<Squarism> Or does it run stuff in some specified container of sorts?
graf_blutwurst has joined #nixos
<{^_^}> [nixpkgs] @vbgl opened pull request #71104 → ocamlPackages.duff: init at 0.2 → https://git.io/Je8Gn
br_ has quit [Ping timeout: 240 seconds]
<Ariakenom> ivan: so using yarn instead of nix to install things
toppler has quit [Ping timeout: 276 seconds]
<jophish> Infinisil, sadly I can't use cachix at work. I'll see if I can run updaye
<jophish> Update *
<domenkozar[m]> @jophish: thanks :)
<{^_^}> [nixpkgs] @FRidh pushed commit from @singron to staging « pythonPackages.setuptools: Remove windows files and make reproducible »: https://git.io/Je8GC
toppler has joined #nixos
mexisme has joined #nixos
<{^_^}> [nixpkgs] @FRidh closed pull request #71101 → pythonPackages.setuptools: Remove windows files and make reproducible → https://git.io/Je8Oh
toppler has quit [Ping timeout: 265 seconds]
toppler has joined #nixos
m0rphism has joined #nixos
dansho has quit [Quit: Leaving]
<mabel> Squarism: you can build node packages with Nix, there are a few different tools for that; however, I recommend just installing yarn and using yarn install while you're doing dev stuff.
<mabel> I usually just make a dev workspace nix file and then nix-shell into that.
<mabel> that way I have VSCode and plugins and all my build tools and stuff set up for me
Ariakenom has quit [Remote host closed the connection]
Ariakenom has joined #nixos
Ariakenom has quit [Remote host closed the connection]
Ariakenom has joined #nixos
<Squarism> mabel, node? As in node.js? Im not too keen on using that.
wfranzini has joined #nixos
br_ has joined #nixos
jdahm has joined #nixos
toppler has quit [Ping timeout: 240 seconds]
<mabel> I mean node as shorthand for the whole NPM ecosystem. I don't use node myself but make heavy use of webpack and vue and such
tmaekawa has quit [Ping timeout: 250 seconds]
<jdahm> I have a very simple mkShell expression, but it's not installing all the clang libs along with clang https://hastebin.com/pezijiyami.txt any idea what causes this?
Heirlung has quit [Quit: ZNC 1.6.5+deb1+deb9u2 - http://znc.in]
zupo has joined #nixos
toppler has joined #nixos
br_ has quit [Ping timeout: 240 seconds]
nexgen has quit [Remote host closed the connection]
orivej has joined #nixos
jdahm has quit [Quit: leaving]
toppler has quit [Ping timeout: 268 seconds]
globin has quit [Remote host closed the connection]
globin has joined #nixos
ris has quit [Ping timeout: 268 seconds]
toppler has joined #nixos
Ashy has quit [Quit: WeeChat 1.9.1]
logzet has joined #nixos
toppler has quit [Ping timeout: 240 seconds]
Jackneill has joined #nixos
schjetne has joined #nixos
Ariakenom has quit [Remote host closed the connection]
toppler has joined #nixos
Ariakenom has joined #nixos
kleisli has quit [Ping timeout: 240 seconds]
br_ has joined #nixos
rople has quit [Ping timeout: 240 seconds]
page has quit [Quit: leaving]
toppler has quit [Ping timeout: 240 seconds]
m0rphism has quit [Ping timeout: 240 seconds]
br_ has quit [Ping timeout: 240 seconds]
toppler has joined #nixos
growpotkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
<danderson> hmm. Should systemd service confinement work in 19.09?
ericsagnes has quit [Quit: WeeChat 2.6]
<danderson> I turned it on for this module I'm writing, and afaict the configuration generated by confinement just doesn't work, mount namespacing fails during startup.
ericsagnes has joined #nixos
ericsagnes has quit [Client Quit]
toppler has quit [Ping timeout: 265 seconds]
gila has joined #nixos
knupfer has quit [Ping timeout: 250 seconds]
toppler has joined #nixos
veske has joined #nixos
philr has joined #nixos
toppler has quit [Ping timeout: 240 seconds]
toppler has joined #nixos
br_ has joined #nixos
markus1189 has quit [Ping timeout: 240 seconds]
toppler has quit [Ping timeout: 268 seconds]
page has joined #nixos
markus1189 has joined #nixos
br_ has quit [Ping timeout: 268 seconds]
Ariakenom has quit [Remote host closed the connection]
toppler has joined #nixos
[Leary] has joined #nixos
Ariakenom has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b merged pull request #70818 → perlPackages.CLASS: init at 1.00 → https://git.io/JeWzv
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/Je8GA
Lears has quit [Ping timeout: 264 seconds]
asymptotically has joined #nixos
ConsumeristProvo has joined #nixos
<Ariakenom> hm nix said this but then froze
<Ariakenom> warning: unable to download 'https://cache.nixos.org/faji2dzwq1mkzrxyicwamzwv9ryjwj2w.narinfo': Couldn't resolve host name (6); retrying in 274 ms
<ConsumeristProvo> hi, I'm trying to compile a program that uses SDL2_ttf using nix-shell and I get the following error
bahamas has joined #nixos
<ConsumeristProvo> /nix/store/az6kzml7li3d3k0w182kkd366cb68bkh-SDL2_ttf-2.0.14/include/SDL2/SDL_ttf.h:34:10: fatal error: SDL.h: No such file or directory
<ConsumeristProvo> the command I used is "nix-shell -p SDL2 SDL2_ttf"
jgeerds has joined #nixos
toppler has quit [Ping timeout: 268 seconds]
is_null has joined #nixos
<Yaniel> did you add both the SDL2 and SDL2_ttf store paths to the include search path?
Lears has joined #nixos
Tucky has joined #nixos
<Ariakenom> it worked after i interrupted it. and there was an actual network error happening. but getting stuck was probably a nix error
[Leary] has quit [Ping timeout: 265 seconds]
toppler has joined #nixos
<{^_^}> [nixpkgs] @Mic92 pushed to master « python3.pkgs.tables: fix build against hdf5 »: https://git.io/Je8Gj
adamt has joined #nixos
<{^_^}> [nixpkgs] @peti merged pull request #71027 → ghc-8.8.x: jailbreak io-streams-haproxy → https://git.io/JelDP
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/Je8ZT
<{^_^}> [nixpkgs] @peti merged pull request #71100 → prometheus, ekg-prometheus-adapter: Remove from broken-packages → https://git.io/Je8mx
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/Je8Zk
<{^_^}> [nixpkgs] @peti merged pull request #71017 → tasty-tap: fix tests → https://git.io/JelP7
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/Je8ZI
toppler has quit [Ping timeout: 240 seconds]
ericsagnes has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b merged pull request #70822 → perlPackages.MojoJWT: init at 0.08 → https://git.io/JeWzt
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/Je8Zt
<adamt> Hi there. Happy 19.09. Is there a new meta package that replaces the old pkgs.gnome3.corePackages? nixos-rebuild suggests me to enable services.gnome3.core-shell.enable, which I'm not interested in, since I used the old package to just get a bunch of useful things in one go for my i3 setup :-)
Ashy has joined #nixos
br_ has joined #nixos
lord| has quit [Ping timeout: 276 seconds]
<infinisil> jophish: Where are you stuck at?
toppler has joined #nixos
<ConsumeristProvo> Yaniel, you mean in the Makefile?
<ConsumeristProvo> if yes, how would I go about doing that? pkg-config?
<Yaniel> in whatever build system it uses
<Yaniel> pkg-config is one way but you need to add that to your shell too
lord| has joined #nixos
nexgen has joined #nixos
toppler has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @c0bw3b merged pull request #70654 → perlPackages.MojoSQLite: init at 3.002 → https://git.io/JeCNX
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/Je8Zn
br_ has quit [Ping timeout: 268 seconds]
<Yaniel> in the end the paths have to make it to the compiler's -I flags
<Yaniel> the makefile likely has some INCLUDEPATH variable or somesuch if it's manually written
<Yaniel> if it uses a generator then you'll have to look up the docs for that
<Yaniel> OTOH a generator likely does the right thing if pkg-config is present
toppler has joined #nixos
Zer0xp has joined #nixos
hmpffff has joined #nixos
thinkingeye has joined #nixos
__Sander__ has joined #nixos
adamt has quit [Quit: WeeChat 2.4]
toppler has quit [Ping timeout: 276 seconds]
FRidh has joined #nixos
toppler has joined #nixos
<ConsumeristProvo> thanks, Yaniel
bahamas has quit [Ping timeout: 268 seconds]
pie__ has joined #nixos
<danderson> If I have a new nixos module PR, who should I cc on the review? The PR template has a "notify maintainers" section, but by definition there's no maintainers for a new module...
bahamas has joined #nixos
thc202 has joined #nixos
<alexarice[m]> danderson: Don't cc anyone then
<alexarice[m]> it's only for if there are maintainers and there aren't any for new packages/modules
<alexarice[m]> If the module relates to a package which has a maintainer you could ping them
<danderson> ah, good idea. Thanks!
<{^_^}> [nixpkgs] @danderson opened pull request #71105 → nixos/pppd: init → https://git.io/Je8Zz
pie_ has quit [Ping timeout: 246 seconds]
toppler has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @dywedir closed pull request #69139 → argo: 2.2.1 -> 2.3.0 → https://git.io/Je3KJ
br_ has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b merged pull request #70819 → perlPackages.ConvertBase32: init at 0.06 → https://git.io/JeWzU
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/Je8Z2
hmpffff has quit [Quit: Bye…]
toppler has joined #nixos
joshuagl has joined #nixos
<bahamas> can anyone point me to documentation that describes how to configure systemd to manage a service?
<bahamas> I'm talking about using systemd.services."my service"
br_ has quit [Ping timeout: 240 seconds]
toppler has quit [Ping timeout: 246 seconds]
<jophish> Infinisil, same issue as yesterday
<jophish> I'm running update now (opened a PR too for a minor issue)
<jophish> Ah, update just failed
<{^_^}> [nixpkgs] @c0bw3b merged pull request #70820 → perlPackages.DBIxClassDynamicDefault: init at 0.04 → https://git.io/JeWzk
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/Je8ZS
<jophish> Couldn't fetch the hie-bios submodule again
<infinisil> jophish: Seen the command here? https://github.com/Infinisil/all-hies/issues/27
<{^_^}> Infinisil/all-hies#27 (by razvan-flavius-panda, 12 hours ago, closed): Trying to build hie-bios version error
toppler has joined #nixos
<mpickering> jophish: Probably because I force pushed to the branch
veske has quit [Quit: This computer has gone to sleep]
nikivi has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
thinkingeye has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @c0bw3b merged pull request #70821 → perlPackages.DBIxClassInflateColumnSerializer: init at 0.09 → https://git.io/JeWzI
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/Je8ZQ
toppler has quit [Ping timeout: 265 seconds]
thinkingeye has joined #nixos
nikivi has joined #nixos
toppler has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b merged pull request #70324 → perlPackages.SmartComments: init at 1.06 → https://git.io/JecuK
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/Je8ZA
br_ has joined #nixos
bo0tzz has joined #nixos
toppler has quit [Ping timeout: 265 seconds]
<mg-> Anyone else having issues with tmux refusing to start after 19.09?
globin has quit [Ping timeout: 250 seconds]
<adisbladis> mg-: Working just fine here. What are you seeing?
br_ has quit [Ping timeout: 240 seconds]
toppler has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #71053 → doc/python: clarify python nix tooling efforts → https://git.io/JelFu
<{^_^}> [nixpkgs] @Mic92 pushed commit from @ariutta to master « doc/python: clarify python nix tooling efforts »: https://git.io/Je8nJ
ConsumeristProvo has quit [Ping timeout: 276 seconds]
<NinjaTrappeur> I have an issue with tor-browser-bundle-bin on 19.09 and unstable. I don't see the startup "splashscreen" anymore and end up not having any response on the Socks socket. The tor process doesn't appear in the active process list; nothing valuable ends up on stderr/out. Anybody's having the same issue here or is this a problem with my system?
<mg-> adisbladis: $ tmux -vvvv htop
<mg-> no server running on /tmp/tmux-1000/default
<mg-> Runinng tmux start-server first changes nothing
toppler has quit [Ping timeout: 240 seconds]
<ivan> NinjaTrappeur: if 19.09 doesn't have ab5877bd2636c8a5e712a8532b4781e815545d5e yet that's why
<ivan> 'Revert "Backport Rust 1.38 to 19.09 (#70735)"'
<{^_^}> https://github.com/NixOS/nixpkgs/pull/70735 (by edolstra, 5 days ago, merged): Backport Rust 1.38 to 19.09
<ivan> 'This broke firefox esr and the torbrowser.'
<NinjaTrappeur> Right, checking
<alexarice[m]> danderson: have taken a look and made a review, thanks for contributing
bahamas has quit [Quit: leaving]
<NinjaTrappeur> ivan, 19.09 include this commit.
<danderson> alexarice[m]: thanks for the review! This is my first time writing a nixos module, so I'm sure there's a lot to fix :)
<{^_^}> [nixpkgs] @kolbycrouch opened pull request #71108 → retroarch: update cores → https://git.io/Je8nI
<NinjaTrappeur> The browser just seems to be fine.
sigmundv has joined #nixos
toppler has joined #nixos
<alexarice[m]> danderson: I think most of what I've put is nitpicky so don't worry too much
<mg-> adisbladis: ah, running with no config works. So something in the config is fucking it up
kleisli has joined #nixos
<bo0tzz> o/ Hi! I'm having some issues with pipenv on nixos installing the wrong dependency and I hope someone here can help. I specify version 19.2.0 of the 'attrs' package but end up with 18.2.0. I have a hunch that it's using the package from nixpkgs rather than the one from pypi, but I cannot figure out why it's doing this. I can link pastes of the
<bo0tzz> Pipfile and nix-shell file I'm using if needed.
<NinjaTrappeur> The problem seems to be the "loading screen" in charge to setup the underlying tor link not even appearing on startup.
ConsumeristProvo has joined #nixos
bo0tzz has quit [Remote host closed the connection]
lord| has quit [Ping timeout: 276 seconds]
bo0tzz has joined #nixos
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/94500c93dc2 (from 2 days ago, history: https://channels.nix.gsc.io/nixos-unstable)
toppler has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @c0bw3b merged pull request #70328 → perlPackages.SessionToken: init at 1.503 → https://git.io/JeczT
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/Je8n3
br_ has joined #nixos
mexisme has quit [Ping timeout: 246 seconds]
nexgen has quit [Ping timeout: 245 seconds]
toppler has joined #nixos
veske has joined #nixos
veske has quit [Client Quit]
veske has joined #nixos
veske has quit [Client Quit]
veske has joined #nixos
lord| has joined #nixos
br_ has quit [Ping timeout: 240 seconds]
toppler has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @Mic92 merged pull request #70506 → rustracer: 2.1.22 -> 2.1.27 → https://git.io/JeC86
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to master: https://git.io/Je8nw
toppler has joined #nixos
lebaux has joined #nixos
domenkozar[m] has joined #nixos
domenkozar[m] has quit [Changing host]
zupo has quit [Quit: Textual IRC Client: www.textualapp.com]
<{^_^}> [nixpkgs] @WilliButz pushed to release-19.09 « pythonPackages.aioesphomeapi: 2.0.1 -> 2.2.0 »: https://git.io/Je8nP
veske has quit [Quit: This computer has gone to sleep]
toppler has quit [Ping timeout: 240 seconds]
zupo has joined #nixos
veske has joined #nixos
Jackneill has quit [Ping timeout: 250 seconds]
toppler has joined #nixos
ebzzry has joined #nixos
Jackneill has joined #nixos
br_ has joined #nixos
toppler has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to master: https://git.io/Je8ce
<{^_^}> [nixpkgs] @vcunat pushed 13 commits to release-19.03: https://git.io/Je8ck
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to release-19.09: https://git.io/Je8ct
toppler has joined #nixos
br_ has quit [Ping timeout: 276 seconds]
Jackneill has quit [Read error: Connection reset by peer]
Jackneill has joined #nixos
Synthetica has joined #nixos
tom39291 has joined #nixos
cfricke has joined #nixos
<NinjaTrappeur> For the record: rm -rf .local/share/tor-browser fixed the tor-browser issue. Seems like there's a problem with the 7.5 -> 8.0 config migration path.
toppler has quit [Ping timeout: 240 seconds]
thinkingeye has quit [Quit: thinkingeye]
kuznero has joined #nixos
<kuznero> Hi All! How do I see if certain package (copyq) is ready to be pulled through let's say nixos-unstable channel?
knupfer has joined #nixos
toppler has joined #nixos
cjpbirkbeck has quit [Quit: Quitting now.]
orivej has quit [Ping timeout: 240 seconds]
toppler has quit [Ping timeout: 240 seconds]
jb55 has quit [Ping timeout: 260 seconds]
knupfer has quit [Ping timeout: 240 seconds]
<kuznero> Should I just try to find it in https://hydra.nixos.org/?
<{^_^}> [nixpkgs] @c0bw3b merged pull request #70335 → perlPackages.JSONValidator: init at 3.15 → https://git.io/Jec2c
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/Je8c2
toppler has joined #nixos
alex``` has joined #nixos
br_ has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #69945 → testdisk: deduplicating testdisk/photorec → https://git.io/JeZQk
<{^_^}> [nixpkgs] @Mic92 pushed 4 commits to master: https://git.io/Je8ca
<wedens> adisbladis: I've created an issue about intel vaapi issue https://github.com/NixOS/nixpkgs/issues/71109. feel free to chime in, if you have anything to add :)
<{^_^}> #71109 (by wedens, 8 minutes ago, open): vaapi doesn't work on intel (nixos 19.09)
psyanticy has joined #nixos
<infinisil> kuznero: Yeah you can do that, nixos-unstable would be under the nixos project in hydra, then the trunk-combined jobset
<{^_^}> [nixos-weekly] @domenkozar pushed to master « Update content/2019/14.md »: https://git.io/Je8cr
<kuznero> infinisil, thanks! though, hydra seems slow today...
<infinisil> kuznero: Then you can go to the Jobs tab and search for packages
<infinisil> kuznero: It's always this slow unfortunately.. But that's only for doing this initial selection, it's faster afterwards, no idea why
toppler has quit [Ping timeout: 240 seconds]
asymptotically has quit [Quit: Leaving]
<infinisil> Because of this I have a bookmark to https://hydra.nixos.org/jobset/nixos/trunk-combined#tabs-evaluations directly, saved as "nixos-unstable"
veske has quit [Quit: This computer has gone to sleep]
br_ has quit [Ping timeout: 240 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
veske has joined #nixos
nikivi has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
<kuznero> infinisil, thanks
jb55 has joined #nixos
kuznero has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @Mic92 pushed to master « Revert "fwupd: Move D-Bus conf file to share/dbus-1/system.d" »: https://git.io/Je8c7
toppler has joined #nixos
<wedens> is there some command I can use to find .nix file where derivation is defined? (without grepping sources)
nikivi has joined #nixos
<infinisil> > builtins.unsafeGetAttrPos "hello" pkgs # wedens
<{^_^}> { column = 3; file = "/var/lib/nixbot/nixpkgs/master/repo/pkgs/top-level/all-packages.nix"; line = 18869; }
<infinisil> But derivations in nixpkgs usually carry this information also like this:
<infinisil> > hello.meta.position
<{^_^}> "/var/lib/nixbot/nixpkgs/master/repo/pkgs/applications/misc/hello/default.nix:15"
<infinisil> Which is used by `nix edit nixpkgs.hello`
<{^_^}> [nixpkgs] @Mic92 merged pull request #70601 → nixos/zfs: only enable trim if zfs is enabled → https://git.io/JeCSZ
<{^_^}> [nixpkgs] @Mic92 pushed 5 commits to master: https://git.io/Je8cb
<wedens> infinisil: nice. thanks!
veske has quit [Quit: This computer has gone to sleep]
globin has joined #nixos
graf_blutwurst has quit [Ping timeout: 276 seconds]
toppler has quit [Ping timeout: 268 seconds]
thinkingeye has joined #nixos
toppler has joined #nixos
<jophish> Thanks mpickering and infinisil. I'll wait until things have cooled down a little bit as fendor suggests
<FRidh> bo0tzz: do not use nix-shell. Use `nix run` instead
br_ has joined #nixos
toppler has quit [Ping timeout: 240 seconds]
<infinisil> jophish: Did the command not work then? I'd like to know the problem
Izorkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
<infinisil> That should get you the derivation that can't be built, so the hie-bios build can continue
toppler has joined #nixos
<jophish> Infinisil, sadly I can't access the cachix servers at work.
<jophish> That worked well at home though
br_ has quit [Ping timeout: 265 seconds]
<infinisil> Ah I see, yeah you need to be a trusted user to do this
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/e0f36e768b4 (from 63 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
<jophish> And not have cachix.org blacklisted!
<infinisil> Ah yes :)
<jophish> I'm a 'trusted user' at work because during machine installation a root shell was left open lol
<infinisil> jophish: Fwiw, you could do `nix-store --export /nix/store/hji603fygfz3a5kkkkzwrf3cfgjpj9d6-haskell-ide-engine-eb3d32e > exported` at home, then move the exported file to your work, then `nix-store --import exported` there
<infinisil> Hehe
<roberth> jophish: let us know if you can only whitelist a single domain :)
<jophish> Yeah, it's a pain to transfer large files into work. Have to host somewhere on the whitelist :)
feep has quit [Ping timeout: 250 seconds]
feep has joined #nixos
<bo0tzz> FRidh: sorry, I can't quite figure out how I'm supposed to be using this. What do you mean?
<jophish> Luckily the whole of EC2 is whitelisted!
toppler has quit [Ping timeout: 240 seconds]
<jophish> Roberth, it takes literally months between opening a ticket for the whitelist and it being put into action!
<adisbladis> wedens: Great, thanks :)
Zer0xp is now known as Guest86993
toppler has joined #nixos
<FRidh> bo0tzz: obtain a shell with pipenv e.g. by using `nix-env -iA nixpkgs.pipenv` or `nix run nixpkgs.pipenv`. Then, use the tool like you would do normally.
veske has joined #nixos
<FRidh> bo0tzz: ah, I see the issue. PYTHONPATH is passed through by pipenv
toppler has quit [Ping timeout: 240 seconds]
iyzsong has joined #nixos
Zer0xp has joined #nixos
<adisbladis> pipenv + nix-shell is not a good combo..
<adisbladis> pipenv completely breaks under nix-shell
<FRidh> yes
<FRidh> because of Python's setup hook
Wizek has quit [Quit: Connection closed for inactivity]
<FRidh> we should really get rid of nix-shell examples because often they're not correct
ottidmes has joined #nixos
toppler has joined #nixos
<adisbladis> FRidh: I've been thinking a lot lately about how to erradicate that footgun
br_ has joined #nixos
<adisbladis> Imho we should get rid of PYTHONPATH within nixpkgs and find another way to propagate dependencies
<FRidh> adisbladis: regarding nix-shell. We should use `nix run` where appliceable, and add support for `nix run` shebang like we have with `nix-shell`.
<FRidh> adisbladis: that's slowly happening with withPackages and NIX_PYTHONPATH. I tried changing the setup hook to use NIX_PYTHONPATH as well but the Python2 build broke and I did not figure out why
<FRidh> when that is done, we could get rid of it entirely
yumasi has quit [Ping timeout: 265 seconds]
toppler has quit [Ping timeout: 250 seconds]
thinkingeye has quit [Quit: thinkingeye]
Ashy has quit [Quit: brb]
aaron1 has joined #nixos
<{^_^}> #71110 (by FRidh, 22 seconds ago, open): pipenv: do not export PYTHONPATH in wrapper
aaron1 is now known as Ashy
br_ has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @Mic92 opened pull request #71111 → linux: remove deprecated kernel config options → https://git.io/Je8Ca
mounty has quit [Ping timeout: 240 seconds]
toppler has joined #nixos
Ashy has quit [Client Quit]
Ashy has joined #nixos
mounty has joined #nixos
toppler has quit [Ping timeout: 265 seconds]
lukash_|away is now known as lukash_
toppler has joined #nixos
<{^_^}> [nixpkgs] @ttuegel closed pull request #71093 → [r19.09] poppler_0_61: add patch for CVE-2019-9959 → https://git.io/Je8CP
toppler has quit [Ping timeout: 268 seconds]
kleisli has quit [Ping timeout: 276 seconds]
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/e0f36e768b4 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
<{^_^}> [nixpkgs] @liff opened pull request #71112 → pythonPackages.ansible: add dependency to hcloud → https://git.io/Je8C1
br_ has joined #nixos
<{^_^}> [nixpkgs] @hedning opened pull request #71113 → wpa_supplicant: install d-bus conf correctly to share/dbus/system.d → https://git.io/Je8Cy
<{^_^}> [nixpkgs] @primeos pushed to master « python37Packages.goobook: Add the missing setuptools dependency »: https://git.io/Je8CS
tmaekawa has joined #nixos
toppler has joined #nixos
<kaliumxyz> is there any way to link or unlink packages without rebuilding at the systems level?
<kaliumxyz> not at the nix environment level
<kaliumxyz> Or reconfiger services at the systems level without doing a full rebuild?
<adisbladis> kaliumxyz: Nope
<kaliumxyz> :c
hyper_ch2 has joined #nixos
<kaliumxyz> why not?
<kaliumxyz> time to get hacking and figure things out c:
br_ has quit [Ping timeout: 250 seconds]
niso has quit [Quit: leaving]
cfricke has quit [Quit: WeeChat 2.6]
<adisbladis> kaliumxyz: It's simply not the nix model
cfricke has joined #nixos
mexisme has joined #nixos
<kaliumxyz> That makes no sense to me, why can't I specify to only change one package in a generation instead of having to compile virtual box every other rebuild for no apperant reason?
toppler has quit [Ping timeout: 240 seconds]
<kaliumxyz> just because some minor patch came trough or whatever hoodoo causes that :d
<bo0tzz> FRidh: Using nix run nixpkgs.pipenv does indeed let me install the correct version of the package, thanks!
<kaliumxyz> To me that doesn't seem to conflict with the model, even worse rebuilding packages I did not expect to be rebuild seems like the opposite of the model
<infinisil> kaliumxyz: depending on what you need some things are possible
<infinisil> kaliumxyz: What do you need in this case?
<kaliumxyz> I'd like to be able to enable and disable services without rebuilding while keeping this persisten trough rebuilds.
<kaliumxyz> Things like printing capabilities and other services that spawn webservers.
mexisme has quit [Ping timeout: 250 seconds]
<kaliumxyz> I don't like running webservers I am not using, or services that are on for months without being used.
<kaliumxyz> yet a rebuild can take a few minutes.
<kaliumxyz> Another issue is that testing configurations can be annoying when the build takes too long while I only want one package to be build and not a whole rebuild.
toppler has joined #nixos
<{^_^}> [nixpkgs] @hedning opened pull request #71115 → nixos/plymouth: do not order `plymouth-quit` after `display-manager` → https://git.io/Je8Wf
niso has joined #nixos
niso has quit [Client Quit]
niso has joined #nixos
<ajs124> kaliumxyz: A rebuild where you only enable/disable a service and don't update any channels should never take several minutes.
Okinan has quit [Quit: Konversation terminated!]
jonge has joined #nixos
fiddlerwoaroof has quit [Read error: Connection reset by peer]
drgbr has quit [Ping timeout: 265 seconds]
drgbr has joined #nixos
le_jonge has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @Mic92 pushed to master « testdisk: enable ntfs/extfs on non-darwin platforms »: https://git.io/Je8Wt
toppler has quit [Ping timeout: 276 seconds]
Okinan has joined #nixos
fiddlerwoaroof has joined #nixos
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/02dbdcddcd3 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
toppler has joined #nixos
<ptotter[m]> I'm having trouble upgrading to 19.09: level=error ts=2019-10-14T11:21:04.222Z caller=main.go:216 msg="Error loading config" err="error reading config file: open /nix/store/wvny1dxlchpr7fcnay382mm6zgwxb3w3-checked-blackbox-exporter.conf: no such file or directory"
br_ has joined #nixos
<infinisil> kaliumxyz: Two ways I can see this being possible: One is to add something like `ConditionPathExists=!/etc/systemd-overrides/<unitname>` to the systemd unit you want to disable dynamically
<infinisil> Then doing `touch /etc/systemd-overrides/<unitname>` should disable it persistently, `rm ..` enabling it again
<infinisil> And I guess a restart is needed for it to detect this
<infinisil> Could even add a `systemd.path` unit to detect this automatically and stop/start the corresponding unit
klntsky has quit [Ping timeout: 260 seconds]
klntsky has joined #nixos
br_ has quit [Ping timeout: 246 seconds]
toppler has quit [Ping timeout: 276 seconds]
<infinisil> So the general idea is to statically encode that it should be influenced by something dynamic
<infinisil> The second way is to just run a dynamically changeable script at startup which adjusts services, e.g. `systemctl stop`ing them. Above idea is much nicer though
Okinan has quit [Quit: Konversation terminated!]
toppler has joined #nixos
toppler has quit [Ping timeout: 268 seconds]
<wedens> does iohk/haskell.nix have a cache?
Ariakenom_ has joined #nixos
<bo0tzz> I think I'm still missing something getting this working. My old workflow is to use nix-shell to start a shell with the tools I need for my development (pipenv, yarn, etc). This is the context where I was having the issue with the attrs dependency. Using nix run like FRidh mentioned does fix the attrs issue, but I can't figure out how to reproduce
<bo0tzz> my earlier workflow - now pipenv complains about 'no module named virtualenv', even when I add it explicitly to the nix run.
Ariakenom has quit [Ping timeout: 246 seconds]
Okinan has joined #nixos
qqlq has joined #nixos
<{^_^}> [nixpkgs] @flokli merged pull request #71099 → imagemagick: 6.9.9-34 -> 6.9.10-68, fixing numerous CVEs → https://git.io/Je8mN
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/Je8Wg
<FRidh> bo0tzz: the virtualenv you've added with nix run won't be visible to pipenv, that's is expected behavior
<bo0tzz> Yeah I figured as much
<bo0tzz> As you can probably tell I'm not super well versed in all this so it's mostly trial and error for me. Any suggestion how I would recreate the workflow like I had with nix-shell?
musteresel has joined #nixos
<FRidh> bo0tzz: it's not particularly trivial either :) What do you mean with "recreate"? If you ensure you are in a new shell, then what you did before should break in the same way again. Just make sure there is no state kept (like a pipfile/virtualenv)
toppler has joined #nixos
br_ has joined #nixos
<musteresel> Hi ... is there a way to get a stdenv which has more than one compiler available? Specifically I'm looking for a way to get multiple crosscompilers into a single stdenv ... so that there's e.g. arm-none-eabi-g++ and i686-elf-g++ (and possibly more) available?
tmaekawa has quit [Quit: tmaekawa]
<bo0tzz> Here's the shell.nix I was using earlier, it might clarify things. The way I used this is with nix-shell, to drop me into a shell where I have access to all these dependencies to let me do my development. (https://gitlab.com/snippets/1903836)
<bo0tzz> So AFAIK I need state to be kept, because I want a virtualenv for my python shenanigans
toppler has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @flokli pushed commit from @risicle to release-19.09 « imagemagick: 6.9.9-34 -> 6.9.10-68 (security) »: https://git.io/Je8W9
lunik1 has joined #nixos
<{^_^}> [nixpkgs] @FRidh opened pull request #71118 → WIP Python: use NIX_PYTHONPATH everywhere instead of PYTHONPATH → https://git.io/Je8WQ
br_ has quit [Ping timeout: 268 seconds]
toppler has joined #nixos
<lunik1> is there a way to declaratively perform a "nix-store --add-root"?
hyper_ch2 has quit [Remote host closed the connection]
hyper_ch2 has joined #nixos
toppler has quit [Ping timeout: 240 seconds]
<FRidh> bo0tzz: pipenv propagates the python interpreter, which has a setup hook that sets PYTHONPATH. There is no way around it really when using nix-shell as it is now. Essentially, it's a bug that we propagate Python.
<infinisil> wedens: Yeah https://hydra.iohk.io/ and public key hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ= , haven't tried it myself though
iqubic has quit [Ping timeout: 276 seconds]
<bo0tzz> Damn, too bad. I believe #71118 that you just opened is the fix for that?
<{^_^}> https://github.com/NixOS/nixpkgs/pull/71118 (by FRidh, 7 minutes ago, open): WIP Python: use NIX_PYTHONPATH everywhere instead of PYTHONPATH
<FRidh> lunik1: that's an operation that is done outside the store, so no, not with nix itself. With nixos you could declare it I suppose
<FRidh> bo0tzz: no, its related to a discussion I had in /nixos-dev
<lunik1> FRidh: I am using nixos
doublex has quit [Ping timeout: 240 seconds]
<tilpner> lunik1: You can use system.extraDependencies to depend on indirectly used derivations in your system
toppler has joined #nixos
<{^_^}> [nixpkgs] @SRGOM opened pull request #71120 → doc: nixos.configuration.abstractions: Explore → https://git.io/Je8lv
nikivi has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
<FRidh> actually, no that was related to what I discussed here with adisbladis
nikivi has joined #nixos
acarrico has joined #nixos
doublex has joined #nixos
toppler has quit [Ping timeout: 268 seconds]
<bo0tzz> Ah, I must've misunderstood, I thought that was about the same thing
<musteresel> Hm ... is there a way to see the functionArgs of a pkg.override ?
<musteresel> builtins.functionArgs pkgs.gcc.override returns just { }
br_ has joined #nixos
<infinisil> musteresel: I have a PR for that! Hold on
<tilpner> > hello.override (args: builtins.trace (builtins.attrNames args) {})
<{^_^}> "<derivation /nix/store/bv3k6q8clynfb3ll5l4l27w4rw4mhr1r-hello-2.10.drv>"
civodul has joined #nixos
<tilpner> That prints trace: [ "fetchurl" "stdenv" ]
gila has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @FRidh pushed to master « pythonPackages.babelfish: uses pkg_resources »: https://git.io/Je8lt
<{^_^}> [nixpkgs] @FRidh pushed to release-19.09 « pythonPackages.babelfish: uses pkg_resources »: https://git.io/Je8lq
<infinisil> musteresel: #67809
<{^_^}> https://github.com/NixOS/nixpkgs/pull/67809 (by Infinisil, 6 weeks ago, open): lib.makeOverridable: Propagate function arguments
toppler has joined #nixos
<infinisil> tilpner: Oh that's one way to do it :o
<{^_^}> [nixpkgs] @c0bw3b merged pull request #70342 → perlPackages.CryptPBKDF2: init at 0.161520 → https://git.io/Jecah
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/Je8lY
<musteresel> tilpner: thanks :)
waleee-cl has joined #nixos
br_ has quit [Ping timeout: 276 seconds]
<musteresel> infinisil: Cool, yeah that would be usefull
toppler has quit [Ping timeout: 240 seconds]
<musteresel> for the record, regarding my above query for multiple crosscompilers in a stdenv: using pkgsCross.arm-embedded.stdenv.cc and pkgsCross.i686-embedded.stdenv.cc as nativeBuildInputs seems to work fine
<jonge[m]> hi there. i have a hydra channel here on some jobset that lists a set of packages as available on the channel page. the channel should have many more packages, but somehow the channel doesn't list them. in `$hydra/src/lib/Hydra/Base/Controller/NixChannel.pn` you can see how it filters those packages, but i don't understand what the perl code does. what is the criterion for a package to be selected for the channel package
<jonge[m]> list?
<lunik1> tilpner : but I am trying to add a file needed by one of those dependencies, when you install input-fonts it asks you to fetch the zip and manually add it to the nix store
<tilpner> lunik1: That's probably for legal reasons
<tilpner> lunik1: You can .overrideAttrs it to use any src you want
<tilpner> Oh, you just need to pay for it
<tilpner> Or agree to the custom license
Izorkin has joined #nixos
<tilpner> So you could do that manually, then store the download in your config
<tilpner> And do .overrideAttrs (old: { src = ./thing-you-downloaded; })
toppler has joined #nixos
<lunik1> I think that is what I want
<lunik1> thanks
<{^_^}> [nixpkgs] @mmahut opened pull request #71121 → jormungandr: 0.5.6 -> 0.6.0-rc1+1 → https://git.io/Je8lu
toppler has quit [Ping timeout: 268 seconds]
<{^_^}> [nix] @Ma27 closed pull request #3116 → Add NIX_FORCE_COLOR env variable to skip removal of ANSI escapes → https://git.io/JecrJ
toppler has joined #nixos
gila has joined #nixos
cfricke has quit [Quit: WeeChat 2.6]
<{^_^}> [nixpkgs] @kevincox pushed to kevincox-oa_ded « Make oa_ded link as well as openarena. »: https://git.io/Je8lw
bo0tzz has quit [Remote host closed the connection]
br_ has joined #nixos
toppler has quit [Ping timeout: 246 seconds]
feep has quit [Disconnected by services]
feep_ has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed to master « knot-dns: 2.8.4 -> 2.9.0 »: https://git.io/Je8lK
<{^_^}> [nixpkgs] @kevincox opened pull request #71122 → Make oa_ded link as well as openarena. → https://git.io/Je8l6
<{^_^}> [nixpkgs] @kevincox pushed to kevincox-oa_ded « Patch interpreters. »: https://git.io/Je8lP
br_ has quit [Ping timeout: 240 seconds]
fendor has joined #nixos
asymptotically has joined #nixos
toppler has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b merged pull request #70400 → perlPackages.DeviceMAC: init at 1.00 → https://git.io/Jec5g
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/Je8lX
strobelight has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b merged pull request #70823 → perlPackages.DataMessagePack: init at 1.00 → https://git.io/JeWzY
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/Je8l9
<{^_^}> [nixpkgs] @thoughtpolice merged pull request #71090 → hyperfine: 1.6.0 -> 1.8.0 → https://git.io/Je8lH
<{^_^}> [nixpkgs] @thoughtpolice pushed commit from @dywedir to master « hyperfine: 1.6.0 -> 1.8.0 »: https://git.io/Je8lQ
orivej has joined #nixos
toppler has quit [Ping timeout: 240 seconds]
musteresel has quit [Ping timeout: 245 seconds]
cosimone has joined #nixos
toppler has joined #nixos
romildo has joined #nixos
toppler has quit [Ping timeout: 240 seconds]
<pbb> mabel: congrats on PCIe passthrough
vgnalizliz has joined #nixos
<vgnalizliz> all: how does nix-env knows which package is latest?
<vgnalizliz> like where in the code does it evaluate which version of the evaluation is the latest
<vgnalizliz> I cannot find it anyehere
<pbb> My gitlab backups are failing since one of the recent changes, any idea why? https://termbin.com/ugqb (talyz maybe?)
br_ has joined #nixos
<pbb> vgnalizliz: depends on how you install something. "nix-env -iA" just follows the path you specify on the nixpkgs attribute set, so it will not even always choose the latest one
<{^_^}> [nixpkgs] @teto merged pull request #70965 → luaPackages.luacov: init at 0.13.0-1 → https://git.io/Jel8H
<{^_^}> [nixpkgs] @teto pushed to master « luaPackages.luacov: init at 0.13.0-1 »: https://git.io/Je8lp
toppler has joined #nixos
<romildo> In NixOS configuration.nix what is a good way of setting a link to ${kde-cli-tools}/libexec/kf5/kdesu in a directory listed in $PATH (/run/current-system/sw/bin, for instance)?
<pbb> romildo: for all users or only for your user?
<vgnalizliz> pbb: but how does it know the latst one?
<pbb> vgnalizliz: take a look at pkgs/top-level/all-packages.nix
<vgnalizliz> so that is the latest channel has only one?
<pbb> no, but there is one attribute called "ruby" for example
<pbb> there's ruby_2_4, ruby_2_5, ruby_2_6 and ruby. ruby points to ruby_2_6 right now, but it doesn't always have to be the latest version of the software
br_ has quit [Ping timeout: 268 seconds]
toppler has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @robinp opened pull request #71123 → Clarify nixos-test screenshot name. → https://git.io/Je88L
<vgnalizliz> on my system?
<vgnalizliz> I have NixOS installed there is the all-packages.nix for that?
<pbb> all-packages.nix is somewhere on your system, yes
<pbb> probably /nix/var/nix/profiles/per-user/root/channels/nixos/pkgs/top-level/all-packages.nix
<vgnalizliz> I see so one channel is only one snapshot of nixpkgs
<vgnalizliz> that makes sense! very elegant
<vgnalizliz> thank you
<pbb> yes exactly, a channel is like a pointer to a specific nixpkgs commit that has passed a number of tests
<infinisil> pbb: vgnalizliz Hold on, I'm pretty sure nix-env updates don't look at attribute names
veske has quit [Ping timeout: 268 seconds]
<pbb> no idea about updates, I was talking about nix-env -iA
<romildo> pbb, for all users
toppler has joined #nixos
logzet has quit [Ping timeout: 250 seconds]
<infinisil> Ah
adamt has joined #nixos
<romildo> pbb, would a "ln -s" command in environment.extraInit or environment.extraSetup be adequate for that?
zupo has joined #nixos
<pbb> hmm I think it would be cleaner to create a derivation with a symlink to your binary in bin/
toppler has quit [Ping timeout: 240 seconds]
mexisme has joined #nixos
<vgnalizliz> infinisil: the update just then take a newest defivation from channel
<vgnalizliz> no matter the version right?
veske has joined #nixos
<pbb> romildo: give me a moment, I'll come up with something for this problem
<infinisil> vgnalizliz: i think updates do like a `nix-env -i <name>`
<infinisil> Which chooses the latest derivation with that name (latest by comparing version numbers in the derivations name)
<infinisil> And that for all installed drvs
<vgnalizliz> see
<infinisil> I'm not 100% sure on that though, you might want to confirm this
logzet has joined #nixos
<vgnalizliz> I see
<vgnalizliz> thank you
vgnalizliz has quit [Remote host closed the connection]
<pbb> romildo: try this: https://termbin.com/k9a1
mexisme has quit [Ping timeout: 264 seconds]
toppler has joined #nixos
<inkbottle> nix search node2nix
br_ has joined #nixos
Enzime has quit [Ping timeout: 245 seconds]
esclear has quit [Ping timeout: 276 seconds]
klntsky has quit [Ping timeout: 260 seconds]
Ariakenom_ has quit [Ping timeout: 268 seconds]
veske has quit [Quit: This computer has gone to sleep]
<inkbottle> I don't find node2nix in 19.03 channel
ConsumeristProvo has quit [Ping timeout: 265 seconds]
toppler has quit [Ping timeout: 265 seconds]
klntsky has joined #nixos
br_ has quit [Ping timeout: 240 seconds]
rauno has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @mmahut merged pull request #71121 → jormungandr: 0.5.6 -> 0.6.0-rc1+1 → https://git.io/Je8lu
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/Je88E
esclear has joined #nixos
fusion809 has joined #nixos
<inkbottle> It seems to say there that the package is available but "nix search" can't find it: https://github.com/svanderburg/node2nix#installation
<adisbladis> inkbottle: nodePackages.node2nix
toppler has joined #nixos
<inkbottle> adisbladis: ok, I try that
<inkbottle> adisbladis: it worked. But why did "nix search node2nix" failed to return any result?
toppler has quit [Ping timeout: 240 seconds]
ddellacosta has joined #nixos
<andi-> ,locate bin ar
<{^_^}> Found in packages: swift, binutils-unwrapped
<waleee-cl> inkbottle: I think you get similar results for all packages that is included in a package set (ie. nodePackages, haskellPackages ocamlPackages ...)
<adisbladis> inkbottle: Because `nix search` doesn't recurse into nodePackages
<ar> currently at work
<adisbladis> :D
<ar> (in southern part of Warsaw, poland)
<adisbladis> andi-: There you go ^
asymptotically has quit [Quit: Leaving]
<romildo> pbb, it worked and kdesu now can be found in path. Would it be a good idea to have kde-cli-tools as a dependency to "foo"?
kriztw_ is now known as kriztw
<pbb> romildo: it is a dependency
<inkbottle> adisbladis: Doesn't recurse, OK, thanks
<romildo> pbb, shouldn't it be listed explicitly as a dependency?
<pbb> romildo: there is no such concept in nix, the derivation output is scanned for references to other store paths, and because the symlink contains the store path of kde-cli-tools, it is a dependency
philr has quit [Ping timeout: 276 seconds]
<adisbladis> inkbottle: We could change it and we do for some package sets (like plasma/gnome etc)
toppler has joined #nixos
<inkbottle> adisbladis: exactly what I was thinking about
<romildo> pbb, ok. Thank you for helping me.
<pbb> you're welcome
<adisbladis> inkbottle: Iirc the only reasons we don't recurse is performance
<adisbladis> Though I may be wrong
<{^_^}> [nixpkgs] @flokli merged pull request #68248 → prusa-slicer: 2.0.0 -> 2.1.0 → https://git.io/fjjHG
<{^_^}> [nixpkgs] @flokli pushed 4 commits to master: https://git.io/Je881
<{^_^}> [nixpkgs] @primeos merged pull request #71072 → sshfs: add ssh program to the environment → https://git.io/Je88M
<{^_^}> [nixpkgs] @primeos pushed 2 commits to master: https://git.io/Je88D
<inkbottle> adisbladis: so what is the usual way to search for a package name, that might be in some unknown subdirectory?
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/63746f6bcf6 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
br_ has joined #nixos
veske has joined #nixos
<{^_^}> [nixpkgs] @Ma27 pushed to master « documize-communitiy: 3.1.1 -> 3.1.2 »: https://git.io/Je88Q
toppler has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @Ma27 pushed to release-19.09 « documize-communitiy: 3.1.1 -> 3.1.2 »: https://git.io/Je88d
<{^_^}> [nixpkgs] @c0bw3b closed pull request #62278 → perlPackages.ack: 2.28 -> v3.0.0 → https://git.io/fj09w
<tetdim> hhhhhh
toppler has joined #nixos
<tetdim> Ericson2314, you around
br_ has quit [Ping timeout: 240 seconds]
cosimone has quit [Remote host closed the connection]
cosimone has joined #nixos
romildo has quit [Ping timeout: 265 seconds]
toppler has quit [Ping timeout: 264 seconds]
Heirlung has joined #nixos
<talyz> pbb: Huh, that's strange - they're working fine on my end.. I'll have to take a closer look at your log.
toppler has joined #nixos
<pbb> talyz: maybe it's ee vs ce?
<inkbottle> Considering I've already installed 'node2nix', how can I simplify the following command? nix run nixpkgs.nodePackages.node2nix -c node2nix --nodejs-10 -i node-packages.json # https://discourse.nixos.org/t/bs-platform-install/1520/5
<inkbottle> It has to start with "nix run"...
<pbb> why?
<inkbottle> But I don't know what to put next
<pbb> I would do 'node2nix --nodejs-10 -i node-packages.json'
Ariakenom_ has joined #nixos
<inkbottle> pbb: but then it wouldn't be in a "nix-shell" like environment?
<inkbottle> maybe I'm mistaken
toppler has quit [Ping timeout: 268 seconds]
<pbb> inkbottle: does it have to be?
mog has joined #nixos
<pbb> if you've already got node2nix installed why would you use nix run or nix-shell?
orivej has quit [Ping timeout: 265 seconds]
<inkbottle> pbb: because it's good practice to have things installed locally? Or not installed at all, though temporarily available in the current environment?
br_ has joined #nixos
<inkbottle> I'm new to nixos and a bit confused; but that "environment" thing seems very sound
toppler has joined #nixos
Ariakenom_ has quit [Quit: Leaving]
<pbb> inkbottle: if you want to run your command in an environment where only the specified things are installed, you don't have to keep them installed
Ariakenom has joined #nixos
<pbb> you can do both, but it doesn't really make sense to use nix run or nix-shell when having the package installed in your environment
<pbb> so either keep it installed and don't use nix run, or uninstall it and do use nix run like you did before
<{^_^}> [nixpkgs] @Synthetica9 opened pull request #71125 → idris2: init at unstable-2019-10-13 → https://git.io/Je84m
<inkbottle> pbb: you mean uninstall "node2nix"?
<pbb> yes
<inkbottle> ok
<pbb> I personally use nix-shell for things like node2nix
<pbb> but there is not a wrong way
br_ has quit [Ping timeout: 265 seconds]
<mog> does anyone know if gnome 3.34 will be backported to 19.09? i saw that it has made it into unstable
<adisbladis> mog: Unlikely
<inkbottle> pbb: I'll try like that for the present (nix run...); thanks
<adisbladis> (I would even dare to say "No")
toppler has quit [Ping timeout: 245 seconds]
<mog> im having issue with 19.09 where it crashes after unlocking my desktop randomly so wanted to try lastest code first before trying to get a bug fixed in gnome that might already be fixed
<pbb> talyz: I tried to reproduce the gitlab backup issue in a VM and got a segmentation fault :O
<{^_^}> [nixpkgs] @c0bw3b merged pull request #70824 → perlPackages.AuthenOATH: init at 2.0.1 → https://git.io/JeWzs
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/Je843
<sevanspowell> I have this package which has some test suites that rely on the library (of course). If I run “cabal new-test” I get an error, failing to load “:set -package xxx” in a doc test. Now, if I run “cabal new-build ; cabal
<sevanspowell> *”cabal new-build; cabal new-test” it works.
<exarkun> Does setting up `security.acme` just magically make everything work? I don't have to write an apache configuration file or install some nginx modules or anything?
<sevanspowell> How do I make those resources produced by the initial cabal new-build available to the tests in a mix derivation?
toppler has joined #nixos
veske has quit [Quit: This computer has gone to sleep]
<infinisil> exarkun: There needs to be something to verify you have control over the server, so you need a web server (there's also a dns version, but that's not implemented afaik)
toppler has quit [Ping timeout: 265 seconds]
<exarkun> infinisil: Oh. So I *do* need nginx or apache or something like that.
<infinisil> enableACME from nginx does all of it automatically
* exarkun looks
<infinisil> I believe so yeah
iyzsong has quit [Quit: ZNC 1.7.1 - https://znc.in]
o1lo01ol1o has joined #nixos
<inkbottle> I did: nix run nixpkgs.nodePackages.node2nix -c node2nix --nodejs-10 -i node-packages.json
<inkbottle> but I don't have the shell prompt that shows me I'm in some sort of "nix-shell". What did I do wrong?
nexgen has joined #nixos
<inkbottle> OK, I think I got it
<inkbottle> I need more time
veske has joined #nixos
toppler has joined #nixos
br_ has joined #nixos
rauno has joined #nixos
toppler has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @mpoquet opened pull request #71126 → simgrid: 3.23 -> 3.24 → https://git.io/Je84N
<duairc> Is there any way to expand a glob expression to a list of paths from within nix?
<duairc> I mean, without doing it the hard way...
br_ has quit [Ping timeout: 268 seconds]
toppler has joined #nixos
toppler has quit [Ping timeout: 250 seconds]
orivej has joined #nixos
rauno has quit [Ping timeout: 245 seconds]
ixxie has joined #nixos
<{^_^}> [nixpkgs] @flokli opened pull request #71127 → virtualbox: discover extension packs at runtime → https://git.io/Je8B3
toppler has joined #nixos
br_ has joined #nixos
toppler has quit [Ping timeout: 265 seconds]
br_ has quit [Ping timeout: 245 seconds]
toppler has joined #nixos
Ariakenom_ has joined #nixos
troydm has quit [Quit: What is Hope? That all of your wishes and all of your dreams come true? To turn back time because things were not supposed to happen like that (C) Rau Le Creuset]
toppler has quit [Ping timeout: 268 seconds]
troydm has joined #nixos
Ariakenom has quit [Ping timeout: 240 seconds]
troydm has quit [Client Quit]
toppler has joined #nixos
troydm has joined #nixos
toppler has quit [Ping timeout: 240 seconds]
endformationage has joined #nixos
Guest86993 has quit [Ping timeout: 250 seconds]
Zer0xp has quit [Ping timeout: 250 seconds]
hyper_ch2 has quit [Remote host closed the connection]
toppler has joined #nixos
<tetdim> sudo nix-channel --update
<tetdim> while setting up the build environment: executing '/usr/bin/bash': No such file or directory
<tetdim> unpacking channels...
<tetdim> :L
<tetdim> it do tho wthg
br_ has joined #nixos
mexisme has joined #nixos
veske has quit [Quit: This computer has gone to sleep]
toppler has quit [Ping timeout: 265 seconds]
adamt has quit [Ping timeout: 240 seconds]
<avn> Folks, in nixos modules, option type 'lines' is ok, if I want merge _section_ of ini style configs?
veske has joined #nixos
domogled has joined #nixos
mexisme has quit [Ping timeout: 276 seconds]
logzet has quit [Quit: No Ping reply in 180 seconds.]
toppler has joined #nixos
br_ has quit [Ping timeout: 276 seconds]
<Twey> How do people figure out which things are taking all the space in their Nix store? Something like ncdu but with the dependency graph instead of directory tree?
logzet has joined #nixos
<{^_^}> [nixpkgs] @stigtsp opened pull request #71128 → perlPackages.CryptScryptKDF: init at 0.010 → https://git.io/Je8Ra
<{^_^}> [nixpkgs] @Profpatsch opened pull request #71129 → Execline replace bash wrapper → https://git.io/Je8RD
<{^_^}> [nixpkgs] @jtojnar pushed to master « almanah: 0.11.1 → 0.12.0 »: https://git.io/Je8Ry
<Twey> Also why would my `/nix/store/.links` directory be 19 GiB?
toppler has quit [Ping timeout: 265 seconds]
<Twey> Oh, I guess `.links` is hardlinked stuff
gxt has quit [Quit: WeeChat 2.6]
Tucky has quit [Quit: WeeChat 2.6]
toppler has joined #nixos
<Twey> wedens: Oh, nice, thanks!
veske has quit [Quit: This computer has gone to sleep]
Ariakenom_ has quit [Remote host closed the connection]
dbmikus has joined #nixos
Profpatsch has left #nixos ["WeeChat 0.4.3"]
<wedens> that was fancy option. you can always use simple du and nix-store
<{^_^}> [nixpkgs] @jonringer merged pull request #71103 → elixir_1_9: 1.9.1 -> 1.9.2 → https://git.io/Je8GZ
<{^_^}> [nixpkgs] @jonringer pushed commit from @cw789 to master « elixir_1_9: 1.9.1 -> 1.9.2 »: https://git.io/Je8Rx
gila has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
toppler has quit [Ping timeout: 250 seconds]
schjetne has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @c0bw3b merged pull request #70331 → perlPackages.Mojomysql: init at 1.17 → https://git.io/JeczF
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/Je80v
<wedens> Twey: and I always forget that there is `nix path-info` (see man)
br_ has joined #nixos
<{^_^}> [nixpkgs] @thoughtpolice pushed to master « linux_testing: 5.4-rc2 -> 5.4-rc3 »: https://git.io/Je80f
toppler has joined #nixos
gila has joined #nixos
br_ has quit [Ping timeout: 240 seconds]
sk8forether has joined #nixos
FRidh2 has joined #nixos
NickHu is now known as NickHu_
<red[m]> I have perhaps a silly question.
<red[m]> I have glusterfs completely removed from my configuration.nix, and I verified that I can't see any of the binaries etc from any of my sessions
toppler has quit [Ping timeout: 240 seconds]
<red[m]> but when I execute a nix-shell '<nixpkg>' -A bareos
NickHu_ is now known as NickHu
<red[m]> it seems to get incorperated into it
<red[m]> I guess bevause it's listed in the buildInputs section of the expression for bareos
<red[m]> (makes sense so far)
<red[m]> However... in the configureFlags section - there is a section for glusterfs which says:
red__ has joined #nixos
<red[m]> ++ optional (glusterfs != null) "--with-glusterfs=${glusterfs}"
drakonis_ has quit [Ping timeout: 276 seconds]
<red[m]> which is apparently always being set to true
<red[m]> even though I don't want it compiled in
<red[m]> is there any way to resolve this that anyone can see?
dbmikus has quit [Ping timeout: 268 seconds]
<red[m]> (since it fails the build with glusterfs)
toppler has joined #nixos
__Sander__ has quit [Quit: Konversation terminated!]
<wedens> `bareos.override { glusterfs = null; }` ?
Heirlung has quit [Quit: ZNC 1.6.5+deb1+deb9u2 - http://znc.in]
<devalot> In hackage-packages.nix, why do some package releases get their own attributes (e.g., lens_4_18 vs. lens)? When testing my packages with new dependencies I have to dig through this file to figure out what attributes to use. Is there a better way or am I doing something wrong?
is_null has quit [Ping timeout: 250 seconds]
<fresheye1> devalot: does callCabal2nix not work for you?
boxscape has joined #nixos
pop_ has joined #nixos
pop_ has quit [Client Quit]
Heirlung has joined #nixos
<red[m]> wedens: where would I put that?
<infinisil> devalot: Sometimes additional versions are needed, not only the defaults. This gets manually specified in nixpkgs configuration-hackage2nix.yaml file, which is then used to generate hackage-packages.nix
<devalot> fresheye1: Good question. Maybe I'm doing this backwards, updating my nix file first, then cabal. If I edit my cabal file first maybe cabal2nix will do the right thing.
boxscape has quit [Remote host closed the connection]
<fresheye1> devalot: I don't recommend using that tool
<fresheye1> it generates fresh .nix file every time
doublex has quit [Ping timeout: 245 seconds]
<fresheye1> if you use callCabal2nix the nix function
toppler has quit [Ping timeout: 240 seconds]
<fresheye1> then you should just be able to update the .cabal file and that's it
<fresheye1> it will stay in sync because it parses at build time
<wedens> red[m]: in an overlay. for example, `nixpkgs.overlays = [ (self: super: { bareos = super.bareos.override { glusterfs = null; } }) ];`. note that it'll result in bareos compilation
<devalot> Well darn, I didn't even know about that!
noudle has joined #nixos
NickHu is now known as NickHu__
<devalot> I had my own build-time wrapper around cabal2nix
<red[m]> thanks - i'll give that a shot
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/6c007da4e66 (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
popfizz has joined #nixos
gila has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @thoughtpolice pushed 2 commits to master: https://git.io/Je800
NickHu__ is now known as NickHu
<{^_^}> [nixpkgs] @Flakebi opened pull request #71130 → Add vim plugins vimfiler-vim, lexima-vim and vim-manpager → https://git.io/Je802
toppler has joined #nixos
br_ has joined #nixos
<fresheye1> is docker down this morning?
freeman42xx has joined #nixos
wfranzini has quit [Remote host closed the connection]
<fresheye1> clever: so in regards to the broken pipe issue
<fresheye1> doing a nix-store --gc on both boxes resolved it
popfizz has quit [Quit: popfizz]
popfizz has joined #nixos
<fresheye1> that leads me to believe that something got corrupt in nix-stores knowledge of what it has and what others have
<clever> fresheye1: nix-store --verify --check-contents, would have told you what was corrupt
popfizz has quit [Client Quit]
<fresheye1> clever: that was my next question
<fresheye1> ok
popfizz has joined #nixos
<fresheye1> clever: is there a way to do that proactively?
<fresheye1> is there a command to repair the store when that happens?
toppler has quit [Ping timeout: 268 seconds]
<Ericson2314> @tetdim I'll be at a desk in < hour
<clever> fresheye1: nix-store --repair-path
<clever> fresheye1: or just nix-store --delete the path that is corrupt, dont force it
<fresheye1> clever: is there abig hammer version of this?
<fresheye1> I would like to run this at midnight for example to prevent issues
<clever> fresheye1: nix-store --verify --check-contents --repair, i think
popfizz has quit [Client Quit]
br_ has quit [Ping timeout: 250 seconds]
popfizz has joined #nixos
<devalot> fresheye1: So, callCabal2nix runs cabal2nix, which sees I have a dependency on lens, and the file it generates uses the `lens' attribute when what I really want is `lens_4_18'. That's the problem that I'm having.
<{^_^}> [nixpkgs] @WilliButz merged pull request #70070 → nixos/borgbackup: add option to allow removable devices → https://git.io/Jenc7
<{^_^}> [nixpkgs] @WilliButz pushed 2 commits to master: https://git.io/Je80F
<clever> devalot: write an overlay that does lens = self.lens_4_18;
<fresheye1> yeah that's what I would do
<clever> devalot: if you do anything else, your package will depend on 2 different lenses (via other libraries) and bad things will happen
<devalot> clever: That's exactly what I'm doing, just wanted to make sure there wasn't a better way.
<fresheye1> use an overlay to specify such things
selfsymmetric-pa has joined #nixos
<fresheye1> I think combining callCabal2nix with an overlay is the best way
<devalot> But why does the package set have lens *and* lens_4_18
toppler has joined #nixos
<fresheye1> devalot: you might want one or the other
<fresheye1> for example, I am doing well with default `lens`
<fresheye1> your project needs a different one
<devalot> How is it decided that some package updates will get their own attributes?
<fresheye1> if you have non-default deps, you can use fetchGit instead as well
<{^_^}> [nixpkgs] @flokli opened pull request #71131 → bazel_0_4, envoy: remove → https://git.io/Je80h
<clever> devalot: usually when it causes major breaking changes, and some people refuse to update their code
<{^_^}> [nixpkgs] @7c6f434c pushed to release-19.09 « Merge pull request #69366 from erosennin/gajim-setuptools »: https://git.io/Je80j
<pikajude> locale
<pikajude> whoops, sorry
<devalot> clever: So it's a manual process? i.e. someone manually decides we need the separate attribute?
<clever> devalot: yeah
<devalot> I'm curious because it adds a small amount of overhead when doing package maintenance.
<clever> devalot: only when the package isnt updating to the "latest" version of libraries
<duairc> I'm also doing Haskell nix things right now, and a shell.nix I copied from somewhere ends with drv.env, where drv is ultimately the derivation that callCabal2nix makes. My question is, what is env? Can I look inside it? And is it recursive? Is there an env.env (not literally but something like that)?
toppler has quit [Ping timeout: 240 seconds]
<devalot> duairc: env is for dropping into a nix-shell with all the deps present.
<fresheye1> devalot: that is one thing it is for
<fresheye1> but you can also just switch your shell to an env
<devalot> fresheye1: ?
<fresheye1> devalot: so nix-shell puts you into an env
<fresheye1> but if you are on nixos you are always in an env of some kind
<devalot> Right.
<fresheye1> your user space config is an env
<duairc> What I'm asking is, can I look at the envs of those dependencies in turn? Basically, I have a Haskell project that depends on a bunch of libraries that live in the same repo. With cabal this is managed with cabal.project. I want to drop into a nix-shell which has the dependencies of all of those dependencies built and ready, but not those dependencies themselves.
<fresheye1> some people make a python env and switch to it globally for example
<devalot> I use direnv so each shell is in the correct env.
<fresheye1> I don't think that actually works the way it needs to
<clever> devalot: create a default.nix, that overlays haskellPackages, and uses callCabal2nix to initialize every library
<fresheye1> env may also run a shellHook
<clever> devalot: then make a shell.nix in each subdir, that basically does (import ../).foo.env
<fresheye1> direnv does not fully replicate an env
dsg has joined #nixos
<devalot> fresheye1: This is what I do for Haskell development: https://code.devalot.com/open/nix-hs
<duairc> clever: you mean duairc for these right?
toppler has joined #nixos
<clever> duairc: yeah
freeman42xx has quit [Ping timeout: 246 seconds]
<clever> direnv just automates changing things when you cd, to obey each shell.nix
<fresheye1> only in terms of env vars though
<fresheye1> no shellhook
lunik1 has quit [Remote host closed the connection]
<devalot> fresheye1: You could make it eval the shellHook after `use nix' if you needed to.
asymptotically has joined #nixos
br_ has joined #nixos
<fresheye1> AAAAGGGH
<fresheye1> BROKEN PIPE IS BACK
<clever> fresheye1 verify all the things!
toppler has quit [Ping timeout: 240 seconds]
<duairc> clever: I'm not sure that quite does what I'm saying. I already have something similar to that. I want to have a single shell.nix for all the projects that gives me the combined "env" of all of the libraries, minus the libraries themselves
<clever> duairc: ah, you cant easily combine the .env's together, because each one has its own ghc
<fresheye1> question
<fresheye1> where is the hash of the contents stored?
<fresheye1> I know the path is a hash of the input not the output
<clever> fresheye1: in the sqlite db
<fresheye1> ok
<duairc> clever: Okay. It doesn't have to be literally the combination of the envs, but if I could make a derivation such that the env of it would give me what I wanted, that would work too. I guess I just don't really know enough about what a derivation actually "is" if it's possible to introspect them in the way that I need
<clever> fresheye1: nix path-info --json /nix/store/1b49nd2qzlxninc9pibnn0kkfh6japyl-ghc-8.6.5 | jq
<clever> duairc: the ghc envs are a bit special and harder to combine together
toppler has joined #nixos
<fresheye1> ok the server show so errors from --verify --check-contents
<clever> fresheye1: what about the client?
<fresheye1> still running
br_ has quit [Ping timeout: 240 seconds]
drakonis_ has joined #nixos
sigmundv has quit [Ping timeout: 240 seconds]
toppler has quit [Ping timeout: 265 seconds]
doublex has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #71097 → pyznap: 1.2.1 -> 1.4.3 → https://git.io/Je8m9
<{^_^}> [nixpkgs] @jonringer pushed commit from @rbrewer123 to master « pyznap: 1.2.1 -> 1.4.3 »: https://git.io/Je8Ec
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
<{^_^}> [nixpkgs] @jonringer closed pull request #69909 → pyznap: 1.2.1 -> 1.4.3 → https://git.io/JeZyz
<fresheye1> damn still running
<{^_^}> [nixpkgs] @Ma27 merged pull request #71130 → Add vim plugins vimfiler-vim, lexima-vim and vim-manpager → https://git.io/Je802
<{^_^}> [nixpkgs] @Ma27 pushed 5 commits to master: https://git.io/Je8EC
toppler has joined #nixos
<{^_^}> [nixpkgs] @Profpatsch merged pull request #71131 → bazel_0_4, envoy: remove → https://git.io/Je80h
<{^_^}> [nixpkgs] @Profpatsch pushed 2 commits to master: https://git.io/Je8EW
<fresheye1> clever: no errors
popfizz has quit [Quit: popfizz]
<clever> fresheye1: what about the nix-store -r command i gave yesteray?
popfizz has joined #nixos
knupfer has joined #nixos
cinimod` has joined #nixos
<cinimod`> NickServ identify cinimod b1n1m3lk
<clever> cinimod`: time to change your passowrd again, may i sudjest hunter2?
<cinimod`> hunter2?
<devalot> duairc: What I would do is use haskellPackages.override to build a final package set that includes all of your packages, then use that to pluck out an environment containing the packages you want.
<AmandaC> Any ideas on why `nix-collect-garbage` seems to just hang on my VM? It gets to "deleting '/nix/store/trash'" then never does anything else
toppler has quit [Ping timeout: 276 seconds]
<clever> cinimod`: http://bash.org/?244321
<red[m]> so, if something has been marked as broken and has no maintainer - I guess that means someone can just pick it up?
<srhb> AmandaC: Are you sure it's not progressing? If you see resources being used by the daemon, I'd wager it's just expensive.
<red[m]> This is why I ask.
<red[m]> The problems are specific to a specific use flag
<red[m]> so if I remove that flag is will compile
jdahm has joined #nixos
<red[m]> so if I remove that option from the package, and unmark it as broken, and add myself as a maintainer - what's the likelyhood of it being accepted?
<cinimod`> clever: very amusing
<AmandaC> srhb: not sure how to check? Worth noting, I'm running `nix-collect-garbage` as root, so I don't think it's talking to nix-daemon -- could that be what's causing problems?
br_ has joined #nixos
<srhb> red[m]: I'd say yes, PRs definitely welcome. You can always see if some previous committer to the package in question has an opinion :)
<srhb> AmandaC: If the daemon is running it should still be the one doing the collecting. And I'd just check cpu usage via top or something like that. :)
<red[m]> The package changed from configure to using cmake
<red[m]> so the whole thing needs to be re-written for the next time the package is bumped
toppler has joined #nixos
<cinimod`> clever: fortunately I only used that crappy password here
<red[m]> but that's going to take a whole while longer in comparison
<fresheye1> permission denied
<red[m]> so I'm going to aim for both
<srhb> red[m]: Sounds like a plan. :)
freeman42xx has joined #nixos
<red[m]> so - since I wouldn't be changing the application version but the version of the expression - does the version change?
<AmandaC> Hrm. It's doing stuff, it seems, just not outputting any progress. on my laptop and macbook it's pretty much instant once it finishes that part
<red[m]> ie: 17.2.2 yp 17.2.2-1
<red[m]> or something of that ilk?
<AmandaC> oh. That might be it: [root@lilac:~]# ls /nix/store/trash/ | wc -l: 565
<red[m]> or do we not expose version changes in expressions?
<fresheye1> connection refused
<symphorien> I have never seen a version bump just because the expression changed, red[m]
feep_ is now known as feep
<clever> AmandaC: is the size of trash going down?
<red[m]> Thanks - that helps a ton
<AmandaC> Yup
<red[m]> I'll submit a PR and see what happens...
<fresheye1> running ssh nix-ssh@192.168.1.10 nix-store -r /nix/store/pkrha18v6swrnw91an556217k9ir8wrp-SHA-1.6.4.4-doc as root
<srhb> red
<srhb> Woops.
<AmandaC> I guess running hydra generates more trash, which makes sense, thinking on it
<clever> fresheye1: what does that output?
cinimod` has left #nixos ["ERC (IRC client for Emacs 26.1)"]
cinimod` has joined #nixos
justanotheruser has quit [Ping timeout: 265 seconds]
<srhb> AmandaC: It'll probably complete then, yeah :)
<fresheye1> this is unrelated
<fresheye1> apparently I just can ssh in one direction now
<fresheye1> not sure why
br_ has quit [Ping timeout: 265 seconds]
byrn has joined #nixos
toppler has quit [Ping timeout: 240 seconds]
dbmikus has joined #nixos
Synthetica has quit [Quit: Connection closed for inactivity]
toppler has joined #nixos
<cinimod`> I have an overlay which uses callCabal2nix - this generates a function with parameters (is this the correct nix terminology) sundials_arkode and sundials_cvode - I'd like to replace these somehow like `foo { sundials_arkode = sundials; sundials_cvode = sundials }`
<clever> cinimod`: the {} at the end, functions just like the {} in callPackage
<clever> cinimod`: and you can use it to override any param
<cinimod`> Aha
<clever> cinimod`: line 9, do { sundials_arkode = self.sundials; };
<cinimod`> Got there on my own first :)
<clever> cinimod`: and line 3, i dont think thats applying any overlays
m0rphism has joined #nixos
toppler has quit [Ping timeout: 268 seconds]
<cinimod`> clever: I don't understand - I thought I was using the overlay in line 18
<{^_^}> [nixpkgs] @hedning merged pull request #71113 → wpa_supplicant: install d-bus conf correctly to share/dbus/system.d → https://git.io/Je8Cy
<{^_^}> [nixpkgs] @hedning pushed to master « wpa_supplicant: install d-bus conf correctly to share/dbus/system.d »: https://git.io/Je8EF
justanotheruser has joined #nixos
shibboleth has joined #nixos
<clever> cinimod`: the nixpkgs overlay is being used, but the haskell overlay isnt
<clever> cinimod`: its just adding an attribute to pkgs.haskell, which does nothing
<clever> cinimod`: and you dont even need the nixpkgs overlay, look at this example: https://github.com/cleverca22/machotool/blob/master/default.nix
<cinimod`> clever: someone told me that overlays were better as they are composable
<clever> cinimod`: but haskell overlays cant compose together, due to how you apply them
<pikajude> they can't?
<clever> pikajude: haskellPackages.override only accepts a single overlay
<pikajude> but can't you call override on the result of that?
<clever> so you cant give it a list
<clever> pikajude: then you replace the entire overlay, not add to it
<pikajude> really? that's unfortunate
<clever> .extend does add
<pikajude> oh
<pikajude> that's what i was thinking of, then
<clever> but .extend strips off .override
<clever> so you cant then .override { ghc = ... ; }
toppler has joined #nixos
feep has quit [Disconnected by services]
feep_ has joined #nixos
<pikajude> yeah
<clever> so you have to do things in the right order
<pikajude> oh yeah, not my specialty
br_ has joined #nixos
<cinimod`> clever: is this similarly sub-optimal? https://gist.github.com/idontgetoutmuch/4a34a0994e3daf45bfd86a664167a0b3
<cinimod`> I thought I had tried using overrides and it hadn't worked
<{^_^}> [nixos-homepage] @danielstaleiny opened pull request #313 → add manual link in nixos page → https://git.io/Je8Eh
gila has joined #nixos
<clever> cinimod`: the whole reason you have the mess on lines 62-67, is becaue the overlay above it is doing nothing
<clever> cinimod`: you must use haskellPackages.override { packageOverrides = self: super:
<clever> // is what breaks things
<fresheye1> ok so apparently the add ssh keys ritual on the client failed last time
<fresheye1> now I can ssh in both directions
<fresheye1> but I still get broken pip
<fresheye1> broken pope
<fresheye1> b-r-o-k-e-n p-i-p-e
<cinimod`> clever: I did wonder why I needed 62-67
toppler has quit [Ping timeout: 268 seconds]
byrn has quit [Ping timeout: 240 seconds]
<clever> fresheye1: if you do `nix-copy-closure --from user@host /nix/store/foo`, does it fail?
br_ has quit [Ping timeout: 265 seconds]
<cinimod`> clever: so I should try and re-write it as an override?
<fresheye1> clever: if I use my user yes
<clever> cinimod`: yeah, look at the machotool example
<fresheye1> if I use nix-ssh no
<clever> fresheye1: run that same nix-copy-closure, as root, under `strace -ff -o logfiles`
<clever> fresheye1: then pastebin all of the logfiles
mexisme has joined #nixos
toppler has joined #nixos
<fresheye1> clever: that made 3 files
<tetdim> has anyone had any success installing nix on arch
<clever> fresheye1: pastebin all 3
<tetdim> im not sure if the errors im getting are from my port or if its just like that
<clever> tetdim: what error are you getting?
<tetdim> while setting up the build environment: executing '/usr/bin/bash': No such file or directory
<tetdim> ive added busybox to the whatsit
<tetdim> ln -s /usr/bin/busybox /usr/bin/bash ?
mexisme has quit [Ping timeout: 245 seconds]
<tetdim> cleve
<tetdim> clever
<clever> tetdim: why is it trying to run /usr/bin/bash? that shouldnt exist when nix is being used
<tetdim> nix-channel --update
<tetdim> its a fresh install
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/b7b7ed9d59b (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
toppler has quit [Ping timeout: 240 seconds]
<fresheye1> clever: ^^ those are the meaty ones
<clever> fresheye1: connect(3, {sa_family=AF_INET, sin_port=htons(22), sin_addr=inet_addr("192.168.1.10")}, 16) = -1 ECONNREFUSED (Connection refused)
ng0 has joined #nixos
<fresheye1> clever: I ran nix-copy-closure --from nix-ssh@192.168.1.10 /nix/store/pkrha18v6swrnw91an556217k9ir8wrp-SHA-1.6.4.4-doc as root
drakonis has joined #nixos
<clever> fresheye1: and is ssh running on 192.168.1.10?
<fresheye1> yes
<fresheye1> if I run that command but as my normal user
<fresheye1> it succeeds and the closure copies
popfizz has quit [Quit: popfizz]
<clever> fresheye1: what does `ssh nix-ssh@192.168.1.10 -vvvv` output?
freeman42xx has quit [Remote host closed the connection]
toppler has joined #nixos
freeman42x has joined #nixos
freeman42xx has joined #nixos
drakonis_ has quit [Ping timeout: 245 seconds]
freeman42xx has quit [Remote host closed the connection]
<clever> fresheye1: what does `arping 192.168.1.10` return?
chloekek has joined #nixos
<fresheye1> it needs -I because it can't find the ethernet
<fresheye1> I am trying to dig up the device
<clever> `ifconfig`
<fresheye1> thats what I thought too
<fresheye1> but I am having trouble parsing the device out
<fresheye1> its not an obvious /dev/foo path
gagbo has quit [Quit: I'm out !]
br_ has joined #nixos
<clever> interface names dont have a / in them
toppler has quit [Ping timeout: 245 seconds]
<AmandaC> is there something like mkEnableOption that defaults to true?
<fresheye1> ok
<fresheye1> apring keeps printing
<fresheye1> Unicast reply from 192.168.1.10
sigmundv has joined #nixos
<clever> fresheye1: is it showing 1 mac addr or 2 macs?
drakonis_ has joined #nixos
<fresheye1> one
<clever> fresheye1: nothing makes any sense then, its both offline and not
br_ has quit [Ping timeout: 240 seconds]
toppler has joined #nixos
<fresheye1> what the f@#$@%#$^#$%^$%^
<infinisil> AmandaC: You can do `mkEnableOption "..." // { default = true; }`
<fresheye1> now copy-closure works for nix-ssh as root
drakonis has quit [Ping timeout: 245 seconds]
<clever> fresheye1: maybe sshd wasnt running?
<clever> all the evidence points towards it having been offline
<fresheye1> I did nothing
<AmandaC> ah, didn't think of that, infinisil
<fresheye1> I checked status before with sysmtectl
<fresheye1> it was running
<clever> fresheye1: is the machine at .1.10 using a static ip?
<fresheye1> its a reserved ip on my home router
<clever> fresheye1: and your sure you havent given that ip to several machines?
<fresheye1> but still broken pipe
<fresheye1> how could I?
<fresheye1> I reserved it
<clever> fresheye1: that does absolutely nothing to stop you from setting a static ip on any machine
<clever> even if they conflict
<fresheye1> look
<fresheye1> I can ssh back and forth at that two well known ips
<fresheye1> I am not sure what you are telling me
<fresheye1> that maybe its getting routed to the wrong machine?
<clever> fresheye1: do the strace nix-copy-closure again, and look in the logs for another connect(
<clever> it can only get routed to the wrong machine, if you gave 2 machines that ip
<clever> but arping says you didnt
<AmandaC> If you can ssh as root, you can nix-copy-closure, AIUI
<fresheye1> connect(3, {sa_family=AF_INET, sin_port=htons(22), sin_addr=inet_addr("192.168.1.10")}, 16) = 0
toppler has quit [Ping timeout: 268 seconds]
<clever> fresheye1: the problem has fixed itself again
<clever> fresheye1: run the arping again, and leave it running for a few minutes, then pastebin the whole output
<fresheye1> I have left it running since I first ran it
<fresheye1> in its own window
<clever> fresheye1: can you pastebin the whole output?
<{^_^}> [nixpkgs] @roberth opened pull request #71132 → arion-compose: Enable without tests → https://git.io/Je8uW
<fresheye1> of arping?
<clever> yes
<fresheye1> Unicast reply from 192.168.1.10 [04:D4:C4:92:4E:28] 0.725ms
<fresheye1> Unicast reply from 192.168.1.10 [04:D4:C4:92:4E:28] 0.684ms
<fresheye1> U
<fresheye1> over and over and over
<fresheye1> the ms wobble a bit
<clever> and no other mac appeared, ever?
<fresheye1> correct
<clever> `journalctl -f -u sshd` on the .1.10 machine
<clever> watch it closely, is it failing?
<{^_^}> [nixpkgs] @roberth closed pull request #71132 → arion-compose: Enable without tests → https://git.io/Je8uW
<fresheye1> nix-copy-closure works as root
<fresheye1> let me kick the gitlab runner one more time
<fresheye1> maybe I need a new router
<clever> fresheye1: unlikely
toppler has joined #nixos
<AmandaC> You didn't do something like make docker use 192.168.1.0/24 did you?
<clever> fresheye1: can you pastebin the contents of /proc/net/arp ?
<clever> fresheye1: which machine is that from?
selfsymmetric-pa has quit [Remote host closed the connection]
<fresheye1> my bad
<fresheye1> clever: ^^
<clever> yeah, that should just work
FRidh2 has quit [Quit: Konversation terminated!]
toppler has quit [Ping timeout: 268 seconds]
<clever> keep watching the sshd journal, and see if anything happens when things are failing
<{^_^}> [nixpkgs] @roberth opened pull request #71133 → arion-compose: Enable without tests → https://git.io/Je8ug
<fresheye1> clever: is there a good command for that?
<fresheye1> I have been running journalctl -u sshd
<fresheye1> and it doesn't sync
br_ has joined #nixos
<cransom> add `-f`
<clever> 2019-10-14 14:37:27 < clever> `journalctl -f -u sshd` on the .1.10 machine
<fresheye1> ok
<fresheye1> so this is interesting
feep has joined #nixos
<clever> what is interesting?
<fresheye1> nope
<red[m]> After much googling there doesn't seem to be any documentation that I can find for cmakeConfiguePhase - anyone have any hints?
<fresheye1> it just working now
<fresheye1> for no reason
feep_ has quit [Ping timeout: 264 seconds]
<red[m]> specifically - I need the cmake to run with a -Dsomething=yes in the command
<fresheye1> I didn't learn anything
<fresheye1> boo
<clever> fresheye1: leave the journalctl open, and wait for it to fail again
<clever> red[m]: cmakeFlags = [ "-Dsomething=yes" ];
<red[m]> thanks clevel
<red[m]> clever
<fresheye1> clever++
<{^_^}> clever's karma got increased to 215
toppler has joined #nixos
selfsymmetric-pa has joined #nixos
ajs124 has quit [Quit: Gateway shutdown]
<fresheye1> clever:
<fresheye1> these are the sshd logs from the server
br_ has quit [Ping timeout: 268 seconds]
<fresheye1> where the client expeirenced broken pipe
toppler has quit [Ping timeout: 240 seconds]
<clever> everything is normal there
<fresheye1> I know
<clever> fresheye1: try again, with strace on the copy-closure
<clever> and repeat until the error happens
ajs124 has joined #nixos
wildtrees has joined #nixos
wildtrees has quit [Remote host closed the connection]
wildtrees has joined #nixos
toppler has joined #nixos
<jdahm> I'm trying to make a nix-shell environment that has a specific version of clang and libraries (6), I have this https://hastebin.com/tomixuloli.txt but it doesn't install the clang libraries, just the compiler. Does anyone know how to edit that to get all the libs?
domogled has quit [Ping timeout: 265 seconds]
orivej has quit [Ping timeout: 245 seconds]
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
toppler has quit [Ping timeout: 265 seconds]
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/45a25ff41a2 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
<o1lo01ol1o> I'm trying to build stackage2nix locally on darwin and keep getting `unable to access 'https://github.com/commercialhaskell/all-cabal-hashes.git/': SSL certificate problem: unable to get local issuer certificate` from nix-env -i, how can I get nix to find whatever it needs from cacert?
<fresheye1> ok so failing again
<fresheye1> when I run nix-copy-closure I /nix/store/hicisb7fxz6nnwksdna8piri7maznbag-conduit-extra-1.3.0-doc is not a valid path
ambro718 has joined #nixos
toppler has joined #nixos
br_ has joined #nixos
<{^_^}> [nixpkgs] @serhiip closed pull request #71094 → universum 1.6.0 is no longer broken → https://git.io/Je8up
<fresheye1> clever: ok I got a bunch of logfiles
br_ has quit [Ping timeout: 240 seconds]
<fresheye1> from a broken pipe
<fresheye1> arping has been stable
<fresheye1> and I have the sshd from the server showing all is well
<clever> fresheye1: can you pastebin the strace and sshd logs from the same time?
byrn has joined #nixos
<fresheye1> clever: there are a ton of log files like 12 or so
toppler has quit [Ping timeout: 268 seconds]
Okinan has quit [Quit: Konversation terminated!]
<clever> fresheye1: check the last-mod timestamps on them, and look for ECONNREFUSED
<fresheye1> I greped for ECONNREFUSED in the logs and its not there
<clever> fresheye1: what about the most recent files strace made, from when it failed?
<fresheye1> that is what I am talking about
toppler has joined #nixos
idf has joined #nixos
idf has quit [Changing host]
idf has joined #nixos
<{^_^}> [nixpkgs] @athas opened pull request #71134 → ispc: set doCheck to false. → https://git.io/Je8zU
lunik1 has joined #nixos
Mr_Keyser_Soze has joined #nixos
<lunik1> how do you add a dependency to a package? I'm trying to use the upower backend of i3status-rust.
Flambe has joined #nixos
toppler has quit [Ping timeout: 240 seconds]
orivej has joined #nixos
logzet has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @serhiip reopened pull request #71094 → universum 1.6.0 is no longer broken → https://git.io/Je8up
<Athas> What is the philosophy or intent behind checkPhase?
<Athas> Is every package supposed to have one? What's the purpose?
<gchristensen> every package which has tests should use checkPhase to run them (like `make test`) it isn't required, and is sometimes disabled, but it is a good idea to have one
<Athas> Doesn't it just make installation take a lot longer?
<pikajude> if there's a testsuite, yes
toppler has joined #nixos
<gchristensen> it makes build time take longer, but usually, with the binary cache, build time is not the same as installation time
<aswanson> it makes build take longer, but if the binary is cached it won't matter for the rest of us
<gchristensen> ^
<gchristensen> but what is the point of installing a package if it doesn't work
<fresheye1> clever: ^^
Ariakenom has joined #nixos
<Athas> A package that refuses to install will never be less usable than a package that installs.
<Athas> I'm just a bit frustrated after fighting flakiness in the ispc checkPhase (doubly so because this is not a package anybody except me is likely to care about).
<gchristensen> if the test suite is bad, it can be disabled
<gchristensen> or better, individual flaky tests can be disabled through patching the test suite
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/67effde499f (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<simpson> Athas: Totally understandable. `doCheck = false;` is not a sin. Checks merely improve the reliability of software, in general; if they don't help for a specific package, don't do them.
<fresheye1> clever: the string "broken pipe" appears in logfiles.19720
<clever> fresheye1: on which line#?
sigmundv has quit [Ping timeout: 245 seconds]
<pikajude> one thing i do occasionally do is disable testsuite for haskell packages because the version constraints on their dependencies are wrong
<fresheye1> 22291
<Athas> I can understand the purpose of checkPhase for packages that have been modified in subtle ways for Nix, or interact with the overall system in complex ways, but for simple leaf binaries I'm doubtful...
<clever> ah, i was doing a case sensitive search for broken, but its Broken!
br_ has joined #nixos
toppler has quit [Ping timeout: 240 seconds]
xwvvvvwx has quit [Ping timeout: 240 seconds]
byrn has quit [Quit: WeeChat 2.6]
<clever> fresheye1: the logs are useless, you didnt run it as root, so nix-daemon did all the work
<clever> fresheye1: delete the logs and start over as root
<fresheye1> clever: ok new .zip is up
Flambe has quit [Quit: Communi 3.5.0 - http://communi.github.com]
<clever> logfiles.2528:write(12, "\3\0\0\0\0\0\0\0@\0\0\0\0\0\0\0/nix/store/ymkn6"..., 80) = -1 EPIPE (Broken pipe)
<clever> pid 2528 failed to write to fd 12, due to a broken pipe
toppler has joined #nixos
<fresheye1> what is fd 12?
knupfer has quit [Ping timeout: 245 seconds]
<clever> the 12th open file
xwvvvvwx has joined #nixos
<fresheye1> clever: I don't understand
leotaku has quit [Quit: ZNC 1.7.3 - https://znc.in]
leotaku has joined #nixos
br_ has quit [Ping timeout: 240 seconds]
civodul has joined #nixos
<fresheye1> clever: right its like a handle to a file
<fresheye1> what I don't understand is what we have learned from knowing 12 was the descriptor this time
<clever> we then have to go backwards
<clever> where did it open fd 12?
toppler has quit [Ping timeout: 240 seconds]
<clever> logfiles.2516:pipe2([10, 12], O_CLOEXEC) = 0
<clever> 12 is likely a pipe, that leads to 10
<fresheye1> clever: this is out of my depth
<clever> which was then mapped to stdin of ssh
xwvvvvwx has quit [Client Quit]
dixie12 has joined #nixos
<clever> so, it got an epipe, while writing to the stdin of ssh
xwvvvvwx- has joined #nixos
xwvvvvwx- has quit [Read error: Connection reset by peer]
<clever> 541 +++ killed by SIGKILL +++
<clever> and ssh was murderized
<fresheye1> by what!?
<clever> logfiles.2412:kill(2519, SIGKILL) = 0
<clever> by 2412
<fresheye1> the BUTLER!
<clever> 50554 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_KILLED, si_pid=2519, si_uid=0, si_status=SIGKILL, si_utime=2, si_stime=0} ---
leotaku has quit [Quit: ZNC 1.7.4 - https://znc.in]
<clever> 56249 kill(2519, SIGKILL) = 0
<clever> fresheye1: nope, it was already dead by then!
<clever> fresheye1: what does `dmesg` say at around this time?
<fresheye1> what is dmesg?
knupfer has joined #nixos
<clever> fresheye1: a command, you run it
<fresheye1> I don't see times
<clever> you can also get times with `journalctl -t kernel`
xwvvvvwx has joined #nixos
toppler has joined #nixos
xwvvvvwx has quit [Read error: Connection reset by peer]
<fresheye1> clever: I am sorry I don't see how to get times from the log files
<fresheye1> what time am I looking for?
<clever> fresheye1: the time when you last reproduced the problem
xwvvvvwx has joined #nixos
leotaku has joined #nixos
ris has joined #nixos
xwvvvvwx has quit [Client Quit]
<fresheye1> clever: ^^
<fresheye1> note this is reverse order
xwvvvvwx has joined #nixos
toppler has quit [Ping timeout: 268 seconds]
<clever> fresheye1: on the client, not the server
<fresheye1> clever: that is the client
<AmandaC> clever: what's the IP that your qemu build slave script comes up under, again?
<clever> AmandaC: it uses port 2200 of 127.0.0.1
drakonis_ has quit [Ping timeout: 245 seconds]
br_ has joined #nixos
<AmandaC> ah
idf has quit [Ping timeout: 240 seconds]
<clever> AmandaC: you also have to `systemctl start sshd` inside the qemu window, i need to flip that back to auto
xwvvvvwx has quit [Read error: Connection reset by peer]
<AmandaC> Huh. That's odd: `error: a 'i686-linux' with features {} is required to build '/nix/store/hr725l9chsrpf5b3sh3g0ln8iba41qy0-glib-2.62.0.drv', but I am a 'x86_64-darwin' with features {benchmark, big-parallel, nixos-test}`
toppler has joined #nixos
<clever> AmandaC: you need to add an i686-linux build slave to /etc/nix/machines
<clever> AmandaC: aimed at 127.0.0.1:2200
feep has quit [Ping timeout: 250 seconds]
<clever> and the file format doesnt allow a :, so you must use a name, and then use ~/.ssh/config to override the port/host on that name
feep has joined #nixos
drakonis_ has joined #nixos
xwvvvvwx has joined #nixos
<AmandaC> I'm not sure where the i686-linux is coming from, your `system` bit sets it to x86_64-linux
xwvvvvwx has quit [Read error: Connection reset by peer]
<waleee-cl> wasn't the issue with git using the X ask-password-dialog resolved ages ago?
<fresheye1> clever: do you think its this? https://github.com/NixOS/nix/issues/2395
<{^_^}> nix#2395 (by nh2, 1 year ago, open): Use of PR_SET_PDEATHSIG results in Broken pipe errors when using SSH substituters
<fresheye1> ?
<fresheye1> I don't understand that error at all
<clever> that might be it
<clever> logfiles.2519:prctl(PR_SET_PDEATHSIG, SIGKILL) = 0
<clever> fresheye1: the murder victim did make use of that flag
<fresheye1> clever: is there anything I can do other than giving up on ssh serving?
xwvvvvwx has joined #nixos
<fresheye1> I can't do http for security reasons
<clever> fresheye1: http over a vpn?
<fresheye1> clever: I don't have a vpn
<fresheye1> what do you think it would take to actually fix this
<fresheye1> ?
<{^_^}> [nixpkgs] @peti merged pull request #71133 → arion-compose: Enable without tests → https://git.io/Je8ug
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/Je8zi
xwvvvvwx has quit [Read error: Connection reset by peer]
m0rphism has quit [Ping timeout: 246 seconds]
toppler has quit [Ping timeout: 250 seconds]
<clever> Commented out the lines:
<clever> And the problem disappeared.
<clever> fresheye1: the issue you linked already has a fix
br_ has quit [Ping timeout: 250 seconds]
nexgen has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/Je8zX
<fresheye1> doesn't that mean I need to path the nix binary?
<clever> fresheye1: or override it, to change the src to that rev
<{^_^}> Channel nixos-19.09 advanced to https://github.com/NixOS/nixpkgs/commit/28d2548a03f (from 2 days ago, history: https://channels.nix.gsc.io/nixos-19.09)
<fresheye1> clever: that's what I mean
nexgen has joined #nixos
<fresheye1> if I set that to that rev I guess it should work?
domogled has joined #nixos
<clever> fresheye1: the problem is on the client side, so you need to set that option to a derivation with the override, on the client machine
<fresheye1> yes
xwvvvvwx has joined #nixos
<fresheye1> and if it fails I suppose I can roll back the OS on restart
toppler has joined #nixos
xwvvvvwx has quit [Read error: Connection reset by peer]
<fresheye1> clever: is there a nix.nix in nixpkgs?
<clever> > pkgs.nix
<{^_^}> "<derivation /nix/store/w7aw5i9l2mcak2jvzns7r2hqfmkjdar7-nix-2.3.1.drv>"
wildtrees has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @davidtwco opened pull request #71135 → starship: 0.23.0 -> 0.24.0 → https://git.io/Je8z7
<fresheye1> clever: I am sorry, I have no idea how to find the nix expression in the git repo based on the derivation
fendor has quit [Quit: Leaving]
<clever> fresheye1: nix.package = pkgs.nix.overrideAttrs (old: { src = pkgs.fetchFromGithub { owner = "nh2"; repo = "nix"; rev = "fixme"; sha256 = "fixme"; });
<fresheye1> oic
<fresheye1> that is way better than what I was thinking
<clever> thats how you override 99.9% of all nix packages
m0rphism has joined #nixos
jdahm has quit [Quit: leaving]
dansho has joined #nixos
Mr_Keyser_Soze has quit [Ping timeout: 240 seconds]
toppler has quit [Ping timeout: 265 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
xwvvvvwx has joined #nixos
toppler has joined #nixos
br_ has joined #nixos
<fresheye1> build flags: -j8 -l8 SHELL=/nix/store/czx8vkrb9jdgjyz8qfksh10vrnqa723l-bash-4.4-p23/bin/bash profiledir=\$\(out\)/etc/profile.d
<fresheye1> GEN Makefile.config
<fresheye1> /nix/store/czx8vkrb9jdgjyz8qfksh10vrnqa723l-bash-4.4-p23/bin/bash: ./config.status: No such file or directory
<fresheye1> GEN src/libexpr/parser-tab.cc
<fresheye1> /nix/store/czx8vkrb9jdgjyz8qfksh10vrnqa723l-bash-4.4-p23/bin/bash: bison: command not found
<fresheye1> GEN src/libexpr/parser-tab.hh
<fresheye1> make: *** [src/libexpr/local.mk:24: src/libexpr/parser-tab.cc] Error 127
<fresheye1> make: *** Waiting for unfinished jobs....
toppler has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @erictapen opened pull request #71137 → nixos/smokeping: replace smokeping.fcgi with a symlink → https://git.io/Je8gR
drakonis has joined #nixos
br_ has quit [Ping timeout: 250 seconds]
drakonis_ has quit [Ping timeout: 250 seconds]
mexisme has joined #nixos
ctp has joined #nixos
doublex has quit [Ping timeout: 250 seconds]
wildtrees has joined #nixos
toppler has joined #nixos
wfranzini has joined #nixos
dixie12 has quit [Remote host closed the connection]
mjsir911 has quit [Quit: Goodbye, World!]
eraserhd has quit [Quit: WeeChat 2.6]
eraserhd has joined #nixos
qqlq has quit [Quit: ZNC 1.7.5 - https://znc.in]
toppler has quit [Ping timeout: 265 seconds]
mexisme has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @joachifm merged pull request #62660 → lvm2: cleanup & fix eval error when systemd=null → https://git.io/fjuGX
<{^_^}> [nixpkgs] @joachifm pushed 5 commits to master: https://git.io/Je8gD
growpotkin has joined #nixos
doublex has joined #nixos
toppler has joined #nixos
<selfsymmetric-pa> I'm doing a `buildStackProject`. One of the dependencies requires `autoreconf`. I have `autoconf` in my `buildInputs`, which `nix-locate` claims to provide `autoreconf`, but the Nix build still outputs `./autogen.sh: line 3: autoreconf: command not found`.
<selfsymmetric-pa> Where am I going wrong?
br_ has joined #nixos
doublex has quit [Read error: Connection reset by peer]
doublex has joined #nixos
toppler has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @flokli closed pull request #49576 → [WIP] envoy: 1.3.0 -> 1.8.0 → https://git.io/fxNC3
br_ has quit [Ping timeout: 240 seconds]
toppler has joined #nixos
<clever> selfsymmetric-pa: can you pastebin the entire build output?
psyanticy has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @romildo opened pull request #71138 → mate.mate-netbook: 1.22.1 -> 1.22.2 → https://git.io/Je8gA
<{^_^}> [nixpkgs] @philandstuff opened pull request #71139 → ssh-agent: add agentPKCS11Whitelist option → https://git.io/Je8gp
mjsir911 has joined #nixos
[Leary] has joined #nixos
toppler has quit [Ping timeout: 240 seconds]
<lunik1> how do you all include external programs that provide functionality to a text editor e.g. language servers in your config?
<talyz> pbb: well, it looks like you're on ee, which is what I'm running too.. I guess it could be something in the state directory leftover from an old release causing this..
kleisli has joined #nixos
Lears has quit [Ping timeout: 240 seconds]
drakonis has quit [Ping timeout: 245 seconds]
<clever> selfsymmetric-pa: nothing in that error complains about a lack of autoconf
<clever> oh, way up there, line 38
<clever> then it kept building more things
<clever> selfsymmetric-pa: i would just use a pure nix build, stack just has too many issues
drakonis has joined #nixos
<selfsymmetric-pa> clever: I can't, unfortunately. I would if I were alone but this is a collaborative project.
sondr3 has joined #nixos
<sondr3> question, where does `nix search` get its content from?
toppler has joined #nixos
<clever> selfsymmetric-pa: can you pastebin the shell.nix and stack.yaml files too?
[Leary] has quit [Ping timeout: 240 seconds]
ixxie has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @domenkozar pushed to haskell-updates « ghcide: unbreak »: https://git.io/Je82L
br_ has joined #nixos
<selfsymmetric-pa> I can't provide the whole `stack.yaml` but the relevant part is `extra-deps: [secp256k1-legacy-0.5.6]`.
<clever> shell.nix is only loaded it the stack.yaml points to it
toppler has quit [Ping timeout: 250 seconds]
<selfsymmetric-pa> clever: I see. I've been doing it the other way around, where shell.nix calls stack.
benny has quit [Quit: ZNC - https://znc.in]
MinceR_ has joined #nixos
<selfsymmetric-pa> Now, not everybody on the project uses Nix. I'm on NixOS. Is it reasonable to maintain nix as an opt-in workflow? Or does setting `nix:` in the stack file commit everyone to using Nix?
<clever> stack only obeys that if you use `stack --nix`
<selfsymmetric-pa> Great. I'll give that a shot, thank you.
<clever> selfsymmetric-pa: ~/.stack/config.yaml can make nix the default
<selfsymmetric-pa> For the user. That's great.
MinceR has quit [Ping timeout: 240 seconds]
<selfsymmetric-pa> Here goes...
br_ has quit [Ping timeout: 240 seconds]
wedens has quit [Quit: Connection closed for inactivity]
o1lo01ol1o has joined #nixos
dbmikus_ has joined #nixos
MinceR_ is now known as MinceR
benny has joined #nixos
benny is now known as Guest43477
dbmikus has quit [Ping timeout: 250 seconds]
toppler has joined #nixos
wfranzini has quit [Remote host closed the connection]
Guest43477 is now known as benny
wfranzini has joined #nixos
o1lo01ol1o has quit [Ping timeout: 265 seconds]
mthst has joined #nixos
fendor has joined #nixos
<selfsymmetric-pa> clever: Okay, neat this time it failed on `zlib`.
toppler has quit [Ping timeout: 265 seconds]
fendor has quit [Remote host closed the connection]
<selfsymmetric-pa> Oh, typo. I have `clib` in my `builtInputs`. XD
fendor has joined #nixos
<selfsymmetric-pa> clever: now I'm getting this: https://gist.github.com/matthew-piziak/6a726b56b62a491f491fc653660774a7
<selfsymmetric-pa> `Can't exec "aclocal"` looks new
toppler has joined #nixos
<clever> ,locate bin aclocal
<{^_^}> Found in packages: automake, automake111x
<clever> selfsymmetric-pa: automake now
<selfsymmetric-pa> Ah, thank you!
<selfsymmetric-pa> I was going to try `autoreconfHook`. Gonna try `automake` first.
<selfsymmetric-pa> `aclocal` error is gone now, but the `autoreconfig` message persists. I'm going to try both `automake` and `autoreconfHook`.
br_ has joined #nixos
Moredread[m] has joined #nixos
toppler has quit [Ping timeout: 250 seconds]
<Moredread[m]> are "static" files, e.g. config files in /etc created last when building a nixos config? is there a way to change it?
<infinisil> Moredread[m]: They're created in the activation step, what do you want to change?
<infinisil> Or rather why?
dbmikus__ has joined #nixos
<{^_^}> [nixpkgs] @kevincox pushed to kevincox-oa_ded « openarena: oa_ded link. »: https://git.io/Je82a
<infinisil> s/Or rather/And
LouisDK has joined #nixos
<LouisDK> I have to combine these two call packages in all-packages.nix:mythtv = libsForQt5.callPackage ../applications/video/mythtv { };mythtv = callPackage ../applications/video/mythtv { libXNVCtrl = linuxPackages.nvidia_x11.settings.libXNVCtrl; };
ng0 has quit [Quit: Alexa, when is the end of world?]
dbmikus_ has quit [Ping timeout: 268 seconds]
br_ has quit [Ping timeout: 250 seconds]
toppler has joined #nixos
<Moredread[m]> I meant the derivations for them. I have the suspicion that creating them while downloading packages could safe some time. Currently it looks like Downloading/building packages -> Creating file derivations is done sequentially
<selfsymmetric-pa> clever: It works! `automake` and `autoreconfHook` together did the trick.
<selfsymmetric-pa> clever++
<{^_^}> clever's karma got increased to 216
drakonis has quit [Read error: Connection reset by peer]
drakonis_ has joined #nixos
drakonis has joined #nixos
<infinisil> Moredread[m]: Nix needs to build all dependencies first before it can build a derivation
justanotheruser has quit [Ping timeout: 250 seconds]
<infinisil> And it does this is a pretty good way already. If there was an easy way to just shuffle some things around this would've been done already probably
toppler has quit [Ping timeout: 240 seconds]
<sondr3> I'll just ask again: question, where does `nix search` get its content from?
<{^_^}> [nixpkgs] @francescocarzaniga opened pull request #71141 → dask: 2.2.0 -> 2.5.2, distributed: 2.4.0 -> 2.5.2, dask-ml: 0.11.0 -> 1.0.0, dask-jobqueue: 0.4.1 -> 0.7.0 → https://git.io/Je82M
drakonis_ has quit [Ping timeout: 276 seconds]
<eri> hey
cosimone has quit [Remote host closed the connection]
cosimone has joined #nixos
<eri> I'd like to use otr in my weechat on my nixos desktop but even after installing the required dependencys with nix-env -i nix-env -iA nixos.python27Packages.potr (and 37) I cannot load that script
<eri> since it cannot find the module
<eri> what should I do?
<Moredread[m]> infinisil: I'm not sure I fully understand why e.g. the systemd unit files can't be created in parallel with building the packages. Does nix enforce that all dependencies for a derivation are built first, even if "only" the path of the dependency is needed?
<infinisil> Moredread[m]: Yeah it does, because there's no way to figure out when it's needed, maybe at build time, maybe at runtime
<infinisil> Maybe both
toppler has joined #nixos
<infinisil> Moredread[m]: Although, this touches upon an idea that's been going around a couple times. Namely for Nix to intersect syscalls to read /nix/store files, and only at that time build them
<infinisil> With this, derivations could be built lazily on-demand
eri is now known as eri451
<Moredread[m]> infinisil: ok that makes sense...
doublex has quit [Ping timeout: 240 seconds]
<eri451> I'd like to use otr in my weechat on my nixos desktop but even after installing the required dependencys with nix-env -i nix-env -iA nixos.python27Packages.potr (and 37) I cannot load that script since it cannot find any python modules what should i try next?
o1lo01ol1o has joined #nixos
justanotheruser has joined #nixos
br_ has joined #nixos
toppler has quit [Ping timeout: 276 seconds]
<infinisil> eri451: This doesn't work on Nix, see https://nixos.wiki/wiki/Weechat
fendor has quit [Remote host closed the connection]
LouisDK has quit [Remote host closed the connection]
fendor has joined #nixos
<eri451> hm... so plugins of user programs have to be build in?
<infinisil> At least the dependencies yes
<eri451> claws-mail is working just fine
<eri451> whats differend there?
<gchristensen> anyone running NixOS on a QNAP TS-451+?
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to master: https://git.io/Je8av
Lears has joined #nixos
<infinisil> eri451: No idea how that's related, I don't know what claws is
<infinisil> Oh a weechat plugin?
<eri451> kind of
<eri451> it's a mail client
<eri451> where stuff like gpg is a plugin
<infinisil> Well presumable all dependencies are already included by default
<eri451> i was able to load that just as usual
<infinisil> s/presumable/presumably
<eri451> aha
<eri451> well but how do i use the python package then?
toppler has joined #nixos
<infinisil> eri451: Did you look through the wiki page?
freeman42xx has joined #nixos
<eri451> import potr in a python shell results in the same error
shibboleth has quit [Quit: shibboleth]
freeman42x has quit [Ping timeout: 250 seconds]
noudle has quit []
br_ has quit [Ping timeout: 265 seconds]
<eri451> well repackageing the plugins and weechat into a package ... does nixos have to be that hard?
doublex has joined #nixos
<__red__> ping shlevy - you about?
<infinisil> eri451: Whether this needs to be done? No but yes. If installing packages with nix-env would allow you to change dependencies of packages we arrive at what every other distro does, ending up with problems when you need to install multiple versions and such
toppler has quit [Ping timeout: 268 seconds]
<infinisil> eri451: But whether this needs to be this hard? No, the interface could be simpler
raduom has quit [Ping timeout: 240 seconds]
<eri451> I just imagine a system with more users then just me
<eri451> like a login system
<eri451> were some users use a lets say irc client
nixnothing has quit [Ping timeout: 240 seconds]
<eri451> and some differently
<{^_^}> [nixpkgs] @flokli merged pull request #70266 → wpa_supplicant: apply patch for CVE-2019-16275 → https://git.io/Jecto
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/Je8as
<{^_^}> [nixpkgs] @flokli merged pull request #70267 → wpa_supplicant: apply patch for CVE-2019-16275 [19.09] → https://git.io/JectK
<{^_^}> [nixpkgs] @flokli pushed 2 commits to release-19.09: https://git.io/Je8aG
<infinisil> eri451: Oh you mean that configuring this in your configuration.nix would force the change on all users?
<{^_^}> [nixpkgs] @flokli merged pull request #70268 → wpa_supplicant: apply patch for CVE-2019-16275 [19.03] → https://git.io/Ject6
<{^_^}> [nixpkgs] @flokli pushed 2 commits to release-19.03: https://git.io/Je8aZ
<eri451> they all would nee there own package right?
<eri451> *need
thinkingeye has joined #nixos
nixnothing has joined #nixos
<infinisil> All users can do their own customizations, no need to put it in configuration.nix
<Moredread[m]> eri451: if you don't provide it in your configuration.nix than yes
<infinisil> E.g. through ~/.config/nixpkgs/overlays or ~/.config/nixpkgs/config.nix
<Moredread[m]> but what infinisil says :)
toppler has joined #nixos
thinkingeye has quit [Client Quit]
<eri451> okay .config/nixpkgs/... i'll have a look
joshuagl has quit [Quit: Textual IRC Client: www.textualapp.com]
Blessjah has quit [Remote host closed the connection]
<meatcar> eri451: I pull in a websocket python lib for a weechat plugin, you can use my code as an example: https://github.com/meatcar/dots/blob/master/nix/.config/nixpkgs/home.nix#L40
<eri451> thanks
<eri451> this is home manager?
Blessjah has joined #nixos
<meatcar> yup. You can pull the `overridePackages` bit out to .config/nixpkgs/config.nix though
<meatcar> should work without home-manager.
<{^_^}> [nixpkgs] @bjornfor opened pull request #71143 → nixos-rebuild: support sudo + --target-host → https://git.io/Je8az
<infinisil> I personally would recommend to use overlays over packageOverrides, but both work
toppler has quit [Ping timeout: 240 seconds]
<eri451> oh thats good to know :)
<infinisil> (well overlays can do more actually)
mthst has quit [Quit: Leaving]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
fendor has quit [Ping timeout: 250 seconds]
wfranzini has quit [Remote host closed the connection]
drakonis1 has joined #nixos
br_ has joined #nixos
wfranzini has joined #nixos
feep_ has joined #nixos
feep has quit [Disconnected by services]
red__ has quit [Quit: leaving]
toppler has joined #nixos
shibboleth has joined #nixos
knupfer has quit [Ping timeout: 245 seconds]
br_ has quit [Ping timeout: 240 seconds]
<__red__> Part of me wishes I understood C better. Part of me is glad that I don't :-P
toppler has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @delroth opened pull request #71144 → sudo: 1.8.27 -> 1.8.28 (CVE-2019-14287) → https://git.io/Je8VJ
<__red__> :q!
<{^_^}> [nixpkgs] @delroth opened pull request #71145 → sudo: 1.8.27 -> 1.8.28 (CVE-2019-14287) [19.09] → https://git.io/Je8Vk
ambro718 has quit [Ping timeout: 276 seconds]
cinimod` has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @delroth opened pull request #71146 → sudo: 1.8.27 -> 1.8.28 (CVE-2019-14287) [19.03] → https://git.io/Je8VY
<__red__> yeah - I saw that CVE - it's a doozy ;-)
toppler has joined #nixos
<__red__> sudo -u\#-1 <command runs as root>
<__red__> ;-)
<__red__> but there are specific conditions that have to me met for it to work
<__red__> but it's still quite special
<clever> for me, it asks for the normal pw before running the thing as root
<inkbottle> When you do "nix run" you end up in a nested development environment, right? However it does not show on the prompt as it does with "nix-shell".
<clever> __red__: ahhh, its for when you allow somebody to run x as anybody-but-root
<clever> that just seems like a dumb way to set it up
<clever> a lot of users are near-root power, and a blacklist is just a plain bad idea
<clever> and a whitelist shouldnt allow -1, so no issue there
<{^_^}> [nixpkgs] @worldofpeace opened pull request #71147 → More Gnome 3.34.1 → https://git.io/Je8VG
kp__ has joined #nixos
<inkbottle> "nix-shell now sets the shell prompt (PS1) to ensure that Nix shells are distinguishable from your regular shells." But that doesn't apply to "nix run"? Why is that so? It gets me confused.
shibboleth has quit [Quit: shibboleth]
toppler has quit [Ping timeout: 268 seconds]
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/02dbdcddcd3 (from 12 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
<__red__> clever: yup - it's a neat trick - probably mainly an issue in companies that have different siloed teams on the same servers
<{^_^}> [nixpkgs] @arianvp opened pull request #71148 → Fix typo in 19.09 release notes → https://git.io/Je8VC
<__red__> btw - next time I think it's a good idea to try and fix something - someone please hit me with a flyswatter or something
Ariakenom has quit [Quit: Leaving]
<__red__> I raised an issue against the icu package and am trying to fix it. Twas a mistake
asymptotically has quit [Quit: Leaving]
br_ has joined #nixos
toppler has joined #nixos
kp__ has quit [Quit: WeeChat 2.6]
kp__ has joined #nixos
toppler has quit [Ping timeout: 268 seconds]
br_ has quit [Ping timeout: 265 seconds]
doublex has quit [Ping timeout: 240 seconds]
abathur has joined #nixos
<kleisli> does anyone here use a dell external dock to connect to external displays on nixos? i'm unsure about the status of displaylink support
Soo_Slow has joined #nixos
toppler has joined #nixos
drakonis_ has joined #nixos
<gchristensen> I've gotten the thunderbolt dock to work moderately okay. iirc displaylink is poorly supported
freeman42xx has quit [Ping timeout: 268 seconds]
drakonis has quit [Ping timeout: 250 seconds]
<kleisli> gchristensen: thank you. could you explain 'moderately ok' in a bit more detail?
toppler has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @ivan opened pull request #71149 → [19.09] ocrmypdf: 8.2.3 -> 9.0.3 → https://git.io/Je8Vw
<kleisli> and do you know of a better alternative for getting an external display working through the USBC port?
<kleisli> a USBC port *
vesper11- has joined #nixos
vesper11 has quit [Ping timeout: 240 seconds]
toppler has joined #nixos
drakonis has joined #nixos
<gchristensen> kleisli: thunderbolt with any security turned on is annoying (have to authorize it on plug-in), and also my display was quite big and I had a bad dual-link-dvi-to-mini-displayport adapter by Apple, and so it didn't register correctly most of the time and sometimes the colors were all wrong
br_ has joined #nixos
selfsymmetric-pa has left #nixos ["gone to the land of dead hiccups and extinguished light bulbs"]
strobelight has quit [Ping timeout: 268 seconds]
<red[m]> So, I have someting I built with nix-build -I nixpkgs=. -A <pkgname>
<red[m]> and I have a result in /nix/stotr
<red[m]> err, store
<red[m]> I thought I could just get it installed by doing a nix-env -i result
<red[m]> am I wrong?
drakonis_ has quit [Ping timeout: 245 seconds]
toppler has quit [Ping timeout: 240 seconds]
<clever> inkbottle: both nix-shell and nix run increment $SHLVL, so you could use an alternate PS1 that reveals $SHLVL
br_ has quit [Ping timeout: 240 seconds]
<clever> inkbottle: that will also expose nesting sudo, sh, and bash
gila has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
toppler has joined #nixos
jgeerds has quit [Ping timeout: 240 seconds]
<inkbottle> clever: thanks
toppler has quit [Ping timeout: 268 seconds]
<inkbottle> (I have to use Reasonml+React, which I never used before, preferably on that NixOS box, and I feel like light years away from having it working)
<inkbottle> (presently reading Nix Pills, to see if that is helping)
sigmundv has joined #nixos
toppler has joined #nixos
doublex has joined #nixos
br_ has joined #nixos
freeman42xx has joined #nixos
toppler has quit [Ping timeout: 268 seconds]
br_ has quit [Ping timeout: 240 seconds]
anderslundstedt has quit [Ping timeout: 264 seconds]
acarrico has quit [Ping timeout: 265 seconds]
toppler has joined #nixos
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/25d5777d9ea (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/92853bda193 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
toppler has quit [Ping timeout: 268 seconds]
Synthetica has joined #nixos
lukash_ is now known as lukash_|away
toppler has joined #nixos
fling has quit [Ping timeout: 250 seconds]
br_ has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #70724 → swipl: include GUI tools → https://git.io/JeWLX
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/Je8wi
<{^_^}> [nixpkgs] @worldofpeace merged pull request #71011 → networkmanager: 1.20.2 -> 1.20.4 → https://git.io/Jeli1
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to staging: https://git.io/Je8wX
toppler has quit [Ping timeout: 268 seconds]
chloekek has quit [Ping timeout: 245 seconds]
br_ has quit [Ping timeout: 250 seconds]
domogled has quit [Ping timeout: 268 seconds]
toppler has joined #nixos
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/25d5777d9ea (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
domogled has joined #nixos
abathur has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @stigtsp opened pull request #71150 → perlPackages.MojoliciousPluginMail: init at 1.5 → https://git.io/Je8wA
toppler has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @grahamc merged pull request #71018 → utsushi: 3.57.0 -> 3.59.2 → https://git.io/JelPp
<{^_^}> [nixpkgs] @grahamc pushed 2 commits to release-19.09: https://git.io/Je8wx
toppler has joined #nixos
br_ has joined #nixos
cosimone has quit [Ping timeout: 250 seconds]
br_ has quit [Ping timeout: 276 seconds]
toppler has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @matthewbauer merged pull request #71144 → sudo: 1.8.27 -> 1.8.28 (CVE-2019-14287) → https://git.io/Je8VJ
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/Je8rk
<{^_^}> [nixpkgs] @matthewbauer merged pull request #71145 → sudo: 1.8.27 -> 1.8.28 (CVE-2019-14287) [19.09] → https://git.io/Je8Vk
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to release-19.09: https://git.io/Je8rI
<{^_^}> [nixpkgs] @matthewbauer merged pull request #71146 → sudo: 1.8.27 -> 1.8.28 (CVE-2019-14287) [19.03] → https://git.io/Je8VY
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to release-19.03: https://git.io/Je8rL
<{^_^}> [nixpkgs] @matthewbauer merged pull request #71148 → Fix typo in 19.09 release notes → https://git.io/Je8VC
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/Je8rt
wfranzini has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @kevincox pushed to kevincox-oa_ded « openarena: oa_ded link. »: https://git.io/Je8rq
wfranzini has joined #nixos
schjetne has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer pushed commit from @arianvp to release-19.09 « Fix typo in 19.09 release notes »: https://git.io/Je8rG
toppler has joined #nixos
schjetne has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @matthewbauer merged pull request #71087 → Revert "Revert "libbsd: 0.9.1 -> 0.10.0 (#66948)"" → https://git.io/Je8r8
<{^_^}> [nixpkgs] @matthewbauer pushed 3 commits to master: https://git.io/Je8r4
sondr3 has quit [Quit: WeeChat 2.6]
doublex has quit [Ping timeout: 240 seconds]
Acou_Bass has quit [Ping timeout: 276 seconds]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/ac1aeb4fbbe (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
toppler has quit [Ping timeout: 276 seconds]
doublex has joined #nixos
m0rphism has quit [Ping timeout: 268 seconds]
Acou_Bass has joined #nixos
br_ has joined #nixos
toppler has joined #nixos
valwal has quit []
<NoctisLabs> Why doesn't NixOS use Bash 5 by default?
br_ has quit [Ping timeout: 240 seconds]
<simpson> Probably will take a bit of an effort to test and ensure that everything works with it. Are there any compelling reasons to upgrade soon? It's sounded to me like, well, a major revision.
<{^_^}> [nixpkgs] @Ma27 merged pull request #70469 → matrix-synapse: 1.3.1 -> 1.4.0 → https://git.io/JeCm1
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/Je8rX
bluefox83 has joined #nixos
Soo_Slow has quit [Remote host closed the connection]
<bluefox83> 972 normal users? are we sure none of those are bots? O.o
mwelt has joined #nixos
drakonis has quit [Read error: Connection reset by peer]
<jackdk> Everyone here is a bot except for you.
drakonis has joined #nixos
<bluefox83> lol
<mwelt> hi. Some newby question: I installed nix on mac os and now I try to compile mu4e, which quits with missing glib2, gobject and gio.
<bluefox83> that would be my luck, I finally figure out where this channel is and everyone turns out to be a bot..
<evelyn> jackdk: NO BOTS HERE | PLEASE DO NOT EXCERCISE RIGHT OF REPLY
selfsymmetric-mu has quit [Remote host closed the connection]
<bluefox83> O.o
<mwelt> is there any basic build package I need to install?
<bluefox83> mwelt: so you should probably install all of those...
<simpson> mwelt: You probably want to write a Nix expression.
<simpson> I checked nixpkgs, but I'm not sure what mu4e is, and it doesn't appear to already be packaged.
<mwelt> bluefox83: I came up with this idea ca 1hr ago :) only glib2 package (not recognized by pkg-config after install) and no gobject and no gio package anyways
<bluefox83> is there a build-essentials?
<mwelt> simpson: mu4e is an emacs mail client :)
<jackdk> bluefox83: nixpkgs stdenv comes with all the usual bits like make and stuff
sigmundv has quit [Ping timeout: 240 seconds]
<simpson> mwelt: I see some mu4e-related things in the emacs section of nixpkgs. You might find https://nixos.org/nixpkgs/manual/#sec-emacs to be good reading.
* bluefox83 wonders if he's wrong about where he's wandered into...
<simpson> bluefox83: Not really; you will generally want to ask Nix to build things for you, rather than building system packages on your own.
doublex has quit [Ping timeout: 240 seconds]
<simpson> bluefox83: Hi! Welcome to #nixos. This channel is for Nix on any kernel, including NixOS and nixpkgs.
dbmikus__ has quit [Ping timeout: 240 seconds]
<mwelt> simpson: thx very much for the link, but mu4e is no usual emacs package, it needs a standalone email indexing component additionally to some dot-el files.
<{^_^}> [nixpkgs] @Ma27 pushed commit from @Vskilet to release-19.09 « matrix-synapse: 1.3.1 -> 1.4.0 »: https://git.io/Je8rQ
<simpson> mwelt: I see. Well, `nix-shell -p gobject-introspection` might get you started, but there's no replacement for writing a proper Nix expression for a package.
<mwelt> simpson: so basically i can write a nix-expression to build some random git / src repo?
<mwelt> ok so i'll look into writing nix-expressions
toppler has quit [Ping timeout: 268 seconds]
<simpson> mwelt: Yes. The nixpkgs manual is good reading. You can find similar packages in nixpkgs already, and imitate what they do. There's also a step-by-step tutorial: https://nixos.org/nixos/nix-pills/index.html
br_ has joined #nixos
bluefox83 has quit [Quit: leaving]
<mwelt> simpson: thanks :) this pill guide will keep me busy for sometime
mbrgm has quit [Ping timeout: 276 seconds]
mbrgm has joined #nixos
toppler has joined #nixos
doublex has joined #nixos
br_ has quit [Ping timeout: 250 seconds]
noonien has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @dtzWill opened pull request #71152 → musl: 1.1.2x -> 1.1.24 → https://git.io/Je8ok
domogled has quit [Quit: domogled]
<{^_^}> [nixpkgs] @dtzWill pushed 7 commits to staging: https://git.io/Je8oq
<{^_^}> [nixpkgs] @dtzWill merged pull request #70689 → qt5: 5.12.4 -> 5.12.5 → https://git.io/JeWUY
<{^_^}> [nixpkgs] @dtzWill merged pull request #70688 → spleen: 1.3.0 -> 1.5.0, mkfontdir → https://git.io/JeWUU
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to master: https://git.io/Je8oG
<{^_^}> [nixpkgs] @dtzWill merged pull request #70687 → cherry: 1.3 -> 1.4, pcf -> otb, mkfontdir for X11 → https://git.io/JeWJx
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to master: https://git.io/Je8on
toppler has quit [Ping timeout: 240 seconds]