<{^_^}>
[nixpkgs] @xeji opened pull request #40390 → nixos/tests/kafka: fix and refactor tests → https://git.io/vpyxh
<joepie91>
jcrben: left you some comments :)
drummeur has joined #nixos
<infinisil>
Are you serious, why do I get a build error for the docs?
<drummeur>
Okay, so, i’ve successfully installed.....and I’m at the login screen...but I can’t actually log in. The root pw I set isn’t working.
<drummeur>
Is there a way to bring up a terminal from the login screen or something?
<infinisil>
drummeur: Ctrl-Alt-F1
<infinisil>
And you shouldn't log into X with root, but rather your own user
<drummeur>
The issue is that I have’t made a user yet. I set the root pw during the install and then rebooted.
<drummeur>
Unless I somehow made a typo both time when setting the root pw
<infinisil>
Yeah you should be able to log into root on the terminal with Ctrl-Alt-F1
<drummeur>
I agree. But I am not able to. I sent the terminal up. But I’m still getting incorrect login.
<infinisil>
You did boot into your newly installed system, right?
<drummeur>
I should be able to get back into the env using my install disk, right?
<drummeur>
Yeah, this is the only drive hooked up atm.
griff_ has joined #nixos
<infinisil>
and you type in "root" for login and the password you set previously and it doesn't work??
<drummeur>
root should be lowercase?
<infinisil>
Yeah
<drummeur>
Yep!
<drummeur>
I’m quite confused as well.
<jcrben>
joepie91: thanks! my current challenge is figuring out how to upgrade nixos so that I get try libinput 1.10 which seems to be in nixos-unstable
<infinisil>
drummeur: But yeah you should be able to reinstall it from the installer, just do the same steps as before, without recreating the filessytems, just mounting them anew, then nixos-install again
<jcrben>
I'm seeing "warning: name collision in input Nix expressions, skipping '/home/ben/.nix-defexpr/channels_root/nixos'"
<elvishjerricco>
Why does nix-prefetch-git output a date when pkgs.fetchgit doesn't support a date argument?
<{^_^}>
[nixpkgs] @bhipple opened pull request #40391 → truffleHog: init at 2.0.91 → https://git.io/vpyhs
broccoli has quit [Ping timeout: 256 seconds]
<eacameron>
LnL: I've encountered the "real" type in a plist. Do you mind if I add a way for that to be supported in your toPLIST function and open a PR?
<jcrben>
tried to upgrade to nixos-unstable and it dropped me into tty1 and says "nixos login: " but my keyboard doesn't seem to work
<jcrben>
I'm just trying to try out libinput 1.10 - wonder if there's a way to do that without trying to run the latest, which doesn't seem to want to run
smallville7123 has joined #nixos
ryantrinkle has quit [Remote host closed the connection]
<Lisanna>
I'm having trouble using my binary cache because a lot of my derivations need to build a bunch of stuff as part of their evaluation. I have been a bad person when writing my derivations apparently, and am trying to go in and clean that stuff up. At what point does nix check for available substitutes? does nix-instantiate have to complete?
goibhniu has quit [Ping timeout: 250 seconds]
<elvishjerricco>
Lisanna: If you're asking if eval-time builds are substituted, yea they are. So any IFD can hit the cache
broccoli has joined #nixos
<jcrben>
note on my upgrade to unstable above: managed to get it working after rebooting
<Lisanna>
elvishjerricco my trouble with that is that I don't have all of the build dependencies for something in the binary cache, just the runtime closure
<elvishjerricco>
Lisanna: Ah, yea that's an annoying problem
<Lisanna>
I guess if I could also shove all the build-time dependencies into the cache I'd be okay
<Lisanna>
is there a way to get that closure?
<elvishjerricco>
Lisanna: Or just the derivation that is being imported from
<Lisanna>
ah right, because the derivation's run-time closure *is* the build-time dependencies, right?
<Lisanna>
"run-time closure"
broccoli has quit [Ping timeout: 256 seconds]
orivej has joined #nixos
freeman42x]NixOS has quit [Ping timeout: 248 seconds]
<{^_^}>
→ 13f83ba0 by @xeji: nixos/tests/kafka: fix and refactor tests
<{^_^}>
→ 92cf8816 by @NeQuissimus: Merge pull request #40390 from xeji/kafka
romildo has quit [Quit: Leaving]
ryantrinkle has quit [Remote host closed the connection]
ryantrinkle has joined #nixos
smallville7123 has quit [Quit: rosa]
goibhniu has quit [Ping timeout: 256 seconds]
aminb has quit [Quit: WeeChat 2.1]
ryantrinkle has quit [Remote host closed the connection]
<Lisanna>
just had an idea
ryantrinkle has joined #nixos
aminb has joined #nixos
<Lisanna>
if you have a package that takes a long time to instantiate, you can cache the results of instantiating it by doing it once, building it, then publishing a new package which is just an empty fixed-output derivation but with a hash matching the real package
<Lisanna>
the empty one will fail to build until the real one has been built, then nix will just assume you're telling the truth and substitute!
<Lisanna>
so then you can evaluate the empty fixed-output drv rather than the real one
jperras has quit [Ping timeout: 256 seconds]
Sonarpulse has joined #nixos
jbboehr has joined #nixos
spacefrogg has quit [Ping timeout: 246 seconds]
jgertm has joined #nixos
aw has quit [Ping timeout: 255 seconds]
mkoenig has joined #nixos
Maxdamantus has quit [Ping timeout: 255 seconds]
Sonarpulse has quit [Ping timeout: 240 seconds]
justan0theruser has joined #nixos
justanotheruser has quit [Ping timeout: 240 seconds]
Maxdamantus has joined #nixos
LnL has quit [Read error: Connection reset by peer]
LnL has joined #nixos
migy has joined #nixos
hph^ has joined #nixos
<clever>
Lisanna: i believe fixed-output derivations use a slightly different hashing algo
<Lisanna>
clever slightly different? I'll just use nix-hash
<Lisanna>
surely it's not different than that, since you need to be able to calculate it!
<Lisanna>
or, wait, do you mean that you don't think it's possible to calculate a /nix/store path from a fixed-output derivation hash?
<clever>
Lisanna: the converting between hash(deps) and hash(fixed-output) to storepath is one-way
<clever>
and they differ, so getting a collision on purpose is rather imposible
<Lisanna>
you should be able to just take a /nix/store output path, hash it with nix-hash, and set that as the sha256 of a fixed-output derivation. That's how all fixed-output derivations work in practice ,just that you're usually hashing a tmp directory (the result of a internet download) rather than a /nix/store path...
jgertm has quit [Ping timeout: 256 seconds]
<Lisanna>
or, you're saying that the /nix/store path of the fixed-output derivation would be different than the /nix/store path that you hashed?
schoppenhauer has quit [Ping timeout: 256 seconds]
schoppenhauer has joined #nixos
srl295 has quit [Quit: Connection closed for inactivity]
Sonarpulse has quit [Ping timeout: 264 seconds]
broccoli has joined #nixos
broccoli has quit [Ping timeout: 260 seconds]
nD5Xjz has quit [Ping timeout: 250 seconds]
Ross has quit [Ping timeout: 255 seconds]
nallar has joined #nixos
nallar is now known as Ross
drakonis has joined #nixos
sanscoeur has quit [Remote host closed the connection]
propumpkin has quit [Ping timeout: 268 seconds]
ryantrinkle has quit [Remote host closed the connection]
Ianulus has quit [Ping timeout: 260 seconds]
ryantrinkle has joined #nixos
nD5Xjz has joined #nixos
joehh has joined #nixos
<angerman>
does `:b` support -K as well? (e.g. keep the build folder?)
lostman has joined #nixos
<lostman>
hi all. I'm trying to work with musl using nix. I found this example: `nix-build '<nixpkgs>' --arg crossSystem '(import <nixpkgs> {}).lib.systems.examples.musl64' -A tinc` which builds `tinc`. However, what I'd like to do is to drop into a shell where musl toolchain is available
<elvishjerricco>
I've got a small barrage of PRs I want to make having to do with various GHC things, some depending on one another. Should dependent changes always be in one larger PR?
<lostman>
But couldn't figure out how to use crossSystem with `nix-shell`
<angerman>
elvishjerricco: how big is the total PR? From the point of review, I would likely prefer a coherent view.
<elvishjerricco>
Not actually that big. Just a few relatively disjoint commits
<Lisanna>
does nixos support anything like bcache or flashcache?
<angerman>
guess it's up to you in the end.
<angerman>
elvishjerricco: what are you doing with ghc anyway? :D
<elvishjerricco>
I'm not doing much. But Ryan has given me the goahead to start pushing some of his new iOS commits upstream. I wanna put them in nixpkgs pronto to keep reflex-platform from diverging before we've even bumped :P
<elvishjerricco>
But I'm also putting GHCJS 8.2 and 8.4 up
Rusty1_ has quit [Quit: Konversation terminated!]
<angerman>
elvishjerricco: iOS fixes? Tell me more! :D
<elvishjerricco>
angerman: I'm planning on giving all these commits a try, so I may tinker with that
mkoenig has quit [Quit: Lost terminal]
<angerman>
elvishjerricco: static is broken on windows.
<angerman>
the whole -staticlib logic only works for gnu/bsd archives.
<elvishjerricco>
angerman: So those should only be enabled when not compiling to windows?
<angerman>
yep. I think my windows branch has that conditional in there
<elvishjerricco>
Ah.
joehh has quit [Ping timeout: 240 seconds]
Guanin_ has quit [Ping timeout: 240 seconds]
<angerman>
alright, I'm still trying to break gcc apart.
Guanin_ has joined #nixos
jqqq has quit [Ping timeout: 260 seconds]
Arcaelyx has quit [Max SendQ exceeded]
raynold has quit [Quit: Connection closed for inactivity]
ryantrinkle has quit [Remote host closed the connection]
ryantrinkle has joined #nixos
endformationage has quit [Quit: WeeChat 1.9.1]
orivej has quit [Ping timeout: 240 seconds]
<angerman>
elvishjerricco: I've also aligned the head and ghc8.4 expression to be almost identical. I really think we should move that stuff into a common/generic expression and just parametize over it.
Arcaelyx has joined #nixos
<elvishjerricco>
angerman: *Strongly* agree.
<elvishjerricco>
I'm just not confident enough to do it myself :P
<angerman>
lol. I've just amanded the 8.4 expression to look like the head one and the otherway around where needed.
<{^_^}>
→ a707c136 by @dotlambda: python: deluge-client: 1.3.0 -> 1.4.0
<{^_^}>
→ 69b584ac by @dotlambda: home-assistant: 0.68.1 -> 0.69.0
<{^_^}>
→ ca90a188 by @globin: Merge pull request #40375 from dotlambda/home-assistant-0.69.0
jmiven has quit [Quit: +]
<MichaelRaskin>
HAve you checked haskellPackage do not come with what you need?
jmiven has joined #nixos
<jD91mZM2>
MichaelRaskin: I have not. Doesn't cabal2nix basically do that?
obadz- has joined #nixos
<MichaelRaskin>
Well, if it has been already applied, no reason to do something from scratch. I think haskellPackages are expected to have nearly complete coverage of hackage.
obadz has quit [Ping timeout: 268 seconds]
obadz- is now known as obadz
<jD91mZM2>
MichaelRaskin: Seems like it does have what I need. Should I stop using cabal completely and just use nix? Is that sane?
<jD91mZM2>
Because then nobody could easily compile it on another distro suddenly
<jD91mZM2>
What do I do with `src` in stdenv.mkDerivation? Can I point it to the current directory?
<MichaelRaskin>
I am not a Haskell user myself; I would expect that you would do your project with cabal metadata, and either load it in environment where all the dependencies already exist, or apply cabal2nix just to it
<jD91mZM2>
Basically the question becomes: Should I use the widely known and loved package manager for Haskell or should I use nix somehow, for example using cabal2nix?
<obadz>
jD91mZM2: nix uses cabal
<TonyTheLion>
is there a nix package for suricata already?
<jD91mZM2>
obadz: So I should keep using cabal?
b has quit [Ping timeout: 255 seconds]
<obadz>
jD91mZM2: up to you, there's as many haskell workflows on nix as there are users
<obadz>
jD91mZM2: I think most nix users don't use cabal directly. Either they go through nix or they use stack.
<jD91mZM2>
I hope buildInputs works. A bunch of other languages use it (python, perl)
<jD91mZM2>
And I don't know about you, but I like my sanity :^)
<jD91mZM2>
Darn it, doesn't seem to work
<jD91mZM2>
How can I make `src` take a directory, such as "." or "src/"?
<jD91mZM2>
nvm ./src worked
obadz- has joined #nixos
stumble has joined #nixos
<MichaelRaskin>
For . you have to use ./.
<MichaelRaskin>
Paths need /
obadz has quit [Ping timeout: 240 seconds]
obadz- is now known as obadz
phreedom has quit [Remote host closed the connection]
phreedom has joined #nixos
<TonyTheLion>
hmmm nix doesn't have libpcre?
<MichaelRaskin>
> pkgs.pcre.meta.description
<{^_^}>
"A library for Perl Compatible Regular Expressions"
<TonyTheLion>
thanks :)
joehh has quit [Ping timeout: 264 seconds]
<manveru>
jD91mZM2: stack has nix support btw :)
<jD91mZM2>
manveru: I always found stack bloaty... then again the Arch Linux stack package had a billion dependencies that were probably unecessary. I should try it again some time
jD91mZM2 has left #nixos ["Got to go :( See you!"]
<manveru>
well, i can't say it's tiny... but it was a godsend when i was learning haskell
<gtklocker>
hello! I was wondering if you can somehow declare the packages for a user profile the same way you declare system packages in /etc/nixos/configuration.nix
<{^_^}>
[nixpkgs] @obadz pushed commit from R. RyanTM to master « flow: 0.71.0 -> 0.72.0 »: https://git.io/vpSCz
<TonyTheLion>
how do you refer to the .so output file in a nix-derivation?
jperras has joined #nixos
<obadz>
TonyTheLion: what are you trying to do?
<LnL>
angerman: overrideCC?
<TonyTheLion>
obadz: trying to get it to stop complaining about failing to make the deriviation because nothing is in its output path by explicitly copying the .so file it built into it
<TonyTheLion>
so `cp myfile.so $out/lib/`
<TonyTheLion>
in `installPhase`
<obadz>
yup that's the way
<TonyTheLion>
cause it cannot install it cause sudo
<angerman>
LnL: could I just set that to say gcc7?
<TonyTheLion>
obadz: just I don't know the name of the generated .so file
<obadz>
TonyTheLion: you don't know it? if the build is deterministic, you should..
<TonyTheLion>
ye that was silly
<LnL>
angerman: yeah, but be careful with darwin stuff if you do that
<{^_^}>
[nixpkgs] @obadz pushed commit from R. RyanTM to master « ldb: 1.1.31 -> 1.3.3 »: https://git.io/vpSCh
<angerman>
LnL: and just making libgcc depend on binutils and gcc obviously doesn’t really work.
Ariakenom has joined #nixos
Rusty1_ has joined #nixos
<pstn>
gnunet switched from svn to git in development. I added a git package and it's already merged. Now the svn repo is offline. What to do with the old svn package? Mark it as broken for a few weeks and then remove it?
<gchristensen>
seems there should never have been a -git package, and the main one should have just beeen updatede?
mkoenig has joined #nixos
<pstn>
The main one is old. The last official release of gnunet is from 2014 and the offical docs don't even work with that one. They claim that a new release is imminent, so I added the -git package to prepare for that.
<gchristensen>
ah, then your plan sounds good
<LnL>
just replace the old one then
<{^_^}>
[nixpkgs] @obadz pushed commit from R. RyanTM to master « pmd: 6.2.0 -> 6.3.0 »: https://git.io/vpSWt
<__monty__>
Wireguard-p2p requires nightly according to the readme and depends on bulletinboard-dht which has a deb and an rpm (and cargo build --release but not cargo install).
ajp has quit [Quit: No Ping reply in 180 seconds.]
MinceR has quit [Ping timeout: 260 seconds]
MinceR has joined #nixos
<tilpner>
__monty__ - You won't be able to package that for inclusion into nixpkgs, but you can still use it by yourself
<tilpner>
infinisil - Any chance to imitate "nix repl"s «derivation /nix/store/43w6vziz59wh9i81crdddnp5gwpyw4ar-mxnet-1.1.0.drv» ?
<ben>
{^_^}: sup
<ben>
{^_^} --help
chessai has joined #nixos
acarrico has quit [Ping timeout: 240 seconds]
countoren has joined #nixos
<countoren>
hello, im trying to install gvim on os x with but when running vim -g im getting : E25: GUI cannot be used: Not enabled at compile time
orivej has joined #nixos
<countoren>
any help?
bkchr[m] has joined #nixos
<bkchr[m]>
Anyone can help me with a `Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b`?
<ben>
countoren: how did you install vim?
broccoli has quit [Ping timeout: 264 seconds]
<sphalerite>
bkchr[m]: that happens when your init exits, which can be for a number of reasons, such as the root filesystem not being found, or the next init not being found after mounting the root filesystem.
<ben>
id guess people only configured graphical vim for linux+x11
<sphalerite>
bkchr[m]: try adding boot.debug1mounts to your kernel command line and see if it offers you to start a shell
<sphalerite>
bkchr[m]: if not, try boot.debug1devices
broccoli has joined #nixos
atopuzov[m] has joined #nixos
amiloradovsky[m] has joined #nixos
comphez[m] has joined #nixos
cornu[m] has joined #nixos
unlmtd has joined #nixos
Bugworm[m] has joined #nixos
jluttine[m] has joined #nixos
ArdaXi1 has joined #nixos
YuFanLovezYou[m] has joined #nixos
M-dpetranek has joined #nixos
kitten[m] has joined #nixos
ConorCurry[m] has joined #nixos
mirlur[m] has joined #nixos
tokudan[m] has joined #nixos
hw9891[m] has joined #nixos
telent[m] has joined #nixos
SamuelEvans-Powe has joined #nixos
serentty[m] has joined #nixos
rnhmjoj[m] has joined #nixos
leons has joined #nixos
y0no[m] has joined #nixos
regnat[m] has joined #nixos
moredhel has joined #nixos
tfc[m] has joined #nixos
aspiwack[m] has joined #nixos
clacke[m] has joined #nixos
peterhoeg has joined #nixos
lycium[m] has joined #nixos
WilliamHamilton has joined #nixos
primeos[m] has joined #nixos
have-quick[m] has joined #nixos
YegorTimoshenko[ has joined #nixos
BurNiinTRee[m] has joined #nixos
puffnfresh has joined #nixos
freeman42x has joined #nixos
bachp has joined #nixos
timclassic has joined #nixos
davidar has joined #nixos
hendrik[m] has joined #nixos
willghatch[m] has joined #nixos
wzy8L-B2[m] has joined #nixos
Naughtmare[m] has joined #nixos
mith[m] has joined #nixos
rihardsk[m] has joined #nixos
templis[m] has joined #nixos
nh2[m] has joined #nixos
ProofTechnique[m has joined #nixos
wervenyt[m] has joined #nixos
Kallegro[m] has joined #nixos
wak-work has joined #nixos
nmikhailov[m] has joined #nixos
peel[m] has joined #nixos
demyan[m] has joined #nixos
bdimcheff has joined #nixos
xnaveira[m] has joined #nixos
rycee has joined #nixos
chominist[m] has joined #nixos
octalsrc[m] has joined #nixos
sudoreboot[m] has joined #nixos
AlanPearce[m] has joined #nixos
greska[m] has joined #nixos
mudri[m] has joined #nixos
darkmeson[m] has joined #nixos
GuillaumeBuisson has joined #nixos
chedi[m] has joined #nixos
olejorgenb[m] has joined #nixos
tet[m] has joined #nixos
sorbet has joined #nixos
wilornel has joined #nixos
itorres has joined #nixos
midchildan[m] has joined #nixos
das-g[m] has joined #nixos
ipj[m] has joined #nixos
bobvanderlinden_ has joined #nixos
hl has joined #nixos
ayyjayess[m] has joined #nixos
davidak[m] has joined #nixos
copumpkin has joined #nixos
Elephant454[m] has joined #nixos
jesper has joined #nixos
CoopDot has joined #nixos
thefloweringash[ has joined #nixos
ison[m] has joined #nixos
grahamc has joined #nixos
happyente[m] has joined #nixos
M-manveru has joined #nixos
jgl[m] has joined #nixos
danielrf has joined #nixos
herzmeister[m] has joined #nixos
reactormonk[m] has joined #nixos
bugabinga[m] has joined #nixos
omawnakw[m] has joined #nixos
darkmeson[m]1 has joined #nixos
magnap has joined #nixos
florianjacob has joined #nixos
chatnowvvv[m] has joined #nixos
asp_ has joined #nixos
htafdwes[m] has joined #nixos
spacekitteh[m] has joined #nixos
rszibele[m] has joined #nixos
sargon[m] has joined #nixos
uvnikita[m] has joined #nixos
abbafei[m] has joined #nixos
necronian has joined #nixos
Wysteriary[m] has joined #nixos
M-ms has joined #nixos
trikl[m] has joined #nixos
nickdshsadhkas[m has joined #nixos
spawnthink[m] has joined #nixos
nocent has joined #nixos
patrl[m] has joined #nixos
apurvapavaskar[m has joined #nixos
edef[m] has joined #nixos
nmikhailov[m]1 has joined #nixos
NickHu has joined #nixos
offlinehacker[m] has joined #nixos
fearlessKim[m] has joined #nixos
icetan has joined #nixos
Obscurity[m] has joined #nixos
Orbstheorem[m] has joined #nixos
nyanloutre[m] has joined #nixos
jameshjacksonjr[ has joined #nixos
pstn has joined #nixos
Rick[29SMPittsbu has joined #nixos
trevorriles[m] has joined #nixos
dtz has joined #nixos
ngerstle[m] has joined #nixos
aniketd[m] has joined #nixos
bhipple[m] has joined #nixos
doubletwin[m] has joined #nixos
bennofs[m] has joined #nixos
Dezgeg[m] has joined #nixos
wizek[m] has joined #nixos
yochai[m] has joined #nixos
TimePath has joined #nixos
codyopel has joined #nixos
coorey[m] has joined #nixos
Minijackson[m] has joined #nixos
gnihton[m] has joined #nixos
tosh[m] has joined #nixos
MatrixStatsBot[m has joined #nixos
dkellner[m] has joined #nixos
octowan[m] has joined #nixos
Pneumaticat has joined #nixos
MaJoe[m] has joined #nixos
AdamSlack[m] has joined #nixos
fogbugz123[m] has joined #nixos
equalunique[m] has joined #nixos
Fedor[m] has joined #nixos
thra11[m] has joined #nixos
wolfereign[m] has joined #nixos
adisbladis[m] has joined #nixos
aramiscd[m] has joined #nixos
Phil[m]2 has joined #nixos
pierrebeaucamp[m has joined #nixos
crystalgamma[m] has joined #nixos
Christian[m]3 has joined #nixos
paperdigits[m] has joined #nixos
demonslayer[m] has joined #nixos
dmitry-zen[m] has joined #nixos
timokau[m] has joined #nixos
rardiol[m] has joined #nixos
slabity[m] has joined #nixos
Drakonis[m] has joined #nixos
dash has joined #nixos
bionicmac[m] has joined #nixos
jmorriss[m] has joined #nixos
gh0st[m] has joined #nixos
bendlas has joined #nixos
malteof[m] has joined #nixos
musicmatze[m] has joined #nixos
jamshoot[m] has joined #nixos
nelag[m] has joined #nixos
DIzFer[m] has joined #nixos
fogbugz2345[m] has joined #nixos
petersjt014[m] has joined #nixos
sphalerit has joined #nixos
Ralith has joined #nixos
scott1 has joined #nixos
Elorm[m] has joined #nixos
moredhel_[m] has joined #nixos
johnazoidberg has joined #nixos
balsoft[m] has joined #nixos
kainospur[m] has joined #nixos
Barnabas[m] has joined #nixos
PeterRomfeld[m] has joined #nixos
devr[m] has joined #nixos
xodbox[m] has joined #nixos
felipeac[m] has joined #nixos
hedning[m] has joined #nixos
indefini has joined #nixos
EuAndreh[m] has joined #nixos
dywedir[m] has joined #nixos
techtangents[m] has joined #nixos
dylanjust[m] has joined #nixos
attero has joined #nixos
smrtak[m] has joined #nixos
EB[m] has joined #nixos
r3mfKm[m] has joined #nixos
neecro[m] has joined #nixos
joh[m] has joined #nixos
M-bbigras has joined #nixos
M-fishy has joined #nixos
panther420[m] has joined #nixos
stekke[m] has joined #nixos
aaronc[m] has joined #nixos
M-Dan has joined #nixos
Khorne[m] has joined #nixos
jelewaus[m] has joined #nixos
peterbat[m] has joined #nixos
Hook[m]1 has joined #nixos
AntonLatukha[m] has joined #nixos
Singularity[m] has joined #nixos
telent_[m] has joined #nixos
Albtrz[m] has joined #nixos
Deleh[m] has joined #nixos
PlasmaStrike[m] has joined #nixos
gudea[m] has joined #nixos
johnhamelink[m] has joined #nixos
swayf[m] has joined #nixos
saschaveres[m] has joined #nixos
dadadus[m] has joined #nixos
DenisLehmann[m] has joined #nixos
Adev[m] has joined #nixos
kureta[m] has joined #nixos
admin[m]3 has joined #nixos
jack[m] has joined #nixos
Vincenzo[m] has joined #nixos
card[m] has joined #nixos
pie_ has quit [Remote host closed the connection]
pie__ has joined #nixos
cinimod_ has joined #nixos
<__monty__>
Is this a nix issue or a rust issue? I'm assuming nix but am not sure what -rpath I'd have to specify. http://ix.io/1a82
<sphalerite>
__monty__: this looks like an issue with the build finding files from the host OS which it shouldn't be finding.
<sphalerite>
__monty__: try enabling sandboxing.
sellout- has quit [Ping timeout: 240 seconds]
<__monty__>
Rust sandboxing? Or nix-shell --pure?
<sphalerite>
oh, you're using nix-shell?
<sphalerite>
Then I don't know what to do about it
<sphalerite>
I thought this was in a nix build
<ben>
__monty__: are you specifying nixpkgs's dbus as a dependency of the dbus crate?
tmaekawa has joined #nixos
<__monty__>
All I did was nix-shell -p rustup cargo, rustup default nightly, cargo install wireguard-p2p. Now I've cloned bulletinboard-dht and am running cargo build --release in the repo because the readme said it was need but it's not a dependency and cargo install couldn't find it.
<tilpner>
Oh. I didn't know inputs also had to be free just to create a derivation :/
<broccoli>
you can set allowUnfree in .config/nixpkgs/config.nix also
<simpson>
tilpner: It'd be hard to work any other way.
<tilpner>
I was expecting the realisation of cudatoolkit to fail because unfree, not earlier
<MichaelRaskin>
Well, license checks are evaluation-time checks
<tilpner>
Yes, I suppose build-time checks would be very annoying :)
<FRidh>
I'm running nix in a mount namespace using bubblewrap, however, nix is unable to fetch. I've set NIX_SSL_CERT_FILE to ${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt and /nix is mounted as /nix. Any clue what I might be missing here? https://gist.github.com/FRidh/a2e3553ba6391a0cb2e32039c494cda6
coot has quit [Quit: coot]
<LnL>
sandboxing
<FRidh>
but which part
<LnL>
oh, doesn't run inside the build
<FRidh>
basically what I am after is a sandbox build when using nix without daemon and targetting non-standard location
alex has quit [Quit: WeeChat 2.1]
<teto1>
I just hit `nix-collect-garbage: src/libstore/profiles.cc:186: void nix::deleteGenerationsOlderThan(const Path&, time_t, bool): Assertion `i->creationTime < t' failed.`
<__monty__>
ben, sphalerite: Same error after including -p rustup cargo dbus.
<teto1>
I guess that 's because my system clock is a bit off
jD91mZM2 has joined #nixos
humanoyd has joined #nixos
<ben>
hmm
<ben>
I got a bit further into building the bulletinboard thing with nix-shell -p pkgconfig dbus
<ben>
but their master seems broken
<{^_^}>
[nixpkgs] @matthewbauer pushed 2 commits to staging: https://git.io/vpS0O
<{^_^}>
→ 326d0bf2 by @matthewbauer: darwin.libSystem: cleanup
<{^_^}>
→ d000198a by @matthewbauer: darwin.architecture: correctly install headers
<{^_^}>
→ 6b50b98b by @xeji: nixos/tests/gnome3-gdm: fix broken test
<{^_^}>
→ ef74cafd by @xeji: nixos/test/systemd: fix broken test
spear2 has joined #nixos
arianvp2 has joined #nixos
arianvp2 has quit [Remote host closed the connection]
jonpez2 has quit [Ping timeout: 260 seconds]
jonpez2 has joined #nixos
seanparsons has quit [Quit: ZNC 1.6.5 - http://znc.in]
seanparsons has joined #nixos
acarrico has quit [Ping timeout: 264 seconds]
jonpez2_ has joined #nixos
<Ankhers>
Anyone chance anyone has experience with the ThinkPad T480 or T480s with NixOS (or even linux in general).
<infinisil>
,ask Ankhers
<{^_^}>
Ankhers: Don't ask if anyone uses software xyz, just ask your specific question. This helps solve your problem quicker, and allows people who haven't used xyz but may still be able to help you to do so.
<Ankhers>
I guess as specific as I can get is, does it work?
<{^_^}>
[nixpkgs] @xeji merged pull request #40401 → gnunet-svn: mark as broken → https://git.io/vpSlS
<{^_^}>
[nixpkgs] @xeji pushed commit from @pstn to master « gnunet-svn: remove outdated package (#40401) »: https://git.io/vpSEp
work_ has joined #nixos
acarrico has quit [Ping timeout: 268 seconds]
jonpez2 has quit [Ping timeout: 260 seconds]
<Ankhers>
infinisil: Thanks. I didn't know about that.
jonpez2_ has quit [Ping timeout: 260 seconds]
<{^_^}>
[nixpkgs] @matthewbauer pushed to master « unibilium: add ncurses as build input »: https://git.io/vpSu8
goibhniu has joined #nixos
<sphalerite>
Ankhers: nixos works well on most mainstream hardware
<{^_^}>
[nixpkgs] @xeji merged pull request #40267 → manual: Clarify that limits.conf doesn't apply to systemd services. → https://git.io/vpXSt
<{^_^}>
[nixpkgs] @xeji pushed commit from @nh2 to master « manual: Clarify that limits.conf doesn't apply to systemd services. (#40267) »: https://git.io/vpSuu
jonpez2 has joined #nixos
<jonpez2>
hello oh nix gurus - relatively newbie nixos user here, please forgive any stupidity. I'm trying to upgrade to 18.03, all seemed successful until I actually rebooted, at which point it started hanging
<jonpez2>
there are occasional messages of the form: INFO: rcu_sched detected stalls on CPUs/tasks:
<sphalerite>
jonpez2: that looks like a bug of the nasty kind. There should be a backtrace along with that message, can you maybe send that?
<{^_^}>
[nixpkgs] @xeji merged pull request #40277 → ansible: update point releases and unify build → https://git.io/vpXbA
<{^_^}>
→ 06e394bb by @peterhoeg: ansible: update point releases and unify build
<{^_^}>
→ efbeca76 by @peterhoeg: ansible: drop 2.1, 2.2 and 2.3 as they are EOL
<{^_^}>
→ 8f259f3e by @xeji: Merge pull request #40277 from peterhoeg/f/ansible
<jonpez2>
£3-...: (1 ticks this GP) idlee[04e/14000000000000000/0 sorfirq=2736/2738 fqs=20998
<jonpez2>
I'd love to! where would I find such a thing?
<jonpez2>
(oops that should have been idle= rather than idlee[
<jonpez2>
all I can do with the machine now is hard reboot and get back into the 17.03 config (nixos is amazeballs!)
<jonpez2>
oh there's lines saying 'task kworker/[...] blocked for more than 120 seconds' and 'task NetworkManager:787 blocked for more than 120 seconds' as well
<{^_^}>
[nixpkgs] @matthewbauer merged pull request #40360 → rPackages: fix binutils path on Darwin → https://git.io/vpyTv
<{^_^}>
[nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vpSuQ
<{^_^}>
→ d35604d9 by @mnacamura: rPackages: fix binutils path on Darwin
<{^_^}>
→ d7c9dc22 by @matthewbauer: Merge pull request #40360 from mnacamura/r-darwin-cctools
<jonpez2>
there's also a line saying 'blocking rcu_node structures:', followed by a couple of blank lines
blob has joined #nixos
xeji has quit [Quit: WeeChat 2.0]
<sphalerite>
hm
<sphalerite>
jonpez2: I don't really know what that might be, maybe you could try different kernel versions, e.g. boot.kernelPackages = pkgs.linuxPackages_latest;
<jonpez2>
happy to give that a shot, thank you; I'll report back with any data
<sphalerite>
oh, and you might be able to get the logs from the broken boot with journalctl, try journalctl --list-boots and journalctl -b <number>
<jonpez2>
oh yes there's backtraces in that
<jonpez2>
shall I dump them here?
<blob>
Hey, guys! May someone tell me, how can I pass some CMAKE_CXX_FLAGS to cmake in default.nix (for nixpkg)?
<sphalerite>
not directly in the channel, but yeah if you could stick them in a gist or something
<teto1>
I want a module to specify a package buildtime variable like CONFDIR (e.g. where the program should look for config). It's for https://github.com/NixOS/nixpkgs/pull/39536 (can't make the code work, there seems to be 2 "config" variables, one for nixpkgs, one for nixos).
<jonpez2>
I did the linuxPackages_latest thing, and no change in behaviour
<infinisil>
teto1: Yeah you don't want a nixos module for that, packages should work without nixos
<blob>
but can I keep existing flags, just add one more?
<infinisil>
teto1: You can however use the nixpkgs config, which is usually specified in ~/.config/nixpkgs/config.nix
<infinisil>
teto1: As in something like `config.iprouteConfdir`
<infinisil>
Probably rather config.iproute.confDir
<teto1>
infinisil: it's kind of a system config so I find it strange to configure it through ~/.config/nixpkgs/config.nix. Can I do it from configuration.nix ?
<infinisil>
NixOS also has an option to specify this config in your configuration.nix: nixpkgs.config
<jD91mZM2>
How do you escape a @ in substituteAll? It's complaining "error: invalid character ':' in name '0123456789:;<=>?'", because it thinks I want to substitute that, which I don't
<infinisil>
teto1: But why would you need to change that
<sphalerite>
jonpez2: ah, it seems to be an issue in nouveau. You seem to have the same hardware as me; are you actually using the discrete graphics? If not, the easiest fix is probably blacklisting nouveau. I don't think it supports the latest generation of nvidia graphics anyway.
<teto1>
nixpkgs.config looks ok
<jonpez2>
um sorry how do I do that please?
<teto1>
infinisil: I don't, it would just make the cache unusable for too many packages. thanks for the tip
<jonpez2>
actually let me go google and not waste your time
<jonpez2>
you win! problem solved, thanks so much for your time
<sphalerite>
yay!
<ben>
is nouveau just like broken
<ben>
can we encode this advice in nixpkgs somehow?
<sphalerite>
ben: no, it's not generally broken. It works fine usually.
<infinisil>
The one time I tried using nouveau it didn't work at all
<sphalerite>
jonpez2: this might actually be a case of the driver trying to talk to the graphics card even though it's powered off
<ben>
Like, can we set it so nixos-rebuild refuses to switch to a configuration if it doesn't blacklist nouveau and it's running on that particular hardware?
<jD91mZM2>
sphalerite: I'm not sure I need nouveau and can use intel alone as video driver. Would it make sense for me to blacklist it too for no reason?
<jD91mZM2>
Because I'm probably using intel currently anyway. Switching to only nouveau driver makes me unable to start X kek
<ben>
X kek?
<sphalerite>
jD91mZM2: if it's not hanging anything there's no reason to disable it really
<jonpez2>
sphalerite: is there something I can do to help figure out whether that was the problem?
<ben>
(Do we have a strong preference against the nvidia drivers?)
markus1189 has joined #nixos
<jD91mZM2>
ben: "kek" = "lol"
gtklocker has quit [Quit: WeeChat 2.0]
<ben>
rot13 or something?
<MichaelRaskin>
ben: hehe ~> kek
<jD91mZM2>
Not rot13, just something world of warcraft does for some reason IIRC. Then a friend started saying it and I started too
<MichaelRaskin>
I run nouveau drivers, and I expect some advanced X magic to work better with Nouveau.
<ben>
I see
<MichaelRaskin>
And some advanced GPU magic to work better with nvidia
<MichaelRaskin>
But I never learned CUDA, and the most advanced 3D thing I have ever used is probably TORCS. So I prefer X magic
Have-Quick has quit [Quit: Have-Quick]
<samueldr>
the latest (as of last month) proprietary nvidia drivers started exhibiting weird behaviour on both my GT 630 and GTX 570 so I switcehd to nouveau
<jD91mZM2>
sphalerite: I am still having some issues, but I don't know what. xrandr is still broken, and after the computer has gone to sleep it seems to show a random screenshot when I wake it up before I enter my password in my lockscreen
<samueldr>
it could have been related to using 1440p monitors, with one to the vertical
<jD91mZM2>
sphalerite: Basically: I lock -> it sleeps -> I wake it up -> it shows a still image of what i did at a random point in time -> i move the mouse or press a key -> i'm back to the lock screen like normally
<sphalerite>
jD91mZM2: do you have nvidia graphics in the machine?
<jD91mZM2>
sphalerite: I sadly do have bumblebee. NVIDIA 820M and Intel something
<jD91mZM2>
sphalerite: Not bumblebee, optimus*
endformationage has joined #nixos
<sphalerite>
jD91mZM2: right, but then if you don't need to use the discrete graphics you can still disable it
<sphalerite>
as in remove the nouveau driver from your X drivers list
<sphalerite>
it probably won't make a difference though
<sphalerite>
¯\_(ツ)_/¯
<jD91mZM2>
sphalerite: I think I tried that, and it didn't fix xrandr. Didn't ever try the lockscreen thing though
<MichaelRaskin>
I have a thinkpad where optimus is a have-to-use for external monitors
<MichaelRaskin>
But, nouveau allows me to use some xrandr magic to set up offloads without bumblebee
<jD91mZM2>
sphalerite: Would it make sense to disable nouveau on a kernel module level? Or even update my BIOS to something that lets me disable my NVIDIA card
<sphalerite>
if there's a BIOS update that lets you disable it, I think that's the best choice
<sphalerite>
as for disabling the kernel module, I'm not sure — that might result in the card being left powered on and consuming power. I'm not sure though.
<jD91mZM2>
sphalerite: I don't actually know if there is one. I just know that my current BIOS doesn't seem to let me
cinimod_ has quit [Quit: Connection closed for inactivity]
blob has quit [Quit: Leaving]
<jD91mZM2>
sphalerite: Darn it, doesn't seem to be one
<sphalerite>
I was surprised.
<jD91mZM2>
sphalerite: Honestly I'm not sure what the issue is. I believe I used nouveau fine back on Arch and Ubuntu... but then again I might have been using intel's drivers all along.
<jD91mZM2>
If only I didn't have two GPUs :thinking:
<jD91mZM2>
"You know what's better than a GPU? TWO GPUS!" - The computer manufacturers probably
<sphalerite>
to be fair, there is a good reason: intel GPUs consume much less power (yay battery life) and nvidia GPUs are a lot more powerful (fancy graphics)
drakonis has joined #nixos
broccoli has quit [Ping timeout: 276 seconds]
broccoli1 has joined #nixos
<jD91mZM2>
sphalerite: I heard from #xmonad back then that this specific card is just a money grab, but I haven't been able to verify that since I'm not sure which driver I'm using lmao
<drakonis>
hm yes a money grab
<drakonis>
i suppose you've never heard about OEMs
<drakonis>
hybrid graphics is good for one purpose though, power saving
<drakonis>
you can hand off the computations to the fastest source when needed
<gtklocker>
wouldn't nix-env search in nixpkgs anyway?
ortuna has quit [Quit: Page closed]
<boomshroom>
Is there a way to see why a derivation requires another without building it?
<{^_^}>
[nix] @Ma27 opened pull request #2158 → search.cc: improve UX for `nix search` → https://git.io/vpSro
ortuna has joined #nixos
zybell_ has quit [Ping timeout: 256 seconds]
<boomshroom>
More specifically, why is freetype required for a barebones nixos build and how can I get rid of it?
broccoli has quit [Ping timeout: 260 seconds]
coot has joined #nixos
cizra has joined #nixos
ortuna has quit [Ping timeout: 264 seconds]
<cizra>
Hey hello! It seems running xorg via sddm and via startx get different configurations?
schoppenhauer has quit [Ping timeout: 240 seconds]
griff_ has quit [Quit: griff_]
broccoli has joined #nixos
Sonarpulse has joined #nixos
lo_mlatu has joined #nixos
schoppenhauer has joined #nixos
<TonyTheLion>
how do I get pkgconfig to see where my nixified library is?
griff_ has joined #nixos
<lo_mlatu>
Is it possible now to use `dockerTools.buildImage` on macos?
<boomshroom>
TonyTheLion: Are you using pkgconfig directly, or are you building something that requires it through Nix?
zybell_ has joined #nixos
jD91mZM2 has quit [Quit: WeeChat 2.0]
<TonyTheLion>
boomshroom: I am building a library through nix, and it creates a .pc file
<TonyTheLion>
the thing that depends on this library seems to be unable to determine its version
<TonyTheLion>
so I suspect that its not seeing the .pc file
<TonyTheLion>
for the library, I have specified pkgconfig in the buildinputs
<TonyTheLion>
nativeBuildInputs that is
<boomshroom>
TonyTheLion: Huh. The version is in the pkgconfig file rather than the binary? I'm sorry I not very familiar with pkgconfig. I don't tend to use C or C++.
<TonyTheLion>
well should the .so file contain the version somehow?
<boomshroom>
TonyTheLion: Good point. Isn't the version tacked onto the end of the filename for most shared libraries?
<TonyTheLion>
the so files are .so.2.0.0
<TonyTheLion>
so those numbers should be the version, hmmm
<TonyTheLion>
the thing that depends on this library, that I've also nixified, has this PKG_CHECK_MODULES call for that library
<TonyTheLion>
and it claims that the version is wrong, but it isn't if I am to belive the VERSION file
<TonyTheLion>
I just don't know if this PKG_CHECK_MODULES thing is finding whatever it is looking for, because I've nixified it
<cizra>
What's the relationship of services.xserver.displayManager.sddm.enable and systemctl? If I enable that conf option, sddm comes up and stays up, it's not disableable by 'systemctl stop sddm', and vice versa, I can't seem to start it without enabling that configuration key.
<boomshroom>
cizra: You can't enable it without the key because the key is what tells Nix to make it visible to systemctl at all. `systemctl stop` should work fine.
andrewmiller1 has joined #nixos
<{^_^}>
[nixpkgs] @vcunat pushed 3 commits to release-18.03: https://git.io/vpSoK
<{^_^}>
→ f981e958 by @vcunat: Merge branch 'release-18.03' into staging-18.03
<{^_^}>
[nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vpSKY
<{^_^}>
→ 37af5704 by @megheaiulian: distrobuilder: init at HEAD
<{^_^}>
→ b0d29e7e by @matthewbauer: Merge pull request #40240 from plumelo/feature/distrobuilder
<blum>
simpson: the Arch Wiki mentions Nouveau with power saving is more or less the same as Optirun. I could try going full nouveau if that's really the case, but it was not working for me so I assume my laptop is begging for Bumblebee
<boomshroom>
How do I delete old nixos versions from my bootloader.
<boomshroom>
drakonis: The thing is I don't want to clean the store because I don't want to have to rebuild too much.
<simpson>
blum: Unfortunately, dual-GPU laptops aren't of a single hardware configuration, so not all dual-GPU setups automatically work with either driver. Sometimes it's a matter of, uh, percussive maintenance~
vaninwagen has joined #nixos
<blum>
simpson: So... should I try using the nvidia driver and smashing my laptop if that doesn't work?
griff_ has quit [Quit: griff_]
<simpson>
blum: Have you tried nouveau with bumblebee? TBH I don't really know how to administer nVidia GPUs other than by avoiding nvidia.
<blum>
Yeah, but I can not rebuild nixos because it tries to install the proprietary nvidia driver
<blum>
simpson: Even though I *think* Bumblebee supports nouveau to an extent
FRidh has quit [Quit: Konversation terminated!]
<boomshroom>
I wonder how much disk space will get freed by the end of the GC.
<blum>
I wish AMD-based laptops weren't such a rarity
schoppenhauer has quit [Ping timeout: 256 seconds]
<MichaelRaskin>
blum: bumblebee works with nouveau
<MichaelRaskin>
That much is a fact
<MichaelRaskin>
Then it all depends on the vard
<MichaelRaskin>
If you are moderately lucky and the card is old enough, maybe a better solution would also work
<boomshroom>
It would be nice to GC only packages that weren't made in the last 30 days or so, rather than all packages without a root.
<blum>
It's a 1050 so I think I am SOL
<MichaelRaskin>
Which is xrandr --listproviders (to check), then tell that it is OK to offload work, basically, in any direction necessary
<MichaelRaskin>
Not sure how often the card behaviour changes for that…
<blum>
xrandr says it can't open display, which would be about right. My main problem is I can't seem to be able to enable nouveau without the computer going insane.
<blum>
Right now I am on a CLI tty because the latest nouveau enabled config makes my computer extremely unstable
schoppenhauer has joined #nixos
<blum>
And also doesn't even start the display manager for some reason
<blum>
I wanted to try bumblebee + nouveau to see if that worked, but bumblebee is trying to pull the proprietary nvidia driver and I do not have the proprietary software flag enabled yet
<cizra>
boomshroom: Thanks for the explanation, but systemctl stop does not work. Says there's no such service.
tmaekawa has quit [Ping timeout: 260 seconds]
<boomshroom>
NixOS does strange things that you wouldn't expect. This apears to be one of them.
<cizra>
blum: I'm running dual Intel+NVidia -- with only NVidia chip in use, using the nvidia driver. Works fine, but I suppose it must chug power. Previously I used intel+nouveau, with DRI_PRIME and stuff everything working ... that's all on Arch. Can't figure out how to launch Xorg in NixOS, so far.
griff_ has joined #nixos
<simpson>
blum: hardware.bumblebee.driver = "nouveau"; I think.
astsmtl has quit [Read error: Connection reset by peer]
astsmtl has joined #nixos
astsmtl has quit [Changing host]
astsmtl has joined #nixos
<blum>
cizra: You mean launching Xorg with the intel + nouveau config, or launching Xorg at all?
<blum>
simpson: Thanks, gonna try it right now
<cizra>
blum: Aaaand my card is rather new, Quadro M2000M or somesuch. I can't figure out NVidia. Intel or nouveau (probably nouveau, not sure) worked fine.
<Unode>
domenkozar: I'm currently experiencing https://github.com/commercialhaskell/stack/issues/2937 on nixos 18.03 with stack installed via nix. Since you fixed the original issue, any idea if I just hit a regression or if something else is affecting stack?
<blum>
simpson: That seems like it worked. It's rebuilding now. Thanks
<blum>
cizra: A wise man once said: "fuck you, Nvidia"
<cizra>
blum: mebbe, but that's the only thing that outputs to external monitors on my lappy.
<{^_^}>
→ 6f40d18d by @Ericson2314: prebuilt android cc: Edit wrapper to pass the right -m flags for armv7a
<{^_^}>
→ f2004e62 by @Ericson2314: lib: Fix float handling for Aarch32
<{^_^}>
→ 92b7a814 by @Ericson2314: Merge branch 'fix-gcc-with-float'
<{^_^}>
[nixpkgs] @Ericson2314 pushed 3 commits to release-18.03: https://git.io/vpS6H
<{^_^}>
→ 6f40d18d by @Ericson2314: prebuilt android cc: Edit wrapper to pass the right -m flags for armv7a
<{^_^}>
→ f2004e62 by @Ericson2314: lib: Fix float handling for Aarch32
<{^_^}>
→ 2d867df5 by @Ericson2314: Merge branch 'fix-gcc-with-float' into release-18.03
eyJhb has left #nixos ["Leaving"]
<Unode>
domenkozar: stack installed via nix == nix-env -iA stack
<blum>
simpson: Maybe a silly question, but how did you find out about the bumblebee driver option?
seanparsons has quit [Read error: Connection reset by peer]
Lisanna has joined #nixos
<cizra>
blum: there's a page with all options
<blum>
cizra: Just found it by searching for NixOS options, lol.
<blum>
cizra: No idea this existed. Pretty cool, tho.
<cizra>
blum: Righto. Not findable if you're unwise enough to search for "nixos settings" or "nixos configuration".
<simpson>
blum: $(man configuration.nix) and then searched for 'bumblebee'
<blum>
simpson: Ah, so that works too
<blum>
Bretty nice. Thank you all
<cizra>
:( I'm still poking around. I figured out the name's not sddm but display-manager, so now I can start/stop it. Also I enabled sddm, but got slim? How come
<cizra>
Also I can finally run with startx after enabling a conf option to export the Xorg configuration.
<blum>
cizra: You running on a Nvidia/Intel laptop?
<cizra>
yes
<blum>
My display started working as soon as I enabled Bumblebee
<cizra>
Ummmm. OK.
<blum>
I have enabled "intel" and "nouveau" drivers, then bumblebee with connectDisplay
<blum>
Not sure if that will work for you
smichel has left #nixos [#nixos]
<cizra>
Oh, no, I can't use nouveau (unless it's grown support for external screens meanwhile)
<blum>
From what I am seeing comnectDisplay shouldn't even be necessary
<blum>
Ah, yes. That's what connectDisplay should be for.
<drakonis>
MichaelRaskin, there's no image for the libreoffice icon
<drakonis>
if i drag the icons into the workspace it shows them
<drakonis>
but in the menu it doesn't show
<boomshroom>
Does nicos support setting nixpkgs.config.packageOverrides multiple times and applying all of them?
<blum>
cizra: Try enabling [ "intel" "nvidia" "modesetting" ] as services.xserver.videoDrivers, then hardware.bumblebee.enable to true, and also hardware.bumblebee.connectDisplay to true, then services.xserver.enable to true, xserver's displayManager to sddm/slim.enable to to true and xserver's desktopManager or windoeManager to some known option, as usual.
<blum>
Using windowManager.i3.enable in my case, for example.
<blum>
The bumblebee lines fixed it for me.
<MichaelRaskin>
Well, if KDE half-supports png that would be seriously annoying
<{^_^}>
[nixpkgs] @matthewbauer pushed 4 commits to master: https://git.io/vpSPT
<{^_^}>
→ 095fe5b4 by @oxij: nixos: rename system.{stateVersion,defaultChannel} -> system.nixos.\1
<{^_^}>
→ 4017fdca by @oxij: lib: modules: propagate `highestPrio`
<{^_^}>
→ 1f0b6922 by @oxij: nixos: version: produce a warning when no `system.nixos.stateVersion` is explicitly set
<blum>
cizra: Try rebooting too. Apparently the display manager service doesn't get autostarted with rebuild test
<{^_^}>
[nixpkgs] @edolstra pushed to master « youtube-dl: Disable phantomjs support by default »: https://git.io/vpSPm
<drakonis>
it should support pngs though
drakonis has quit [Remote host closed the connection]
<cizra>
blum: Are you on intel+nvidia or intel+nouveau?
pie___ has joined #nixos
drakonis has joined #nixos
<boomshroom>
Trying to solve one problem leads to another and trying to solve that one leads to a completely different one. I have somehow lost the ability to cross
<sorbet>
Hmm, anyone have an example of how to manage files within the homedir using home-manager? Like specifying its path and contents?
<boomshroom>
I have somehow lost the ability to cross compile glib for riscv.
<johnw>
so, pointers to stuff I keep in a 'home' repository, plus some symbolic links
drakonis has quit [Remote host closed the connection]
humanoyd has quit [Quit: WeeChat 2.1]
drakonis has joined #nixos
pie__ has quit [Ping timeout: 240 seconds]
foldingcookie has quit [Ping timeout: 265 seconds]
<cizra>
blum: Eh. I just removed all configuration and slim launches just fine with defaults. DRI_PRIME lets me choose between intel and nouveau for rendering. I guess I can mess with NVidia+external screens later.
hotfuzz has joined #nixos
hotfuzz_ has quit [Ping timeout: 250 seconds]
<blum>
cizra: "intel" + "nouveau", but considering I seem to be the only NixOS user with nouveau on the Internet, I am going to assume "nvidia" should work as well, lol
<boomshroom>
Does anyone know why trying to cross compile GLib fails due to missing gettext?
<cizra>
blum: I've only had luck with either Intel+Nouveau or NVidia, not Intel+NVidia. Might be my bad luck or something.
freeman42x]NixOS has joined #nixos
cnidario has joined #nixos
<blum>
cizra: Damn, that sucks. Specially considering the connectDisplay feature is nvidia only, according to the manual
<cizra>
blum: Mebbe I'm just wrong. I'll experiment more later.
xeji has joined #nixos
<blum>
cizra: I have found some GitHub issues that mention quite some nvidia-* drivers, which I will assume are included by the "nvidia" metadriver, but maybe Quadro cards need to be explicitly told to pull another one.
<vcunat>
my cards all work with nouveau and nvidia
<vcunat>
(but the systems don't have "switchable" GPUs)
<vcunat>
s/all/both/
<vcunat>
ah, putting intel and nvidia into videoDrivers probably won't work
<vcunat>
well, unless someone has fixed the complex glvnd situation
<vcunat>
(those two drivers need different libGLs)
<cizra>
nodnod
<neonfuz>
the nixos package for couchdb doesn't seem to include the documentation
<neonfuz>
anyone know how to get it through nixos?
<cizra>
Meanwhile, how do I find a package's current install dir, programmatically, taking into account garbage from previous inactive versions?
<vcunat>
nix-build -A nixos.packageName
<vcunat>
(prints the path to stdout)
<vcunat>
cizra: ^
<vcunat>
And it creates the ./result symlink(s), so you may want to add --no-out-link.
<cizra>
vcunat: Thanks!
<vcunat>
ew, it should be nix-build '<nixpkgs>' -A packageName
<vcunat>
:-)
alex`` has joined #nixos
<cizra>
$ nix-build nixos.dwarf-fortress-packages.dfhack -A packageName --no-out-link
<cizra>
error: getting status of '/nix/store/qpi5yzfl9mf5g9awhb6ngv5xb9ww1qs2-dwarf-fortress-original-0.44.09/nixos.dwarf-fortress-packages.dfhack': No such file or directory
<cizra>
A tad unclear how these 2 are supposed to come together.
<vcunat>
cizra: the other command I wrote
<cizra>
Well, that _was_ the other command you wrote.
<vcunat>
uh, actually, the error is really strange
<vcunat>
nix-build '<nixpkgs>' -A dwarf-fortress-packages.dfhack
<vcunat>
this works for me ^^
<cizra>
vcunat: Whoa, thanks!
<vcunat>
ah, I see, your cwd is /nix/store/qpi5yzfl9mf5g9awhb6ngv5xb9ww1qs2-dwarf-fortress-original-0.44.09
<vcunat>
(the first argument is path to evaluate)
simpson has left #nixos ["WeeChat 1.0.1"]
<cizra>
mmm, I see.
<cizra>
OK, sleepy time now. Thanks for all the help!
<vcunat>
same for me
vcunat has quit [Quit: Leaving.]
<bobvanderlinden_>
for anyone interested, i've created a wiki page on usage of Nix within a company. Any feedback (or additions) is welcome: https://nixos.wiki/wiki/Enterprise
<{^_^}>
[nixpkgs] @xeji pushed commit from @Ma27 to master « pythonPackages.sasmodels: fix build (#40381) »: https://git.io/vpSDJ
<wohoo>
I want to create new nixpkg, it normally create some files in its directory in /var/lib/
<clever>
wohoo: is it more of a service or an application?
<wohoo>
clever: game application, it store saved games and some scores info
Ahmedkh has joined #nixos
lo_mlatu has quit [Quit: Connection closed for inactivity]
<zybell_>
wohoo games should leave the scores in the home of user who plays. Or is it db?
<clever>
wohoo: i would use libredirect to reconfigure it to save under $HOME
<wohoo>
zybell_: I agree, but I'm not developer, I just want to build package. No, it's files, not db.
<zybell_>
then see clever
<wohoo>
clever: where I can read something about that?
<Ahmedkh>
hi guys, I have a little problem after install traslate-shell. when I run it, it rise this error `gawk: fetal: can't open source file "path/to/bin/metainfo.awk" (no such file or dir)`.
<Ahmedkh>
whay should I do
<wohoo>
Is that a C/C++ lib or some kind of nix feature?
<clever>
wohoo: if you search nixpkgs for libredirect you can find some examples
<wohoo>
clever: ok, thank you!
<{^_^}>
[nixpkgs] @romildo opened pull request #40409 → materia-theme: unset $name in install script → https://git.io/vpSDG
<foldingcookie>
does anyone use plymouth without a graphical login manager? if I hit escape during plymouth, my agetty gets hopelessly confused and my first login attempt never works (even if I mash backspace/etc.)
<foldingcookie>
also, is there any way to reset NixOS's zsh configuration to stock? I keep finding things it's changed and having to undo them one-by-one in my user configuration, which seems silly
<gchristensen>
does pkgs.linux_latest.override not work?
* samueldr
remembers a conversation about that the other day
<zybell_>
foldingcookie:try to create an user with an escapechar at the start of the username.After quitting plymouth you try to login as that user,but *without* entering the escape.If you succeed,you know that agetty isnt confused,but somehow gets the keyboard buffer(which is a bug ofc)
<foldingcookie>
hm, apparently that's not the syntax
<samueldr>
though, the kernel patch way is surprising, but yeah I see how it works :)
<zybell_>
I would edit /etc/passwd directly (and check with hexdump),after all its only a *test*,nothing permanent.Only if the user vanishes at reboot I would seek other options.
<foldingcookie>
(but first login attempt on a fresh getty (not one on a console that just showed plymouth and had escape hit) works fine for a username that doesn't start with 0x1b)
<foldingcookie>
this should not be this fucking complicated...
vaninwagen has quit [Quit: WeeChat 2.1]
<gchristensen>
cool, thank samueldr
<zybell_>
on boot did you enter foo directly after escape or did you wait till login: prompt?
<{^_^}>
[nixpkgs] @xeji pushed commit from @Twey to master « pythonPackages.plover.dev: 4.0.0.dev6 -> 4.0.0.dev8 (#40345) »: https://git.io/vpSS2
<zybell_>
then I think a second process read the tty with agetty together.to make shure you could create a user 'foo' (without escape)too, with *another* id,but *same* password. After boot you try to login, do three foo(enter) and look which user you logged in as.
<{^_^}>
→ 3fd8dea3 by @mnacamura: rounded-mgenplus: init at 20150602
<{^_^}>
→ 50f5a417 by @mnacamura: rounded-mgenplus: add mnacamura as maintainer
<{^_^}>
→ 9e6d50b5 by @xeji: Merge pull request #39659 from mnacamura/rounded-mgenplus
<zybell_>
If without escape I would try control-c at the login prompt to kill the other process (login is restarted by init)
broccoli has joined #nixos
<jcrben>
so I'm doing a nixos-rebuild from a fork of nixos-unstable whose only difference is an update of libinput from 1.10.0 to 1.10.5 - I suppose it's to be expected that this would cause a bunch of stuff to build since it's so low-level
<jcrben>
anyone have any idea how long this might take, and any shortcuts?
<foldingcookie>
zybell_: neither account gets logged into in that case
<{^_^}>
[nixpkgs] @xeji pushed commit from @pbogdan to master « libsmbios: re-enable python utilities (#39022) »: https://git.io/vpS9T
Have-Quick has quit [Client Quit]
smichel has quit [Quit: smichel]
__monty__ has left #nixos [#nixos]
zybell_ has joined #nixos
aminb has joined #nixos
Ahmedkh has quit [Quit: Bye-Bye]
<zybell_>
foldingcookie:I think its time for the screwbar. From another tty a login is possible? Without 'disturbing' the state of that agetty? Or are all agettys foobared? Then check ssh.
<ben>
am i weird for just turnin off plymouth
simukis has quit [Ping timeout: 264 seconds]
<foldingcookie>
hold on, I think the plot is thickening
<foldingcookie>
ugh, maybe not
<foldingcookie>
there are all kinds of race conditions here
<{^_^}>
[nixpkgs] @xeji opened pull request #40410 → nixos/tests/acme: fix on i686, improve timing → https://git.io/vpSQe
acarrico has joined #nixos
marusich has joined #nixos
blahdodo has quit [Quit: Bye bye]
<foldingcookie>
e.g. it definitely matters *when* during boot I hit escape
<foldingcookie>
if I hit it immediately when I see the plymouth splash, I can log in fine
cindylind has joined #nixos
Maxdamantus has quit [Ping timeout: 240 seconds]
<foldingcookie>
if I wait about 0.5 seconds, then agetty will get upset
<cindylind>
Hi I made a simple change to my nixos-config (added a package from nixpkgs) and ran 'sudo nixos-rebuild switch' and I it looks like It's trying to redownload all the packages on the machine and source compile them?
Maxdamantus has joined #nixos
<zybell_>
is it only on one agetty or on all?
blahdodo has joined #nixos
<foldingcookie>
only on the first
<foldingcookie>
and... it seems like if I wait long enough for networking (?) to come up before typing anything, it never has problems?
<foldingcookie>
just waiting until I can ping the machine from another, after hitting escape during plymouth during boot
<zybell_>
If you login on the second, does the first have the problem persist or is it gone?
<foldingcookie>
if I alt+right, I have to wait several seconds for a getty to show up, but if I do wait there, logging the second getty works and then logging on the first after also works, but it seems like the first getty may have restarted because I see a black screen on it for a bit before the login prompt shows back up
<foldingcookie>
(not starting X or anything)
<foldingcookie>
this is so fucking confusing
<foldingcookie>
ben: you're clearly wiser than I am
TonyTheLion has quit [Quit: leaving]
<zybell_>
I think I know whats going on:
<foldingcookie>
I'm literally all ears
<zybell_>
the first agetty starts a login (agetty has no timeout,login has) (both use the same login: prompt) but keeps hanging around,both read from stdin