<aanderse>
which is one of the many reasons i like nixos :)
<aanderse>
the module system takes care of you most of the time
<AlexRice[m]>
also I've currently reused the windows efi partition, I'm not sure if this is correct and I think it might be what is causing problems
<jasongrossman>
Even if you don't use refind (I don't), its web pages have very good documentation on how various bootloaders work.
<clever>
AlexRice[m]: windows may overwrite files in there
day|flip has joined #nixos
<samueldr>
I use simple refind without it being managed by nixos, which then uses the nixos-installed grub to boot nixos; refind is at the default fallback location...
aloiscochard has joined #nixos
<AlexRice[m]>
I'll try to make another efi partition then
<samueldr>
... that is because at least two of my EFI machines have bad implementations, which can lose the settings :/
<samueldr>
... the other two have not yet failed me, though one of those two did fail me on firmware upgrade :/
xkapastel has joined #nixos
pxc has quit [Ping timeout: 246 seconds]
<GlennS>
Hi, I'm wondering about `python3 setup,py develop`. In the manual it suggests to instead do buildPythonPackage inside your shell.nix, but this is a bad solution because you have to kick your shell and rebuild every time you make a code change.
<GlennS>
I've been fiddling around with `python3 setup.py develop --install-dir staging --script-dir bin` and then adding those to PYTHONPATH and PATH in my shell hook, but having some trouble and wondering if anyone has a better/working solution?
kgz has quit [Ping timeout: 250 seconds]
<GlennS>
The specific problem I'm running into is that setuptools is somehow broken and it can't find the pkg_resources module when I run my command that I built. I'll keep investigating that.
uranther has quit [Quit: Connection closed for inactivity]
jackdk has joined #nixos
tmaekawa has quit [Ping timeout: 246 seconds]
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
infinee has joined #nixos
Erasmus has joined #nixos
sigmundv_ has quit [Ping timeout: 250 seconds]
sheeldotme has joined #nixos
<sheeldotme>
hi all, I'm getting an error where cmake requires ps as a runtime dependency. It was suggested that I could use stdenv so that the darwin.ps input would propogate (https://bit.ly/2Ggt3vO). I made this change: https://bit.ly/2G7E4xQ, and still no luck. I'd really appreciate any help as I'm still not very familiar with nix.
alex`` has joined #nixos
<buckley310>
sheeldotme: i think just add procps as a build input
InFlames has joined #nixos
<buckley310>
see if that works, if not then maybe ill poke at it
silver_ has quit [Read error: Connection reset by peer]
<infinisil>
sheeldotme: Oh, setting `builder`, `args` and `system` isn't needed, and that's probably what makes it fail
<infinisil>
You should use the standard builder (which is used by default), and use the phases to change behavior or do specific stuff
<infinisil>
And to get ps, you should just add `ps` to buildInputs, not `procps` (because that's linux specific)
buffet_ has joined #nixos
drakonis has joined #nixos
buffet has quit [Ping timeout: 245 seconds]
<sheeldotme>
Thanks for your help buckley310 and infinisil, I really appreciate it! Simply removing those properties did the trick. https://bit.ly/2ImWKfW I assume this is because I was overriding standard behaviour?
<buckley310>
nice
<infinisil>
sheeldotme: Indeed, mkDerivation really only does the buildInput magic if you don't set those properties
work_ has quit [Quit: Connection closed for inactivity]
<infinisil>
sheeldotme: And actually, I think you can remove all buildInputs now, give it a try
<infinisil>
Well except cmake, but cmake should be in `nativeBuildInputs`
<sheeldotme>
Yeah I can! That makes sense, I guess that sets the architecture to be used? Is there any other difference?
<sheeldotme>
is there an easy way to see what else is included in stdenv?
<sheeldotme>
by easy way, I mean via command-line as opposed to reading the source.
<infinisil>
mkDerivation does a lot of things, like also handling cross compilation correctly, making sure you get the correct output of derivations, header files and such, strips binaries to make them much smaller, fix up runtime paths, and maybe more
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}>
[nixpkgs] @MetaDark opened pull request #59293 → qbittorrent: add python as a runtime dependency for search → https://git.io/fjqRo
nD5Xjz has quit [Ping timeout: 245 seconds]
o1lo01ol1o has joined #nixos
nD5Xjz has joined #nixos
lovesegfault has quit [Ping timeout: 240 seconds]
lovesegfault has joined #nixos
o1lo01ol1o has quit [Ping timeout: 246 seconds]
alex`` has quit [Ping timeout: 246 seconds]
o1lo01ol1o has joined #nixos
<alunduil>
Does anyone know if there are plans to integrate lorri into nixpkgs and home-manager? I'd love to use it but having it installed without one of these sources doesn't make it desirable at this time.
<infinisil>
And the ... is the rest of your config where you can add lorri to systemPackages/packages
<alunduil>
infinisil: I thought about that but was hoping it'd be packaged or likewise to make it simpler than that. If not, that's fine. I can probably live with that.
<OmnipotentEntity>
Is there an example in nixpkgs of a firefox addon that has a companion app? I'm trying to package video download helper.
<infinisil>
alunduil: Well it *is* packaged, it just lives outside of nixpkgs for now, and that's not necessarily a bad thing
<alunduil>
infinisil: nope, what advantages am I not thinking of for having a package outside nixpkgs?
<infinisil>
alunduil: For one the package can independently be updated, not constrained by having to PR updates to nixpkgs
<infinisil>
They can also guarantee that the package actually builds. nixpkgs constantly changes, potentially breaking your package in hundred ways
<alunduil>
infinisil: I hadn't thought of that second point.
<{^_^}>
nix-community/NUR#83 (by Mic92, 27 weeks ago, open): Improve design of NUR search
<alunduil>
infinisil: nice! I'll have to digest a bit of this.
<alunduil>
infinisil: thanks for catching me up a little bit.
<{^_^}>
[nixpkgs] @sveitser opened pull request #59295 → python.pkgs.pytest-watch: init at 4.2.0 → https://git.io/fjqR5
InFlames has joined #nixos
slack1256 has joined #nixos
Arahael has quit [Remote host closed the connection]
ryantrinkle has quit [Ping timeout: 245 seconds]
slack1256 has quit [Remote host closed the connection]
Mateon2 has joined #nixos
Mateon1 has quit [Ping timeout: 268 seconds]
Mateon2 is now known as Mateon1
<InFlames>
is there a good way to centralize my nix shells and enter them within different directories? Like say I have one for node development, but I don't really want to symlink it into each directory manually, I know I can just symlink the directory above all my projects and then navigate into them to run the shell, but is there a better way?
<{^_^}>
[nixpkgs] @worldofpeace pushed 3 commits to master: https://git.io/fjqEL
<Arahael>
mabel: I personally prefer the fish shell, but it's worth learning bash. If you're familiar with powershell, you could install that instead.
<Arahael>
The thing about bash is that it's ubiquitious - it's the default shell everywhere (except windows), and even with windows, if you install git, you will typically have it installed.
<mabel>
oh, I mean to use bash for my builder
<Arahael>
Ah, yeah, use bash for that.
<mtjmullen>
Hey all, thanks for making ACME so easy to get up and running :)
<{^_^}>
[nixpkgs] @veprbl merged pull request #57743 → ffmpeg_4: build with videotoolbox on darwin → https://git.io/fjvUO
<{^_^}>
[nixpkgs] @veprbl pushed commit from @ryan4729 to master « ffmpeg_4: build with videotoolbox on darwin (#57743) »: https://git.io/fjqEq
<mabel>
arahael: so I'm not exactly sure where to put the builder.. my thought is that I should keep my module pure and include no derivations there (other than simple things like writeText), then make like a buildContainerImage function which 1. calls evalModules [ ./my-module.nix callerModule ] and 2. builds a derivation out of the resulting config
<mabel>
does that seem roughly like the right direction?
kyren has joined #nixos
<Arahael>
mabel: I'm afraid I'm still very new to nixos, and nix in general, however I'm not sure if you're using "pure" in the "minimalist" sense, or in the nix sense of the word where you have deterministic builds.
<mabel>
pure in the separation of concerns sense
gagbo has joined #nixos
fendor__ has quit [Ping timeout: 268 seconds]
gspia_ has joined #nixos
<InFlames>
simpson: thanks, that looks promising, for now I'm just still making symlinks, haha
<chrisaw>
Does anyone know how I can override the *full* systemd.services.*.preStart script? I know I can extend it but I need to replace the full script.
nD5Xjz_ has joined #nixos
<Akii>
I've a thing that builds fine locally but on the server it suddenly says that The option value `environment.systemPackages.[definition 1-entry 4]' in `/etc/nixos/packages.nix' is not of type `package'.
nD5Xjz has quit [Ping timeout: 268 seconds]
kleisli has quit [Ping timeout: 250 seconds]
<gyroninja>
I'm trying to use nix on my gentoo machine and am running into a couple problems
<gyroninja>
the first seemed to be fixed by setting my NIX_PATH, but I'm still getting this error "error: unable to start build process" when I try to install a package
nD5Xjz has joined #nixos
ayerhart has joined #nixos
nD5Xjz_ has quit [Ping timeout: 255 seconds]
day|flip has quit [Quit: leaving]
Ariakenom has joined #nixos
periklis has joined #nixos
<gyroninja>
I'm using version 2.2.1 if that is relavent
<gyroninja>
but the error still appears when trying to run the latest from git
Anton-Latukha has joined #nixos
goibhniu1 has joined #nixos
fusion809 has quit [Remote host closed the connection]
AxiomaticEspress has quit [Quit: WeeChat 2.4]
<Akii>
ist it somehow possible to debug any of this?
m0rphism has joined #nixos
<Akii>
I want to print this variable that is supposedly not a package
amfdsrt^ has quit [Read error: Connection reset by peer]
<mabel>
JaakkoLuttinen[m: iirc, stdenv calls source on each build input, so that build inputs get added to the path. I think there's a variant called writeScriptDir or something that will put the script in a dir rather than the build input pointing to the script directly
gyroninja has joined #nixos
teto1 has joined #nixos
crmlt has quit [Ping timeout: 250 seconds]
polman has quit [Ping timeout: 246 seconds]
<Akii>
ah ok, I think I know what's wrong: the chromedriver and the current chromium are incompatible
<Akii>
is there a quick way of installing a specific chromium version?
polman has joined #nixos
<mabel>
Akii: yup! you can override the package to pin the version
<mabel>
in my home.nix, where I fetch a specific version of bspwm by overriding the "src" attribute of the derivation
<mabel>
there are three hooks: override, overrideAttrs and overrideDerivation. overrideAttrs overrides the attributes that are passed into stdenv.mkDerivation, overrideDerivation overrides the derivation itself (mkDerivation is a wrapper on the real derivation {}), and override lets you mess with the closure that goes into the package
<mabel>
another trick I use is to search gist.github.com for language:nix package_I'm_interested_in, to see if someone's done it before
<mabel>
ah, so if you wanted to change the channel, you could call chromium.override { channel = "unstable"; } for instance
<Akii>
I need a specific version that works with the chromedriver for selenium
InFlames has quit [Ping timeout: 246 seconds]
Shouou has quit [Quit: Leaving]
noctux has quit [Quit: WeeChat 2.3]
Jetien_ has joined #nixos
drakonis_ has joined #nixos
<Akii>
what is this: chromium.browser.version
lovesegfault has quit [Quit: WeeChat 2.4]
InFlames has joined #nixos
<Taneb>
Are there any caveats I might not be aware of with building docker images on remote builders? Our local Hydra server seems to be refusing to do it
<srhb>
Taneb: You need kvm for runAsRoot.
<srhb>
Taneb: That's about it.
<srhb>
Check the queue runner status for unrunnables because of that feature I guess.
<Taneb>
srhb: I think that's likely it. Is that a supportedFeature?
<Taneb>
Yeah, that's almost certainly it, thank you
arjen-jonathan has quit [Ping timeout: 268 seconds]
<srhb>
Sure thing. Do holler back.
Izorkin has joined #nixos
knupfer has quit [Ping timeout: 250 seconds]
<mabel>
ooh another Hydra user
teto1 is now known as saber
saber is now known as Guest27063
<Taneb>
mabel: we use it as our CI at work
pi1 has joined #nixos
<mabel>
ooh neat! I'm in the process of trying to use Hydra for CI/CD for my personal Kubernetes cluster
<Taneb>
I hope it goes well for you :)
<srhb>
mabel: Quite a few Hydra users in here :)
<Taneb>
srhb: I imagine this is one of the IRC channels with the highest densities of Hydra users ;)
<srhb>
Noooo. :-P
pi1 has quit [Client Quit]
pi_ has joined #nixos
<mabel>
thanks! it is an adventure. apparently Nix needs privileges to run sandboxed builds so it's tricky to run Hydra within docker, but I can trust myself so I'll be okay
<mabel>
my first step is to make a Nix expression for putting Hydra in a docker container, so I decided to make modularized config for containers so I can make little Alpine-like base derivations, and so on and so forth until it becomes like the Xkcd system for passing arbitrary condiments :?
<srhb>
lo
<srhb>
l
<Taneb>
I guess the question is are you doing this for fun or for practicality
<mabel>
fun!
<Taneb>
Then overengineer away!
<Taneb>
:)
<mabel>
totally! :D
<Taneb>
Something on my todo list is getting the configuration for the server which runs the CI at work into CI itself, and make it automatically deploy to itself
<{^_^}>
[nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjqg2
amfabaiste has joined #nixos
Erasmus has quit [Quit: END-AUMF]
reivilibre has joined #nixos
<emilsp>
what's the nix to get a line like "swap /dev/disk/by-label/id /dev/urandom swap,cipher=aes-xts-plain64,size=256" end up in ones /etc/crypttab ?
<clever>
WARNING #2: Do not use /dev/disk/by-uuid/… or /dev/disk/by-label/… as your swap device when using randomEncryption as the UUIDs and labels will get erased on every boot when the partition is encrypted. Best to use /dev/disk/by-partuuid/…
<{^_^}>
[nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjqgD
rjmill has joined #nixos
<{^_^}>
[nixpkgs] @xrelkd opened pull request #59302 → cargo-make: init at 0.17.1 → https://git.io/fjqgd
ubert has joined #nixos
mojjo has joined #nixos
<mojjo>
hi! does anyone have a nixos sample config for using german umlauts with a US keyboard? It's kind of a jungle and no solutions seems to work for me.
<makefu>
mojjo: you probably want "US-international" as keyboard layout
<m0rphism>
mojjo: Note, that the keycodes may be different on your keyboard. I'm actually using a german keyboard, but using actual umlaut keys as alternatives for control and tab ;)
<m0rphism>
also hjkl is jklö in my layout. People hate using my computer :3
<mabel>
is there a trim operator I can use to remove leading /?
<m0rphism>
mojjo: (If you go the xmodmap road, you may find the `xev` tool helpful which lets you press keys and prints their keycodes and other info)
<mabel>
it is!
<mabel>
thank you!
<equivrel>
mojjo: I have services.xserver.xkbOptions = "compose:ralt", which then lets me use the right alt as a compose key, so that e.g. ü can be inputed by doing holding ralt and typing: u"
<equivrel>
I find that this is versatile and supports a łøt öf æccéntß intuitively
<AlexRice[m]>
Akii: How are you calling the package?
<thblt>
I'm trying to install a newer version of Zotero than what nixpkgs provide, like this: https://paste.thb.lt/1554977258.nix.html and nix-env -i all fails with: error: anonymous function at /nix/store/7qvd11gb3nvgqdvgs1apv7hjzp5a4laz-nixos-19.09pre174426.acbdaa569f4/nixos/pkgs/applications/office/zotero/default.nix:1:1 called with unexpected argument 'version', at
<arq1>
hello, i have a problem, when i installed and tried to run eclipse i got a java runtime error https://pastebin.com/8UsPDecF
<AlexRice[m]>
thblt: Try changing the name to zotero-5.0.65 instead of changing the version
rjmill has joined #nixos
teto1 has quit [Quit: WeeChat 2.4]
<AlexRice[m]>
though I just tried this and it claimed to build the right thing but the version number still shows the wrong thing when I run it
<chaker>
Hey, is there a way to specify a params to the kernel without using nixos-rebuild? I know that the cmdline arguments can be found at /proc/cmdline but that's a virtual file that can't be changed without running update-grub
johanot has joined #nixos
<thblt>
AlexRice[m]: same result.
<thblt>
It does something with the override since it complains if the SHA is wrong
jtojnar has joined #nixos
<AlexRice[m]>
Mine downloaded the correct source
<AlexRice[m]>
but the output program looked wrong
rjmill has quit [Ping timeout: 246 seconds]
<AlexRice[m]>
I don't really know what is going on, sorry
<thblt>
What's the git branch of NixOS unstable? master?
<thblt>
Because the structue of the derivation has changed
<AlexRice[m]>
i think it's currently on the old version
fendor has joined #nixos
<AlexRice[m]>
unstable hasn't updated in a few days
<Akii>
hm I think I'm starting to get a hang of it
<thblt>
Yes it's the version with the strange zoteroSrc = …
gal_bolle has joined #nixos
<thblt>
Which I really suspect is the culprit here
<AlexRice[m]>
sounds right
<AlexRice[m]>
try overriding zoteroSrc instead and see what happens?
<AlexRice[m]>
though that will break when unstable advances
<emilsp>
clever: regarding randomly encrypted swap - a there's actually an assertion that forbids one from specifying the swap device by label or uuid during eval time.
<thblt>
I tried, it breaks. But it's in a let block
<AlexRice[m]>
honestly I would just copy the file from master, change what you want then callPackage
<{^_^}>
[nixpkgs] @FRidh pushed commit from @t184256 to master « python3Packages.nixpkgs: 0.2.2 -> 0.2.3 »: https://git.io/fjqaA
<AlexRice[m]>
on a different note has anyone managed to fix problems with their boot loader not displaying anything? the only reason I can think of is nvidia graphics being funny
<thblt>
AlexRice[m]: Trying this, thanks
<{^_^}>
[nixpkgs] @FRidh merged pull request #59070 → python3Packages.papis: provide as a library too → https://git.io/fjL9M
<{^_^}>
[nixpkgs] @FRidh pushed commit from @teto to master « python3Packages.papis: provide as a library too (#59070) »: https://git.io/fjqaj
<Akii>
yay got selenium to work \o/ whooo!
<Akii>
thanks again AlexRice[m]
<Akii>
was able to adapt that and make it into an overlay
<Akii>
that basically also updated selenium standalone server
<Akii>
very, very nice
<thblt>
No it complains about some strange cache issue...
<thblt>
Nevermind it may be my stupid ISP being stupid
<thblt>
Yes this is it
civodul has quit [Ping timeout: 240 seconds]
<thblt>
How do I flush the DNS cache nix uses (I guess it's curl's)?
<thblt>
systemctl restart nscd.service
<jasongrossman>
AlexRice[m]: I recall someone having trouble with an nvidia card and their boot graphics. You could search the logs for that. Also, you could try a separate boot manager, like refind.
<thblt>
And it worked! Thanks all!
<AlexRice[m]>
jasongrossman: I might see if I can work out what refind is, thanks
rrrojo has joined #nixos
<pie_>
joepie91, have you ever tried to use the nix debian package?
<rrrojo>
Hello
<rrrojo>
I hadn't upgraded NixOS for a long time, because for some reason the newer repos didn't give me video, whatever driver I tried.
<jasongrossman>
Did you know that you have to copy text BEFORE pasting it?
<rrrojo>
Now I was about to attempt again, and there are additional problems that (I imagine) are due using a very old nix version to update nix
<rrrojo>
I imagine updating it in stages could work. But anyway. I just installed Fedora on another partition.
<rrrojo>
and for some reason, I lost the NixOS booting option in GRUB
fendor has quit [Remote host closed the connection]
<joepie91>
pie_: nope, did not even know there was one
civodul has joined #nixos
<pie_>
crap xD
<rrrojo>
Is there some way to, from Fedora, reinstall NixOS on its own partition? Ideally, not losing the store, and having it fix the boot (without killing my Fedora)
<AlexRice[m]>
jasongrossman: seemed to do the same thing as before, is there some log which would say if it actually used refind
zupo has joined #nixos
<fendor>
can I write fish-config in an nix overlay?
<AlexRice[m]>
jasongrossman: I think it is working
<AlexRice[m]>
jasongrossman: I installed refind and efibootmgr using nix-env then ran refind-install
<JaakkoLuttinen[m>
What is the correct way to write a simple derivation for a script so that I can add the script to build inputs and have it in the PATH in the build environment? writeScript is bad because it leads to executing the script at build time.
<AlexRice[m]>
jasongrossman: I just need to find a way to clear up the mess I've made putting different broken bootloaders everywhere and I think it will work
rjmill has quit [Ping timeout: 246 seconds]
<jasongrossman>
AlexRice[m]: I hear you. I've been there.
<AlexRice[m]>
jasongrossman: thanks for the help
Qubasa has quit [Ping timeout: 244 seconds]
<jasongrossman>
No worries. I agree that it should be fine now. Hope so.
<AlexRice[m]>
everything that I want to boot boots, I just have extra entries that don't
srid has quit [Ping timeout: 250 seconds]
nD5Xjz has quit [Ping timeout: 255 seconds]
iyzsong has joined #nixos
nD5Xjz has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zupo has joined #nixos
zupo has quit [Client Quit]
srid has joined #nixos
Xal has quit [Ping timeout: 255 seconds]
<{^_^}>
[nixpkgs] @FRidh pushed to release-19.03 « hiredis-vip: init at 0.3.0 »: https://git.io/fjqwf
Xal has joined #nixos
kreisys has joined #nixos
emacsomancer has joined #nixos
pie_ has quit [Ping timeout: 250 seconds]
rrrojo has quit [Quit: WeeChat 2.4]
kleisli has joined #nixos
Makaveli7 has joined #nixos
orivej has joined #nixos
ng0 has joined #nixos
linarcx has quit [Ping timeout: 255 seconds]
civodul has quit [Ping timeout: 268 seconds]
linarcx has joined #nixos
coconnor has quit [Ping timeout: 255 seconds]
InFlames has quit [Ping timeout: 245 seconds]
coconnor has joined #nixos
drakonis has joined #nixos
drakonis_ has quit [Ping timeout: 246 seconds]
YanMinari[c][m] has quit [Ping timeout: 240 seconds]
dtz has quit [Ping timeout: 240 seconds]
xenofungus[m] has quit [Ping timeout: 252 seconds]
sneknek[m] has quit [Ping timeout: 252 seconds]
tbenst[m] has quit [Ping timeout: 252 seconds]
linarcx has quit [Ping timeout: 250 seconds]
stammon has quit [Ping timeout: 252 seconds]
laas has quit [Ping timeout: 250 seconds]
wak-work has quit [Ping timeout: 240 seconds]
copy` has quit [Ping timeout: 240 seconds]
thefloweringash has quit [Ping timeout: 250 seconds]
bennofs[m] has quit [Ping timeout: 250 seconds]
Dandellion[m] has quit [Ping timeout: 252 seconds]
yangm97 has quit [Ping timeout: 252 seconds]
travelion[m] has quit [Ping timeout: 264 seconds]
atopuzov[m] has quit [Ping timeout: 264 seconds]
kaychaks[m] has quit [Ping timeout: 264 seconds]
florianjacob has quit [Ping timeout: 264 seconds]
bbigras has quit [Ping timeout: 240 seconds]
philipp[m] has quit [Ping timeout: 240 seconds]
ptotter[m] has quit [Ping timeout: 240 seconds]
bb010g has quit [Ping timeout: 240 seconds]
submoo[m] has quit [Ping timeout: 252 seconds]
olejorgenb[m] has quit [Ping timeout: 252 seconds]
kyren[m] has quit [Ping timeout: 252 seconds]
Flip[m]1 has quit [Ping timeout: 252 seconds]
MiloIgnis[m] has quit [Ping timeout: 252 seconds]
Ericson2314 has quit [Ping timeout: 252 seconds]
weebull[m] has quit [Ping timeout: 268 seconds]
nh2[m] has quit [Ping timeout: 268 seconds]
Noughtmare[m] has quit [Ping timeout: 250 seconds]
teh[m] has quit [Ping timeout: 265 seconds]
rnhmjoj has quit [Ping timeout: 265 seconds]
rdes[m] has quit [Ping timeout: 265 seconds]
aissat[m] has quit [Ping timeout: 265 seconds]
hylshols7qui[m] has quit [Ping timeout: 265 seconds]
vaibhavsagar has quit [Ping timeout: 265 seconds]
siraben has quit [Ping timeout: 265 seconds]
sm[m] has quit [Ping timeout: 265 seconds]
JaakkoLuttinen[m has quit [Ping timeout: 265 seconds]
hiroshi[m] has quit [Ping timeout: 265 seconds]
orospakr[m] has quit [Ping timeout: 250 seconds]
jonge[m] has quit [Ping timeout: 250 seconds]
timclassic has quit [Ping timeout: 250 seconds]
contrun[m] has quit [Ping timeout: 250 seconds]
MayeulC has quit [Ping timeout: 250 seconds]
Brio[m] has quit [Ping timeout: 252 seconds]
dkellner[m] has quit [Ping timeout: 252 seconds]
craige[m] has quit [Ping timeout: 252 seconds]
sjy[m] has quit [Ping timeout: 240 seconds]
badmutex[m] has quit [Ping timeout: 240 seconds]
nokomprendo[m] has quit [Ping timeout: 240 seconds]
isgy[m] has quit [Ping timeout: 240 seconds]
moope[m] has quit [Ping timeout: 240 seconds]
escaP[m] has quit [Ping timeout: 240 seconds]
ponpinu[m] has quit [Ping timeout: 240 seconds]
Seb[m]1 has quit [Ping timeout: 240 seconds]
MerlinGttlinger[ has quit [Ping timeout: 240 seconds]
opan has quit [Ping timeout: 240 seconds]
cornu has quit [Ping timeout: 240 seconds]
Minijackson[m] has quit [Ping timeout: 240 seconds]
fgaz has quit [Ping timeout: 240 seconds]
kevincox[m] has quit [Ping timeout: 252 seconds]
snupples[m] has quit [Ping timeout: 252 seconds]
mara[m] has quit [Ping timeout: 252 seconds]
bobvanderlinden_ has quit [Ping timeout: 252 seconds]
M0ddba11[m] has quit [Ping timeout: 252 seconds]
alienpirate5 has quit [Ping timeout: 252 seconds]
ejpcmac has quit [Ping timeout: 252 seconds]
rycee has quit [Ping timeout: 252 seconds]
bpye has quit [Ping timeout: 252 seconds]
alj[m] has quit [Ping timeout: 252 seconds]
offlinehacker has quit [Ping timeout: 252 seconds]
tokudan[m] has quit [Ping timeout: 252 seconds]
jonreeve[m] has quit [Ping timeout: 264 seconds]
zurdo has quit [Ping timeout: 264 seconds]
lycium[m] has quit [Ping timeout: 264 seconds]
otini has quit [Ping timeout: 264 seconds]
therealwaphire[m has quit [Ping timeout: 264 seconds]
leons has quit [Ping timeout: 264 seconds]
bachp has quit [Ping timeout: 264 seconds]
exarkun has quit [Ping timeout: 264 seconds]
WilliamHamilton[ has quit [Ping timeout: 264 seconds]
NickHu has quit [Ping timeout: 250 seconds]
torched[m] has quit [Ping timeout: 250 seconds]
corpix[m] has quit [Ping timeout: 250 seconds]
aaronduino[m] has quit [Ping timeout: 250 seconds]
hackeryarn[m] has quit [Ping timeout: 250 seconds]
juliendehos[m] has quit [Ping timeout: 250 seconds]
bricewge has quit [Ping timeout: 250 seconds]
theseriousadult[ has quit [Ping timeout: 250 seconds]
cejota[m] has quit [Ping timeout: 250 seconds]
jmchapman[m] has quit [Ping timeout: 250 seconds]
thequux[m] has quit [Ping timeout: 250 seconds]
am3on[m] has quit [Ping timeout: 250 seconds]
momack2[m] has quit [Ping timeout: 250 seconds]
clacke[m] has quit [Ping timeout: 250 seconds]
tdeo` has quit [Ping timeout: 252 seconds]
utdemir[m] has quit [Ping timeout: 252 seconds]
d_g[m] has quit [Ping timeout: 252 seconds]
dmitry-zen[m] has quit [Ping timeout: 252 seconds]
benkerry[m] has quit [Ping timeout: 252 seconds]
iraems[m] has quit [Ping timeout: 252 seconds]
linarcx[m] has quit [Ping timeout: 252 seconds]
zaphar_ps[m] has quit [Ping timeout: 252 seconds]
pleeplop has quit [Ping timeout: 252 seconds]
klDen[m] has quit [Ping timeout: 252 seconds]
atgo[m] has quit [Ping timeout: 252 seconds]
bkchr has quit [Ping timeout: 252 seconds]
sitischu[m] has quit [Ping timeout: 252 seconds]
jpo-joyent has quit [Ping timeout: 252 seconds]
billsun has quit [Ping timeout: 252 seconds]
attero[m] has quit [Ping timeout: 252 seconds]
AntonSchirg[m] has quit [Ping timeout: 250 seconds]
peter2121[m] has quit [Ping timeout: 250 seconds]
Josh[m] has quit [Ping timeout: 250 seconds]
makaveli[m]1 has quit [Ping timeout: 250 seconds]
metasyntactic[m] has quit [Ping timeout: 250 seconds]
attente[m] has quit [Ping timeout: 250 seconds]
IslandUsurper has quit [Ping timeout: 250 seconds]
bkl[m] has quit [Ping timeout: 250 seconds]
worldofpeace has quit [Ping timeout: 250 seconds]
sylvie[m] has quit [Ping timeout: 250 seconds]
Moredread[m] has quit [Ping timeout: 250 seconds]
luftmensch[m] has quit [Ping timeout: 250 seconds]
matthewbauer has quit [Ping timeout: 250 seconds]
marko[m]1 has quit [Ping timeout: 252 seconds]
ststefa[m] has quit [Ping timeout: 252 seconds]
Criena[m] has quit [Ping timeout: 252 seconds]
grahamc[m] has quit [Ping timeout: 252 seconds]
henrytill[m] has quit [Ping timeout: 252 seconds]
melchips[m] has quit [Ping timeout: 252 seconds]
benwaffle[m] has quit [Ping timeout: 252 seconds]
infinisil-m has quit [Ping timeout: 252 seconds]
sphalerit has quit [Ping timeout: 252 seconds]
simbergm has quit [Ping timeout: 252 seconds]
spacekitteh[m] has quit [Ping timeout: 252 seconds]
Jorik[m] has quit [Ping timeout: 264 seconds]
kjuvi[m] has quit [Ping timeout: 264 seconds]
balsoft[m] has quit [Ping timeout: 264 seconds]
AlexRice[m] has quit [Ping timeout: 264 seconds]
sputny[m] has quit [Ping timeout: 264 seconds]
lurpahi has quit [Ping timeout: 264 seconds]
das-g[m] has quit [Ping timeout: 264 seconds]
nyanloutre[m] has quit [Ping timeout: 264 seconds]
macerbi[m] has quit [Ping timeout: 264 seconds]
nbardiuk has quit [Ping timeout: 264 seconds]
aquarial has quit [Ping timeout: 264 seconds]
thaddeusmaddeus[ has quit [Ping timeout: 264 seconds]
cyberwolf[m][m] has quit [Ping timeout: 264 seconds]
musicmatze has quit [Ping timeout: 264 seconds]
Ralith has quit [Ping timeout: 264 seconds]
tet[m] has quit [Ping timeout: 264 seconds]
bobmolson[m] has quit [Ping timeout: 268 seconds]
ninjatrappeur[m] has quit [Ping timeout: 268 seconds]
JaredM[m] has quit [Ping timeout: 268 seconds]
sierraDelta has quit [Ping timeout: 268 seconds]
capslock3[m] has quit [Ping timeout: 268 seconds]
jak[m] has quit [Ping timeout: 268 seconds]
neonfuz__ has quit [Ping timeout: 268 seconds]
jschievink[m] has quit [Ping timeout: 268 seconds]
Tony[m]3 has quit [Ping timeout: 268 seconds]
tfc[m] has quit [Ping timeout: 268 seconds]
bee[m]1 has quit [Ping timeout: 268 seconds]
nocent has quit [Ping timeout: 268 seconds]
haslersn[m] has quit [Ping timeout: 268 seconds]
slabity has quit [Ping timeout: 268 seconds]
abbafei[m] has quit [Ping timeout: 268 seconds]
timokau[m] has quit [Ping timeout: 268 seconds]
BinkyTheClown has quit [Ping timeout: 268 seconds]
Barnabas[m] has quit [Ping timeout: 268 seconds]
Rich[m] has quit [Ping timeout: 268 seconds]
malteof[m] has quit [Ping timeout: 268 seconds]
wolfman12345[m] has quit [Ping timeout: 252 seconds]
smolboye[m] has quit [Ping timeout: 252 seconds]
Purple-mx has quit [Ping timeout: 264 seconds]
Dan[m]3 has quit [Ping timeout: 264 seconds]
gudea[m] has quit [Ping timeout: 264 seconds]
domenkozar[m] has quit [Ping timeout: 264 seconds]
gallexme[m] has quit [Ping timeout: 264 seconds]
fearlessKim[m] has quit [Ping timeout: 264 seconds]
Vskilet has quit [Ping timeout: 264 seconds]
tuxubuntu[m] has quit [Ping timeout: 264 seconds]
Thinkofname[m] has quit [Ping timeout: 264 seconds]
<jasongrossman>
I seem to remember being given a choice of X11 or Wayland when I used gnome shell. The choice comes in the greeter (login screen), which may not be obvious.
<niksnut>
\o/
<emilsp>
jasongrossman: yes, but regardless of what choice I make there, I still get given an X instance of gnome-shell :)
<jasongrossman>
emilsp: Oh! That's weird.
<emilsp>
or maybe the 3.28 nixos gnome-shell on wayland has implemented alt-f2+r, but I doubt it :)
<emilsp>
And yes, I too found this to be rather weird.
aloiscochard has quit [Quit: Connection closed for inactivity]
<etu>
jasongrossman: Yeah, that doesn't work on 18.09
<siers>
I tried suspending my t480 within a xfce session and it died because it ran out of battery twice now, but it seems like it suspends properly, because the music stops after a second.
<etu>
emilsp: I have used gnome on wayland in nixos on unstable in december
<{^_^}>
[nixos-homepage] @edolstra pushed 3 commits to master: https://git.io/fjqrd
linarcx has quit [Ping timeout: 268 seconds]
drewr has joined #nixos
Netsu has joined #nixos
<Taneb>
:O
<Netsu>
Hello. Can package download by curl something during build phase?
<{^_^}>
[nixpkgs] @cawilliamson closed pull request #59308 → Add ipset to dependencies for sshguard → https://git.io/fjqrC
<manveru>
Netsu: in theory... yes, in practice it's a usually a bad idea :)
<Netsu>
I have 'CURL exited with code 6' while trying to make request in configurePhase
<manveru>
Netsu: what's your use-case?
<Netsu>
manveru: looks like I have no other options. I made nix derivation to work on ocaml project to maintain dynamically linked dependencies
<Netsu>
manveru: so I need to build docker file from that nix derivation
<gchristensen>
sphalerite++
<{^_^}>
sphalerite's karma got increased to 48
<gchristensen>
samueldr++
<{^_^}>
samueldr's karma got increased to 73
<gchristensen>
sphalerite++
<{^_^}>
sphalerite's karma got increased to 49
<manveru>
Netsu: not sure i understand, your ocaml build script uses curl?
<Netsu>
manveru: for this moment I can't completely use nix for ocaml packages as well (their versions upgraded pretty often, so they outdated there)
<makefu>
sphalerite++
<{^_^}>
sphalerite's karma got increased to 50
<emilsp>
Another weird gnomey question - on other distros, I can configure more keyboard shortcuts for gnome-shell than I can on nix - specifically shortcuts for moving between workspaces and moving windows around
<Netsu>
manveru: to build ocaml project I use OPAM package manager, and it trying to update list of ocaml recipes, and load necessary packages
znc-user has quit [Remote host closed the connection]
<Netsu>
but for binary dependencies I use nix
npmccallum has quit [Ping timeout: 246 seconds]
<Netsu>
sadly, I don't know better way to handle it
<manveru>
is the output of the opam package manager deterministic?
znc-user has joined #nixos
<Netsu>
manveru: more or less -- I use pinned versions of packages
<manveru>
then you could use a fixed-output derivation that has internet access during the build, but must match a specific hash once it's done
<manveru>
that's how the different fetch* functions in nixpkgs work
<manveru>
but it will be slow and brittle... so that's why i wouldn't recommend it :)
<Taneb>
I don't think I would recommend a fixed-output derivation in this use case
<Taneb>
Like, at all
<Netsu>
manveru: any example how to use it in one of build phases?
<manveru>
Taneb: i don't know anything about the state of ocaml in nixpkgs, is there a better way?
<manveru>
looks like the ocaml-modules are also all written by hand
<manveru>
i wouldn't wanna put Netsu through that :|
<Netsu>
Well, I know, there's https://github.com/timbertson/opam2nix here. But it looks pretty unstable. And do by hand ocaml.buildDunePackage {...derivation here...} for each dependecy on every update...
<averell>
aren't meetings made for secretly being on IRC?
<mm_>
nixos install party at my place tonight!
<manveru>
mm_: actually it can
<mm_>
manveru: huh, how?
<manveru>
mm_: nix-build foo.nix --arg hi '((import <nixpkgs> {}).hello)'
<manveru>
like that...
<gchristensen>
sphalerite: ping?
<mm_>
manveru: awesome
<eyJhb>
gchristensen: who can change it? Isn't it already available ?
<jasongrossman>
gchristensen: Congratulations!
<gchristensen>
jasongrossman: congratulations to sphalerite and samueldr! :)
<jasongrossman>
sphalerite++ samueldr++
<{^_^}>
samueldr's karma got increased to 74, sphalerite's karma got increased to 51
<gchristensen>
eyjhb: the question was with regards to the very slightly stale channel topic, which is a pretty small deal :P
<niksnut>
sphalerite: samueldr: thank you so much for you hard work!
<eyJhb>
Ahhhh.....
<eyJhb>
So the topic of the IRC channel?
<gchristensen>
yes
<Netsu>
symphorien: are you tolkien about opam's "depexts" (external dependencies)?
<symphorien>
yes, also pathching shebangs, fhs paths...
<symphorien>
do you have many dependencies which are not in nixpkgs ?
<symphorien>
packaging ocaml packages by hand is usually easy.
<Netsu>
symphorien: I have more fresh ocaml dependencies actually
<symphorien>
ah I see
<sphalerite>
gchristensen: pong?
<symphorien>
then overriding the src and name attributes on nixpkgs packages could be enough
<gchristensen>
sphalerite: would you like to do the honors of updating the channel topic?
<sphalerite>
gchristensen: do I have ops?
<symphorien>
well, it would be fragile, so maybe not better than opam2nix
<Netsu>
symphorien: Also some nixpkgs's ocaml packages miss native dependencies
<gchristensen>
sphalerite: yes
<sphalerite>
Oh, I need to finish the discourse post first so I can link it ;)
nD5Xjz has quit [Ping timeout: 246 seconds]
<symphorien>
then you can make a PR to fix this :)
<gchristensen>
I'll re-op you when you're ready :)
nD5Xjz has joined #nixos
<averell>
release notes date is also ??
<Netsu>
symphorien: Actually I can BUILD my project inside the nix derivation. And for deploy Docker would be enough. So could you suggest, in which way it could be done properly? E.g. to let nix build docker file with all the non-ocaml libraries, and my binary?
mm_ has quit [Ping timeout: 256 seconds]
<symphorien>
there is a docker to nix thing in nixpkgs
<symphorien>
gchristensen may have more information about it
<Netsu>
symphorien: it shouldn't be fragile and hard to maintain, unfortunately
<Netsu>
gchristensen: thanks. If it need to have in that Docker binary that could be build inside nix derivation, but couldn't by nix itself, how it could be done?
<_Geeko_>
anyone else playing games on nixos? :D
<gchristensen>
sorry, I can't help right now
<symphorien>
Netsu: I don't understand
<Netsu>
gchristensen: it's ok, sorry for disturb
<Taneb>
_Geeko_: yeah, a little
<_Geeko_>
Taneb you play csgo?
<Taneb>
No, I'm not a fan of shooters, I'm afraid
rjmill has joined #nixos
<_Geeko_>
i am wondering how i can fix some stutter
<manveru>
_Geeko_: i just started risk of rain 2 :)
<buffet>
what was the env var to surpress `allowUnfree = false;` for a single nix-shell?
<_Geeko_>
bc i got some stutter whiile playing sometimes
<manveru>
_Geeko_: come join #nixos-chat
domogled has quit [Remote host closed the connection]
<Netsu>
symphorien: I mean, I can build project inside nix shell. And so create docker image of that nix shell with extra dependencies. But can I add compiled binary of my project then here as well in declarative way?
jabranham has joined #nixos
<manveru>
buffet: NIXPKGS_ALLOW_UNFREE=1
<buffet>
thanks
<symphorien>
Netsu: if you can build your project with nix-build (not nix-shell) then you can easily convert it in a docker image with pkgs.dockerTools
infandum has joined #nixos
<Netsu>
symphorien: looks like I can't (because of fragileness of ocaml's ecosystem in nix). That's why I would prefer to do it in imperative way by opam the ocaml's package manager, but inside nix-shell for external libraries...
<symphorien>
If it is not too much of an upfront cost, fixing the ocaml packages in nixpkgs would be the best way I think.
<infandum>
I have two problems which I think have the same cause: 1. keepass keeps forgetting the database I opened while on Arch and Ubuntu it opens the last opened database. 2. rclone works for the remote (Box) once, then later (might be on reboot or might be a day, not sure) it no longer works (mount will hang, for instance, maybe the key expired?). It works forever on multiple Arch machines, so I think it has to do with nixos. I think
<infandum>
something about these programs in nixos makes them "forget" things. Is there a way around this?
<Netsu>
symphorien: I would be happy with any better solution. Do you recommend opam2nix as usable option yet?
<Netsu>
Oh, missed the "fixing the ocaml packages in nixpkgs would be the best way I think" part
<Netsu>
symphorien: thanks for your help & advice
vidbina has joined #nixos
ryantrinkle has joined #nixos
jtojnar has quit [Remote host closed the connection]
<Taneb>
I'm having trouble using fetchpatch
<Taneb>
With an "extraPrefix", which I may have not understood properly
alexozer has joined #nixos
<spacekookie>
Does anyone here use emacs to write Rust and have a nix/emacs config I could have a look at?
<Taneb>
I've got «extraPrefix = "utils/haddock/"» but I end up with a/utils/haddock/a/haddock-api/src/Haddock.hs rather than a/utils/haddock/haddock-api/src/Haddock.hs
o1lo01ol1o has joined #nixos
petrkr has quit [Remote host closed the connection]
nD5Xjz_ has joined #nixos
<Taneb>
Any clue what I could be doing wrong?
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}>
[nixpkgs] @FRidh pushed commit from @AmineChikhaoui to master « pythonPackages.azure-mgmt-storage: remove patch. »: https://git.io/fjq6D
<emilsp>
thanks, jasongrossman
<tilpner>
Might be relevant: "Options services.znc.confOptions.networks.name.userName and services.znc.confOptions.networks.name.modulePackages were removed. They were never used for anything and can therefore safely be removed."
<{^_^}>
[nixpkgs] @FRidh pushed commit from @AmineChikhaoui to release-19.03 « pythonPackages.azure-mgmt-storage: remove patch. »: https://git.io/fjq69
<infinisil>
mthst: Oh, I guess this isn't mentioned in the PR, but you need to set `services.znc.mutable = false` if you want to use the config specified in NixOS
<tilpner>
yurb: Can reproduce, it might just be broken
sigmundv_ has quit [Ping timeout: 245 seconds]
<yurb>
tilpner: I'd be happy to fix it, but not sure where to start
Anton-Latukha has quit [Quit: Leaving.]
alex`` has joined #nixos
endformationage has joined #nixos
<mthst>
infinisil: why isn't this on by default?
<infinisil>
mthst: And it's `Chan = { "#nixos" = {}; ... }`, not a list
<mthst>
infinisil: also, thanks a lot
<infinisil>
mthst: Because backwards compatibility
<infinisil>
If we default this to true, everybody's stateful configuration will break
<infinisil>
I guess we could remove the default for a couple versions (such that the user has to set either mutable = true or false), and then make it false by default some time after that
<{^_^}>
[nixpkgs] @eyJhb opened pull request #59313 → displaylink: mark broken on 19.03 → https://git.io/fjqik
<{^_^}>
haskell/haddock#983 (by harpocrates, 15 weeks ago, merged): Load plugins when compiling each module
Guest5330 has quit [Ping timeout: 256 seconds]
<yurb>
tilpner: interesting. I'm curious what's going on
<Taneb>
infinisil: I need to check it works for my use case
Netsu has quit [Ping timeout: 256 seconds]
nD5Xjz_ has joined #nixos
nD5Xjz has quit [Ping timeout: 252 seconds]
<Taneb>
But I believe it's the main thing preventing us from upgrading in the office to 19.03
<tilpner>
Yeah, me too
<tilpner>
It's the exact same derivation, and it builds on my laptop, but not the server
<tilpner>
With sandboxing
<infinisil>
Taneb: I see
biopandemic has joined #nixos
<Taneb>
(haddock and doctest are broken with GHC 8.6 if you use typechecker plugins)
nD5Xjz has joined #nixos
pie__ has joined #nixos
Guest___ has joined #nixos
nD5Xjz_ has quit [Ping timeout: 252 seconds]
pie_ has quit [Read error: Connection reset by peer]
<{^_^}>
[nixpkgs] @FRidh pushed to release-19.03 « flatcc: init at 0.5.2 »: https://git.io/fjqi7
<Guest___>
alright
<Guest___>
I updated with nix-channel --update
<Guest___>
then exited my X session and logged back in
<Guest___>
same result :/
thblt has left #nixos ["ERC (IRC client for Emacs 26.1)"]
<{^_^}>
[nixpkgs] @FRidh pushed 2 commits to release-19.03: https://git.io/fjqiN
<tilpner>
yurb: I wonder if it's an impurity about xz/tar being available to the daemon
sigmundv_ has joined #nixos
thblt has joined #nixos
thblt has left #nixos ["ERC (IRC client for Emacs 26.1)"]
thblt has joined #nixos
thblt has left #nixos ["ERC (IRC client for Emacs 26.1)"]
pie__ has quit [Ping timeout: 250 seconds]
<tilpner>
Except that doesn't make any sense because <nix/config.nix> provides both of them
pie_ has joined #nixos
<Taneb>
Is it known what the longest dependency chain in nixpkgs is?
<tilpner>
Unlikely
tilpner has quit [Quit: WeeChat 2.4]
pie_ has quit [Read error: Connection reset by peer]
pie__ has joined #nixos
ayerhart has quit [Read error: Connection reset by peer]
jb55 has joined #nixos
gal_bolle has quit [Ping timeout: 246 seconds]
tilpner has joined #nixos
tdbgamer has joined #nixos
<tilpner>
That's reassuring, a reboot *doesn't* fix it
pie__ has quit [Ping timeout: 250 seconds]
<siers>
If I want to declare the channel my system's going to be built from in configuration.nix. Do I just set nix.nixPath to the next channel? I asked this once and I had saved the configs, but they're 404 now. :D
ayerhart has joined #nixos
<infinisil>
Taneb: This can tell you how long a dependency chain is for a drv: nix-store -q --tree /nix/store/*-*.drv | tr -cd '|\n' | sort -u | tail -1 | tr -d '\n' | wc -c
<siers>
Can that be done at all? Won't it build the system from that channel only the second time arond?
<infinisil>
siers: By setting `nix.nixPath = [ "nixpkgs=${some nixpkgs}" ]` you can only tell the system to apply this NIX_PATH after the next rebuild, and only then you can rebuild it again with the changed NIX_PATH, which specifies the channel
<siers>
Right. Question, do you do that? :D
<infinisil>
siers: If you wish to declaratively say that a certain configuration.nix should be built with a certain nixpkgs, you'll have to do this outside of configuration.nix, e.g. with a nixos-rebuild wrapper that sets NIX_PATH correctly
<siers>
I'll try out setting it with nixPath and see whether anything breaks.
<tilpner>
Ohh, there's a difference between "nix-store -r" as root and as nobody
pie_ has joined #nixos
<tilpner>
yurb: Are you either root, or are using a single-user installation?
<tilpner>
You can check /tmp for things you don't need, and that might help enough to get the gc going (if /tmp is not on a tmpfs)
<thomas`>
Oh, right. It ... might be. Hang on.
<thomas`>
Yeah, it is, I'm afraid.
erasmas has joined #nixos
<tilpner>
Any other files you don't need? You can always copy something out, gc, and copy it back in
<thomas`>
<thomas`>
I found a github issue for making the gc work when the disk is full, but it's still open with no resolution I think. (https://github.com/NixOS/nix/issues/564)
<{^_^}>
nix#564 (by edolstra, 3 years ago, open): Make garbage collector work if there is no free space
<tilpner>
(I know that's awkward, but I don't know if it's possible to gc with 100% disk usage)
<thomas`>
And oh, Can I?
<thomas`>
Am I allowed to remove things from that partition at all?
InFlames has joined #nixos
<tilpner>
I was referring to other things on the same partition
<thomas`>
Right, apologies. Figured it'd be short enough to qualify as 'a couple of lines'
<tilpner>
A couple is usually 2 or 3
<gchristensen>
I think usually couple means 2 here fwiw ;)
<gchristensen>
no worrise though, no harm done
lovesegfault has joined #nixos
<thomas`>
Gotcha. Cheers. I'll get it right this time.
<tilpner>
No, it's fine
judson has joined #nixos
<judson>
When is it appropriate to issue a PR against NUR vs. nixpkgs?
<tilpner>
I see a few options
grischeg has quit [Remote host closed the connection]
<tilpner>
1. Delete things and hope it doesn't break anything (check if /nix/store/trash exists)
<tilpner>
2. Enlarge the partition
<tilpner>
3. Copy parts of it to a ramdisk or external storage, delete it, mount-bind the copy to the right place, gc, copy everything back (but eww!)
<judson>
I'm realizing that there are things in my /etc/nixos that are "behaviors" for my laptop especially. For instance, I've got a tricky setup with NetworkManager, unbound, and dns-crypt that I really like... but it seems too peculiar for nixpkgs. NUR?
waleee has joined #nixos
<tilpner>
judson: None of those sound like they belong on the NUR issue tracker
<judson>
Do I misunderstand NUR?
wolfman154 has joined #nixos
sigmundv_ has quit [Ping timeout: 264 seconds]
<tilpner>
I can only answer that after you explain your understanding of the NUR
<judson>
Fair!
<judson>
NUR: user contributed NixOS packages. Outside of normal review.
zupo has joined #nixos
<thomas`>
tilpner Right. /nix/store/trash doesn't exist. Enlarging the partition ... could be done? I'd have to look it up, but not a bad idea. Probably have to resize adjacent partitions though, no? Can you somehow override the os and clean out what's in the store? You should be able to just reinstall it, right?
<judson>
What I'm contemplating is a NixOS module for a particular behavior, that would affect the config of 3-4 service modules.
<__monty__>
judson: NUR is just for personal projects people want to share. You'd PR that repo if you had a project of your own to share or if you improved a project already in NUR.
<tilpner>
nixpkgs packages are user-contributed too. NUR repos don't receive any reviewing
<judson>
So, if I've got a little program I like but I don't want to go through a nixpkgs review, I could push it to NUR?
chreekat has joined #nixos
<tilpner>
Yes
<judson>
(Like the Rust nursery, almost)
<judson>
Is there a process of getting NUR stuff into nixpkgs, beyond "oh, hey, this is cool enough to champion!" ?
<gchristensen>
NUR is wild west
<gchristensen>
go crazy, be safe, don't use stuff you don't trust
<judson>
More to my immediate case: is there a place for "Do you have this problem too? Here's a module for it."? Outside of clever's NixOS repo?
<tilpner>
thomas`: I don't know your partition layout, but yes, probably. Before you reinstall, I would try the ugly option 3
InFlames has quit [Ping timeout: 240 seconds]
jabranham has quit [Quit: ERC (IRC client for Emacs 27.0.50)]
<tilpner>
Or even 1, you don't have that much to lose if you're considering reinstallation
<thomas`>
Err, okay. That sounds rather complicated though. Is number two not possible without a reinstallation? Because if I wipe it, it should be fine again. Also, is there anything else I should be able to delete that you know of?
<wolfman154>
10:46 wolfman154: In my custom keyboard layout I switched the symbols row with the numbers row, now when I press: mod + shift + number, to switch to a different workspace it does not work, how do I fix this ?
<tilpner>
thomas`: Yes, if your partition layout allows it, enlarging the partition and then the filesystem are possible without reinstallation
ubert has quit [Quit: Leaving]
<tilpner>
You might have to do it from a live system though
<tilpner>
thomas`: Oh, of course!
<Rusty1>
nix-env --uninstall <something> leaves garbage behind,? could incrementally free up space?
<thomas`>
Just--I'm stil new to linux--what does that do?
<tilpner>
It deletes all logs
<tilpner>
(Or... almost all of them)
<tilpner>
Which is fine, you probably weren't going to look at them
xkapastel has quit [Quit: Connection closed for inactivity]
nD5Xjz has quit [Ping timeout: 264 seconds]
nD5Xjz_ has joined #nixos
<wolfman154>
In my custom keyboard layout I switched the symbols row with the numbers row, now in xmonad when I press: mod + shift + number, to switch to a different workspace it does not work, how do I fix this ?
<tilpner>
thomas`: Are you trying a bunch of distros right now? 31G for / can be done, but NixOS trades disk space for sanity, so a little (or a lot) more would be a good idea if you decide to stick with it
<{^_^}>
[nixpkgs] @acowley opened pull request #59322 → vulkan-tools: add dependency on vulkan-headers → https://git.io/fjq1e
<wolfman154>
Is nixos 19.03 stable now?
PC__ has quit [Ping timeout: 252 seconds]
<tilpner>
thomas`: More space would allow you to keep more generations of your system, and it's generally a nicer experience to not have to gc every day
<ar>
wolfman154: not yet
<ar>
wolfman154: but supposedly close to being stable
<tilpner>
Look at the topic
<wolfman154>
ar: cool
<tilpner>
Hmm, that makes me sound very grumpy, sorry
<tilpner>
It's released :)
<wolfman154>
tilpner: what’s released?
<tilpner>
19.03
<wolfman154>
tilpner: 19.03 stable?
<tilpner>
Yes
<tilpner>
3 hours ago
<thomas`>
tilpner: yea, that makes sense. I generally don't want to keep a bunch of generations, but I have had some issues with it filling up. I suspect it'd be a lot of work, though? At least with moving files and stuff. That said, all my important stuff is in git, so it should be fine. That's what nixos is made for, right?
<wolfman154>
tilpner: sounds good
<ar>
oh, 3h ago? cool
<thomas`>
Oh, and one more thing: Is it possible to get the config for the current generation of the system? I ... might have deleted the config before being able to add the latest changes ...
<tilpner>
thomas`: I'll need your partition layout to answer that question. With gist.github.com, this time :P
tomberek has joined #nixos
ee1943 has quit [Ping timeout: 255 seconds]
<tilpner>
thomas`: And no, while there is a feature to save the configuration.nix with each generation, it is off by default to prevent unpleasant surprises
<tilpner>
(Like "I put all my passwords into configuration.nix, and now it's world-public in the store!")
EoF has quit [Quit: eof]
<philippupgrade>
Ah! Misconfiguration on my part. Had some stuff in `database_args` as a string that should have been integers.
<tilpner>
philippupgrade: Huh, are you not using the default postgres?
<philippupgrade>
tilpner: I was already using postgres, but I had database_args{cp_min,cp_max} set to "10" and "20" and that got the type system confused. Should have been just 10 and 20.
<waleee>
tilpner: which option enables saving configuration.nix with each generation?
<tilpner>
thomas`: Sorry, df -hT doesn't print the layout. lsblk does though
<tilpner>
waleee: system.copySystemConfiguration
<emilsp>
is there a pacman -Qi equivalent? I want to look at the dir structure of a specific package
<tilpner>
waleee: But note that it only saves configuration.nix, not any additional files
<tilpner>
emilsp: That will require tree to be installed. You can add an alias/function/wrapper if that's too long to type
<emilsp>
well, ideally I'd be able to just cd to the specific package root that I've just built.
dnlkrgr has joined #nixos
<tilpner>
thomas`: Oh, that's convenient. You could kill the swap, enlarge nvme0n1p9, resize the contained FS (resize2fs?), and then either live without/less swap or put it somewhere else
shibboleth has joined #nixos
<tilpner>
emilsp: So: cd $(nix-build --no-out-link '<nixpkgs>' -A gcc)
<thomas`>
tilpner: Yeah, looking at that, I think it'd make sense to double the size of nvme0n1p9 and shrink nvme0n1p11 by the same amount. Guess I'd just move the swap 'down'.
<thomas`>
Ah, yeah, it's because I still have a windows partition lying around (needed it for some work before Christmas), and I wanted to be able to share files between them.
<tilpner>
That's important because now I can't help at all with resizing that windows partition
<tilpner>
Which I probably wouldn't even attempt if there's anything valuable in there
<thomas`>
Well, luckily, there isn't.
<thomas`>
I still have a separate windows partition too, but I've not touched it in months now.
<tilpner>
So can you just delete all of nvme0n1p11 too?
<thomas`>
Might be time to commit, actually, and just remove windows completely. And yeah, that I can.
<tilpner>
444GB is better than 64GB
<tilpner>
So... do that, if you can
<philippupgrade>
Ah, matrix.org is down. This is why federation isn't working any more.
<tilpner>
... I was going to link the federation tester, but it's down too
<Yaniel>
federation tester would just timeout on me
<Yaniel>
even before today
<tilpner>
Uh oh
<thomas`>
Ah, yeah, cool. I've got a separate /home, though, at 250GB or so, so I'm not super worried about that. But thanks for all your insights; I know what I'm doing this weekend ;)
<tilpner>
Yaniel: There's a new manual section on setting up Synapse, if you want to try to fix it
<Yaniel>
to be honest I don't really want to touch it at all :D
<Yaniel>
that always ends up taking most of the day
<Yaniel>
and then I feel like I wasted my time on something that nobody uses anyway
<tilpner>
It's a little more than nobody, but yes... it's not that popular yet
<Yaniel>
nobody that I'd care about anyway
<tilpner>
:(
<Yaniel>
If I wanted traffic there's always matrix hq, ready to overload the server :P
slack1256 has joined #nixos
domogled has joined #nixos
<Yaniel>
anyway I *think* I have .well-known set up properly
<wolfman154>
In my custom keyboard layout I switched the symbols row with the numbers row, now in xmonad when I press: mod + shift + number, to switch to a different workspace it does not work, how do I fix this ?
<Yaniel>
no wait actually I missed one part
mm_ has joined #nixos
<mm_>
manveru: hey
<mm_>
manveru: are you here?
<mm_>
and if yes, is your nick on hackernews also manveru?
<mm_>
If not... does someone here use tuxedo hardware?
<mm_>
I just received mine and I fail to get nixos to boot from USB ...
<tilpner>
Does it work with e.g. a Ubuntu stick?
<mm_>
I do not have one...
<tilpner>
Did you get into the BIOS/UEFI and change the boot order?
<mm_>
hyper_ch: you had the same issue on 2018-07-31 according to IRC logs
<goibhniu1>
Hi mm_, I have some experience with Tuxedo (myself and two friends)
<manveru>
mm_: Not here at the moment, but I'm the same
<mm_>
tilpner: yes, I already selected the boot option in the bootloader, but from what I see it does not work...
<mm_>
it has been 10 minutes ago and I just see the "_" and a black screen
<tilpner>
mm_: Can you test the stick in another machine to verify you created it correctly?
<goibhniu1>
a few other people here have them too, hyper_ch got one fairly recently
<mm_>
manveru: okay, thanks. Maybe someone else can help me
<wolfman154>
Does anyone know a way to change key bindings in xmonad?
<infinisil>
wolfman154: Look at the xmonad docs
mthst has quit [Quit: disconnect]
mthst has joined #nixos
<wolfman154>
infinisil: thanks to rycee I finally got my keyboard layout working, the only problem I have is with the symbols and numbers row because I switched them. Ok I’ll look in the xmonad documents for help.
equivrel has quit [Read error: Connection reset by peer]
equivrel has joined #nixos
<{^_^}>
[nixpkgs] @peti pushed to haskell-updates « ghc: add release candidate for 8.6.5 and a corresponding package set »: https://git.io/fjqDp
<makefu>
hey, anybody got an idea to find out why my system derivation depends on some python library? i know `nix why-depends` exists, however i am unsure how i can define the system derivation (config.system.topLevel) as target
<tilpner>
djanatyn: Types are not (yet) in the official Nix language
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
m0rphism has joined #nixos
<djanatyn>
thanks! i'll take a look at using dhall-to-nix
aanderse-work has quit []
kreisys has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
m0rphism has quit [Client Quit]
m0rphism has joined #nixos
<infinisil>
djanatyn: I doubt they'll ever be implemented and used tbh..
<infinisil>
And the benefit is marginal
pie_ has joined #nixos
m0rphism has quit [Client Quit]
<infinisil>
The cost immense
<makefu>
infinisil: type hinting like python has it would be nice
<gchristensen>
and Nix provides soooo many benefits without them
stepcut has quit [Ping timeout: 250 seconds]
<gchristensen>
ansible makes all the interesting stuff happen right at the end in production, Nix makes almost everything happen before production is even touched, and then the "interesting" part is almost trivial
<djanatyn>
when i checked out nix a few years ago, it was a bit rough using the nix package manager without NixOS. are there people having success running nix on standard linux distributions, like CentOS or RH?
<tilpner>
Gradual typing, only for the library functions could totally work
m0rphism has joined #nixos
<djanatyn>
gchristensen: that's what led me here
<tilpner>
The user-written code would still be untyped, and they would still get most of the benefits
<simpson>
djanatyn: fu'inai Yeah, but it's not great. It's not that Nix has trouble on those distros, but that people want integration with the distro's DE and configuration.
<djanatyn>
yeah, the lack of integration (with the maintenance required) is completely understandable
dm9 has joined #nixos
<simpson>
Frankly, TBH, I think that folks should band together and produce a nix-rpm for RHEL/CentOS, ala nix-darwin for OSX, if they want that deep integration. It seems both possible and beneficial.
<simpson>
But the first step starts with treating other distros as inherently alien, rather than pretending that they're not there.
ixxie has joined #nixos
<emilsp>
Say I wanted to do a nix-shell and get a shell where I have access to tmux and nvim, what would I write in the shell.nix file?
<elux>
just wondering if home-manager supports, `home.file."config/kitty/kitty.conf".text = builtins.readFile kitty.conf;` -- this works for just one file, but it doesnt work with config/path/file.conf -- any suggestions pls?
<symphorien>
start the path with ./
<symphorien>
./config/path/file.conf
<elux>
fancy
<elux>
ill try
<symphorien>
a path in nix must start with . or / irrc
<infinisil>
emilsp: And tmux seems to take a -f argument for changing the config file, you could make a tmux wrapper that passes that flag (a shell alias would work too)
<tilpner>
mthst: Not that I know of, but you can just use "man configuration.nix"
<tilpner>
(Which is much quicker to use than a browser anyway)
ryantrinkle has quit [Ping timeout: 264 seconds]
<emilsp>
infinisil: see, I might appear rather clueless, but just putting that neovim example in a file and running nix-shell doesn't quite work.
<emilsp>
Oh god, sorry for the repost
Ariakenom has joined #nixos
<infinisil>
Np :)
<tilpner>
Can someone else try building newsboat from master, as root?
<mthst>
tilpner: ahh thanks
<tilpner>
The person who asked about this disappeared, but I'm still curious why it doesn't work
<m0rphism>
Has anyone a working SteamVR with a HTC Vive? For some time I had it working by overriding the `steam` package with `nativeOnly = true` and a bunch of `extraPkgs`, but this broke down quite a while ago.
<emilsp>
infinisil: I think mulling around with which examples fail in which specific ways won't really help. Is there a good guide that might help me go from the absolute basics of building a toy deriviation to being able to use said deriviation in shells ?
<infinisil>
emilsp: Well there are the nix pills, but they're a bit too indepth and not that practical imo
<emilsp>
yes, I can agree with that assesment :/
alexozer has quit [Remote host closed the connection]
alexozer has joined #nixos
<infinisil>
I think just trying to do what you want (having neovim + tmux in a nix-shell) and asking here if you're stuck will be a good learning experience
drakonis_ has quit [Ping timeout: 252 seconds]
<emilsp>
Then it'll be a learning experience for tomorrow - I've really got to catch up with some sleep. Thank you very much for the help! Have a nice night guys.
kyren has quit [Ping timeout: 250 seconds]
<infinisil>
You too!
work_ has joined #nixos
slack1256 has quit [Remote host closed the connection]
<m0rphism>
jb55: Is your SteamVR still working? In #32881 you were reporting success.
<{^_^}>
[nixpkgs] @xeji pushed commit from @lightbulbjim to master « crawl: 0.22.1 -> 0.23.2 (#59246) »: https://git.io/fjqyj
<parsnip>
I installed nix and nixops on macos, and now I get an error.
<gchristensen>
no harm in an issue, for sure, tilpner
<parsnip>
`error: 'ec2' at /Users/iam/code/nixops/ec2.nix:7:3 called with unexpected argument 'lib', at /Users/iam/.nix-defexpr/channels/nixpkgs/lib/modules.nix:170:8`
<tilpner>
gchristensen: I'll just install single-user Nix into a VM to verify
<parsnip>
Maybe I need to check out another version of nixops?
<parsnip>
Tempted to just run nixops from a Dockerfile, in case I run into issues.
<emilsp>
is there a package that's similar to build-essentials on debian in nix?
<pie_>
emilsp, maybe stdenv, but probably not really
<gchristensen>
,libraries emilsp
<{^_^}>
emilsp: Don't install libraries through nix-env or systemPackages, use nix-shell instead. See https://nixos.wiki/wiki/FAQ/Libraries for details.
<pie_>
i should have just stayed quet and waited for someone else to answer
<gchristensen>
Nix works differently, and ^ has some info about that
<emilsp>
I'll stop abusing nixos once I get my head around all the new things, I promise {^_^}. In the meantime, I'd rather not starve because I can't compile things because I can't figure out how to work this beast :)
everybodyHertz has quit [Ping timeout: 256 seconds]
<pie_>
emilsp, been there kind of, 'cept i wasnt working at the time
<tilpner>
gchristensen: Yes, it also affects single-user installations
<pie_>
emilsp, do you know about nix-shell -E yet? youre also going to want to start learning how to write nix expressions
<tilpner>
Now... where do I file that issue
_h3x has joined #nixos
<pie_>
i only got better recently when i really started needing to dig around
<emilsp>
pie_: it's all in the cards now, yes.
<infinisil>
tilpner: NixOS/nix ?
<pie_>
theres a decent amount of ground to cover to proficiency, but my stockholm syndrome says it has to be worth it ;P
andymandias has quit [Remote host closed the connection]
<pie_>
emilsp, start with pkoing around stdenv.mkDerivation, peek through the documentation on phases
<pie_>
peek through what exists in lib
andymandias has joined #nixos
<pie_>
look at nix repl
<pie_>
note that you have to reload nix repl sometimes because some things are sticky
<emilsp>
isn't the repl deprecated now?
<pie_>
theres nix-repl and nix repl i think
<pie_>
you want the latter
hoijui has joined #nixos
<infinisil>
nix-repl is the deprecated one
<pie_>
start. packaging. all. the. things.
<pie_>
:D
<emilsp>
that's good to know
knupfer has quit [Remote host closed the connection]
<pie_>
annoy people constantly^W^W^W
<pie_>
Write Moar Docs
<pie_>
Upstream All The Things
drakonis_ has joined #nixos
<pie_>
Open Github Issues
waleee has quit [Quit: WeeChat 2.4]
<pie_>
man this seems like an awful lot of work 'xD it cant be this bad right?
drakonis has joined #nixos
<pie_>
extra credit: work on simplifying things and improving usability
<pie_>
emilsp, anyway, hows your progress
<pie_>
emilsp, you know theres like 3 manuals, a wiki, and irc logs right?
__monty__ has quit [Quit: leaving]
<yurb>
tilpner: sorry I had to go afk. Now I tried cloning nixpkgs master and building as non-root (I'm using a single-user installation of nix on fedora) and I get the same error.
<yurb>
(this is about newsboat)
gratto has joined #nixos
<tilpner>
yurb: Yes, I'm currently failing an issue. Do you have a Github account I can ping?
<emilsp>
pie_: very slow - this all started yesterday when my btrfs partition got borked and I've not slept since. Not necessarily because I was busy fixing the partition or installing nix mind you
<tilpner>
*filing, but failing works too
<yurb>
tilpner: yes, yurkobb - thanks! :)
siers has quit [Ping timeout: 252 seconds]
<pie_>
emilsp, ;D
<pie_>
emilsp, get some sleep dude, you need to sleep on nix
<{^_^}>
[nixpkgs] @Infinisil merged pull request #59044 → strongswan module: use strings for secrets. → https://git.io/fjLXJ
<pie_>
emilsp, ok i have no idea how the cargo stuff works, i think rust was rather troublesome at some point but that might have been fixed, i defer to other people. anyway, welcome!
<infinisil>
With nix-rts, you can write programs and run them with a simple nix-instantiate!
<pie_>
infinisil, nix-yts, why time system ;P (jk)
<infinisil>
No more bash/haskell/c/python, Nix is the way to go!
<yurb>
parsnip: what other oses do you have in mind? I'm using nix on Fedora mostly fine.
<emilsp>
pie_: thanks for hte help anyway :) This wouldn't really be a rust issue so much as it's an issue of using pkg-config to build things on nix, I'd assume.
<pie_>
infinisil, dhall on the nix virtual machine
infandum has quit [Remote host closed the connection]
<pie_>
infinisil, can i compile idris to nix yet
hoijui has quit [Remote host closed the connection]
<infinisil>
Soon
<pie_>
infinisil, w-....w-wait what "--option allow-unsafe-native-code-during-evaluation true"
<infinisil>
Just ignore that!
<infinisil>
Nothing to worry
<pie_>
also lassulus made some nix-writers thing which i think lets you kind of use inline other-language-code at...nix time i think?
<lassulus>
yip
<infinisil>
pie_: Well that just compiles stuff at build time
<pie_>
yeah i know its not the same
<infinisil>
But nix-rts runs programs at evaluation time!
<pie_>
jus saiyan
<lassulus>
cool features
<infinisil>
You could add this to your configuration.nix such that you need to win a short game every time you want to rebuild your system!
<pie_>
HR needs to get more crowd sourced outsourced tech wizards to increase parallelism so *someone* can get the amulet of yendor so we can bump a package version
<{^_^}>
[nixpkgs] @burke closed pull request #59284 → When packaging rubygems, prune git repos from the bundler cache → https://git.io/fjq85
<{^_^}>
[nix] @edolstra pushed to master « Add environment variable NIX_SHOW_SYMBOLS for dumping the symbol table »: https://git.io/fjqSE
<parsnip>
what's a good workflow for just a single VPS with like, weechat, taskserver, etc?
<parsnip>
do i write my configuration on the server?
<parsnip>
or do i need nixops for this to make sense?
<tilpner>
I keep my configs on my laptop and do remote deploys
<{^_^}>
[nixpkgs] @primeos merged pull request #59327 → jekyll: Switch from bundlerEnv to bundlerApp → https://git.io/fjqM7
<{^_^}>
[nixpkgs] @primeos pushed to master « jekyll: Switch from bundlerEnv to bundlerApp (#59327) »: https://git.io/fjqSz
<tilpner>
Works wonderfully
<parsnip>
tried to start nixops today on macos, i have issues i've no idea how to troubleshoot
<tilpner>
I use a thin script around nix-instantiate, nix-copy-closure and ssh, because nixops was too stateful for my taste
<infinisil>
I can recommend the same
<tilpner>
(And I didn't need the provisioning. I sort-of miss the secret management though))
<tilpner>
Or... you write your own five-line script and are responsible for all the bugs later
<tilpner>
:)
orivej has joined #nixos
kreisys has joined #nixos
drakonis has joined #nixos
<jb55>
m0rphism: I got it working at one point, yes
<jb55>
although performance was disappointing
xkapastel has joined #nixos
<emilsp>
has anyone ever successfully ran electron-builder? It seems to fail when it tries to execute a 7za binary from node_modules/7zip-bin/linux/x64/7za
<pie_>
parsnip, in terms of size, theres "nixos on your router" which i think also uses nixo to build somethingorother as opposed to actually running nix on the target system
<infinisil>
mthst: One small thing is that useLegacyConfig doesn't make it use .config instead of .confOptions, rather it just turns off the effect of .confOptions
<m0rphism>
jb55: it ran even at a decent performance. I guess due to changes in later versions.
<infinisil>
With useLegacyConfig = true; you can use both .config and .confOptions
<mthst>
infinisil: is there no difference wrt defaults?
<m0rphism>
jb55: Well, nonetheless thanks for responding and the documentation leading to brief moments of virtual happyness :)
<tilpner>
emilsp: Running it with steam-run is worth a shot
aloiscochard has quit [Quit: Connection closed for inactivity]
<tilpner>
Does the same thing as the FAQ entry, but is quicker to try
<emilsp>
sphalerite: I'm currently sort of trying to make that happen. It's rather egregious - it's a nodejs dependency that actually is just a bunch of 7z binaries executed by some go code that panics when it can't fork the 7z, thus failing the javascript build tool :/
<emilsp>
so steam-run would be out of the question because I'm not the one actually executing the binary directly.
<sphalerite>
emilsp: that seems like a great case for steam-run actually
nD5Xjz has joined #nixos
<sphalerite>
since the child processes are in the namespace too, thus having the same view of the filesystem
<parsnip>
Hmm, is there a way to search the options from cli?
alex``6 has joined #nixos
<growpotkin>
yeah
alex`` has quit [Ping timeout: 252 seconds]
<growpotkin>
`nixos-option programs.mosh`
gratto has quit [Quit: Quit]
stepcut has joined #nixos
<growpotkin>
parsnip: I have a handy fuzzy finder tool that I posted on Discourse that you might like. It's a little pop up fuzzy search for options and packages that can read your current configs.
jasongrossman has quit [Ping timeout: 264 seconds]
<gchristensen>
man, a ssh-dss key in the docs? yikes :)
dnlkrgr has quit [Ping timeout: 252 seconds]
rardiol1 has joined #nixos
kreisys has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<emilsp>
nah, even with steam-run, the binary fails to run. Is there anything that could possibly provide libstdc++.so.6?
<infinisil>
,locate libstdc++.so.6
<{^_^}>
Found in packages: robo3t, gcc-unwrapped.lib
gentauro has quit [*.net *.split]
polman has quit [*.net *.split]
amfabaiste has quit [*.net *.split]
buffet has quit [*.net *.split]
hlolli__ has quit [*.net *.split]
callahad has quit [*.net *.split]
hke has quit [*.net *.split]
cyraxjoe has quit [*.net *.split]
slyfox has quit [*.net *.split]
vk3wtf has quit [*.net *.split]
buckley310 has quit [*.net *.split]
lassulus has quit [*.net *.split]
bbarker has quit [*.net *.split]
wpcarro has quit [*.net *.split]
page has quit [*.net *.split]
ekleog has quit [*.net *.split]
MasseR has quit [*.net *.split]
lrvick has quit [*.net *.split]
the-kenny has quit [*.net *.split]
Enzime has quit [*.net *.split]
charukiewicz has quit [*.net *.split]
MoreTea has quit [*.net *.split]
DavidEGr1yson has quit [*.net *.split]
stites has quit [Ping timeout: 246 seconds]
ekleog has joined #nixos
amfabaiste has joined #nixos
<emilsp>
substituting gcc for gcc-unwrapped still leaves the poor 7za binary without it's c++ stdlib
polman has joined #nixos
slyfox has joined #nixos
vk3wtf has joined #nixos
buckley310 has joined #nixos
cyraxjoe has joined #nixos
gentauro has joined #nixos
buffet has joined #nixos
hlolli__ has joined #nixos
callahad has joined #nixos
hke has joined #nixos
MasseR has joined #nixos
bbarker has joined #nixos
wpcarro has joined #nixos
the-kenny has joined #nixos
page has joined #nixos
lassulus has joined #nixos
DavidEGr1yson has joined #nixos
Enzime has joined #nixos
charukiewicz has joined #nixos
MoreTea has joined #nixos
lrvick has joined #nixos
stites has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ddellacosta has quit [Ping timeout: 250 seconds]
<Aleksejs>
makefu: I tried to create a derivation for rpi_ws281x with python-package-init as you recommended but I'm getting an error /nix/store/x94blqsqq862bxbmk76izrjnsxacp2hd-binutils-2.30/bin/ld: cannot find -lws2811
freeman42x has joined #nixos
sigmundv__ has joined #nixos
flexw has joined #nixos
kreisys has joined #nixos
reivilibre has quit [Quit: No Ping reply in 180 seconds.]
reivilibre has joined #nixos
<flexw>
hello, I'm trying to install the haskell package intero. The install fails with a missing dependency: ghc >=7.8 && <=8.4.3
sigmundv_ has quit [Ping timeout: 268 seconds]
<flexw>
I'm on on the channel 18.09. Is there a way to install this packages?
stepcut has quit [Remote host closed the connection]