gchristensen changed the topic of #nixos to: The Nix Ecosystem, https://nixos.org | NixOS: https://nixos.org/nixos/download.html | Nix: https://nixos.org/nix/download.html | Logs: https://logs.nix.samueldr.com/nixos/ | #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat
<{^_^}> [nixpkgs] @d-goldin opened pull request #67735 → python uvloop libary: updating, 0.12.2 to 0.13.0 → https://git.io/fjx6k
emptyfl4sk has quit [Ping timeout: 248 seconds]
qubasa_ has joined #nixos
<srid> Is there a way to `import` a nix file while setting `<nixpkgs>` to a pinned version? (without passing arguments; as the nix file doesn't take it)
<gchristensen> I would edit the nix file to take it, or set the NIX_PATH environment variable before running Nix
selfsymmetric-mu has joined #nixos
qubasa has quit [Ping timeout: 248 seconds]
nick_a_naggin has joined #nixos
<inkbottle> I assumed making new NixOS packages was especially easy?
<srid> Unfortunately neither is an option (I'm using hercules-ci.com)
m0rphism1 has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @romildo opened pull request #67737 → cmst: use Qt mkDerivation → https://git.io/fjx6s
<emily> inkbottle: it's certainly easier than for many distros (Debian comes to mind...)
<inkbottle> tx
<nick_a_naggin> hi NixOs'rs
orivej has quit [Ping timeout: 245 seconds]
<nick_a_naggin> I literally just discovered NO an hour ago
<{^_^}> [nixpkgs] @averelld opened pull request #67738 → anki: 2.1.11 -> 2.1.14 → https://git.io/fjx6C
<gchristensen> cool, welcome to the NixOS community, nick_a_naggin :)
<pie_> (gchristensen?) anyone happen to know how to deal with virtualbox giving eror 6 when trying to start a vm?
<gchristensen> uhh can you paste more?
<inkbottle> At the moment I already have a EFI partition, a swap partition and a LUKS LVM partition which in turn is constituted of 2 partitions... But not NixOS: I think I can keep the 2 first partitions
<nick_a_naggin> https://nixos.wiki/wiki/NixOS is quite clear though so you make it easy to get closer
DariusTheMede has quit [Ping timeout: 248 seconds]
<pie_> ill look again but last time i looked it was pretty unhelpful
<nick_a_naggin> thanks!
sconybeare has quit [Ping timeout: 276 seconds]
<inkbottle> I'd like to keep the geometry of the third but I've been told that 30GB for Nixos (system) is way too small, and that I should use the whole disk
sconybeare has joined #nixos
<pie_> gchristensen: "Failed to open a session for the virtual machine win7.
<pie_> Component: MachineWrap
<pie_> Result Code: NS_ERROR_FAILURE (0x80004005)
<pie_> The virtual machine 'win7' has terminated unexpectedly during startup because of signal 6.
<pie_> Interface: IMachine {5047460a-265d-4538-b23e-ddba5fb84976}
<pie_> "
<pie_> whoops, maybe that should have been a pastebin
<gchristensen> make sure virtualbox is installed at the same nixpkgs version the nixos host is at
ottidmes has quit [Ping timeout: 244 seconds]
<selfsymmetric-mu> For Emacs users, `nix-update-el` is pretty great.
nick_a_naggin has quit [Ping timeout: 245 seconds]
<selfsymmetric-mu> If you want to update a `fetchFromGitHub` expression you can just hover over it, run `nix-update-fetch`, and it will update itself to the latest available revision.
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fjx6B
nick_a_naggin has joined #nixos
<pie_> gchristensen: oh. um. well i just have it done via confiiguration.nix i think?
<gchristensen> hrm then Idon't know :/
<pie_> :(
Soo_Slow has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @craigem opened pull request #67739 → libhandy: 0.0.10. -> 0.0.11 → https://git.io/fjx6R
<pie_> gchristensen: anything suspicous here? https://bpaste.net/show/Pfzc
<gchristensen> virtualisation.virtualbox.guest.x11.enable = true;services.xserver.videoDrivers = [ "virtualbox" "vesa" "modesetting" ]; <- is this running inside a VM?
<pie_> no but that lets it run in a vm iif i want
<gchristensen> I'd remove those two
<pie_> still borked. i didnt reboot thogh
<pie_> this stuff worked at some point, cant tell what i changed, my actually running config is pretty small :/
nick_a_naggin has quit [Ping timeout: 245 seconds]
nick_a_naggin has joined #nixos
* pie_ tries updating unstable
<pie_> well that didnt do much
<pie_> nvm, it was updating nix first , waiting for erebuild
wildtrees has quit [Quit: Leaving]
sigmundv_ has quit [Ping timeout: 245 seconds]
Rusty1 has joined #nixos
ris has quit [Ping timeout: 272 seconds]
<evanjs> Re the virtualbox stuff:
<evanjs> https://github.com/NixOS/nixpkgs/issues/65564. This was happening on my laptop the other day and using headless seemed to work fine but for some reason my desktop works fine either way *shrugs*
<{^_^}> #65564 (by ambrop72, 4 weeks ago, open): VirtualBox: Virtual machines fail to start.
Supersonic has joined #nixos
liberiga has joined #nixos
drakonis has quit [Ping timeout: 245 seconds]
danbst has quit [Remote host closed the connection]
nick_a_naggin has quit [Read error: Connection reset by peer]
korbendallaskoop has joined #nixos
<pie_> evanjs: looks relevant
LeshaInc1 has quit [Quit: ZNC - https://znc.in]
boxscape has quit [Remote host closed the connection]
<growpotkin> Hey I just got myself a new SSD that I want to migrate NixOS over to. Is there particular command that I can use to install my build on there without doing the whole install process from the manual?
<growpotkin> I know there's a ton of tools for that with NixOps, but that's not quite a good fit here.
m0rphism1 has joined #nixos
spinus has quit [Ping timeout: 245 seconds]
liberiga has quit [Ping timeout: 260 seconds]
georges has quit [Ping timeout: 245 seconds]
drakonis_ has quit [Ping timeout: 264 seconds]
abathur has joined #nixos
drakonis_ has joined #nixos
nick_a_naggin has joined #nixos
korbendallaskoop has quit [Ping timeout: 248 seconds]
<pie_> i have a fitbit on hand but the progra m doesnt seem to see it
<tiAy> the battery in my pebble died :(
<pie_> cnt use it till is set up
drakonis has joined #nixos
<pie_> aso the current yak shave is im hoping i can use my bluetooth hardware ina windows vm, but i doubt it...
<pie_> the cable seems to be useless
<pie_> the linux bluetooth sstuff seems to be able to see it, so maybe its not a dud
spinus has joined #nixos
<growpotkin> pie_: what about a FitBit? I just did a big mod on a similar device last night with my NixOS box
<pie_> hope thi vbox rebuild works...
<pie_> growpotkin: cool, what do you mean?
<pie_> growpotkin: i just got a used ionic and im trying to get it to stop telling me to go to fitbit.com/setup to continue
<pie_> i wan some "fitbit connect" thing in wine
nick_a_naggin has quit [Ping timeout: 246 seconds]
korbendallaskoop has joined #nixos
<pie_> which runs and brings up the gui, but nothing seems to happen
drakonis_ has quit [Ping timeout: 264 seconds]
unigram has joined #nixos
georges has joined #nixos
<growpotkin> pie_: Oh gotcha. Yeah NixOS is (at least in my experience) pretty plagued with GUI issues. The big one for me is missing Icons from KDE
<growpotkin> Is there any FOSS alternatives to FitBit Connect?
stites has joined #nixos
<stites> is there a way to compile a nix attrset into json as the text of a file inside a nix expression?
<growpotkin> stites: definitely
<pie_> i didnt mean to imply that this seems to be a gui issue, it does not
<pie_> the gui seems to work ok
<growpotkin> stites: could you give a bit more context so I can get an idea of the specific requirements?
<growpotkin> pie_: Oh it's just an unresponsive app?
<stites> builtins.toJSON! I think that's all I need
unigram has quit [Ping timeout: 268 seconds]
<stites> I thought it would be in lib.attrsets
<growpotkin> stites: that was precisely what I was going to point to :) I was really more concerned about the file creation part. It vaguely sounded like one of the "Nix in Nix" problems.
<pie_> yes ive had icon problems, https://github.com/Simmesimme/Gnome-Pie/issues/170
<{^_^}> Simmesimme/Gnome-Pie#170 (by deliciouslytyped, 4 weeks ago, open): failure to load icons
<pie_> growpotkin: the problem is more that i cant figure out how to get it to see the device
<growpotkin> pie_: Oh, well the first step is to find out if your system detects the device, and then once we are sure it can then start checking for issues in that specific application
<pie_> idk of any oss alternatives that will do the pairing to the central service (which i dont actually wantm, but which is probably necessary?), but i kind of assumed they dontexist
<growpotkin> have you rooted around `/dev/` at all?
stites has quit [Remote host closed the connection]
<growpotkin> pie_: are you connecting with a USB or BlueTooth?
<pie_> growpotkin: yeah i wanted to try that but lsusb listsnothing, i tink the cable might justbe for charging, but then idk why theres 3 pins on it
<pie_> lsusb and dmesg show nothing
<{^_^}> [nixpkgs] @averelld opened pull request #67740 → pithos: 1.1.2 -> 1.4.1 → https://git.io/fjx67
<pie_> i _seem_ to have connected to it over bluetooth but im not sure howto see that it actually did anything
<growpotkin> pie_: okay that's actually not so bad, I would much rather have your system fail to recognize it rather than the app
<pie_> i didnt have to write any sort of security code on the device
<pie_> no i havent poked in =ev=
<pie_> Ú=dev
<pie_> man this keyboard
<pie_> * /dev
<growpotkin> pie_: My wife used to work there, she confirmed that the USB cable can only charge or reset the device. You have to sync and do settings over BT.
<pie_> niot sure what to look for in dev, this is the first time im ever usingbtonn linux
<pie_> growpotkin: oh sweet good to know
<pie_> growpotkin: i dont suppose she can give us all the nice decryption keys :P
<growpotkin> pie_: So debugging this is probably going to be very similar to dealing with some of the issues that the manual covers when talking about "Bluetooth Audio Devices".
<growpotkin> pie_: I guarantee that she wouldn't have a clue where to find that haha
<pie_> aww
growpotkin has quit [Quit: ZNC 1.7.4 - https://znc.in]
<pie_> i want a rooted fitbit
<pie_> write my own damn code
<pie_> though the runtime probably manages stuff like power usage for you so
<pie_> well anyway, debugging connection
ryantrinkle has joined #nixos
growpotkin has joined #nixos
<pie_> damn, buuild finished, , virtualbox still broken, guess i need to pull the right commit or something
<growpotkin> Sorry a rebuild disconnected me. So you've connnected the device with BT yeah? Using Bluez I assume?
<growpotkin> pie_: What is your VBox issue? I just dealt with those last week
<pie_> <growpotkin> pie_: I guarantee that she wouldn't have a clue where to find that haha
<pie_> <pie_> well anyway, debugging connection
<pie_> <pie_> though the runtime probably manages stuff like power usage for you so
<pie_> <pie_> aww, i want a rooted fitbit and to write my wn damn code :P none of this locked in crap
selfsymmetric-mu has quit [Remote host closed the connection]
<pie_> growpotkin: error 6, apparently a solution was merged or something idk <evanjs> https://github.com/NixOS/nixpkgs/issues/65564. This was happening on my laptop the other day and using headless seemed to work fine but for some reason my desktop works fine either way *shrugs*
<{^_^}> #65564 (by ambrop72, 4 weeks ago, open): VirtualBox: Virtual machines fail to start.
<pie_> iwas thinking maaaaybe i could forward bluetooth to a windows vm and have it work better
selfsymmetric-mu has joined #nixos
<pie_> growpotkin: i used uhh, hardware.somethingorother.bluetooth.enable and bluetoothctl
<growpotkin> pie_: do you have an applet or somthing that you're using to manage the connection?
<pie_> no
<pie_> but that would probably be easier
<growpotkin> pie_: Ah perfect bluetoothctl is fine
<pie_> oh hm blueman eh
<growpotkin> Yeah I mean I think the applet is a bit easier to reason about
<growpotkin> bluetoothctl is great when you want full control, but sometimes the reasonable defaults of blueman are a life saver when you "just want something to work" out of the box
<pie_> ok its a bit messy due to stuff that kind of loks like misconfigration / dbus / gui bugs but itseems to work, stillnothing new on the device, let me start the connect program
<pie_> growpotkin: strangely enough i think the alta *does* have data over the cable?which is frustrating because the ionic is supposed to be the best thig right?
<pie_> we found a locked serial console on the alta :P
<pie_> or something lthat looked like that
emptyfl4sk has joined #nixos
<growpotkin> pie_: my wife was telling me that the USB can be used to reset the device so there will definitely be some data going across the cable. Some models might be able to do settings across USB tho, I couldn't say conclusively
<pie_> mumble mumble we'll see -_-
<pie_> lets just get it notice first i guess
<pie_> growpotkin: but still, would require first even showing up in lsusb
emptyfl4sk has quit [Ping timeout: 248 seconds]
korbendallaskoop has quit [Ping timeout: 244 seconds]
korbendallaskoop has joined #nixos
<craige> Can someone please tag PR https://github.com/NixOS/nixpkgs/pull/67739 as `Librem 5` - thanks!
<{^_^}> #67739 (by craigem, 1 hour ago, open): libhandy: 0.0.10. -> 0.0.11
fusion809 has quit [Remote host closed the connection]
<pie_> growpotkin: so yeah im paired to the device....now what
<tiAy> i have a project repo for some haskell code, is there some way to put the services.postgresql block inside the shell.nix or something, so that when i spin up the shell it'll start postgres?
xkapastel has quit [Quit: Connection closed for inactivity]
<samueldr> craige: done
<pie_> growpotkin: well, packagey things dont really have a way to handle services
<{^_^}> [nixpkgs] @averelld opened pull request #67741 → nfs-utils: 2.3.4 -> 2.4.1 → https://git.io/fjxik
<pie_> growpotkin: you could generate a container or a vm or something
<pie_> * those last two were for tiAy
<tiAy> thanks, ill have a look
<pie_> tiAy: you could also generate a script that starts postgres as output
<pie_> btw i saw a script tool somewhere at some point for setting up temporary postgres servers, that ight be helpful
DariusTheMede has joined #nixos
<pie_> growpotkin: why couldnt they just make it work over usb ;_; or i have someting broken?
growpotk- has joined #nixos
<pie_> growpotk-: welcome back?
<craige> Thanks samueldr!
felixfoertsch23 has joined #nixos
felixfoertsch has quit [Ping timeout: 258 seconds]
gjabell has left #nixos ["Leaving"]
drakonis1 has joined #nixos
<{^_^}> [nixpkgs] @SRGOM opened pull request #67742 → manual.configuration.userManagement: mkpasswd → https://git.io/fjxis
oborot has joined #nixos
emptyfl4sk has joined #nixos
sconybeare has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @averelld opened pull request #67743 → gradle: 5.3.1 -> 5.6.1 → https://git.io/fjxiW
oborot has quit [Ping timeout: 245 seconds]
<growpotk-> pie_: Hey
<growpotk-> pie_: I'm doing rebuilds so my ZNC service keeps cutting out.
oborot has joined #nixos
laalf has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
m0rphism1 has quit [Ping timeout: 244 seconds]
polman has quit [Ping timeout: 245 seconds]
laalf has joined #nixos
emptyfl4sk has quit [Ping timeout: 258 seconds]
polman has joined #nixos
korbendallaskoop has quit [Ping timeout: 258 seconds]
slack1256 has joined #nixos
fusion809 has joined #nixos
<pie_> also i might crash into bed
DariusTheMede has quit [Ping timeout: 245 seconds]
tjg1 has quit [Quit: if i commit suicide, at least a real nigga killed me]
<pie_> sucks to buy a device and now even know if it works :V
fusion809 has quit [Remote host closed the connection]
tjg1 has joined #nixos
growpotk- has quit [Quit: ZNC 1.7.4 - https://znc.in]
growpotk- has joined #nixos
<pie_> (this is of course my fault)
fusion809 has joined #nixos
abathur has quit [Ping timeout: 246 seconds]
teto_ has joined #nixos
teto_ has quit [Remote host closed the connection]
sconybeare has joined #nixos
<growpotkin> Does anybody know how to clean up `htop` for NixOS? The paths are too ridiculous to follow lol
LeshaInc has joined #nixos
detran has quit [Ping timeout: 245 seconds]
domogled has joined #nixos
<{^_^}> [nixpkgs] @samueldr opened pull request #67744 → make_ext4fs: init at unstable-2017-05-21 → https://git.io/fjxiu
<samueldr> related to that just opened PR, I am seeking code review for C code https://github.com/mobile-nixos/make_ext4fs/compare/feature/UUID if anyone thinks they have the ability to do so, it would be lovely ♥
<evanjs> growpotkin: I started using nix-top lately (a little narrower in scope) and that’s proved to be pretty helpful for all nix builds, at least. Not sure about cleaning up htop , though.
<growpotkin> ooh I've never heard of that.
<growpotkin> oh my lord this is so needed lol
<samueldr> it's rough around the edges, but it's useful
<samueldr> (I wrote it, so I know it's rough :))
<samueldr> F2 for Setup, under Display options, Show program path
domogled has quit [Client Quit]
<growpotkin> im installing it now
<evanjs> Ahah. I recalled infinisil had an htop config but wasn’t sure if it matched what growpotkin was looking for. It does seem to be the case, though:
<samueldr> btw it's packaged in nixpkgs, so `nix-shell -p nix-top --run nix-top` should work
<samueldr> it may munge up your terminal on exit (with ^C)
<samueldr> if so, blindly type reset[enter]
<samueldr> ooh
<samueldr> that's nifty
<growpotkin> I'm just getting "Summary per output" and another line of " * * * "
<switchy> this is probably a gross misunderstanding of the language, but I have a file that looks like 'with import <nixpkgs> { crossSystem=... }; mkShell { }' that I can get a shell with a gcc toolchain (nix-shell cross.nix)...how/where in this file can I define a new derivation (I want to make a simplified/modified version of something already in nixpkgs)
<growpotkin> samueldr: :( yeah its just hanging for me.
<samueldr> growpotkin: do you have nix builds running?
<samueldr> that's to track nix builds currently running :)
<growpotkin> yeah I'm doing `nixos-rebuild switch`
<growpotkin> OH does it just track `nix`?
<samueldr> it might be evaluating
<samueldr> only what happens during build time
<evanjs> Nah it’ll track stuff being built with make and etc but managed by nix
<samueldr> so if it's evaluating, or switching"
<evanjs> ^
<samueldr> or "switching" it'll not print anything
<growpotkin> gotcha
fusion809 has quit [Remote host closed the connection]
<growpotkin> AH there we are
<growpotkin> that's pretty rad
<growpotkin> I need to dump that into Conky
sconybeare has quit [Remote host closed the connection]
<growpotkin> samueldr: thanks for the tip on this man, this is great.
<{^_^}> [nixpkgs] @averelld opened pull request #67745 → robo3t: 1.1.1 -> 1.3.1 → https://git.io/fjxig
pbb has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
pbb has joined #nixos
<pie_> growpotkin: can you ask your wife if its necessar to use the bluetooth dongle
<pie_> i dont have a fitbit dongle
<growpotkin> pie_: oh she kept saying "fitbit dongle" and I just assumed she mean a BT dongle
<growpotkin> I didn't know they were different things
<pie_> growpotkin: i am going to be so frustrate if this isnt supposed to work with normal bluetooth
<pie_> on the other hand, how the hell does it work with smartphones then
<samueldr> it could (is likely to) be BLE
<pie_> íts gotta be normal bluetoth...
Supersonic112 has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 is now known as Supersonic
<samueldr> if it's BLE, not all bluetooth dongles will be able to cope with it
fusion809 has joined #nixos
<pie_> so frustrated that i cant try with a vm either
<pie_> wwhy am i in a perpetual state of breakibngeverything?
<pie_> (sorry for typos, tiny keyboard)
<samueldr> I already used qemu within virt-manager to do bluetooth shenanigans with a usb device forwarded to the VM
<samueldr> with great success
<pie_> can i migrate a windows vm to qemu
<samueldr> I don't know
<pie_> im not sure i even have a forwardable bluetooth thing
<samueldr> (with bonus point of the VM being on another computer on the network!)
<pie_> im using a lenovo x250 and it has some sort of built in bluetooth
<samueldr> if it shows up under lsusb, maybe
<pie_> i just see generic loking stuff under lsusb
<samueldr> and with laptops, it could be a coin flip; at least earlier ones
<growpotkin> pie_: I think that a VM is just another thing to screw things up; it doesn't change the fact that your system needs to "play nicely" with the device. If your host system hates the thing it's almost certainly not going to pass it along to a guest VM
andymandias has quit [Quit: ZNC 1.7.3 - https://znc.in]
<{^_^}> [nixpkgs] @teto merged pull request #67665 → pythonPackage.nixpart0: disable for python3 → https://git.io/fjxcs
<pie_> growpotkin: i was hoping i could just forward the entire bluetooth stack
<{^_^}> [nixpkgs] @teto pushed commit from @jonringer to master « pythonPackage.nixpart0: disable for python3 »: https://git.io/fjxiw
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/bd6ba87381e (from 11 hours ago, history: https://channels.nix.gsc.io/nixos-19.03)
<pie_> samueldr: over the network?
detran has joined #nixos
<samueldr> yes!
<samueldr> virt-manager is amazing
<pie_> huh
andymandias has joined #nixos
<samueldr> that logitech bluetooth keyboard has settings that are not permanent, though I wanted to see if it was
<samueldr> and the only dang tool is for windows and macOS
<samueldr> (though later I found out a tool exists to toggle the settings)
<samueldr> such a shame to cheap out and make the settings driven by the OS
<samueldr> * by random software running in userland on the OS
<growpotkin> I didn't even have a clue that you could "forward" your whole BT stack. I have always had to manage each device individually with VBox.
<samueldr> I don't know if one can
<samueldr> in my case I forwarded the usb device
<samueldr> in a way, it's the whole thing
<samueldr> though it _is_ a discret usb dongle and not an integrated bluetooth stack
<growpotkin> samueldr: that's a good start then; I don't see why BT would be much different
<samueldr> no idea
<growpotkin> samueldr: Yeah honestly BT is such a confusing area. The handful of homebrew devices I've added BT to usually end in me spending hours in `btmon` wondering if "nix is being difficult" or if there is something actually wrong with my device
unigram has joined #nixos
<pie_> im currently doing that ^
<pie_> ie being unsure if its just me
<samueldr> I don't know much about bluetooth, only that when it works, I stop fiddling with it :/
<pie_> i dont have a windows device nearby
<growpotkin> samueldr: As much as I love NixOS, it has a tendency to add an extra layer of doubt to most debugging situations :(
<pie_> :(
<pie_> i hope i didnt get scammed lol
<growpotkin> pie_: do you have like a Raspberry Pi or an old laptop that you can use to at least verify that the device works?
<pie_> pile on more ubcertainty
<growpotkin> maybe give it a try on a work/school computer?
<pie_> no i dont have anything else
<growpotkin> gotcha; I was just thinking it would be nice to get a quick answer since you were concerned about being "scammed"
<pie_> which is why im so desperate to try a vm _maybe_
<pie_> i dont think i was scammed, but thats a bit tautological :P
<growpotkin> I'm going to step out for a smoke. Can you kind of catch me up on precisely how you have connected the device, and what kind of error messages you are getting? I will be back in a few
<pie_> i also consider it a possibility that other dude misunderstood somethignin the process
<pie_> the device does "wok" in that the screen shows some animations and "go to fitbit.com/setup"
<pie_> work
<pie_> the charging cable works because the battery icon changes
unigram has quit [Ping timeout: 268 seconds]
<pie_> blueman successfully pairs, and it has an entry called "ionic" woth "unknown" annd a mac addresss under it
<pie_> it used to say fitness device or something like that instead of unknown though
<pie_> right clicking on the tray icon for the sync tool says "could not find wireless sync dongle"
<pie_> forVMs , i did a rebuild switch to the 19.03 channel but virtualbox is still broken
<samueldr> you said earlier "via wine" for a tool
<pie_> maybe i need to reboot
<samueldr> is it still what you're doing?
<samueldr> I wouldn't trust anything like usb or bluetooth via wine
<pie_> yes im running the "sync" tool via wine because the internet hinted that it should work, but i dont really trust it either
<pie_> tthe thing is ive no idea how the bluetooth stack even works, after a pairing ar emore devices supposed to show up? because im not eeing any afaict
<pie_> ok hold on. im going to try rebooting.
<pie_> (i feel like weve hadthis conversation before with something)
pie_ has quit [Quit: pie_]
drakonis_ has joined #nixos
drakonis has quit [Ping timeout: 264 seconds]
xelxebar has quit [Remote host closed the connection]
xelxebar has joined #nixos
reallymemorable has joined #nixos
pie_ has joined #nixos
<pie_> samueldr growpotkin growpotk- : well my quassel broke somehow...on the other hand, virtualbox works now
<pie_> the one generic usb device happened to be the bluetooth
<pie_> and windows is in the process of installing drivers
<samueldr> that's more likely to work
<samueldr> if it should work
<pie_> also turns ot the tool running in wine was garbage and there were buttons not showign up
<pie_> but why is my quassel broken ;_;
<pie_> it just says aborted
<pie_> well...one crapfire at a time
<pie_> probably nis fault anyway
<pie_> nixs
dansho has joined #nixos
<samueldr> maybe the downgrade from unstable to 19.03 downgraded quassel and the earlier quassel doesn't know how to handle the stateful stuff from the newer quassel?
<samueldr> or, if you have stuff installed via nix-env, and you have mixed Qts, it will break
<pie_> i tried nix-shell -I nixpkkgs=channel:nixos-unstable -p quassel
<samueldr> with the proper spelling?
<pie_> yes
philr has quit [Ping timeout: 245 seconds]
<samueldr> (just checking!)
<samueldr> hm, maybe quassel wasn't wrapped
<pie_> of course
* samueldr checks
<pie_> $ nix-shell -I nixpkgs=channel:nixos-unstable -p quassel --run quassel/run/user/1000/nix-shell-8780-0/rc: line 1: 9258 Aborted quassel
<pie_> ugh sorry for horrible webclient paste
<pie_> and "of course" was at "just checking"
<samueldr> urgh, I think I know why
<samueldr> >> quassel = libsForQt5.callPackage
<samueldr> this is good
<samueldr> >> with stdenv; mkDerivation
<samueldr> this is not good
feep has quit [Ping timeout: 264 seconds]
<pie_> shouldnt that not matter with the -I ? :/
<samueldr> you're mixing your system's 19.03 Qt with the unstable Qt
<samueldr> (if I understand right that you downgraded)
* samueldr is fixing it
fusion809 has quit [Remote host closed the connection]
<pie_> yes i was surprised you were spot on with noticing the downgradwe :P (i mentioned somethign somewhere)
<pie_> but i dont have any global qts?
<pie_> oh my f******* god. theres a starred line during registration in this client that this device can only be set up through a mobile device
<pie_> i cant believe this.
fusion809 has joined #nixos
<pie_> to quote from $randominternetuser " After reading about all the problems people seem to be having I'm thinking about just sending the Ionic back and going another route. Looks like the potential to be more trouble than it's worth, and I've only had it a day."
<samueldr> pie_: virtualbox brings Qt in
<{^_^}> [nixpkgs] @mmahut merged pull request #67720 → rsclock: 0.1.0 -> 0.1.4 → https://git.io/fjxww
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjxiN
<samueldr> it's "semiglobal", if you permit the expression
<pie_> oh. jeez.
<samueldr> anything using Qt installed in any kind of profile can bring in conflicts :/
<samueldr> which is what wrapWithQtHook aims to solve
<pie_> yeah i didnt realize vbox
<pie_> talk about accidental foot shooting
<pie_> didnt break earlier though...
<samueldr> not sure what to say
<samueldr> it's... not obvious when it breaks
<samueldr> and sometimes mixing is fine
<samueldr> if it was obvious breakage, we wouldn't have had this issue for over a year infrequently rearing its head
<{^_^}> [nixpkgs] @samueldr opened pull request #67746 → quassel: Fix use of `mkDerivation` → https://git.io/fjxiA
<samueldr> pie_: ^
m0rphism1 has joined #nixos
tmaekawa has joined #nixos
<pie_> samueldr <3
<pie_> so..i have another yak shave of an idea
<pie_> can the android emulator emulate bluetooth
<pie_> attempt to iinstall android app into blutooth emulator
<pie_> i accndentally that sentence
<samueldr> 2016 "You can't" https://stackoverflow.com/a/22604347
<pie_> asdfkaslkfjalskdfj
<pie_> there has to be some absolutely horrible way to do this
<samueldr> I always fear with new "techy" gizmos that they desperately want to pair to a phone
<samueldr> I was glad to see that the garmin smartwatch I was given does not
<samueldr> you don't event need to pair it with any app
<samueldr> computer or not
<pie_> i should have gone with that . more $$$ though
<pie_> yeah this upload everything to the cloud is such bullshit
<samueldr> yeah
<samueldr> and they often are useless when out of the box without such a pairing
<samueldr> which is not good
<samueldr> fun thing, even developing apps for the garmin ecosystem works on linux, and was easy to integrate into nix
<pie_> huuh
<samueldr> installing an app is `cp the-app.dontremember /Volumes/GARMIN/APPS/` or something like that
<samueldr> I was pleasantly surprised
<samueldr> yes, the watch presents a FAT filesystem to interact with
<pie_> probably /join #symbollox
<pie_> whoops
<pie_> dont join that channnel
felixfoertsch23 has quit [Quit: ZNC 1.7.3 - https://znc.in]
felixfoertsch has joined #nixos
<pie_> i wonder if i should just try returning the device
<samueldr> pie_: I know I would, but I don't know your situation
<pie_> alternatively i wonder if i could fake it into thinking its an alta. probably not. and they usually encrypt their device comms
<samueldr> and to be clear, I do not _recommend_ garmin devices, I mostly think they're not bad
<pie_> sidenote: is ths the apple experience?
emptyfl4sk has joined #nixos
<samueldr> hm?
<samueldr> I couldn't say, never lived the apple experience
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/810b2fb4f3e (from 8 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
emptyfl4sk has quit [Ping timeout: 245 seconds]
Rusty1 has quit [Quit: Konversation terminated!]
drakonis1 has quit [Ping timeout: 276 seconds]
domogled has joined #nixos
endformationage has quit [Quit: WeeChat 2.5]
<pie_> hmm windows doesnt seem to see the device
<pie_> maybe no ble driver?
Wharncliffe has quit [Ping timeout: 245 seconds]
DariusTheMede has joined #nixos
<pie_> yep, that was easy. installed ble driver off lenovo page
ottidmes has joined #nixos
<pie_> samueldr super disappointed, i was looking forard to doing some sem-neat stuff with this
<pie_> śemi-neat
<pie_> alternativelyi hijack someone else's phne for the course of setup, but i imagine the device can only be managed over the phone at all
<samueldr> that's likely
oborot has quit [Ping timeout: 245 seconds]
<pie_> sooo...consider: fitbit is selling an online analytics service, not hardware
palo1 has joined #nixos
palo has quit [Ping timeout: 268 seconds]
palo1 is now known as palo
reallymemorable has quit [Quit: reallymemorable]
emptyfl4sk has joined #nixos
<typetetris_> I was invited to the nixos organization on github. Is that the sort of thing that just happens or was it a mistake of someone? (I had no chat regarding this with anybody, nor do I know, what that entails ...)
mdash has quit [Ping timeout: 276 seconds]
typetetris_ is now known as typetetris
<pie_> lmao
<pie_> samueldr samueldr look at this https://stackoverflow.com/a/22604411
zupo has joined #nixos
<iqubic> ,nixosorg
<iqubic> ,,nixorg
<iqubic> How do I trigger the bot?
<iqubic> > nixosorg
<{^_^}> undefined variable 'nixosorg' at (string):263:1
<iqubic> > nixorg
<{^_^}> undefined variable 'nixorg' at (string):263:1
DariusTheMede has quit [Ping timeout: 248 seconds]
ee1943 has quit [Read error: Connection reset by peer]
<iqubic> > nixorg
<{^_^}> undefined variable 'nixorg' at (string):263:1
<iqubic> Sorry about htat.
<typetetris> >nixpkgs.neovim.meta
<iqubic> > nixpkgs.neovim.meta
<{^_^}> undefined variable 'nixpkgs' at (string):263:1
<iqubic> Uh...?!?!
ee1943 has joined #nixos
emptyfl4sk has quit [Ping timeout: 245 seconds]
sm0rux has left #nixos ["WeeChat 2.5"]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<etu> > pkgs.neovim.meta
<{^_^}> { available = <CODE>; description = "Vim text editor fork focused on extensibility and agility"; homepage = "https://www.neovim.io"; hydraPlatforms = <CODE>; license = <CODE>; longDescription = "Neovi...
zupo has joined #nixos
DariusTheMede has joined #nixos
unigram has joined #nixos
abbiya has joined #nixos
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/26f9a8a5738 (from 79 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
DariusTheMede has quit [Ping timeout: 244 seconds]
unigram has quit [Ping timeout: 245 seconds]
<fusion809> I'm trying to update the OpenRA package so that it can use the new build system. The problem is that it depends on the msbuild binary, and I'm having a hard time figuring out how to add it. I've tried adding it to "nativeBuildInputs" and "makeBinPath" in commons.nix (which is what I thought would be required) and I just get the error "undefined variable 'msbuild' at /home/fusion809/GitHub/mine/packaging/nixpkgs/pkgs/games/open
<fusion809> ra/common.nix:66:7" when I try to install it. Is this a simple matter of msbuild being so new to nixpkgs that it's not being detected?
<fusion809> I merged upstream changes into my nixpkgs fork half an hour ago, so it can't be an outdated copy. I also regularly run nix-channel --update.
<{^_^}> [nixpkgs] @mmahut merged pull request #67671 → hubstaff: 1.4.9 -> 1.4.10 → https://git.io/fjx4Y
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjxP2
Okinan has quit [Quit: Konversation terminated!]
hyper_ch2 has joined #nixos
<typetetris> got a 404 on that one, do I have to accept the invitation first to see it?
emptyfl4sk has joined #nixos
<Shados> Maybe. In that case, typetetris, https://github.com/NixOS/rfcs/pull/39
<{^_^}> rfcs#39 (by grahamc, 32 weeks ago, merged): RFC-0039: unprivileged maintainer team
<typetetris> Shados: nice, thanks for the pointer
jtojnar has quit [Remote host closed the connection]
emptyfl4sk has quit [Ping timeout: 246 seconds]
leotaku has quit [Ping timeout: 245 seconds]
growpotkin has quit [Quit: ZNC 1.7.4 - https://znc.in]
alanz has joined #nixos
leotaku has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
growpotk- has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @typetetris opened pull request #67747 → yubico-pam: unstable-2019-03-19 -> unstable-2019-06-01 → https://git.io/fjxP9
detran has quit [Ping timeout: 245 seconds]
rauno has joined #nixos
emptyflask has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @typetetris opened pull request #67748 → Yubico local auth → https://git.io/fjxPH
DariusTheMede has joined #nixos
slack1256 has quit [Ping timeout: 244 seconds]
vyorkin has joined #nixos
hyper_ch2 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @dywedir merged pull request #67721 → plex-media-player: 2.36.0.988 -> 2.40.0.1007 → https://git.io/fjxwK
<{^_^}> [nixpkgs] @dywedir pushed 2 commits to master: https://git.io/fjxPx
tmaekawa has quit [Quit: tmaekawa]
hyper_ch2 has joined #nixos
bodqhrohro has joined #nixos
lejonet has quit [Ping timeout: 258 seconds]
slack1256 has joined #nixos
polman has quit [Ping timeout: 245 seconds]
zemm_ has joined #nixos
hyper_ch2 has quit [Remote host closed the connection]
wfranzini has joined #nixos
bodqhrohro_ has quit [Ping timeout: 252 seconds]
zemm has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @dywedir merged pull request #67729 → ffsend: v0.2.50 -> v0.2.51 → https://git.io/fjxKf
<{^_^}> [nixpkgs] @dywedir pushed 2 commits to master: https://git.io/fjxXL
lejonet has joined #nixos
asymptotically has joined #nixos
emptyfl4sk has joined #nixos
DariusTheMede has quit [Ping timeout: 245 seconds]
mrCyborg has quit [Remote host closed the connection]
mrCyborg has joined #nixos
Tucky has joined #nixos
slack1256 has quit [Ping timeout: 272 seconds]
cfricke has joined #nixos
emptyfl4sk has quit [Ping timeout: 248 seconds]
<pie_> samueldr i got forwarding bluetooth working in an android vm, and dude doesnt want to refund xD
Jackneill has joined #nixos
<pie_> haviing to use the cli for some reason though, the gui doest seem to work for bluetooth :I
bakakuna has joined #nixos
wfranzini has quit [Quit: wfranzini]
wfranzini1 has joined #nixos
wfranzini1 is now known as wfranzini
zemm_ is now known as zemm
<teto> unstable got cabal 3 which causes problem with haskell-ide-engine. any tip to revert to cabal 2 ?
leotaku_ has joined #nixos
leotaku has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @markuskowa opened pull request #67749 → targetcli: 2.1.fb49 -> 2.1.50 → https://git.io/fjxX4
zupo has joined #nixos
bakakuna has quit [Ping timeout: 258 seconds]
emptyfl4sk has joined #nixos
unigram has joined #nixos
cfricke has quit [Quit: WeeChat 2.5]
emptyfl4sk has quit [Ping timeout: 268 seconds]
hmpffff has joined #nixos
vyorkin has quit [Ping timeout: 244 seconds]
unigram has quit [Ping timeout: 245 seconds]
korbendallaskoop has joined #nixos
dansho has quit [Ping timeout: 258 seconds]
domogled has quit [Ping timeout: 248 seconds]
noudle has joined #nixos
thc202 has joined #nixos
lejonet has quit [Ping timeout: 244 seconds]
tiAy has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @peti merged pull request #67228 → Pass hoogle-local's buildCommand as a file. → https://git.io/fjbpg
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/fjxXP
hyper_ch2 has joined #nixos
hyper_ch2 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @misuzu opened pull request #67751 → slimlock fix (#67350) → https://git.io/fjxXX
domogled has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/5c20107e626 (from 64 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
o1lo01ol1o has joined #nixos
lejonet has joined #nixos
rople has joined #nixos
fusion809 has quit [Remote host closed the connection]
fusion809 has joined #nixos
rople has quit [Client Quit]
fusion809 has quit [Remote host closed the connection]
o1lo01ol1o has quit [Ping timeout: 268 seconds]
korbendallaskoop has quit [Read error: Connection reset by peer]
fusion809 has joined #nixos
korbendallaskoop has joined #nixos
DariusTheMede has joined #nixos
hyper_ch2 has joined #nixos
hyper_ch2 has quit [Remote host closed the connection]
hyper_ch2 has joined #nixos
hyper_ch2 has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @mmahut merged pull request #67658 → lsof: 4.91 -> 4.93.2 → https://git.io/fjxZz
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjxXd
joshuagl has joined #nixos
sigmundv_ has joined #nixos
ng0 has joined #nixos
hyper_ch2 has joined #nixos
hyper_ch2 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @mmahut merged pull request #67677 → escrotum: 2017-01-28 -> 2019-06-10 → https://git.io/fjx4X
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjxXp
<{^_^}> [nixpkgs] @mmahut merged pull request #67647 → one_gadget: 1.6.2 → 1.7.2 → https://git.io/fjx39
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjxXj
<{^_^}> [nixpkgs] @mmahut merged pull request #67662 → evcxr: 0.4.3 -> 0.4.4 → https://git.io/fjxn1
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjx1v
<{^_^}> [nixpkgs] @mmahut merged pull request #67683 → rxvt_unicode: add rnhmjoj as maintainer → https://git.io/fjxRE
<{^_^}> [nixpkgs] @mmahut pushed 3 commits to master: https://git.io/fjx1f
<{^_^}> [nixpkgs] @peti merged pull request #67708 → NixOS module for GNU Mailman Core → https://git.io/fjxaR
<{^_^}> [nixpkgs] @peti pushed 2 commits to master: https://git.io/fjx1J
<{^_^}> [nixpkgs] @mmahut merged pull request #67682 → waybar: 0.7.2 -> 0.8.0 → https://git.io/fjxBr
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjx1I
dansho has joined #nixos
byteflam1 has joined #nixos
<{^_^}> [nixpkgs] @mmahut merged pull request #67672 → kea: 1.5.0 -> 1.5.0-P1 (security) → https://git.io/fjx4O
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjx1t
<{^_^}> [nixpkgs] @mmahut merged pull request #67723 → plex: 1.16.5.1488 -> 1.16.5.1554 → https://git.io/fjxrc
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjx1m
o1lo01ol1o has quit [Remote host closed the connection]
byteflam1 has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @mmahut merged pull request #67724 → irssi: 1.2.1 -> 1.2.2 (CVE-2019-15717) → https://git.io/fjxrW
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjx13
Chiliparrot has joined #nixos
orivej has joined #nixos
sigmundv_ has quit [Remote host closed the connection]
spinus has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @fadenb opened pull request #67752 → python: phonenumbers: 8.10.16 -> 8.10.17 → https://git.io/fjx1G
<{^_^}> [nixpkgs] @mmahut merged pull request #67674 → [19.03] kea: 1.5.0 -> 1.5.0-P1 (security) → https://git.io/fjx4Z
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to release-19.03: https://git.io/fjx1n
sigmundv has joined #nixos
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @mmahut merged pull request #67685 → cargo-bloat: 0.8.2 -> 0.8.3 → https://git.io/fjx0G
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjx1l
o1lo01ol1o has quit [Remote host closed the connection]
aswanson has quit [Quit: WeeChat 2.4]
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @mmahut merged pull request #67740 → pithos: 1.1.2 -> 1.4.1 → https://git.io/fjx67
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjx12
<{^_^}> [nixpkgs] @mmahut merged pull request #67743 → gradle: 5.3.1 -> 5.6.1 → https://git.io/fjxiW
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjx1a
korbendallaskoop has quit [Ping timeout: 246 seconds]
korbendallaskoop has joined #nixos
<{^_^}> [nixpkgs] @mmahut merged pull request #67578 → gcc-arm-embedded: 8-2018-q4-major -> 8-2019-q3-update → https://git.io/fjAbp
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjx1w
timon37 has joined #nixos
o1lo01ol1o has quit [Ping timeout: 248 seconds]
philr has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
o1lo01ol1o has joined #nixos
armin has joined #nixos
nick_a_naggin has joined #nixos
korbendallaskoop has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @mmahut merged pull request #67745 → robo3t: 1.1.1 -> 1.3.1 → https://git.io/fjxig
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjx1D
hyper_ch2 has joined #nixos
b-m-f[m] has joined #nixos
ThatDocsLady has joined #nixos
asheshambasta has joined #nixos
<asheshambasta> how does one install a specific version of emacs on nixos?
<ldlework> with style!
<asheshambasta> ldlework: I thought so :-)
<ldlework> asheshambasta: first learn nixlang, then learn the ins and outs of the module system, then understand the override system, and then take a vacation
<asheshambasta> ldlework: sounds like a plan
<asheshambasta> let me rephrase: how does one install a specific version of emacs on nixos, within, say, an hour or so?
* ldlework scoffs.
byteflam1 has joined #nixos
* asheshambasta waits
domogled1 has joined #nixos
domogled has quit [Read error: Connection reset by peer]
domogled1 is now known as domogled
<asheshambasta> ldlework: or is there a place where I can read up and hack something up for now
byteflam1 has quit [Ping timeout: 245 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
alex`` has joined #nixos
Philonous has quit [Quit: ZNC - http://znc.in]
Philonous has joined #nixos
<allan> I am on macOS and can run: “nix-shell -p darwin.trash” which gives me the os-specific trash command. But if I run “nix-env -i darwin.trash” then I get this error: selector 'darwin.trash' matches no derivations
<allan> Can someone explain to me how I am supposed to install ‘trash’?
nick_a_naggin has quit [Ping timeout: 258 seconds]
ctrlshiftPrhaps has joined #nixos
<immae> allan: can you try `nix-env -i -f "<nixpkgs>" -A darwin.trash` ?
<immae> nix-env doesn’t work exactly the same way as other nix-foo* commands
<allan> immae: installing 'trash-0.9.2' ← that worked, thanks!
<immae> :+1:
<allan> I have another problem :)
<allan> I have installed libressl
<allan> but its include dir does not show up under ~/.nix-profile/include
<allan> however, if I do nix-shell -p libressel it does add the include to NIX_CFLAGS_COMPILE
<immae> can you check that you really installed it? do you have ~/.nix-profile/lib/libressl.so (or whatever the name)?
fusion809 has quit [Remote host closed the connection]
<immae> (or nix-env --query --installed)
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<allan> immae: the last command does show libressl-3.0.0
hyper_ch2 has quit [Remote host closed the connection]
<allan> however, there is nothing with ‘ssl’ in its name under ~/.nix-profile
<allan> so not the shared/static library either
<immae> ok
<allan> it appears what gets installed is 4waz4k9c3xj83lp8q2lsfdi8569jyy5l-libressl-3.0.0-bin
<allan> and I want the -dev version
<allan> but there is no specific package for -dev
<allan> (and when using nix-shell, I do get the -dev stuff installed)
<immae> what if you install libressl.dev instead of libressl?
<immae> (I’m not sure of the syntax to select a different output)
<adisbladis> Don't install libraries using nix-env.
<adisbladis> ,libraries
<{^_^}> Don't install libraries through nix-env or systemPackages, use nix-shell instead. See https://nixos.wiki/wiki/FAQ/Libraries for details.
korbendallaskoop has joined #nixos
ctrlshiftPrhaps has quit [Ping timeout: 268 seconds]
emptyfl4sk has joined #nixos
<allan> adisbladis / {^_^}: I understand the philosophy, but this is not practical for my setup, as I run my builds from a graphical editor that cannot easily go via nix-shell for starting builds
<allan> so is there a way to get libressl’s includes installed into my user’s nix-profile?
<immae> allan: libressl.dev works :p
<adisbladis> allan: Square peg, meet round hole.
<adisbladis> The way you want to do things is not supported.
<adisbladis> allan: You could probably work around the issue in some way. What editor are you using?
<allan> immae: as in: nix-env -i -f "<nixpkgs>" -A libressl.dev
<allan> ?
<immae> yes
<allan> it does install, but no include shows up for me
emptyfl4sk has quit [Ping timeout: 244 seconds]
<adisbladis> immae: Stop giving bad advice.
<asheshambasta> So, is there some way I can install a specific version of emacs on NixOS?
<allan> adisbladis: yes, I could have all my builds call nix-shell instead of make, ninja, cmake, or whatever is currently used for that project, but I would rather not tie all my private projects to nix-shell like that, at least not at the moment where I am simply testing of nix can work for my needs
<adisbladis> asheshambasta: Yes there is, what do you want to achieve?
<allan> I did not read the “do not install libraries globally” as a technical limitation of nix, but simply a good practice to improve isolation
<asheshambasta> adisbladis: I'd like to install emacs 26.3
nschoe has joined #nixos
<adisbladis> allan: nix-shell does more than nix-env
<adisbladis> A typical nix-shell workflow is not to call out to nix-shell _instead_ of make/ninja/cmake but to use a shell to provide these tools + libraries
<immae> adisbladis: well, your advice works when you are in a global nix environment, which may be what your philosophy wants to achieve, but as far as I understand it’s not what allan wants, he just wants a folder with includes in it, so I’m trying to help as best as I can considering that.
<adisbladis> immae: Huh? "global nix environment"
<adisbladis> What does that even mean?
<immae> a working environment where nix is "everywhere"
<adisbladis> asheshambasta: You could fetch master and get emacs from there, or just wait until the unstable channel progresses
<allan> adisbladis: the problem is that I am using a GUI editor on macOS, so a build means running e.g. make in a new shell, which is why I say I would have to replace the call to ‘make’ with a call to ‘nix-shell’ (and create a default.nix for the project)
<adisbladis> allan: Which editor? There are likely ways to solve this with much less friction.
nschoe has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @lsix opened pull request #67753 → findutils: 4.6.0 -> 4.7.0 → https://git.io/fjxMA
korbendallaskoop has quit [Remote host closed the connection]
korbendallaskoop has joined #nixos
<allan> adisbladis: what you propose is to create a default.nix for the project, then run “nix-shell” in that project, and then issue the build commands (making use of the NIX_* environment variables), right?
<adisbladis> allan: Yes, but also
<adisbladis> I want to know what editor you're using so we can figure out a way to make your editor nix-aware
<{^_^}> [hydra] @knl opened pull request #676 → Add Term::Size::Any → https://git.io/fjxMh
<adisbladis> Personally I'm using a combination of direnv + emacs-direnv to get my nix tooling inside emacs
<adisbladis> There are similar solutions for a lot of editors
<allan> adisbladis: appreciated, but I know how I *could* make it work with the nix-shell approach, and that is not something I want to pursue now, right now I would rather now why it is I cannot install libressl.dev for my user’s profile
<allan> adisbladis: it’s a GUI edtior on macOS (TextMate) this means there is no long-running shell that build commands are executed in
<allan> so each time a project is built, a new shell is spawned
<immae> allan: the reason why my suggestion didn’t work is this bug: https://github.com/NixOS/nix/issues/2505 .
<{^_^}> nix#2505 (by janpath, 43 weeks ago, open): nix-env -iA pathToPkg.output should install output instead of in pathToPkg.meta.outputsToInstall
<adisbladis> allan: Neither has emacs
korbendallaskoop has quit [Read error: Connection reset by peer]
<immae> other than that, I won’t argue now about the rest, I let adisbladis help you with his way
<adisbladis> In any case your approach is wrong
<allan> immae: thanks :)
<adisbladis> And it _will_ break down in various ways
<adisbladis> If you want to use nix, use the nix way
<allan> adisbladis: I understand you want to help me do things the “nix way”
<allan> but I do understand *why* it is preferred to use nix-shell and dependency isolation, pure environments etc.
<adisbladis> allan: It's not just about what I want, it's that the way you want to do things doesn't work.
<adisbladis> And if it does for some things that should be considered mostly coincidental.
hyper_ch2 has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
korbendallaskoop has joined #nixos
nschoe has joined #nixos
<hyper_ch2> hmmm, does nixos already have those dovecot patches?
<allan> adisbladis: I am glad that immae pointed me to the GitHub issue, because quite frankly, nix can seem rather opaque, when I can install darwin.trash with nix-shell but not with nix-env, and when I can install library headers for some libraries, but not for other libraries, and I then come asking here to improve my understanding of what goes on behind the scenes, and I am just that I shouldn’t do what I am doing: Obviously nix *should* work as
<allan> I expect, it might not be recommended, but point me to the FAQ and let me make my own judgement about whether or not I want to put library includes in ~/.nix-profile/include or only expose them to the projects that need these libraries
<allan> As I already mentioned, my environment is not so that nix-shell is ideal to use, and I am also in my very early stage of nix where I just want to play around with things and get a feel for it, and when things suddenly does not work as expected, I would rather know why they do not work as expected, rather than just “don’t do that”
nschoe has quit [Read error: Connection reset by peer]
emptyfl4sk has joined #nixos
<adisbladis> nix-shell runs the appropriate setup hooks to build software, nix-env does not
<adisbladis> nix-shell pulls in the _build_ closure of a package, nix-env pulls in the _runtime_ closure
<clever> and installing the build deps wont work often
<clever> nix-env wont install headers
<clever> pkgconfig cant find things you install with nix-env
timon37 has quit []
<allan> clever: I’m only installing stuff for my own projects; partly because I need to figure out if nix can actually work for me before I start to update my editor’s build system and do per-project default.nix files, so I don’t care that what I install will not be found by other stuff (like pkgconfig), on the contrary, and once I know nix can work for me, I may move to per-project default.nix
korbendallaskoop has quit [*.net *.split]
alanz has quit [*.net *.split]
mrCyborg has quit [*.net *.split]
leotaku_ has quit [*.net *.split]
ryantrinkle has quit [*.net *.split]
justanotheruser has quit [*.net *.split]
MinceR has quit [*.net *.split]
ikwildrpepper has quit [*.net *.split]
vdemeester has quit [*.net *.split]
Yaniel has quit [*.net *.split]
tpanum- has quit [*.net *.split]
dongcarl has quit [*.net *.split]
MarcWeber has quit [*.net *.split]
wolke has quit [*.net *.split]
Ralith_ has quit [*.net *.split]
not-joepie91 has quit [*.net *.split]
rsa has quit [*.net *.split]
notgne2 has quit [*.net *.split]
recj has quit [*.net *.split]
aw has quit [*.net *.split]
c_wraith has quit [*.net *.split]
tnks has quit [*.net *.split]
angerman has quit [*.net *.split]
vk3wtf has quit [*.net *.split]
kmein has quit [*.net *.split]
ldlework has quit [*.net *.split]
Niall has quit [*.net *.split]
pingu_ has quit [*.net *.split]
johnny101 has quit [*.net *.split]
chris| has quit [*.net *.split]
ArdaXi has quit [*.net *.split]
EsperLily has quit [*.net *.split]
bigvalen has quit [*.net *.split]
Ankhers has quit [*.net *.split]
migy has quit [*.net *.split]
ent has quit [*.net *.split]
superbaloo has quit [*.net *.split]
dhkl_ has quit [*.net *.split]
qyliss has quit [*.net *.split]
h30 has quit [*.net *.split]
tA- has quit [*.net *.split]
cruxeternus has quit [*.net *.split]
jeaye has quit [*.net *.split]
smove has quit [*.net *.split]
hyper_ch2 has quit [*.net *.split]
zemm has quit [*.net *.split]
Mrmaxmeier has quit [*.net *.split]
akamaus has quit [*.net *.split]
lord| has quit [*.net *.split]
glasserc has quit [*.net *.split]
rsoeldner has quit [*.net *.split]
lunik1 has quit [*.net *.split]
tg has quit [*.net *.split]
kini has quit [*.net *.split]
goodwill has quit [*.net *.split]
jaeckel has quit [*.net *.split]
ToxicFrog has quit [*.net *.split]
averell has quit [*.net *.split]
markus1189 has quit [*.net *.split]
barrucadu has quit [*.net *.split]
anderslundstedt has quit [*.net *.split]
Arahael has quit [*.net *.split]
wucke13 has quit [*.net *.split]
wolfshappen has quit [*.net *.split]
WizBright has quit [*.net *.split]
niksnut has quit [*.net *.split]
Yakulu has quit [*.net *.split]
duairc has quit [*.net *.split]
multun has quit [*.net *.split]
anton has quit [*.net *.split]
benny has quit [*.net *.split]
hyper_ch has quit [*.net *.split]
sdemos-ish has quit [*.net *.split]
n1x_ has quit [*.net *.split]
joko has quit [*.net *.split]
mkaito_ has quit [*.net *.split]
nbp has quit [*.net *.split]
sigtrm has quit [*.net *.split]
Swant has quit [*.net *.split]
nahamu has quit [*.net *.split]
marcusr has quit [*.net *.split]
Cheery has quit [*.net *.split]
ben has quit [*.net *.split]
immae has quit [*.net *.split]
qqq has quit [*.net *.split]
cross has quit [*.net *.split]
metaglog has quit [*.net *.split]
Maxdamantus has quit [*.net *.split]
pingu_ has joined #nixos
ent has joined #nixos
recj has joined #nixos
sigtrm has joined #nixos
vdemeester has joined #nixos
cruxeternus has joined #nixos
MarcWeber has joined #nixos
aw has joined #nixos
not-joepie91 has joined #nixos
Niall has joined #nixos
tnks has joined #nixos
aw has joined #nixos
aw has quit [Changing host]
kmein has joined #nixos
korbendallaskoop has joined #nixos
rsa has joined #nixos
EsperLily has joined #nixos
ArdaXi has joined #nixos
<allan> but based on what adisbladis I can’t do this at all, if packages are by design made so that includes etc. won’t be installed via nix-env
angerman has joined #nixos
smove_ has joined #nixos
h30 has joined #nixos
migy has joined #nixos
dongcarl has joined #nixos
Yaniel has joined #nixos
Ralith_ has joined #nixos
not-joepie91 has joined #nixos
not-joepie91 has quit [Changing host]
dansho has quit [Remote host closed the connection]
ArdaXi has joined #nixos
ArdaXi has quit [Changing host]
jeaye has joined #nixos
superbaloo has joined #nixos
<allan> this makes me wonder though, why *do* some packages install stuff into ~/.nix-profile/include ?
ryantrinkle has joined #nixos
<allan> are these packages wrongly designed?
vk3wtf has joined #nixos
dansho has joined #nixos
notgne2 has joined #nixos
<allan> (packages I install via nix-env)
<adisbladis> allan: No, consider it coincidental
<clever> probably bugs in those packages
<clever> gcc also wont look in that directory
bigvalen has joined #nixos
MinceR has joined #nixos
emptyfl4sk has quit [Ping timeout: 296 seconds]
MinceR has joined #nixos
MinceR has quit [Changing host]
johnny101 has joined #nixos
c_wraith has joined #nixos
qyliss has joined #nixos
ikwildrpepper has joined #nixos
o1lo01ol1o has joined #nixos
hyper_ch2 has joined #nixos
ikwildrpepper has quit [Client Quit]
<allan> adisbladis: that makes no sense to me (to consider it coincidental) — either ~/.nix-profile/include has a defined purpose or it should not exist
tpanum has joined #nixos
ikwildrpepper has joined #nixos
alanz_ has joined #nixos
akamaus has joined #nixos
wucke13 has joined #nixos
goodwill has joined #nixos
hyper_ch has joined #nixos
wolke has joined #nixos
anton has joined #nixos
chris| has joined #nixos
dhkl has joined #nixos
wolfshappen has joined #nixos
justanotheruser has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<emily> it's probably just package bugs as a result of nobody trying to install library packages globally since that's not what you do in Nix
<DariusTheMede> I am trying to build the haskell package llvm-hs
<allan> clever: you are of course talking about *default* behavior — I can add -I$HOME/.nix-profile/include as an environment variable to have compilers find includes there, which is *a lot* simpler than having to change everything to use nix-shell (on macOS with a GUI editor)
<DariusTheMede> afaics it's building LLVM :(
<DariusTheMede> Is there any way of getting a cached version of LLVM?
benny has joined #nixos
anderslundstedt has joined #nixos
nbp has joined #nixos
ben_ has joined #nixos
kgz has quit [Ping timeout: 268 seconds]
barrucadu has joined #nixos
joko has joined #nixos
barrucadu has joined #nixos
barrucadu has quit [Changing host]
immae has joined #nixos
zemm has joined #nixos
Maxdamantus has joined #nixos
benny is now known as Guest81054
ldlework has joined #nixos
niksnut has joined #nixos
nahamu has joined #nixos
korben_ has joined #nixos
cross has joined #nixos
Cheery has joined #nixos
duairc has joined #nixos
markus1189 has joined #nixos
lord| has joined #nixos
<{^_^}> [nixpkgs] @taku0 opened pull request #67754 → thunderbird, thunderbird-bin: 60.8.0 -> 68.0 → https://git.io/fjxD0
leotaku has joined #nixos
xkapastel has joined #nixos
<adisbladis> emily: I'm just guessing that it's non-split outputs that are installing the `include` directory in $out
<adisbladis> And then the symlinking mechanism that creates ~/.nix-profile is generic and doesn't care about _what_ it's linking
<emily> aren't only directories that are "opted into" merged, though? like you have to opt in to having /usr/share on nixos
<adisbladis> So I'm not even sure it's a packaging bug, just a coincidence
<emily> maybe it's different for nix-env...
korbendallaskoop has quit [Ping timeout: 245 seconds]
glasserc has joined #nixos
WizBright has joined #nixos
metaglog has joined #nixos
mkaito_ has joined #nixos
<emily> allan: honestly I just think if you continue down this path it'll probably be consistently frustrating (esp. since there's no documentation on using Nix this way) and you'll end up with no real reason to be using Nix rather than Homebrew or something?
jaeckel has joined #nixos
<emily> you can maybe hack it into sort of working
Swant has joined #nixos
kini has joined #nixos
<adisbladis> emily: Not different, the only thing in `include` are things that I pull in for their binaries (like mpv, graphviz, etc)
<adisbladis> It just happens to be that these have include in $out
<DariusTheMede> LLVM has built about 6% of itself in 5 minutes so unless I can find a cache I think I am looking at about an hour for it to build :(
<emily> *nod*
<adisbladis> If it was a split output derivation there would be no `include`
domogled has quit [Ping timeout: 246 seconds]
<adisbladis> allan: So indeed it's a coincidence and not even a packaging bug
kgz has joined #nixos
<allan> adisbladis: I would definitely classify it as a UX issue that should be addressed
<adisbladis> ¯\_(ツ)_/¯
<adisbladis> I wouldn't say so
tg has joined #nixos
<allan> adisbladis: I took all my homebrew packages and installed them via nix (first step was to see if nix can provide parity with homebrew, before retiring the latter), for 1 of the 8 or so libraries I installed, the headers were missing, and that was very puzzling to me; I would argue either nix should have installed headers for all 9 libraries, or it should have refused to install libraries globally for all 9, if the system is really by design no
<allan> t allowing a “global” build environment
<adisbladis> Nix is not homebrew.
<allan> adisbladis: what I am saying now is that you have a user experience issue
<allan> nix-env is inconsistent about how it deals with libraries
<allan> and that is causing confusing
<allan> do you not think that can be improved for the end user?
multun has joined #nixos
marcusr has joined #nixos
marcusr has joined #nixos
marcusr has quit [Changing host]
qqq has joined #nixos
Arahael has joined #nixos
__monty__ has joined #nixos
ToxicFrog has joined #nixos
n1x_ has joined #nixos
domogled has joined #nixos
<__monty__> How feasible is using syslinux rather than grub? Is there any support from nix or would it be completely manual?
philr has quit [Ping timeout: 246 seconds]
fendor has joined #nixos
<{^_^}> [nixpkgs] @xrelkd opened pull request #67755 → parity: 2.5.6 -> 2.5.7, parity-beta: 2.6.1 -> 2.6.2 → https://git.io/fjxDi
<clever> __monty__: i think this bootloader option generates config files compatible with syslinux, but youll need to install the bootloader yourself
<hyperfekt> Is there any way to get the evaluation dependencies of an instantiation? Meaning all derivations that are used in creating a derivation?
<__monty__> clever: Yeah, I was looking at that. Good to know though.
bakakuna has joined #nixos
<__monty__> If I wanted to add proper support for syslinux is there any simple/quick way to test the bootloader? A persistent live usb or something?
o1lo01ol1o has joined #nixos
fusion809 has joined #nixos
<DariusTheMede> 15% of LLVM is built so I think I am now looking at 2 hours for the build :( :( :(
abbiya has quit [Quit: abbiya]
<clever> __monty__: my kexec test stuff
psyanticy has joined #nixos
<clever> __monty__: https://github.com/NixOS/nixpkgs/issues/67707 this has directions on how to use my `simple-test.nix` to automate installing nixos and testing that it can boot
<{^_^}> #67707 (by johnalotoski, 17 hours ago, open): Boot-loader nixos-rebuild switch with unexpected behavior
<clever> __monty__: you might also be able to use the test stuff already in nixos/tests on nixpkgs
<{^_^}> [nixpkgs] @globin merged pull request #67676 → kinetic-cpp-client: use openssl_1_0_2 → https://git.io/fjx4w
<{^_^}> [nixpkgs] @globin pushed 2 commits to master: https://git.io/fjxD7
iyzsong has joined #nixos
<arianvp> funny question
<arianvp> nevermind
<allan> I’m looking at nix-shell for running my builds, given that this is the only way to access library headers, but there’s a bit of a problem in that I am using ‘ninja’ as build system, this is like make, but it does not support environment variables
korben_ has quit [Ping timeout: 245 seconds]
<allan> i.e. it expects the ./configure phase to read all the environment variables and then generate the ninja file with static values
ericsagnes has joined #nixos
korben_ has joined #nixos
<allan> this is both for performance and somewhat deterministic builds
unigram has joined #nixos
<allan> (e.g. an environment variable can be changed from one invocation to another, which could mean a completely different build)
<allan> so if I were to use nix-shell for my projects that use ninja, I would basically have to run ./configure each time I start a new shell?
<allan> given that I don’t have a long-living shell (but spawn a new one for each build) this is rather impractical
<allan> did I get that right?
ossus has joined #nixos
hyper_ch2 has quit [Remote host closed the connection]
<clever> allan: you must run ninja under nix-shell also, and ninja does work inder nix
<clever> allan: if the inputs to the nix expr havent changed, you dont have to re-run ninja
iyzsong has quit [Quit: ZNC 1.7.1 - https://znc.in]
nixon has joined #nixos
nixon has quit [Remote host closed the connection]
<allan> clever: yes, I would have to run nix-shell, ./configure, and then ninja
<allan> the problem is that my nix-shell instance is short-lived
<__monty__> clever: So you'd make an install image every time, install it to a machine and then run those tests?
<allan> each time I hit command-B in my editor it spawns a new shell to run ‘ninja’
<clever> __monty__: yeah, simple-test.nix also automates booting it in qemu
iyzsong has joined #nixos
<allan> which I would have to change to: nix-shell --run './configure && ninja'
<clever> allan: what if you ran your whole editor inside nix-shell?
<allan> clever: this is macOS and a GUI editor
<allan> so not possible
<allan> (GUI apps are not launched with a shell as parent process)
<clever> allan: gui programs can be ran from a terminal
<clever> nothing stops you from doing that
nick_a_naggin has joined #nixos
korben_ has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @aanderse merged pull request #67715 → citrix_workspace: add 1908 (`citrix_workspace_19_8_0`) → https://git.io/fjxVP
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to master: https://git.io/fjxyq
<allan> clever: the design of macOS is so that GUI apps should *not* be child processes of a shell, for example it would mean that the GUI app would inherit the shell’s entitlements (like access to OS services), which could be an issue
l33nix has joined #nixos
domogled has quit [Ping timeout: 268 seconds]
iqubic has quit [Ping timeout: 276 seconds]
l33nix has quit [Client Quit]
<{^_^}> [nixpkgs] @taku0 opened pull request #67756 → firefox-bin: add maintainer → https://git.io/fjxys
fusion809 has quit [Remote host closed the connection]
drakonis has joined #nixos
drakonis has quit [Read error: Connection reset by peer]
drakonis1 has joined #nixos
liif is now known as liff
domogled has joined #nixos
drakonis_ has quit [Ping timeout: 245 seconds]
o1lo01ol1o has quit [Ping timeout: 268 seconds]
o1lo01ol1o has joined #nixos
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/d53420e3302 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/d53420e3302 (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
<{^_^}> [nixpkgs] @mmahut merged pull request #67333 → yq-go: init at 2.4.0 → https://git.io/fjN0M
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjxyB
<allan> adisbladis: didn’t you say that you also had short-lived nix-shell instances for your builds (called from emacs)? but perhaps your build-system does not require an “expensive” configure phase for the potentially changed environment variables
<{^_^}> [nixpkgs] @jagajaga merged pull request #67739 → libhandy: 0.0.10. -> 0.0.11 → https://git.io/fjx6R
<{^_^}> [nixpkgs] @jagajaga pushed 2 commits to master: https://git.io/fjxy0
zupo has joined #nixos
<{^_^}> [nixpkgs] @Kjuvi opened pull request #67757 → ephemeral: 5.2.1 -> 5.3.0 → https://git.io/fjxyu
drakonis1 has quit [Read error: Connection reset by peer]
drakonis has joined #nixos
<symphorien> allan: if you don't change your shell.nix, your nix-shell environment won't change so you don't need to rerun ./configure
<symphorien> allan: for emacs people seem to use direnv
<{^_^}> [nixpkgs] @etu opened pull request #67758 → Init usbtop → https://git.io/fjxyV
nschoe has joined #nixos
steell has joined #nixos
<allan> symphorien: but then it’s actually redundant to go through nix-shell
<{^_^}> [nixpkgs] @eadwu closed pull request #66597 → nvidia_x11_beta: stable -> 435.17 → https://git.io/fj5yS
<{^_^}> [nixpkgs] @aanderse merged pull request #67712 → starship: 0.12.0 -> 0.13.1 → https://git.io/fjxVU
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to master: https://git.io/fjxyo
<symphorien> No because nix's cc simply does not work outside of nix-shell
<allan> so basically I would do ‘nix-shell --run configure’ and then just ninja w/o any nix-shell, and I would re-run nix-shell only if updating libraries or making changes to shell.nix
<allan> oh…
<{^_^}> [nixpkgs] @lebastr opened pull request #67759 → colmap: init at 3.5 → https://git.io/fjxyK
<symphorien> allan: maybe have a look at direnv and (if it is too slow) lorri
<symphorien> And see if your fancy editor has integration for direnv
<symphorien> This is how emacs people do it
nick_a_naggin has quit [Ping timeout: 245 seconds]
<__monty__> Does lorri speed up direnv? I thought it just watched shell.nix for changes?
<{^_^}> [nixpkgs] @Rakesh4G opened pull request #67760 → python3Packages.opentracing: init at 2.2.0 → https://git.io/fjxy1
freeman42x[NixOS has joined #nixos
<freeman42x[NixOS> I am using the default KDE. Is there any way to allow re-ordering of taskbar items?
<symphorien> __monty__: never used it myself, but it also caches evaluation
reallymemorable has joined #nixos
steell has quit [Ping timeout: 245 seconds]
<aanderse> freeman42x[NixOS: i just drag them and that works
<aanderse> might be an option...
<{^_^}> [nixpkgs] @eadwu opened pull request #67762 → nvidia_x11: 430.40 -> 435.21 → https://git.io/fjxyH
<{^_^}> [hydra] @edolstra merged pull request #676 → Add Term::Size::Any → https://git.io/fjxMh
<{^_^}> [hydra] @edolstra pushed 2 commits to master: https://git.io/fjxyh
emptyfl4sk has joined #nixos
domogled has quit [Ping timeout: 258 seconds]
nick_a_naggin has joined #nixos
domogled has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to master « python-HyperKitty: initial version 1.2.2 »: https://git.io/fjxSt
<freeman42x[NixOS> aanderse, dragging them does not work for me
<freeman42x[NixOS> I obviously tried that lol
<aanderse> yeah, i figured, but just saying it can work
emptyfl4sk has quit [Ping timeout: 268 seconds]
zupo has quit [Read error: Connection reset by peer]
bakakuna has quit [Ping timeout: 244 seconds]
zupo has joined #nixos
freeman42x[NixOS has quit [Remote host closed the connection]
hatefulmoron has joined #nixos
<{^_^}> [nixpkgs] @jonasnick opened pull request #67763 → clightning: 0.7.1 -> 0.7.2.1 → https://git.io/fjxSB
nschoe has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « haskell-hpack: enable the test suite again »: https://git.io/fjxSu
aswanson has joined #nixos
hyper_ch2 has joined #nixos
<hyperfekt> Any way to check if a derivation has a path without creating another derivation to check? pathExists is impure, I think.
<hatefulmoron> hi, does anybody know why running `nix-shell -p guile -p guile-gnome --run "guile -c '(use-modules (gnome gobject))'"` results in guile being unable to find the gnome modules? (`no code for module (gnome gobject)`). guile-gnome should expose this module, among others (https://www.gnu.org/software/guile-gnome/documentation.html). The ncurses package
<hatefulmoron> doesn't have this issue.
mdash has joined #nixos
ctrlshiftPrhaps has joined #nixos
v0|d has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « haskell-hpack: enable the test suite again »: https://git.io/fjxSK
nick_a_naggin has quit [Ping timeout: 246 seconds]
<v0|d> hello, anybody has a installer for ppc?
freeman42x[NixOS has joined #nixos
<freeman42x[NixOS> any way to install Pea Zip on NixOS?
ossus has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @peti pushed to master « CODEOWNERS: add myself as a reviewer for mail/dns related NixOS modules »: https://git.io/fjxSX
philr has joined #nixos
<__monty__> freeman42x[NixOS: Sure, package it.
<{^_^}> [nixpkgs] @vbgl opened pull request #67764 → coqPackages.stdpp: 1.1 -> 1.2.1; coqPackages.iris: 3.1.0 -> 3.2.0 → https://git.io/fjxSM
tsrt^ has joined #nixos
<freeman42x[NixOS> __monty__, ugh, again, I am just trying to get some solution asap, I will package stuff later maybe
englishm has quit [Excess Flood]
<__monty__> Then install a package manager that has it already packaged.
englishm has joined #nixos
<freeman42x[NixOS> __monty__, how do I do that?
oscarvarto has joined #nixos
polman has joined #nixos
ctrlshiftPrhaps has quit [Ping timeout: 246 seconds]
<__monty__> You can install apt or pacman.
<freeman42x[NixOS> __monty__, oh wow, that is awesome
<freeman42x[NixOS> __monty__, any of them you would recommend more?
<__monty__> It's not really. Your system'll become a mess tbh.
<freeman42x[NixOS> __monty__, so I should NOT install any of them?
<__monty__> It'd be better to run a different distro with its own package manager and then nix on the side.
<freeman42x[NixOS> __monty__, lol
npmccallum_ has joined #nixos
npmccallum has quit [Ping timeout: 246 seconds]
<sphalerite> v0|d: as in a nix installer for powerpc?
<__monty__> I wouldn't really recommend it. You don't sound too experienced when it comes to linux package management so it'll be messy. But you *can* do it.
npmccallum_ is now known as npmccallum
<tilpner> freeman42x[NixOS: Do you just need to extract something quickly? There may be alternative applications that are already packaged
<sphalerite> ^
emptyfl4sk has joined #nixos
<sphalerite> " PeaZip's software sourcesopen source file archiver (LGPL v3) are written in FreePascal, a powerful Open Source cross-platform programming language, and Lazarus IDE is required to compile / build / edit the source code." :|
<sphalerite> that sounds like it would not be fun to package
<__monty__> I've never used peazip so there's definitely alternatives.
<tilpner> At least we already have lazarus, could be worse
<v0|d> sphalerite: yep, I wonder if there is support for it.
<v0|d> sphalerite: a search led to nothing.
<freeman42x[NixOS> __monty__, "You don't sound too experienced when it comes to linux package management" well now... actually you are wrong. I am experienced with those 2 and many others
<freeman42x[NixOS> it just did not occur to me that using them on NisOS would be a good idea
<v0|d> sphalerite: I have an old mac.
<__monty__> freeman42x[NixOS: It's not : ) But you can use any package manager on any distro.
<freeman42x[NixOS> tilpner, I just need a GUI archiver, I am trying Ark now
<tilpner> __monty__: A quick look suggests it brings its own file format
johrmungand has joined #nixos
<sphalerite> v0|d: oh, actual powerpc and not the newer POWER stuff? Yeah that will be, uh, complicated
hyper_ch2 has quit [Remote host closed the connection]
<tilpner> freeman42x[NixOS: gnome3.file-roller too
noudle has quit []
<sphalerite> v0|d: to answer your question more directly: I doubt anyone has a ready-made ppc nix installer. There was an RFC about supporting ppc64 though https://github.com/NixOS/rfcs/pull/31
<v0|d> sphalerite: G5
<{^_^}> rfcs#31 (by CrystalGamma, 1 year ago, closed): [RFC 0031] Support ppc64(le) architecture
<__monty__> There's little endian PPC?
<{^_^}> [nixpkgs] @B4dM4n opened pull request #67765 → mirage: fix build failure → https://git.io/fjxSb
<johrmungand> I installed LXD and I fucked something up and deleteed it from my env.sysPkg and now reinstalled it but it wont let me have the same names for my pool and bridges so is there a way i can purge LXD properly before reinstalling?
<__monty__> johrmungand: You'll probably have to manually remove those.
<oscarvarto> How can I start nix-shell having vscode with HIE (Haskell-Ide-Engine) in path?
<oscarvarto> nix-env -iA selection --arg selector 'p: { inherit (p) ghc865 ghc864 ghc844; }' -f https://github.com/infinisil/all-hies/tarball/master
<oscarvarto> I installed HIE with
nschoe has joined #nixos
ossus has joined #nixos
dhess has joined #nixos
<sphalerite> johrmungand: the first place I'd look for stuff to delete would be /var
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<freeman42x[NixOS> ok, Ark worked great, sticking with it
<johrmungand> __monty__ it wont let me since its a read only file system (where the storage pool is located etc)
<__monty__> Then how did it get created?
<DariusTheMede> I have a haskell package which is marked as broken but when I do `nix-build "../nixpkgs" -A haskellPackages.random-fu-multivariate --arg config '{ allowBroken = true; }'` it builds
<infinisil> oscarvarto: So you want the nix-shell to make hie and vscode available?
<alexarice[m]> DariusTheMede: Maybe look at why it originally marked broken. It's possible that it no longer is broken
<DariusTheMede> alexarice[m]: where do I look?
<evanjs> alexarice[m]: DariusTheMede: this ^
<alexarice[m]> DariusTheMede: you probably need to find the nixpkgs commit where it was marked as broken, I think haskell packages have a central file for marking packages as broken so that might be a bit difficult
<evanjs> alexarice[m]: DariusTheMede: marked broken in 19.03, but not in nixpkgs-unstable
drakonis has quit [Read error: Connection reset by peer]
drakonis has joined #nixos
hyper_ch2 has joined #nixos
<alexarice[m]> evanjs: are you saying it shouldn't be marked broken anymore?
<evanjs> if you want to check for stuff like this easily, you can do, e.g. `nix edit -f channel:nixos-19.03 haskellPackages.random-fu-multivariate` and `nix edit nixpkgs.haskellPackages.random-fu-multivariate`
<DariusTheMede> I think it is *not* broken any more but I am using a pinned nixpkgs
drakonis_ has joined #nixos
<evanjs> alexarice[m]: Right, it is _not_ marked broken in nixpkgs-unstable
<evanjs> But it is marked broken in 19.03
<DariusTheMede> Super! Thanks
emptyfl4sk has quit [Ping timeout: 245 seconds]
<evanjs> A more direct approach: nix eval -f channel:nixos-19.03 haskellPackages.random-fu-multivariate.meta.broken and nix eval nixpkgs.haskellPackages.random-fu-multivariate.meta.broken
<oscarvarto> infinisil, yes! I installed hies with your instructions from https://github.com/Infinisil/all-hies#nix-env-installation in Ubuntu
<evanjs> The second one fails because the broken attribute doesn't exist on the version in nixpkgs-unstable
nschoe has quit [Read error: Connection reset by peer]
<yorick> how do I find gc roots that are keeping a path alive?
<freeman42x[NixOS> just got invited to the NixOS GitHub organization. I feel honored. But what? why? how? I do not want more responsabilities :(
<yorick> /nix/var/nix/profiles/per-user/yorick/nixops/877934f8-a70b-11e4-8d76-08002734fdef-31-link well
drakonis has quit [Ping timeout: 252 seconds]
<samueldr> ,invites freeman42x[NixOS
<{^_^}> samueldr: Did you mean invite?
<{^_^}> freeman42x[NixOS: Invited to join "Nixpkgs Maintainers" on GitHub? For more information, see: https://discourse.nixos.org/t/join-the-package-maintainer-team/3751
<evanjs> yorick: I think it's `ls /nix/var/nix/gcroots/auto -la` ?
drakonis has joined #nixos
johrmungand has quit [Ping timeout: 245 seconds]
<evanjs> I think I was thinking of loose files when you asked. The wiki page is probably more helpful.
ryantrinkle has quit [Ping timeout: 246 seconds]
Okinan has joined #nixos
lunik1 has joined #nixos
<yorick> evanjs: it was not
<yorick> there was something in /nix/var/nix/profiles/per-user/yorick/nixops/, I removed it but it still says the path is active
drakonis_ has quit [Ping timeout: 264 seconds]
<freeman42x[NixOS> how do I set up a .jar file to be launched using java ?
<alexarice[m]> Does anyone know if `nixpkgs-fmt` can be used for `nix-indent-function` in emacs?
<evanjs> yorick: hrmm sometimes I need to use e.g. `nix-store --query --referrers /run/current-system/sw/bin/libreoffice` Not entirely sure if that's what you're looking for
<yorick> evanjs: this path has no referrers
DariusTheMede has quit [Ping timeout: 246 seconds]
<yorick> it is not in nix-store --gc --print-live
<evanjs> yorick: >.> Yeah... I think the last time this happened I just force removed the path.... :D
<yorick> evanjs: with --force?
<yorick> okay now it works
<evanjs> Yeah YMMV and no guarantees on what happens next though *shrugs*
<evanjs> It ended up being fine for me though
<yorick> yeah, it is listed in --print-dead
<yorick> so nix-store --delete is being dumb
<evanjs> Yeah I just tend to err on the side of caution when telling nix I know better :P
DariusTheMede has joined #nixos
<Miyu-chan> Um. I'm confused, but isn't it active because it's in the profile?
<Miyu-chan> Specifically, it's in the profile history.
<Miyu-chan> If you removed it from the profile head.
<{^_^}> [nixpkgs] @artemist opened pull request #67766 → factorio: experimental 0.17.52 → 0.17.66 → https://git.io/fjx9X
<{^_^}> [nixpkgs] @B4dM4n opened pull request #67767 → nomacs: build using Qt mkDerivation (+ translations) → https://git.io/fjx91
<{^_^}> [nixpkgs] @peti pushed to master « nixos/mailman: cosmetic »: https://git.io/fjx9D
<{^_^}> [nixpkgs] @peti pushed to master « nixos/redis: move 'redis_init.service' into the preStart hook of 'redis.service' »: https://git.io/fjx9N
<{^_^}> [nixpkgs] @edolstra merged pull request #67718 → nix{Flakes,Unstable}/update-1 → https://git.io/fjxwE
<{^_^}> [nixpkgs] @edolstra pushed 3 commits to master: https://git.io/fjx9p
orivej has quit [Ping timeout: 268 seconds]
<infinisil> oscarvarto: Do you know how you can write a shell.nix file?
<DariusTheMede> Is nixpkgs-unstable the same as HEAD of nxipkgs?
<oscarvarto> infinisil, I am a beginner, so basically no :(
<oscarvarto> Just found this: https://github.com/cah6/haskell-nix-skeleton
<oscarvarto> maybe I can start from there
emptyfl4sk has joined #nixos
hoijui has joined #nixos
<infinisil> Yeah that might not be a bad start
<infinisil> Though a shell.nix with just hie and vscode can be much simpler
<infinisil> But if you want haskell dependencies for a project, you'll need something like the thing you linked
zupo has joined #nixos
<{^_^}> [nixpkgs] @peti opened pull request #67768 → nixos/redis: disable transparent huge pages (TLP) before starting Redis → https://git.io/fjxHU
<pie_> ...does nix work on android
freeman42x[NixOS has quit [Quit: Leaving]
<pie_> apparently yes
* pie_ preps for another yak shave
<oscarvarto> infinisil, is there a better skeleton out there?
<infinisil> oscarvarto: I haven't come accross a good minimal one, all of them seem to add a bunch of stuff one doesn't necessarily need
<infinisil> I'll probably write one myself in the future, also because I need it myself
<alexarice[m]> DariusTheMede: not quite, see pkgs/top-level/python-packages.nix
emptyfl4sk has quit [Ping timeout: 245 seconds]
<alexarice[m]> sorry that's the wrong link
freeman42x[NixOS has joined #nixos
equivrel has joined #nixos
<infinisil> oscarvarto: But I guess it should work as a start
<oscarvarto> infinisil, how could I add vscode with hie in path there?
<infinisil> oscarvarto: And here is an example of an expression for getting vscode with the hie plugin (might be an older version): vscode-with-extensions.override { vscodeExtensions = with vscode-extensions; [ alanz.vscode-hie-server ] ++ vscode-utils.extensionsFromVscodeMarketplace [{ name = "language-haskell"; publisher = "justusadam"; version = "2.6.0"; sha256 = "1891pg4x5qkh151pylvn93c4plqw6vgasa4g40jbma5xzq8pygr4";
<infinisil> }]; }
<infinisil> Adding that to the buildInputs might do it :)
hyper_ch2 has quit [Remote host closed the connection]
philr has quit [Ping timeout: 245 seconds]
hatefulmoron has quit [Remote host closed the connection]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/3f8ac3f78d4 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<equivrel> Hi, are there any materials about how best to start contributing to nixpkgs: in particular things like testing/reviewing PRs, which I assume is the most useful thing, other than making PRs to add/upgrade/fix packages that I use? It would be neat if there was some way to subscribe to PRs that are relevant to me
<equivrel> I'm unsure about things like: what sort of testing is actually useful, what sort of things to look for when reviewing, etc.
<{^_^}> [nixpkgs] @andir opened pull request #67769 → google-cloud-cpp: 0.11.0 -> 0.12.0 → https://git.io/fjxHs
pycer has joined #nixos
endformationage has joined #nixos
pycer has quit [Remote host closed the connection]
<equivrel> alexarice: ah great, thanks
judson_ has joined #nixos
dansho has quit [Remote host closed the connection]
judson has quit [Ping timeout: 276 seconds]
dansho has joined #nixos
domogled has quit [Ping timeout: 244 seconds]
<freeman42x[NixOS> I installed steam on NixOS but I can't find the executable for it
<freeman42x[NixOS> how do I run it?
<pie_> bbigras hey do you know how to use https://github.com/t184256/nix-on-droid-app
<bbigras> pie_: I tried it recently. I think it's pretty easy but some rust app didn't run
<infinisil> freeman42x[NixOS: It should be named `steam`, so you must've done something wrong
<bbigras> I installed it an ran the recommended command
<alexarice[m]> freeman42x[NixOS: It even has a desktop item
<freeman42x[NixOS> infinisil, I do not know how I could have possibly screw installing it. I just do not see it in the KDE search thingie
<freeman42x[NixOS> alexarice[m], it did not create any desktop item
<Miyu-chan> How does the KDE architecture work in NixOS? Does it use /nix/var/nix/profiles or does it use /nix/store/?
<infinisil> If you're saying "can't find the executable", then I'm assuming you tried to use "steam" in a terminal and it couldn't find it
<Miyu-chan> Actually, no, it should be using /run/current-system/, not /nix/var/nix/profiles
<infinisil> freeman42x[NixOS: Did you try that?
<locallycompact> Hi, what's a good x86 development board to try running nixos?
<freeman42x[NixOS> this is what I added to install steam: https://i.imgur.com/W9ABw5m.png
<freeman42x[NixOS> infinisil, did I try what?
<{^_^}> [nixpkgs] @flokli opened pull request #67770 → gitlab: 12.1.6 -> 12.2.3 → https://git.io/fjxH2
<alexarice[m]> freeman42x[NixOS: running `steam` in terminal
<freeman42x[NixOS> ah
<freeman42x[NixOS> in terminal I only see steam-run
<{^_^}> [nixpkgs] @tobim opened pull request #67771 → caf: run tests and enable openssl support → https://git.io/fjxHr
<DariusTheMede> What should I put here to persuade nix to use the version I get from github: https://gist.github.com/idontgetoutmuch/046a78fe869f4b8e7a22e17292a68f57#file-default-nix-L41?
drakonis_ has joined #nixos
<alexarice[m]> I feel you installed steam-run instead of steam
<infinisil> freeman42x[NixOS: Also asking again that you don't submit pictures as pastes
<infinisil> ,paste freeman42x[NixOS
<{^_^}> freeman42x[NixOS: Use a website such as [ https://gist.github.com/ http://ix.io/ https://hastebin.com/ http://sprunge.us/ https://paste.ee/ ] or similar services to share anything that's longer than a couple lines.
ryantrinkle has joined #nixos
<evanjs> If it's normal steam, looking at the steam expression on nixpkgs-unstable... it looks like nativeOnly is broken..?
<freeman42x[NixOS> infinisil, how about you let me do whatever I want and stop insisting I do not submit pictures? ok? thank you! I appreciate that you trust me on knowing what is ok to share
<evanjs> Steam seems to work totally fine for me with no additional arguments
evanjs- has joined #nixos
<alexarice[m]> I literally just have steam installed by putting `steam` in packages
<evanjs> ^
<alexarice[m]> I feel the `.run` you have at the end might be messing yours up
<evanjs> alexarice[m]: Ahhh i see that in the expression now
<pie_> bbigras im probably missing something obvious here but how do i actually install it...i dont see an apk
<evanjs> passthru.run ---> steam-run
<alexarice[m]> I assume that installs steam-run?
<alexarice[m]> apparently it does
<evanjs> I would assume so
drakonis has quit [Ping timeout: 252 seconds]
<bbigras> pie_: let me check
<inkbottle> I'm doing my first install, on a laptop, and I'd like an encrypted LVM if it's not too much to ask
<infinisil> freeman42x[NixOS: Then I'll also do whatever I want and not help you if you can't use pastes like everybody else can
<freeman42x[NixOS> infinisil, "Then I'll also do whatever I want and not help you if you can't use pastes like everybody else can" why thank you! like, it is impossible to help me since I used a picutre. OH MY
domogled has joined #nixos
<adisbladis> freeman42x[NixOS: Quit the hyperbole.
<freeman42x[NixOS> I used only unstable.steam and now I am running steam
<freeman42x[NixOS> will have to check later what the issue was with that bigger expression
<freeman42x[NixOS> adisbladis, no drama in chat please. Stop right now and focus on doing productive things
<adisbladis> It _is_ harder to help you if you post images, I for sure won't help someone pasting images since I can't copy-paste the expression to amend it.
<infinisil> ^^
waleee-cl has joined #nixos
<adisbladis> freeman42x[NixOS: Seriously, cut it out.
<DariusTheMede> Can anyone tell me why https://gist.github.com/idontgetoutmuch/046a78fe869f4b8e7a22e17292a68f57#file-default-nix-L40 I get " attribute 'my-random-fu-multivariate' missing"?
drakonis has joined #nixos
<freeman42x[NixOS> adisbladis, "It _is_ harder to help you if you post images" I know, but it is still optimal for me sometimes. So trust me on what I am doing...
<freeman42x[NixOS> adisbladis, seriously stop the drama. Ok? end it. no
<freeman42x[NixOS> now
<adisbladis> ...
<alexarice[m]> no one has to help you... they are using their free time
<Miyu-chan> Not so sure if I should chip in my own thoughts or I shouldn't add.
<adisbladis> Let's ignore the troll
<freeman42x[NixOS> alexarice[m], of course no one has to help me
<freeman42x[NixOS> adisbladis, you are calling me a troll? are you insane? I did nothing to troll anyone. stop the drama. just shup up
<Miyu-chan> Anyways. (steam ...).run will give you steam-run. It's useful for running non-steam programs under a steam overlay.
<Miyu-chan> s/overlay/FHS/
<emily> freeman42x[NixOS: fyi this tack will probably not get you much help or support ^^;
<Miyu-chan> For example, `steam-run glxinfo` etc. etc.
freeman42x[NixOS has quit [Quit: Leaving]
<emily> being rude to people helping you is a losing strategy
<__monty__> freeman42x[NixOS: You've been basically spamming the channel with requests, nay demands, for help. No one cares if pastes are harder for you to do. It may cost you a minute more but it'll save all the people who try to help you that same minute, which obviously saves more time in total.
* Miyu-chan shrug
alanz_ has quit [Remote host closed the connection]
<pie_> bbigras so...looks like i need to recompile it for x86?
<Miyu-chan> Well... I just wasted my message.
<Miyu-chan> And so did everyone else. Welps. :(
<__monty__> ¯\_(ツ)_/¯
slack1256 has joined #nixos
<emily> what I don't understand is how people like this decide on NixOS.
<pie_> why assume social ineptitude when you can assume malice
<emily> sufficiently advanced ineptitude is indistinguishable from malice
<pie_> ;D
<emily> if they aren't willing to listen about their crappy behaviour then they might as well be malicious
<adisbladis> emily: <3
<infinisil> DariusTheMede: You're not overriding the haskell packages set, but the pkgs set directly
<pie_> too bad the corollary doesnt hold, benevolence does not imply aptitude
<Miyu-chan> On that topic, what's the proper way to override sub package sets?
<Miyu-chan> / ?
<pie_> s/corollary/converse/
<Miyu-chan> // ?
<infinisil> Miyu-chan: Depends on the package set unfortunately
emptyfl4sk has joined #nixos
<infinisil> All of them work differently in subtle ways
<Miyu-chan> Yeah, yikes. :/
<infinisil> Well there are some patterns, but in general I always have to look at how the set is defined to know how I can override it
<DariusTheMede> infinisil: I think that makes sense - thanks - I need to think about overriding the haskell packages set I think
<Miyu-chan> I checked a few of my work, and pythonPackages support override { overlay = ... }
<Miyu-chan> Err
* DariusTheMede goes to look at some examples
<Miyu-chan> override { overrides = ...; }
<pie_> (implenmentation pending)
<inkbottle> So, for my first install w. LVM + encryption; do you think I can follow that almost blindly https://gist.github.com/martijnvermaat/76f2e24d0239470dd71050358b4d5134
<dminuoso> 16:22:50 Miyu-chan | Anyways. (steam ...).run will give you steam-run. It's useful for running non-steam programs under a steam overlay.
<dminuoso> Miyu-chan: Mind my asking, what exactly is steam..
<dminuoso> This is what generated some interest.
<Miyu-chan> dminuoso: steam is a game launcher, because Windows has not solved the package management problem yet. /s
<Miyu-chan> But yeah, steam is a game launcher + online game store.
<pie_> inkbottle if you can use a vm you can play around and see what happens
<dminuoso> Miyu-chan: Sure, that much ive gotten. But how does "running non-steam apps with a steam overlay" make sense with that?
<infinisil> DariusTheMede: Probably something like this should work: `self: super: { haskell = super.haskell.override { packageOverrides = hself: hsuper: { my-package = ... ; }; }; }`
<Miyu-chan> dminuoso: Oh, I meant steam FHS*
<inkbottle> pie_: vm?
<pie_> inkbottle:virtual machine, like virtualbox
emptyfl4sk has quit [Ping timeout: 245 seconds]
<DariusTheMede> infinisil: fantastic! thanks
<__monty__> inkbottle: I'm fairly confident that guide'd get you what you're looking for, yeah.
<infinisil> DariusTheMede: (let me know if it works, I haven't tested it)
<Miyu-chan> dminuoso: There are stuff you can do such as running games directly without going through Steam, since it sets up the FHS, then execs the executable.
<inkbottle> __monty__: OK, nice, encouraging
<Miyu-chan> steam-run doesn't really have much of a "steam" part except for setting up the FHS and mounts ~/.local/share/Steam, I believe.
<Miyu-chan> And personally, I found it useful to check for inconsistencies of behavior between my Steam FHS and the rest of my machine.
<inkbottle> pie_: I'll probably won't use that since it's about the second time I hear about it
<__monty__> inkbottle: Don't follow it mindlessly though, if you're trying on an old machine it may not have efi, also read up on that kernel parameter.
<{^_^}> [nixpkgs] @rnhmjoj opened pull request #67772 → haskellPackages.bisc: unmark as broken → https://git.io/fjxQJ
<__monty__> inkbottle: If you're not confident in getting nixos installed trying it in a vm first is a great idea, fwiw.
<dminuoso> Miyu-chan: Oh wait Ive seen that before. There's a similal tool in nix that sets up FHS, isnt there?
jboy has quit [Remote host closed the connection]
<pie_> inkbottle the reasonim encouragingit is youll probabkly mess something uop the first time through
<Miyu-chan> Yep. It's really useful for when patchelf is not enough.
<inkbottle> __monty__: yes, but I'm not familiar with vm; I'll try to follow the tuto not "mindlessly" (the machine does support EFI, no problem there)
<infinisil> pie_: You might need a new keyboard lol
<dminuoso> Miyu-chan: Right. Is there only steam-run? I distinctly remember someone talking about this a few weeks ago.
<pie_> inkbottle nixos is currently a high effort distro, i really really encourage experimenting with stuff like this in a vm if your machine is strong enogh, but ill leave it at that
<dminuoso> Ah, buildFHSUserEnv perhaps?
<Miyu-chan> I don't know. I'm sure that steam is straight up the most used one out of them though.
<pie_> though vms can have their own set of problems
<dminuoso> Miyu-chan: But indeed, it seems that steam-run was it.
<dminuoso> Miyu-chan: What a really curious and misleading name. :)
<Miyu-chan> :D
<pie_> infinisil im on a tiny keyboard :( broke laptop keyboard a bit
<dminuoso> It'd should be rather FHS-run
<Miyu-chan> dminuoso: Nah, steam-run is decent IMO. You could have multiple FHSes, somewhat container-like.
<Miyu-chan> My problem is more of the -run part.
<inkbottle> pie_: OK, I'm in high effort mode
<Miyu-chan> steam-exec is probably the more technically correct word, but is still confusing unless you know what exec does.
<Miyu-chan> And even then, is still confusing.
<Miyu-chan> OTOH, I wonder if with-steam would be a good name.
jboy has joined #nixos
DariusTheMede has quit [Remote host closed the connection]
DariusTheMede has joined #nixos
<pie_> maybe "high effort" was harsh, some tings are painful some are painless
hax404 has joined #nixos
<evanjs> TIL... -I nixpkgs=. is not my friend... -I nixpkgs=<full-path> is okay, though >.>
Tucky has quit [Quit: WeeChat 2.5]
<dminuoso> Miyu-chan: perhaps steam-env ?
<Miyu-chan> Yeah lol, that sounds the most decent.
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kleisli has joined #nixos
<oscarvarto> infinisil, I am getting `undefined variable 'vscode-with-extensions' at /home/oscarvarto/nix-stuff/haskell-nix-skeleton/shell.nix:13:7` while trying https://www.pastiebin.com/5d6936675329c
chessai has joined #nixos
frigate_freedom has joined #nixos
<infinisil> oscarvarto: It's in pkgs.vscode-with-extensions
<infinisil> Or pinnedPkgs in your case
<infinisil> Same for vscode-extensions
Soo_Slow has joined #nixos
<frigate_freedom> Hello everyone! Can you help me, please, in firejail configuring.
<frigate_freedom> Part of my configuration.nix posted here: https://pastebin.com/LvTdp4uu
<frigate_freedom> What's wrong with my configuration? OS -- NixOS 19.03
<frigate_freedom> While I do nixos-rebuild switch it says error: undefined variable 'lib' at /etc/nixos/configuration.nix:96:18
<infinisil> frigate_freedom: You need to add `lib` to the argument list at the top of this file
<evanjs> Is bumping open PRs typically okay if no extra changes are required and everything seems to run fine? Re: #64552
<{^_^}> https://github.com/NixOS/nixpkgs/pull/64552 (by evanjs, 7 weeks ago, open): openrazer: init at 2.3.1
boxscape has joined #nixos
<{^_^}> [nixpkgs] @mmahut merged pull request #67741 → nfs-utils: 2.3.4 -> 2.4.1 → https://git.io/fjxik
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjxQ4
<frigate_freedom> infinisil: oh, thank you it worked! Sorry for such silly question, guys
<infinisil> frigate_freedom: Was a totally valid question, no worries :)
<oscarvarto> infinisil, I tried these: https://www.pastiebin.com/5d69380ddf70b and https://www.pastiebin.com/5d6938568ad80 (errors shown there)
<{^_^}> [patchelf] @edolstra pushed to master « Update flake »: https://git.io/fjxQB
<{^_^}> [nix] @edolstra pushed 6 commits to flakes: https://git.io/fjxQR
frigate_freedom has quit [Remote host closed the connection]
<infinisil> oscarvarto: Ah, the type of `pinnedPkgs.vscode-with-extensions...` is not a list, but the `++` operator tries to concatenate two lists
<infinisil> Ah you have it better in the second gist
<infinisil> oscarvarto: You do need () around the whole expression
<infinisil> Around `pinnedPkgs.vscode-with-extensions.override { ... }`
<infinisil> Because spaces in Nix are used as list separators
<{^_^}> [nixpkgs] @adisbladis merged pull request #67756 → firefox-bin: add maintainer → https://git.io/fjxys
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/fjxQz
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/fjxQg
rndd has joined #nixos
<rndd> hi everyone, do I need anything to install .exe through wine in nixOS?
Peter_Storm has joined #nixos
<evanjs> rndd: Yeah for exes usually I can just run `wine <program>` and that seems to work fine
averell has joined #nixos
<Peter_Storm> Hmmm, I am a total newb... how do I make neovim available to nix-shell? I have installe neovim in the `nix-env` thing
<evanjs> rndd: steam-run is specifically for games, but sometimes it works better than wine *shrugs*
<Peter_Storm> but when I enter a shell, it doesn't recognise the command `nvim`
evanjs has quit [Quit: Configuring ZNC, sorry for the joins/quits!]
<{^_^}> [nixpkgs] @flokli opened pull request #67773 → [19.03] gitlab 12.1.6 -> 2.2.3 → https://git.io/fjxQK
evanjs has joined #nixos
<infinisil> Peter_Storm: nvim is available outside the nix-shell?
<Peter_Storm> infinisil: Yes sir
<infinisil> and then you run `nix-shell` and it's not available anymore?
<{^_^}> [nix] @regnat opened pull request #3073 → Add an option to print the logs in a machine-readable format → https://git.io/fjxQi
<Peter_Storm> exactly
<infinisil> Peter_Storm: How does `echo $PATH` differ inside and outside nix-shell?
emptyflask has joined #nixos
<Peter_Storm> outside: `/home/peterstorm/.nix-profile/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games`
<gleber_> infinisil: I have looked at the tmpfiles and `d` in theory should be setting up the ownership. I have noticed a new thing in the logs, which is systemd's `Detected unsafe path transition /var/lib/deluge → /var/lib/deluge/.config during canonicalization of /var/lib/deluge/.config.`
hax404 has quit [Ping timeout: 252 seconds]
<infinisil> gleber_: Ah really, I didn't think it would from reading `man tmpfiles.d`
<rndd> evanjs: the problem is to install and run Vmware SPhere =(
frigate_freedom has joined #nixos
<oscarvarto> infinisil, I am stuck with https://pastebin.com/CnLeHk2n (Thanks for your patience and expertise!)
hax404 has joined #nixos
<evanjs> rndd: ahhh wait I feel like I’ve seen an issue for this before. Lemme see
<infinisil> Peter_Storm: Hm so /home/peterstorm/.nix-profile/bin is in both, which is where your nvim should be coming from if you installed it with nix-env
<oscarvarto> infinisil, undefined variable 'alanz' in line 14 :(
<infinisil> Peter_Storm: Does /home/peterstorm/.nix-profile/bin/nvim exist?
<evanjs> Bah doesn’t look like much for now.
<{^_^}> nixops#727 (by techtangents, 1 year ago, open): vmware vsphere support
<evanjs> Seems like VMware support atm is meh
<infinisil> gleber_: I see yeah that makes sense
orivej has joined #nixos
<Peter_Storm> infinisil: it does
<infinisil> gleber_: The unsafe path transition thing has something to do with symlinks and root ownership I think, and it trying to prevent accidental ownership mistakes
<infinisil> gleber_: Not sure if there's a better fix than just manually doing it though..
<Peter_Storm> um
<Peter_Storm> Ok, it seems to work now, I have no idea why!
<Peter_Storm> Thank you, and sorry for the inconvenience!
<bbigras> pie_: sorry for the late reply. Yeah I guess it might be only for aarch64.
<infinisil> oscarvarto: Ah then the pkgs that project pins didn't have that extensioned packaged in nixpkgs yet
<yorick> can I somehow see why python3 ends up in my python2 derivation and it fails?
<yorick> why-depends only works if the package is built already
<pie_> bbigras thread got more replies
DariusTheMede has quit [Ping timeout: 246 seconds]
slack1256 has quit [Ping timeout: 258 seconds]
<bbigras> pie_: thanks, yeah I was ready those after I replied to you
DariusTheMede has joined #nixos
<averell> hey infinisil, do you have time to look at the ugly #65283? It's just horrible software, but it would still be good in 19.09 :)
<{^_^}> https://github.com/NixOS/nixpkgs/pull/65283 (by averelld, 5 weeks ago, open): Add x2goserver module
<infinisil> oscarvarto: I recommend replacing the pinnedPkgs in https://github.com/cah6/haskell-nix-skeleton/blob/master/nix/nix-ghc-ptr.nix with `pinnedPkgs = import (fetchTarball { url = "https://github.com/NixOS/nixpkgs/tarball/<latest nixpkgs-unstable revision>"; sha256 = "..."; }) {};`
<gleber_> infinisil: do you mean dropping the use of `tmpfiles.d` mechanism and just doing `mkdir -p` in a pre-start script?
<infinisil> averell: Hm yeah I saw that, I guess it's probably fine since it really only screws with /usr/local/bin for people who enable it, but my mind is still grossed out :P
frigate_freedom has left #nixos [#nixos]
domogled has quit [Quit: domogled]
<averell> well, it looks even worse on the inside, haha
<infinisil> averell: Oh, have you tried setting up those nasty paths with systemd.tmpfiles? This could potentially even remove them again when they're not needed anymore in a declarative way
<infinisil> gleber_: I feel like there has to be a better way, maybe stomp around in the tmpfiles source or ask the systemd guys
<averell> hm, i'm not sure how. you'd have to hook into successful ssh logins of a user and get them there before he can run commands.
<{^_^}> [nixpkgs] @danieldk closed pull request #67105 → freeoffice: init at 966 → https://git.io/fjblU
<infinisil> averell: systemd.tmpfiles runs on system activation
<averell> oh, you mean i don't have deactivation, and this could solve it?
<infinisil> Hm maybe, maybe not, but systemd.tmpfiles is much more declarative anyways
<DariusTheMede> infinisil: https://gist.github.com/idontgetoutmuch/046a78fe869f4b8e7a22e17292a68f57 but I don't know where I am going wrong
<infinisil> averell: I'll leave a comment in the PR
<averell> thanks, i'll try it out.
evanjs has quit [Ping timeout: 246 seconds]
<{^_^}> [nix] @edolstra pushed to flakes « Fix sourceInfo »: https://git.io/fjxQN
<infinisil> DariusTheMede: Did you try out what I suggested earlier?
kleisli has quit [Remote host closed the connection]
<DariusTheMede> I thought I had
kleisli has joined #nixos
<DariusTheMede> Did I post the wrong thing?
* DariusTheMede goes to check
<{^_^}> [nixpkgs] @rileyinman closed pull request #66707 → flashplayer: 32.0.0.223 -> 32.0.0.238 → https://git.io/fjdzX
<yorick> abbradar: did you know python2 tensorflow build fails after an horu?
<yorick> horu*
<DariusTheMede> I probably misunderstood what I was supposed to do
<yorick> hour*
<yorick> abbradar: something about python3 sneaking into the python path
<DariusTheMede> infinisil: apologies - I thought https://nixos.org/nixpkgs/manual/#how-to-override-package-versions-in-a-compiler-specific-package-set and what you suggested were the same
* DariusTheMede goes to stare hard at his code
emptyflask has quit [Ping timeout: 246 seconds]
freeman42x[NixOS has joined #nixos
<alex[m]16> I want to write a nixos module from scratch, having the program source. Is there a basic how-to explaining where and how to start?
<{^_^}> [nixpkgs] @grahamc opened pull request #67774 → Maintainers: handle renamed accounts, add more IDs → https://git.io/fjx7T
<{^_^}> [nixpkgs] @worldofpeace merged pull request #67757 → ephemeral: 5.2.1 -> 5.3.0 → https://git.io/fjxyu
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjx7m
<sgraf> Anyone else having trouble with output encoding in a Nix-installed zsh on Ubuntu 18.04? Here's an example of what goes wrong https://www.irccloud.com/pastebin/g3u7AIKD/
Chiliparrot has joined #nixos
Yakulu has joined #nixos
<abbradar> yorick: huh, I'll check, thanks
<DariusTheMede> infinisil: I think this is what you suggested but it doesn't seem to want to work: https://gist.github.com/idontgetoutmuch/046a78fe869f4b8e7a22e17292a68f57#file-default-nix-L19-L25
vika_nezrimaya has joined #nixos
<infinisil> DariusTheMede: Just scroll back to what I suggested, that's not it
<{^_^}> [hydra] @edolstra pushed to flake « Update flake.nix »: https://git.io/fjx7n
<freeman42x[NixOS> how can the program required for this ./configure be installed under NixOS?
<symphorien> ,libraries freeman42x[NixOS
<{^_^}> freeman42x[NixOS: Don't install libraries through nix-env or systemPackages, use nix-shell instead. See https://nixos.wiki/wiki/FAQ/Libraries for details.
<DariusTheMede> infinisil: I am struggling here. https://gist.github.com/idontgetoutmuch/516f1f437e8ebabd771b06028cce29a5#file-default-nix-L19-L25 which is what I think you suggested gives me error: anonymous function at /nix/store/pdrqy3f60aqdmx50l4ks2g74g02cmpjf-source/pkgs/top-level/haskell-packages.nix:1:1 called with unexpected argument 'packageOverrides', at /nix/store/pdrqy3f60aqdmx50l4ks2g74g02cmpjf-source/lib/customisation.n
<freeman42x[NixOS> symphorien, what do you mean?
<infinisil> DariusTheMede: Ah yes that's what I suggested, okay that doesn't work, I'll see if I can find out why
<symphorien> freeman42x[NixOS: don't install build dependencies. Use nix-shell instead. See the link for details.
emptyfl4sk has joined #nixos
sigmundv has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @danieldk opened pull request #67775 → Add Softmaker Office and FreeOffice → https://git.io/fjx7W
polman has quit [Ping timeout: 245 seconds]
polman has joined #nixos
<infinisil> DariusTheMede: Ah it should be `haskell = super.haskell // { packageOverrides = ...; }`
<freeman42x[NixOS> symphorien, I probably need to follow the install instructions here: https://linux.softpedia.com/get/Utilities/Furius-ISO-Mount-34177.shtml
<freeman42x[NixOS> which require ./configure
<freeman42x[NixOS> or I can install the .deb package manager on NixOS, but I would rather avoid that
<freeman42x[NixOS> tbh. dunno which is worse
<{^_^}> [nixpkgs] @primeos pushed to master « gitRepo: 1.13.4 -> 1.13.5 »: https://git.io/fjx7R
<{^_^}> [nixpkgs] @worldofpeace merged pull request #67702 → nixos/fwupd: add package option → https://git.io/fjxgi
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjx70
<symphorien> What dependency does ./configure complain about, freeman42x[NixOS
<DariusTheMede> infinisil: :thumbsup:
<freeman42x[NixOS> symphorien, it just does not find the program configure I think: https://i.imgur.com/EB69FR2.png
mac10688 has joined #nixos
<symphorien> Well that's not a nix problem
wfranzini has quit [Remote host closed the connection]
<symphorien> ./configure should come with the upstream tarball
<{^_^}> [nixpkgs] @peti pushed to master « nixos/mailman: don't reserve a static uid in the system »: https://git.io/fjx7g
<{^_^}> [nixpkgs] @primeos merged pull request #67652 → cage: init at 0.1.1 → https://git.io/fjxGf
<{^_^}> [nixpkgs] @primeos pushed 2 commits to master: https://git.io/fjx7V
erasmas has joined #nixos
slack1256 has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #67765 → mirage: fix build failure → https://git.io/fjxSb
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjx7r
<alexarice[m]> alex: not sure if you got answered, but were you trying to make a package or a module?
<{^_^}> [nixpkgs] @gnidorah opened pull request #67776 → haskellPackages.hakyll-images: unmark as broken → https://git.io/fjx76
<freeman42x[NixOS> symphorien, yeah, dunno. I thought ./configure comes from gnumake or autoconfigure package
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @B4dM4n to release-19.03 « mirage: fix build failure »: https://git.io/fjx7P
emptyfl4sk has quit [Ping timeout: 268 seconds]
emptyfl4sk has joined #nixos
domogled has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #67737 → cmst: use Qt mkDerivation → https://git.io/fjx6s
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to master: https://git.io/fjx7X
byteflam1 has joined #nixos
<alex[m]16> @alexarice:matrix.org: not sure actually, I'm a bloody beginner with nixos. There is a project on git, having additional ansible Files for Debian. And I want a proper implementation into nixos
domogled has quit [Client Quit]
<alexarice[m]> alex: Most of the time you'll just need to create a package.
DariusTheMede has quit [Ping timeout: 258 seconds]
<alexarice[m]> it depends on what you're trying to do
<alex[m]16> @alexarice:matrix.org: depends on what? :)
<alexarice[m]> the program you are trying to package
fendor has quit [Remote host closed the connection]
<alex[m]16> Depending if it's a service or not?
<{^_^}> [nixpkgs] @worldofpeace pushed to master « plank: 0.11.4 -> 0.11.89 »: https://git.io/fjx7M
<alexarice[m]> I don't think there's an easy rule
fendor has joined #nixos
<freeman42x[NixOS> there seems to be a 0ad derivation here: https://github.com/NixOS/nixpkgs/tree/master/pkgs/games/0ad but it is not in the nixpkgs. How could I install it?
<locallycompact> Hi, is there a good x86_64 Dev board that plays well with nixos? Thanks.
<alexarice[m]> I don't really know what you're trying to acheive tbh
<{^_^}> [nixpkgs] @adisbladis merged pull request #66301 → emacs-packages: Drop deprecated package sets → https://git.io/fjQ7B
<{^_^}> [nixpkgs] @adisbladis pushed 56 commits to master: https://git.io/fjx7S
<alexarice[m]> have you tried zeroad freeman42x[NixOS ?
<{^_^}> [nixpkgs] @primeos pushed to master « androidStudioPackages.{dev,canary}: 3.6.0.8 -> 3.6.0.9 »: https://git.io/fjx7H
<oscarvarto> infinisil, I finally started vscode (HIE is complaining with an error :( ). How can I compile the project in the nix-shell? (Sorry to bother, I am totally newbie with nix)
travelion has quit [Quit: bye]
<infinisil> oscarvarto: Np, but helping without any information on the problem is impossible
<oscarvarto> infinisil, this is the error message HIE (inside code) is giving me: https://pastebin.com/uZm79ZfT
joshuagl has quit [Quit: Textual IRC Client: www.textualapp.com]
<{^_^}> [nixpkgs] @adisbladis pushed to master « CODEOWNERS: Add myself as owner for emacs »: https://git.io/fjx75
<infinisil> oscarvarto: Did you use cabal new-style commands?
unigram has quit [Quit: leaving]
<oscarvarto> I initially just fired vscode in the nix-shell. I got that error. I have tried running cabal build, then open code. Same error. I also tried with cabal new-build
iyzsong has quit [Ping timeout: 245 seconds]
<averell> is there any way to glob/filter a packages files (like ${pkg}/bin/*)? otherwise i'm reduced to mapping over a long manually created list of strings.
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/cb7d0d226eb (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> [nixpkgs] @mmahut opened pull request #67777 → nixos/{namecoind,bitcoind}: removing the altcoin prefix → https://git.io/fjx7x
<alex[m]16> <alexarice[m] "I don't really know what you're "> as I'm used form arch linux, one can create a package from source and provide it via aur. as far as I understood the concept of nixos, just writing a .nix file, where a source is pulled from git replaces this. Additionally, one might create a database and users and so on, silimar to ansible. My question is: how to learn using this concept and where to start? The nixos manual
<alex[m]16> does not provide a lot of information on this, as far as I see.
<infinisil> oscarvarto: HIE doesn't really work with new-build commands unfortunately, try removing the dist-newstyle directory and any .ghc.environment* files
<alex[m]16> the final goal is to build a mail server based on userli.
<averell> How about the nix pills? they are more tutorial styled.
<alexarice[m]> alex: There's stuff like nix pills and you can look at how derivations in nixpkgs work
<alexarice[m]> alex: tbh I think I'd struggle with what you're trying to do
drakonis has quit [Quit: WeeChat 2.5]
<alex[m]16> I'll check it out imediately
hmpffff has quit [Quit: nchrrrr…]
<alex[m]16> <alexarice[m] "alex: tbh I think I'd struggle w"> what do u mean?
<{^_^}> [nixpkgs] @jonringer opened pull request #67778 → filezilla: 3.43.0 -> 3.44.2 → https://git.io/fjx5v
<oscarvarto> infinisil, Thanks a lot. I have uploaded my current progress here: https://github.com/oscarvarto/haskell-nix-skeleton
<alexarice[m]> alex: I'm not sure I'm the best person to ask basically, as I don't understand the stuff you are trying to package
<oscarvarto> I will follow your recommendation about removing unsupported files
<alexarice[m]> I'd start with nix pills though
freeman42x[NixOS has quit [Remote host closed the connection]
<alex[m]16> actually, its a configuration for dovecot, postfix, providing dnsec and providing a php front-end
<alex[m]16> it's supposed to be a secure, encrypted mail server
mmlb has quit [Ping timeout: 245 seconds]
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/88001c7b708 (from 37 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
<oscarvarto> infinisil, I am afraid I am getting the same error, after deleting those.
<infinisil> oscarvarto: The exact same error or an error that just looks the same?
<infinisil> Note that you should restart HIE after doing such changes
slack1256 has quit [Ping timeout: 268 seconds]
drakonis has joined #nixos
<emily> alex[m]16: if it's handling all the configuration and setup of the software, that'll likely be a substantial amount of work to port
<emily> you'd probably want to make a package and a module for it
<emily> the best docs are basically just reading other modules and packages, in my experience :/
<oscarvarto> infinisil, I need to restart my system. Will be back
<emily> I certainly wouldn't attempt to tackle this as your first rodeo with packaging things for Nix(OS)
oscarvarto has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @peti pushed to master « nixos/mailman: decouple the mailman module from the postfix module »: https://git.io/fjx5t
<Twey> My coworker is running multi-user Nix on a Debian system, and nothing ever builds in a sandbox even though he has `sandbox = true` :(
<Twey> Is there any way I can find out why?
<Twey> (user namespaces are enabled)
orivej has quit [Ping timeout: 245 seconds]
<clever> Twey: is that in /etc/nix/nix.conf ?
<Twey> clever: Yes
drakonis_ has quit [Ping timeout: 264 seconds]
<infinisil> Twey: Knowing the error would help
<Twey> Even with --option sandbox true
<Twey> infinisil: There's no error, it just builds without using sandboxing
<clever> Twey: what user owns /nix/store/?
<Twey> clever: root:nixbld
<clever> Twey: and the user is not a member of nixbld?
<infinisil> Twey: Ohh, I understood "nothing ever builds in a sandbox" as "nothing ever builds successfully if sandbox is enabled"
<infinisil> I blame English for its ambiguity
<clever> Twey: `nix show-config | grep sandbox` ?
<Twey> clever: Nope
byteflam1 has quit [Ping timeout: 258 seconds]
<Twey> clever: Looks like `sandbox = false`
oscarvarto has joined #nixos
emptyfl4sk has quit [Ping timeout: 258 seconds]
<Twey> infinisil: Yes, that seems reasonable ;)
<clever> Twey: is there another nix.conf in the users home?
<Twey> infinisil: ‘Nothing ever (builds in a sandbox)’, not ‘(Nothing ever builds) in a sandbox’ ;)
<alex[m]16> <emily "the best docs are basically just"> when I look at default.nix of dovecot it looks pretty simple, but I don't see any program configuration like files supposed to be in /etc/dovecot/
<Twey> clever: Nope
<Twey> (there was, but we deleted it)
evanjs- has quit [Quit: Configuring ZNC, sorry for the joins/quits!]
<{^_^}> [nixpkgs] @leo60228 opened pull request #67779 → gamemode: init at 1.4 → https://git.io/fjx5Y
<Twey> (nix show-config still says false)
<infinisil> Twey: Hehe yeah, we should all learn lojban already
<emily> alex[m]16: you want to look at the module instead: https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/services/mail/dovecot.nix
<Twey> infinisil: go'i
<emily> alex[m]16: packages specify how to build software, modules let you configure your system to use them
<emily> you would probably need both for this thing
<oscarvarto> infinisil, I restarted my system, after making bash my default shell, fired up nix-shell, then code. And it is the same error
<alex[m]16> <emily "alex: packages specify how to bu"> 👍️ this is what I was looking for
evanjs has joined #nixos
rndd has quit [Quit: WeeChat 2.4]
<infinisil> oscarvarto: Wait probably not
polman has quit [Ping timeout: 245 seconds]
<oscarvarto> I could try wiping out my nix installation and starting over? Maybe this is just a desperate measure..
<infinisil> oscarvarto: Can you paste the error again? I wanna know if something changed now that dist-newstyle and .ghc.environment files are gone
<{^_^}> [nixops-aws] @AmineChikhaoui pushed 1818 commits to master: https://git.io/fjx5G
<infinisil> oscarvarto: Nah that can't help, restarting also can't help if that was your intention
noudle has joined #nixos
<infinisil> gchristensen: Phew my heart drops when I saw this at first ^
<infinisil> s/drops/dropped
<gchristensen> infinisil: haha :D
<Twey> clever: Any more ideas? :þ
<clever> Twey: `strace -e openat,open nix show-config`
<oscarvarto> infinisil, I just realized that running cabal build recreates the dist-newstyle folder. I have cabal 3.0.0.0 installed
emptyfl4sk has joined #nixos
<infinisil> oscarvarto: Ohh, it might be that cabal new-build is now the default..
<infinisil> Try `cabal v1-build`
<infinisil> (and remove the files again)
<infinisil> Be back later
<alex[m]16> <emily "alex: you want to look at the mo"> sorry for bothering again. in this file parameters are defined, how do they effect the program. meaning, how are these variables implemented into the program's config?
drakonis_ has joined #nixos
ThatDocsLady has quit [Quit: Leaving]
<sgraf> Apparently I've been bitten by https://github.com/NixOS/nixpkgs/issues/38991#issuecomment-383837383 on Ubuntu
<gchristensen> infinisil: it would be neat if {^_^} saw and ignored the #issuecomment
<emily> alex[m]16: dovecotConf contains the string to be written to the configuration file; https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/services/mail/dovecot.nix#L183 makes sure it gets into the Nix store, and https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/services/mail/dovecot.nix#L342 gets its contents put in /etc/dovecot/dovecot.conf
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<alex[m]16> beginning to like the concept :)
<emily> you can add extra stuff with the extraConfig variable, making a module for userli that sets up the configuration for other modules is probably the best way to do that
hoijui has quit [Quit: Leaving]
<Twey> clever: Ah, nice. It seems he built his own Nix and set the prefix to /usr/local… >.>
<alex[m]16> seems I have to get into this program relatively deep - but most likely its the best to get to know it ^^
Myhlamaeus2 has joined #nixos
<Miyu-chan> Why does nixops use only use 8 chararcters for nixos-container?
<{^_^}> [nixpkgs] @jonringer opened pull request #67781 → errbot: 5.2.0 -> 6.1.1 → https://git.io/fjx50
ixxie has joined #nixos
<clever> Miyu-chan: i think its a limitation of systemd containers
<Miyu-chan> Oh. NixOps also uses --ensure-unique-name
<Miyu-chan> So I guess it's okay.
iqubic has joined #nixos
evanjs has quit [Ping timeout: 258 seconds]
fendor_ has joined #nixos
polman has joined #nixos
fendor has quit [Ping timeout: 246 seconds]
DariusTheMede has joined #nixos
byteflam1 has joined #nixos
liberiga has joined #nixos
orivej has joined #nixos
evanjs has joined #nixos
<maralorn> alex[m]16: I am not sure what your aim is in the end and I don‘t know userli so I don‘t know if this helps, but you might wanna have a look at https://gitlab.com/simple-nixos-mailserver/nixos-mailserver. I use it and like it very much to run a painfree mail-server with nixos. Of course if you really want a webinterface to configure it, that‘s currently not included.
<maralorn> (I probably should add: I webintefrace for configuration would also not match the philosophy.)
Yaniel has quit [Excess Flood]
byteflam1 has quit [Ping timeout: 245 seconds]
Yaniel has joined #nixos
casaca has quit [Ping timeout: 258 seconds]
casaca has joined #nixos
<infinisil> gchristensen: Hm yeah maybe I should change that, originally the intention was to not spam when people discussed comments of a single PR
<gchristensen> ah right
<gchristensen> could have an internal list of links you've messaged to about recently (base-link-url, channel)
<infinisil> Yeah just thought the same
<infinisil> Not sure if worth the complexity though
<gchristensen> yeah maybe not
<{^_^}> [nixops-hetzner] @AmineChikhaoui pushed 1395 commits to master: https://git.io/fjx56
Myhlamaeus2 has quit [Ping timeout: 268 seconds]
DariusTheMede has quit [Ping timeout: 245 seconds]
casaca has quit [Ping timeout: 258 seconds]
<alex[m]16> maralorn: the advantage of userli is that it encrypts the mailboxes via dovecot and ensures a passwort reset for this for the users using a token. additionaly users can add alias mailboxes. server-server-tls-connection is also ensured.
<alex[m]16> but for my case snm would be sufficient at the moment. do u use roundcube, as well?
casaca has joined #nixos
<maralorn> alex[m]16: Ah, that sounds cool. I use just neomutt as a client. (oh and technically I have the nextcloud webmail plugin but in practice I never use it.)
DariusTheMede has joined #nixos
<alex[m]16> honestly, I'm asking myself if I would first just use snm or if I should spend a lot of time to contribute to the community :)
<alex[m]16> maralorn: personally I also use mutt, but this project is for people needing a graphical webclient :)
<maralorn> Ah, oh.^^ I have tried roundcube before and but I don‘t have reliable current information.
alanz_ has joined #nixos
alanz_ has quit [Client Quit]
evanjs- has joined #nixos
<alex[m]16> @mara
hyperfekt has quit [Quit: hyperfekt]
<alex[m]16> maralorn: do you have experiences with nixcloud-webservices?
casaca has quit [Ping timeout: 258 seconds]
<maralorn> Nope, sorry.
ris has joined #nixos
<maralorn> I just use the nixpkgs nextcloud module in a nixos-container.
hyperfekt has joined #nixos
casaca has joined #nixos
Myhlamaeus2 has joined #nixos
<{^_^}> [nixpkgs] @peti merged pull request #67776 → haskellPackages.hakyll-images: unmark as broken → https://git.io/fjx76
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/fjx5x
<alex[m]16> <maralorn "I just use the nixpkgs nextcloud"> I'm a bloody beginner with nixos, but I think it's time for me now to try something new after using arch for several years. - do I understand it right, that I can install nixos ontop an existing linux for testing purposes?
alanz_ has joined #nixos
alanz_ has quit [Remote host closed the connection]
<emily> you can install Nix on an existing linux distribution but not so much NixOS. you can use it in a container or VM though
<emily> (you can use the packages but not the modules, essentially)
<drakonis_> you could use the modules without nixos though
alanz_ has joined #nixos
alanz_ has quit [Remote host closed the connection]
<drakonis_> but you cannot manage the system configuration
<maralorn> drakonis_: What use are modules without the system configuration part? Do they do anything else?
<drakonis_> there are modules for applications
<drakonis_> you use these
alanz has joined #nixos
byteflam1 has joined #nixos
slack1256 has joined #nixos
casaca has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @edolstra pushed 2 commits to master: https://git.io/fjxdT
casaca has joined #nixos
<ben_> I'm getting errors from nix-env --timeout 0 -u like `warning: unable to download ''https://cache.nixos.org/nar/...nar.xz': HTTP error 200 (curl error: Timeout was reached); retrying in 282 ms`. Is there a way to disable these timeouts? My internet is slow.`
<maralorn> drakonis_: You mean programs...enable ? I wouldn‘t even now how to deploy configuration.nix on a not nixos system.
evanjs- has quit [Ping timeout: 245 seconds]
byteflam1 has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @jonringer opened pull request #67782 → exempi: 2.4.5 -> 2.5.1 → https://git.io/fjxdL
polman has quit [Ping timeout: 245 seconds]
polman has joined #nixos
<{^_^}> [nixpkgs] @jollheef opened pull request #67783 → out-of-tree: 1.0.1 -> 1.1.0 → https://git.io/fjxdG
<yorick> error: getting attributes of path '/nix/store/hdb02bx3bzhkpvhfkspx5lmd6hzarqwc-source/nixos/doc/manual/options-to-docbook.xsl': No such file or directory ?!
acarrico has quit [Quit: Leaving.]
<{^_^}> [nixpkgs] @dylex opened pull request #67784 → fetchurlBoot: remove cycles introduced by openssl_1_1 -> coreutils → https://git.io/fjxd8
<ivan> ben_: nix version? might have been fixed
evanjs has quit [Quit: Configuring ZNC, sorry for the joins/quits!]
evanjs has joined #nixos
asheshambasta has quit [Ping timeout: 258 seconds]
Yakulu has left #nixos ["Error from remote client"]
Yakulu has joined #nixos
<yorick> oh, nixops failing to evaluate
<edef> so, once upon a time gnome3.cheese had a menu bar
<edef> that i could use to get to the preferences dialogue to configure it to use my visible-light camera rather than the IR camera it inexplicably chooses
<edef> for a while now it hasn't had a menu bar, and i'm honestly mystified why
<edef> is there some strange disease that has befallen the GNOME3 apps in recent times that breaks menu bar rendering?
byteflam1 has joined #nixos
wildtrees has joined #nixos
<edef> (i'm guessing it has to do with the work behind menu-bars-in-window-decoration in gnome3 on wayland)
wildtrees has quit [Remote host closed the connection]
wildtrees has joined #nixos
wildtrees has quit [Max SendQ exceeded]
andi- has quit [Remote host closed the connection]
wildtrees has joined #nixos
hmpffff has joined #nixos
andi- has joined #nixos
bakakuna has joined #nixos
dansho has quit [Ping timeout: 268 seconds]
noudle has quit []
o1lo01ol1o has quit [Remote host closed the connection]
emptyfl4sk has quit [Ping timeout: 258 seconds]
rsoeldner has joined #nixos
<joepie91> edef: try hitting alt while in the application
<edef> it doesn't do a thing!
<joepie91> :(
<edef> maybe it's down to dconf stuff breaking? but in general this seems surprising
<edef> mostly curious if this repros for anyone else on unstable
OmnipotentEntity has joined #nixos
lukego has quit [Read error: Connection reset by peer]
lukego has joined #nixos
qqlq has joined #nixos
<worldofpeace> Hello everyone, nixos office-hours starting shortly. Come if you want to let's have fun! https://zoom.us/j/120295959
<worldofpeace> We have Eelco talking about flakes.
<johnw> Is it possible to give a buildPhase full access to the Net?
<johnw> I need to download something from hashicorp.com while building
ng0 has quit [Quit: Alexa, when is the end of world?]
<averell> no, but you can add that dependency via fetchurl before.
<vika_nezrimaya> how to set up a go module build with Nix? I kinda want to learn Go, but making even a hello-world build is a mystery to me...
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/88001c7b708 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
<vika_nezrimaya> What's the directory tree?
<vika_nezrimaya> how should I structure my stuff?
evanjs- has joined #nixos
casaca has quit [Ping timeout: 245 seconds]
bakakuna has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @yurrriq opened pull request #67785 → latex2html: 2018 -> 2019.2 → https://git.io/fjxFe
casaca has joined #nixos
Mateon1 has quit [Remote host closed the connection]
twoolie has joined #nixos
<johnw> averell: unfortunately, this is something that `packer` is doing
TheBrodmann has joined #nixos
polman has quit [Ping timeout: 258 seconds]
17SABCQIM has joined #nixos
7GHABLYOH has joined #nixos
<johnw> basically, I want a Hydra CI build that produces an ISO using Packer
johnny101m has joined #nixos
<TheBrodmann> I'm getting multiple package conflict error on nix-env -i all, how I can solve this problem?
morr has left #nixos ["WeeChat 2.4"]
slack1256 has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @danieldk opened pull request #67786 → maturin: 0.6.1 -> 0.7.0 → https://git.io/fjxFU
byteflam1 has quit [Ping timeout: 245 seconds]
andymandias has quit [Quit: ZNC 1.7.3 - https://znc.in]
oscarvarto has quit [Quit: Leaving]
<johnw> I can't remember, how do I write a blob of text into the store?
Soo_Slow has quit [Remote host closed the connection]
kleisli has quit [Ping timeout: 250 seconds]
<johnw> I keep wanting to say builtins.writeFile
<johnw> pkgs.writeTextFile!
<TheBrodmann> Can anyone help me please?
<TheBrodmann> :(
wildtrees has quit [Ping timeout: 245 seconds]
bakakuna has joined #nixos
andymandias has joined #nixos
psyanticy has quit [Quit: Connection closed for inactivity]
<ivan> TheBrodmann: can you pastebin your errors
<TheBrodmann> sure
<TheBrodmann> error: packages '/nix/store/f6bm2p6b6kpjy5095q5waic5ppxpgzk8-cabal-install-2.4.1.0/bin/cabal' and '/nix/store/dzj4fvm9ly5n9vvv1r99bjkzmazh7y7y-all/bin/cabal' have the same priority 5; use 'nix-env --set-flag priority NUMBER INSTALLED_PKGNAME' to change the priority of one of the conflicting packages (0 being the highest priority)
<TheBrodmann> builder for '/nix/store/dv9py0av4cz8bmb4g9k3lryw5jd0sw81-user-environment.drv' failed with exit code 1
andgate has joined #nixos
<TheBrodmann> error: build of '/nix/store/dv9py0av4cz8bmb4g9k3lryw5jd0sw81-user-environment.drv' failed
<TheBrodmann> ivan: here you go
o1lo01ol1o has joined #nixos
<ivan> you can deprioritize cabal or cabal-install, depending on which one you don't want to run when you type "cabal"
<ivan> you could report a bug on those instructions since they don't really work as-is
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<ivan> https://nixos.org/releases/nix/nix-2.2/manual/ covers --set-flag priority
ingenieroariel has joined #nixos
<TheBrodmann> ivan:
<TheBrodmann> ivan: when I change periority another similar error raise
<ingenieroariel> Hello everyone, when using dockerTools.buildLayeredImage is it possible to set ENTRYPOINT instead of CMD?
<TheBrodmann> ivan: after changing cabal periority ghc cause error and so on...
<ivan> TheBrodmann: try removing cabal-install from the list
<{^_^}> [nixpkgs] @peti merged pull request #67772 → haskellPackages.bisc: unmark as broken → https://git.io/fjxQJ
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/fjxF8
psyanticy has joined #nixos
<TheBrodmann> ivan: let me try
o1lo01ol1o has quit [Remote host closed the connection]
kleisli has joined #nixos
<OmnipotentEntity> I'm attempting to install NixOS on an RPiv3B, and I'm getting an error where nixos-install notifies me that xf86-video-vmware-13.3.0 is not supported on aarch64-unknown-linux-gnu, but I didn't think I was installing vmware. Any ideas?
MarcWeber has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fjxF0
Jackneill has quit [Remote host closed the connection]
terlar has joined #nixos
<TheBrodmann> ivan: now hpack cause error
<TheBrodmann> error: packages '/nix/store/j3y5r7g0l5gzyjgqhf4i42mvf69iy39v-hpack-0.31.2/lib/links/libHSdata-default-class-0.1.2.0-FeIQ5tLoVZBHMSgrT9zptQ-ghc8.6.5.dylib' and '/nix/store/1m0q2wl140g25ys64r4lb1g6cd03h1lq-all/lib/links/libHSdata-default-class-0.1.2.0-FeIQ5tLoVZBHMSgrT9zptQ-ghc8.6.5.dylib' have the same priority 5; use 'nix-env --set-flag priority NUMBER INSTALLED_PKGNAME' to change the priority of one
<TheBrodmann> of the conflicting packages (0 being the highest priority)
<TheBrodmann> builder for '/nix/store/gca07hkqwcj06vam7awvqjpwlplqh3y0-user-environment.drv' failed with exit code 1
<TheBrodmann> error: build of '/nix/store/gca07hkqwcj06vam7awvqjpwlplqh3y0-user-environment.drv' failed
jgeerds has joined #nixos
<johnw> Is it possible to use a regular hexademical value for a sha256 setting?
<johnw> passed to fetchurl
<johnw> or conversely, a function to convert such a sha256 into base64
andymandias has quit [Ping timeout: 258 seconds]
<mdash> johnw: yes regular hex hashes are accepted
dsx has quit [Quit: dsx]
ingenieroariel has quit [Remote host closed the connection]
dsx has joined #nixos
terlar has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @edef1c pushed to staging « nixos/release-notes: fix indentation »: https://git.io/fjxFV
terlar has joined #nixos
casaca has quit [Ping timeout: 268 seconds]
casaca has joined #nixos
<terlar> Anyone know how to apply a patch to a single file fetched via fetchurl? When this is the case the $src variable will be the actual file itself, it will live directly in the nix store.
twoolie has quit [Ping timeout: 244 seconds]
<ivan> TheBrodmann: I don't know, you might have better luck reporting a bug on that thing
byteflam1 has joined #nixos
<TheBrodmann> ivan: :(
<TheBrodmann> ivan: thanks!
<{^_^}> [nixpkgs] @edef1c pushed to master « nixos/release-notes: fix indentation »: https://git.io/fjxF6
kleisli has quit [Ping timeout: 276 seconds]
<mdash> terlar: `runCommand "patch -p1 < ${myPatchFile}; cp patched-file $out"`
<{^_^}> [nixos-homepage] @edolstra pushed to master « Fix HTML validity »: https://git.io/fjxF1
<terlar> Okay, so no way to get the regular patches = [...] thing to work with it?
pie_ has quit [Ping timeout: 260 seconds]
byteflam1 has quit [Ping timeout: 268 seconds]
<{^_^}> [nixos-homepage] @edolstra pushed 9 commits to master: https://git.io/fjxFy
<{^_^}> [nixos-homepage] @edolstra merged pull request #209 → [big!] Adds a completely re-made packages listing (explorer). → https://git.io/vx73f
<OmnipotentEntity> I'm attempting to install NixOS on an RPiv3B, and I'm getting an error where nixos-install notifies me that xf86-video-vmware-13.3.0 is not supported on aarch64-unknown-linux-gnu, but I didn't think I was installing vmware. Any ideas? my configuration.nix is: https://pastebin.com/ciNsxDJj
<{^_^}> [nixpkgs] @jonringer opened pull request #67787 → python3Packages.dotnetcore2: init at 2.1.8.1 → https://git.io/fjxF9
ixxie_ has joined #nixos
o1lo01ol1o has joined #nixos
<ivan> omnipotententity:
<ivan> nixos/modules/services/x11/xserver.nix
<ivan> 247: default = [ "radeon" "cirrus" "vesa" "vmware" "modesetting" ];
<ivan> try services.xserver.videoDrivers = [ "modesetting" ]; or whichever driver rbpi3 needs
<OmnipotentEntity> thanks!
polman has joined #nixos
<ivan> also that is a bug worth reporting on nixpkgs
<OmnipotentEntity> I'll do that then
kleisli has joined #nixos
ixxie_ has quit [Client Quit]
7GHABLYOH has quit [Ping timeout: 245 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
drakonis_ has quit [Ping timeout: 245 seconds]
<OmnipotentEntity> ivan, that was perfect
<{^_^}> [nixpkgs] @aanderse merged pull request #67380 → uq: init at 2018-05-27 → https://git.io/fjN97
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to master: https://git.io/fjxFd
<OmnipotentEntity> Thanks.
<ixxie> were all historical commiters to nixpkgs recently autoinvited to the NixOS github org?
<gchristensen> ,invite ixxie
<{^_^}> ixxie: Invited to join "Nixpkgs Maintainers" on GitHub? For more information, see: https://discourse.nixos.org/t/join-the-package-maintainer-team/3751
emptyfl4sk has joined #nixos
freedan42x has joined #nixos
freeman42x[NixOS has joined #nixos
<yorick> hey, ghcjs is broken
<ixxie> neat, thanks gchristensen
<ixxie> maybe this will motivate me to find time to get back to Nix development
<{^_^}> nixos-homepage#209 (by samueldr, 1 year ago, merged): [big!] Adds a completely re-made packages listing (explorer).
<{^_^}> [nixpkgs] @zimbatm merged pull request #67607 → verifpal: init at 0.2 → https://git.io/fjxfj
<{^_^}> [nixpkgs] @zimbatm pushed 3 commits to master: https://git.io/fjxFF
emptyfl4sk has quit [Ping timeout: 245 seconds]
<ixxie> gchristensen: is this live?
<gchristensen> ixxie: is what live?
<ixxie> the merged PR to the website
<ixxie> I donno how quick deployment cycles are for that xD
o1lo01ol1o has joined #nixos
<Miyu-chan> Is there a mount flag to make the tree r/w, but not reflect the changes into the backing device?
o1lo01ol1o has quit [Remote host closed the connection]
terlar has quit [Remote host closed the connection]
dasj19 has joined #nixos
o1lo01ol1o has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/4388f7709a8 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<Miyu-chan> I guess overlayfs comes into mind.
DariusTheMede has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @wd15 opened pull request #67788 → pythonPackages.sfepy: init at 2019.2 → https://git.io/fjxbY
valebes has joined #nixos
qyliss has left #nixos ["WeeChat 2.5"]
dansho has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @cdepillabout opened pull request #67789 → stretchly: 0.19.1 -> 0.20.1 → https://git.io/fjxbZ
<{^_^}> [nixpkgs] @ivan opened pull request #67790 → mpv, ffmpeg: use addOpenGLRunpath to fix CUDA-accelerated playback → https://git.io/fjxbc
<delroth> https://github.com/NixOS/nixpkgs/issues/28243 this issue seems to be fixed, anyone with closing powers? :) (let me know if there's a better process I can use to help with triaging obsolete issues)
<{^_^}> #28243 (by evujumenuk, 2 years ago, open): GCE bootstrap image still weighs in at 100 GB
rsoeldner has quit [Ping timeout: 252 seconds]
<alexarice[m]> is there a way to add nixpkgs to an already open nix repl?
emptyfl4sk has joined #nixos
<delroth> what do you mean by "add nixpkgs"?
<infinisil> alexarice[m]: :l <nixpkgs>
<alexarice[m]> infinisil: ah thanks, I was trying to put quotes round it
<alexarice[m]> infinisil++
<{^_^}> infinisil's karma got increased to 132
TheBrodmann has quit [Quit: leaving]
andymandias has joined #nixos
emptyfl4sk has quit [Ping timeout: 268 seconds]
dasj19 has quit [Quit: dasj19]
smakarov has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer opened pull request #67791 → nixos/opengl: set LD_LIBRARY_PATH everywhere → https://git.io/fjxbV
wildtrees has joined #nixos
bakakuna has quit [Ping timeout: 258 seconds]
zupo has joined #nixos
o1lo01ol1o has joined #nixos
qyliss^work has quit [Quit: bye]
asymptotically has quit [Quit: Leaving]
o1lo01ol1o has quit [Remote host closed the connection]
hax404 has quit [Ping timeout: 252 seconds]
hax404 has joined #nixos
ikg_agent has joined #nixos
evanjs- has quit [Quit: Configuring ZNC, sorry for the joins/quits!]
<ikg_agent> a NixOS noob here. Need some help with creating custom packages.
<{^_^}> [nixos-homepage] @edolstra pushed 29 commits to flake: https://git.io/fjxbK
fendor_ has quit [Quit: Leaving]
<ikg_agent> We are looking to use NixOS in our product and we need to be able to create packages with our custom software in them.
evanjs- has joined #nixos
<ikg_agent> Naturally we can not make those packages parts of a public repo, but we will need to be able to pull down and deploy those packages on instances of our system out there.
valebes has quit [Read error: Connection reset by peer]
<ikg_agent> Any suggestions on what I should look up to be able to solve this problem?
<vika_nezrimaya> ikg_agent, you can use private repositories for your derivations. There are two ways to achieve what you want...
emptyflask has joined #nixos
<vika_nezrimaya> One is using a custom fork of Nixpkgs. It's hard, requires a lot of dedication and is usually unneccesary.
<ikg_agent> :)
valebes has joined #nixos
<vika_nezrimaya> The other one is making an overlay. In there you can define overrides for packages in Nixpkgs and create your own packages.
<vika_nezrimaya> I use an overlay to have packages not available in Nixpkgs and to apply bugfixes I write before sending them upstream.
<vika_nezrimaya> Do you have any experience with configuring NixOS already? if yes, it'll be a bit easier to explain :3
<ikg_agent> Do you happen to have any resource that could describe how to accomplish that?
<ikg_agent> I did this today:
<ikg_agent> that's entirety of my experience :D
<ikg_agent> I also read a bunch of intro stuff
<smakarov> How should I set up nix-shell environment for haskell packages using Qt?
<smakarov> I'm trying to build this project:
<smakarov> Using this expression, project builds well with stack build, but when I try to run Qt frontend
<smakarov> I wrote the following nix expression:
<smakarov> with stack run ff-qt I get an error:
<smakarov> And the second error, how can I turn this expression into package definition? Adding src location and running nix build on my expression gives me an error:
<smakarov> How can I fix that?
<vika_nezrimaya> ikg_agent: doesn't seem to load for me :-(
DariusTheMede has joined #nixos
<ikg_agent> I literally pulled a docker image with nix on it and used that to build a primitive ISO that is the extent of my knowledge
<ikg_agent> so nearly noob, but I'll try to keep up if you can explain.
<vika_nezrimaya> Ok. So, to use an overlay with NixOS, you create a file. In this file you write a following:
<vika_nezrimaya> self: super: {}
<vika_nezrimaya> This is your overlay boilerplate. It's a function which takes two arguments: self and super.
<vika_nezrimaya> Generally you pull dependencies from super, and add your own derivations to the inside of these {}
<alexarice[m]> smakarov: that error is usually caused by using `stdenv.mkDerivation` instead of qt's `mkDerivation`
<alexarice[m]> but you're using haskell `mkDerivation` so I'm not sure how you go about fixing it
<alexarice[m]> could try `wrapQtAppsHook`
<vika_nezrimaya> so you can do self: super: { myProprietaryPackage = self.callPackage ./myPackage.nix {}; } - this will add a new package. In the file myPackage.nix you write following...
<vika_nezrimaya> in this file you basically describe a new package, as if you were writing it for Nixpkgs
<vika_nezrimaya> Nixpkgs manual will help
qqlq has quit [Quit: ZNC 1.7.4 - https://znc.in]
<ikg_agent> Would this be a good source?
erasmas has quit [Quit: leaving]
<vika_nezrimaya> NixOS wiki is a great source! :3
o1lo01ol1o has joined #nixos
<vika_nezrimaya> It describes a lot of things that are not in the manual, and helped me a lot
<ikg_agent> This is awesome, thank you. The hardest part about learning something new is knowing what things are called.
<ikg_agent> This helped a lot.
<vika_nezrimaya> I'm glad to be helpful :3
<vika_nezrimaya> I hope NixOS will be a great platform for your project!
<OmnipotentEntity> installing nixos on an rpi, I keep changing boot.loader.raspberryPi.firmwareConfig, but it's not showing up in my /boot/config.txt and it's not generating a new configuration in grub, etc. What am I doing wrong?
liberiga has quit [Quit: Leaving]
<smakarov> alexarice[m]: I tried to use wrapQtAppsHook, but it is not visible outside Qt namespace, I don't know how to make it visible
<alexarice[m]> smakarov: I really don't know, sorry
<{^_^}> [nixpkgs] @primeos pushed to master « gitRepo: 1.13.5 -> 1.13.5.1 »: https://git.io/fjxbH
civodul has joined #nixos
reallymemorable has quit [Quit: reallymemorable]
Guanin has joined #nixos
17SABCQIM has quit [Ping timeout: 258 seconds]
polman has quit [Ping timeout: 245 seconds]
polman has joined #nixos
kleisli has quit [Ping timeout: 250 seconds]
smakarov has quit [Ping timeout: 246 seconds]
wfranzini has joined #nixos
<tilpner> Hey, does anyone have a neat way to run git-bisect with only past channel points already?
ddima has quit [Ping timeout: 245 seconds]
* tilpner doesn't have much luck skip-ing around, doesn't make much progress
wfranzini has quit [Remote host closed the connection]
<infinisil> tilpner: I've been thinking about a smarter bisect, and timokau[m] too, who actually has some WIP thing online at https://github.com/timokau/nix-bisect/
freedan42x has quit [Quit: Leaving]
<tilpner> Ooh! :o
<infinisil> Ah man so many things to work on
<{^_^}> [nixpkgs] @adisbladis pushed to master « emacs-packages: Add update script that fetches from overlay »: https://git.io/fjxbj
hmpffff has quit [Quit: nchrrrr…]
evanjs- has quit [Quit: Configuring ZNC, sorry for the joins/quits!]
evanjs- has joined #nixos
<aswanson> anyone used ncurses in development on nixos before? Specifically I'm looking at the ncurses Rust crate, which specifies needing the ncurses library installed and linkable, which seems to be non-trivial in nixos
orivej has quit [Ping timeout: 245 seconds]
DariusTheMede has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @benley opened pull request #67793 → yubioath-desktop: Fix desktop launcher icon → https://git.io/fjxNf
waleee-cl has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/fjxNU
<{^_^}> [nixpkgs] @samueldr opened pull request #67794 → sgtpuzzles: 20180429.31384ca -> 20190415.e2135d5 → https://git.io/fjxNT
ng0 has joined #nixos
ikg_agent has quit [Remote host closed the connection]
tiAy has joined #nixos
valebes has quit [Read error: Connection reset by peer]
philr has joined #nixos
valebes has joined #nixos
drakonis_ has joined #nixos
kleisli has joined #nixos
DariusTheMede has joined #nixos
<evanjs-> aswanson: have you tried `nix-shell -p ncurses.dev pkgconfig` yet? For the development stage, at least
drakonis has quit [Ping timeout: 264 seconds]
<timokau[m]> tilpner: In case you want to give it a shot, you can do something like this: https://gist.github.com/timokau/76e1dd80823fae96d10b087105db3dd6
byteflam1 has joined #nixos
DariusTheMede has quit [Ping timeout: 245 seconds]
drakonis has joined #nixos
ossus has quit [Ping timeout: 245 seconds]
xkapastel has quit [Quit: Connection closed for inactivity]
valebes has quit [Read error: Connection reset by peer]
valebes has joined #nixos
byteflam1 has quit [Ping timeout: 245 seconds]
valebes has quit [Read error: Connection reset by peer]
ddima has joined #nixos
valebes has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer opened pull request #67795 → nixos/system-path: remove wrappers from system-path → https://git.io/fjxNc
growpotkin has joined #nixos
<freeman42x[NixOS> "PlayOnLinux is unable to find 32bits OpenGL libraries." anyone knows which Nix packages this needs?
<tilpner> timokau[m]: That looks very clean for a bisect that needs to build something, but I just instantiate, and wanted to reduce the number of commits to bisect over. I'll remember this for when I need to build-bisect though :)
<timokau[m]> tilpner: In that case why do channels matter?
<tilpner> timokau[m]: The idea is to use grahamcs list of past channel revisions (channels.nix.gsc.io) to reduce the maximum number of evaluations
<tilpner> timokau[m]: I've been at "roughly 13 steps" for the past 20 steps, because I "exit 125" so much
<evanjs-> freeman42x[NixOS:
<evanjs-> Mentions what you need to get 32bit stuff working
<evanjs-> I don’t trust random snippets of my config without context or descriptions lol
<timokau[m]> tilpner: So you're not building at all? If you're only using channels, you'd have the same amount of evals just at a more limited set of commits
<{^_^}> [nixpkgs] @7c6f434c merged pull request #67794 → sgtpuzzles: 20180429.31384ca -> 20190415.e2135d5 → https://git.io/fjxNT
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/fjxNR
<tilpner> timokau[m]: Yes, my config doesn't eval anymore against unstable, but does against 19.03, and I can't figure out why. I don't know how "git bisect skip" finds the next commit to test, but I think this will take much longer than if I was able to bisect over just past channel revisions
<timokau[m]> tilpner: I think git bisect skip selects a commit in the range randomly with a bias towards the middle
<timokau[m]> Why do you skip instead of good/bad?
<tilpner> Because I can't tell if it's good/bad for any arbitrary commit
valebes has quit [Read error: Connection reset by peer]
<tilpner> If it instantiates correctly, that's good. If it fails on an assert during linuxPackages.blcr, that's bad. Any other eval error, and I skip
valebes has joined #nixos
<tilpner> (I want to find out why it evals that assert of blcr)
__monty__ has quit [Quit: leaving]
<timokau[m]> tilpner: Alright I think I'm missing too much information to understand the problem :D Hope you find the offender
<tilpner> I'll just let it run and look at the vicinity of wherever it stops :/
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
evanjs- has quit [Quit: Configuring ZNC, sorry for the joins/quits!]
evanjs- has joined #nixos
ether66 has joined #nixos
psyanticy has quit [Quit: Connection closed for inactivity]
valebes has quit [Ping timeout: 268 seconds]
valebes has joined #nixos
<{^_^}> [nixpkgs] @zimbatm opened pull request #67796 → remove empty nix file → https://git.io/fjxNw
<{^_^}> [nixpkgs] @matthewbauer merged pull request #67796 → remove empty nix file → https://git.io/fjxNw
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fjxNK
gh30rgh3 has joined #nixos
qyliss has joined #nixos
evanjs- has quit [Quit: Configuring ZNC, sorry for the joins/quits!]
<gh30rgh3> i see there are two nix channels. this one and #nix, both on matrix. what's the difference between the two/
evanjs- has joined #nixos
freeman42x[NixOS has quit [Ping timeout: 258 seconds]
evanjs has quit [Killed (hitchcock.freenode.net (Nickname regained by services))]
evanjs- is now known as evanjs
evanjs- has joined #nixos
dansho has quit [Ping timeout: 244 seconds]
emptyflask has quit [Ping timeout: 245 seconds]
<o1lo01ol1o> I have a user that can ssh into another machine (darwin) running nix and run 'nix-store'. however, that same user get's "bash: command nix-store not found" if non interactive: ssh foo@darwin 'nix-store --help'
<o1lo01ol1o> I can't remember how I fixed this before
<cransom> o1lo01ol1o: ssh -t?
<o1lo01ol1o> cransom: well, it's the hydra user, so I can't really change the flags it uses . . .
<cransom> gh30rgh3: this channel is the only one guaranteed to make you run faster and jump higher.
<gh30rgh3> cransom: does it also make my thing grow bigger?
<cransom> gh30rgh3: it does not.
<gh30rgh3> useless.
<andi-> if your thing is /nix/store it might help.
gxt has joined #nixos
Mrmaxmeier has joined #nixos
<{^_^}> [nixpkgs] @aszlig opened pull request #67798 → nixos/tests/systemd: Fix x-initrd-mount flakiness → https://git.io/fjxNp
valebes has quit [Quit: Quit]
freeman42x[NixOS has joined #nixos
valebes has joined #nixos
valebes has quit [Client Quit]
orivej has joined #nixos
<{^_^}> [nixpkgs] @demyanrogozhin opened pull request #67799 → particl-core: 0.17.1.2 -> 0.18.1.3 → https://git.io/fjxAJ
ixxie has quit [Quit: Lost terminal]
<freeman42x[NixOS> is there a phoenicis package under NixOS?
jgeerds has quit [Ping timeout: 268 seconds]
Myhlamaeus2 has quit [Ping timeout: 244 seconds]
emptyfl4sk has joined #nixos
dansho has joined #nixos
vesper has quit [Quit: ZNC 1.7.3 - https://znc.in]
vesper11 has joined #nixos
drakonis__ has joined #nixos
emptyfl4sk has quit [Ping timeout: 258 seconds]
<evanjs> freeman42x[NixOS: this one?
siiky has joined #nixos
Rusty1 has joined #nixos
<freeman42x[NixOS> evanjs, yeah, I think that one
<freeman42x[NixOS> evanjs, this is it on GitHub: https://github.com/PhoenicisOrg/phoenicis
<freeman42x[NixOS> I tried following their build / install instructions and run into an error
jlv has joined #nixos
<{^_^}> [nixpkgs] @averelld opened pull request #67800 → cablire: 3.46.0 -> 3.47.0 → https://git.io/fjxAc
Stuck_ has joined #nixos
<jlv> How might I go about locally testing the configuration of a NixOS EC2 instance? I tried running a vm of the configuration, but it doesn't look like I can run a configuration based on amazon-image.nix in a vm.
<gh30rgh3> jlv: if that's an ami, that's probably the reason why
OmnipotentEntity has quit [Ping timeout: 245 seconds]
<jlv> Ya, I got the configuration.nix from an ami. It imports `nixpkgs/nixos/modules/virtualisation/amazon-image.nix`, which I assume is why the vm has trouble with it.
<jlv> I figure I can split the configuration up and only keep the aws specific parts in one configuration while testing the rest in a vm, but ideally I wouldn't have separate environments for testing and production.
<jlv> I thought there might be a better solution that people familiar with nix know.
<evanjs> freeman42x[NixOS: yeah typically you cant just go and “build” stuff on nix without opening a nix-shell or writing an expression. Doesn’t look like we have it on nixpkgs, unfortunately. For that stuff, I’ve just been using steam+proton and sometimes just steam-run and those seem to work great so far.
<Stuck_> Hi, scrub here, I installed recently nixos, I want to install the haskell package xmonad, I've installed with haskellPackages.xmonadhaskellPackages.xmonad
<Stuck_> ...
<Stuck_> yeah, but I can't import the XMonad
<{^_^}> [nixpkgs] @Ma27 merged pull request #67778 → filezilla: 3.43.0 -> 3.44.2 → https://git.io/fjx5v
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/fjxA4
<evanjs> Stuck_: have you checked the NixOS installation section on the Haskell wiki?
<Stuck_> yap I've done it
<Stuck_> Just the first part tho
<rnhmjoj> have you ever seen nix(-build) say `don't know how to build these paths:`? the build was like paused. the path in question was cups, strangely running `nix-build cups` and then nix-build again got it unstuck
Guanin has quit [Remote host closed the connection]
Myhlamaeus2 has joined #nixos
vk3wtf has quit [Ping timeout: 245 seconds]
<evanjs> Stuck_: if you look down a little further it’ll specify that you need to have a few things in your systemPackages or user profile in order to rebuild xmonad. This is in addition to extraPackages in the xmonad config from the first bit
Wizek has joined #nixos
<Stuck_> I've done 'nix-rebuild switch'
<Stuck_> (At least I know how to build my config)
dansho has quit [Quit: Leaving]
<evanjs> Stuck_: Right, still need to have xmonad and friends in your systemPackages or user profile so you can rebuild xmonad itself once it’s configured (eg by running `xmonad --recompile`). This would be after nixos-rebuild
<freeman42x[NixOS> evanjs, how did you install Proton on NixOS?
<evanjs> freeman42x[NixOS: I just use the one that comes with steam lol. You can turn off “only run with compatible games” so it’ll just try to run any non Linux games using proton, etc
<evanjs> Stuck_: this is assuming you’re customizing your xmonad config at all
<Stuck_> the thing is that I can't import XMonad
Myhlamaeus3 has joined #nixos
Myhlamaeus2 has quit [Read error: Connection reset by peer]
<evanjs> Stuck_: Like when you’re recompiling it?
is_null has quit [Remote host closed the connection]
<Stuck_> it gives an error in import XMonad
vika_nezrimaya has quit [Ping timeout: 245 seconds]
felixfoertsch has quit [Quit: ZNC 1.7.3 - https://znc.in]
<Stuck_> but thats because I have in my config
felixfoertsch has joined #nixos
<Lears> Stuck_: if you only need xmonad to be able to recompile itself, you should purge everything related to xmonad from your nixos config and your user-local nix generation, then enable only the services.xserver.windowManager.xmonad options.
<Lears> And you might need to restart the session after the rebuild, since it relies on an env var...
civodul has quit [Ping timeout: 252 seconds]
<Stuck_> but I just want to import XMonad in my ghci (I've realized I wasn't being clear in that so simplifying)
<Stuck_> It recompiles, because my config has import XMonad in it, it gives an error
vk3wtf has joined #nixos
ether66 has quit [Remote host closed the connection]
<Lears> Stuck_: Yeah, the proper way to do that is definitely not to tamper with your xmonad install or even your nixos config, but instead to enter into a nix-shell that has a ghc which knows about xmonad.
DariusTheMede has joined #nixos
<Lears> Something like nix-shell -p 'haskellPackages.ghcWithPackages (p: [p.xmonad])'
<evanjs> ^
vk3wtf has quit [Ping timeout: 245 seconds]
<Stuck_> ok, I've done that, but shouldn't I do nix-env instead of nix-shell?
<Stuck_> unfortunatelly didn't work, ...
<{^_^}> [nixpkgs] @averelld opened pull request #67801 → libgpg-error: fix build with gawk 5 → https://git.io/fjxAF
wildtrees has quit [Quit: Leaving]
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Ma27 merged pull request #67786 → maturin: 0.6.1 -> 0.7.0 → https://git.io/fjxFU
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/fjxAN
<Lears> Stuck_: "didn't work" is extremely uninformative. If you want help you need to say what you tried, what you expected, and what happened instead.
mbrgm_ has joined #nixos
<{^_^}> [nixpkgs] @rnhmjoj opened pull request #67802 → monero-gui: cleanup → https://git.io/fjxAA
<Stuck_> I copy pasted what you gave me, open up ghci and tried import XMonad
mbrgm has quit [Ping timeout: 264 seconds]
mbrgm_ is now known as mbrgm
<Stuck_> no problems in the command
freeman42x[NixOS has quit [Ping timeout: 268 seconds]
<Lears> You're opening ghci in the resulting shell, by directly invoking the ghci command? Because I just tried and it works for me.
kleisli has quit [Ping timeout: 245 seconds]
<Stuck_> With resulting shell you are saying in the shell that I executed the nix-shell?
freeman42x[NixOS has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #67529 → nixos/fontconfig-penultimate: disable by default → https://git.io/fjAre
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjxAh
<gchristensen> worldofpeace++
<{^_^}> worldofpeace's karma got increased to 33
<worldofpeace> I'm gonna do Jan's next :P
<Lears> Stuck_: Yes, the nix-shell command only produces a throwaway environment for you to use in that shell. It would be broken if it affected any other part of your system.
iyzsong has joined #nixos
<Stuck_> ok, it's saying 'It is a member of the hidden package ‘xmonad-0.15’'
vk3wtf has joined #nixos
<Stuck_> nice and with the :set -package xmonad it works
<Lears> That's ... a little weird. I don't know why it's being treated as hidden. Maybe someone else can tell you. But yeah, setting the right option you can still import from hidden packages.
<Stuck_> ok some progress, ^^ thank you very much