<{^_^}>
[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
<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
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_>
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]
<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*
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_>
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_>
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_>
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*
<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]
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
<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>
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 :)
<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
<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_>
(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>
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."
<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 ...)
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.
<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]
<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.
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]
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
<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
<{^_^}>
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?
<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?
<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
<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
<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
<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
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
<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
<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?
<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
<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.
<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]
<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.
<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.
<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
<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.
<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.`
<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?
<{^_^}>
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 :)
<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] @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/
<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 = ...; }`
<{^_^}>
[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]
<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
<{^_^}>
[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.
<{^_^}>
[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?
<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/
<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?
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?
<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.
<{^_^}>
[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?
<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.
<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...
<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]
<{^_^}>
[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]
<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
<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
<{^_^}>
[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?
<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:
<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>
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
<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
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->
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
<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]
<{^_^}>
[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.
<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
<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]
<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.
<{^_^}>
[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.