gchristensen changed the topic of #nixos to: The Nix Ecosystem, https://nixos.org | NixOS: https://nixos.org/nixos/download.html | Nix: https://nixos.org/nix/download.html | Logs: https://logs.nix.samueldr.com/nixos/ | #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat
meck has quit [Quit: WeeChat 2.5]
hodlwave has joined #nixos
hodlwave has quit [Client Quit]
meck has joined #nixos
hodlwave has joined #nixos
ris has quit [Ping timeout: 246 seconds]
<hodlwave> quit
<hodlwave> cea
<hodlwave> Oops, sorry.
seppellll has quit [Ping timeout: 245 seconds]
shibboleth has quit [Quit: shibboleth]
<{^_^}> [nixpkgs] @matthewbauer merged pull request #66419 → busybox: apply clang-cross patch when host is different than build system. → https://git.io/fj72P
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fj7SL
jgt has joined #nixos
<dminuoso> Wew. "nix-channel --update nixos" gives me an instant segmentation fault.
<dminuoso> Not reproducible. Mmm.
<infinisil> Similarly, nix repl sometimes gives "interrupted by user" or so, not reproducible either
<infinisil> (might be fixed in a more recent version, I'm not updating often)
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fj7SO
iyzsong has joined #nixos
jgt has quit [Ping timeout: 252 seconds]
is_null has joined #nixos
<{^_^}> [nixpkgs] @volth opened pull request #66458 → buildPerlPackage: deduplicate -I paths in shebangs → https://git.io/fj7SG
kleisli_ has joined #nixos
<{^_^}> [nixpkgs] @volth opened pull request #66459 → buildPerlPackage: remove postFixup → https://git.io/fj7SZ
johnw has joined #nixos
orivej has quit [Ping timeout: 245 seconds]
nornagon has quit [Ping timeout: 248 seconds]
johnw has quit [Ping timeout: 252 seconds]
mexisme_ has joined #nixos
<dminuoso> I have a package that is not being GCed. How can I determine what is keeping it in place?
<Yaniel> check /nix/var/nix/gcroots
<dminuoso> Yaniel: What am I looking for exactly?
<Yaniel> there are probably symlinks in there
<Yaniel> to whatever is keeping things in place
<dminuoso> Yaniel: Im seeing some directory structure but Im really not sure what you are on about.
<dminuoso> Yaniel: Concretely I have the unifi package that is being kept somehow.
<Yaniel> do you have services.unifi.enable=true somewhere in your system config
<dminuoso> Yaniel: No its commented out.
<Yaniel> are you booted into a build that does not contain it?
<Yaniel> just switching won't release old stuff
<dminuoso> Yaniel: Yes.
<dminuoso> Uh
<dminuoso> Yaniel: Curious, why is that? And yes I actually even rebooted t.
<dminuoso> I deleted all old generations too
<dminuoso> I kind of wish I could interrogate nix and ask "whats keeping you here"
<Yaniel> there is /run/booted-system and /run/current-system
<Yaniel> which are nixos generations AFAIK
<samueldr> nix-store --gc --print-roots # could shed some light
<samueldr> though it won't say which root holds it
<dminuoso> samueldr: Ahh! Thats what I was looking for.
<dminuoso> And indeed Yaniel, those seem to reference it. Seems something is up here.
<pie_> does nix-shell -A with a set of derivations behave different than nix-shell something.nix with a derivation???
<pie_> i thought its supposed to give me a bbuild env but its somehow actually giving me the thing i want to build...
<pie_> i want the build environment from dev https://bpaste.net/show/h1tF
<pie_> derp nevermind
<pie_> i was running nix-shell on the directory not the default.nix file
<pie_> and i have a shell.nix in there
<pie_> so it was running the shell.nix instead
<samueldr> nix-shell with a file is like when it has a shell.nix, it's using that derivation as the input
<pie_> wait thats still weird though
<dminuoso> Yaniel: Oh man I have been chasing a ghost. Naming my deployment "unifiController" was not the smartest idea.
<samueldr> it's really -A which is a speical case AFAIUI
<dminuoso> Yaniel: The package has been gone so long...
<Yaniel> lol
<pie_> samueldr i dont follow
<gchristensen> hrm. the iso from the website (64 bit, headless) doesn't manage to import my zfs pool
<samueldr> your system runs the "same" zfs? (not zfsUnstable, 19.03 to 19.03?)
<samueldr> no overlays either?
<gchristensen> oh!
<gchristensen> luks!
<gchristensen> thank you for the thinking!
itorres1 has joined #nixos
<pie_> wait nix-shell doesnt even have a -A
itorres has quit [Ping timeout: 272 seconds]
<pie_> oh yeah it does im blind
* pie_ needs to slow down
<pie_> samueldr after a few rereads, yeah thats what i expected, -A is not just a "do the same thing but on this attribute"? it does something else...
<samueldr> AFAIUI, that's it
<pie_> does nix-build do something weird too
jgt has joined #nixos
<samueldr> a bit late to change the past, but it could have been a better UX to instead have -A act like -p, but on the given attrset; always getting the derivation, and use something like --give-me-a-build-environment to get that environment
<pie_> or is nix-shell some kind of degenerate case
dl4mfo has joined #nixos
<samueldr> not sure, but I think it's nix-shell being special cased
<samueldr> (the source is surprisingly easy to deal with if you want to see)
<pie_> ok thats pretty annoying, id like a proper -A for nix-shell too :p
LogicAside has quit [Remote host closed the connection]
<pie_> ok so i made another proxying shell.nix so im not using -A but i still get result :I
dl4mfo_ has quit [Ping timeout: 268 seconds]
ThatOtherGuy has joined #nixos
<pie_> *get the built environment
ertw has joined #nixos
<pie_> wait a minute. i wonder if theres some shellhook magic from the python infra going on here or something
<pie_> why is everything so confusing xD
wildtrees has quit [Quit: Leaving]
Fahrradkette has quit [Quit: Leaving]
<pie_> im increasingly feeling the urge to read source code because nothing ever makes sense. problem is there is an infeasible amount of source code.
<pie_> this isnt my day job xD
<pie_> well...ill just bear with this for the moment
<pie_> didnt know thats a thing (now?)
<pie_> "If we create a shell.nix file which calls buildPythonPackage, and if src is a local source, and if the local source has a setup.py, then development mode is activated."
<pie_> "and if src is a local source,"
<pie_> aha! thats why i didnt run into it earlier!
<exarkun> everybody loves magic
<pie_> especially if it makes sense
<pie_> this would be less of a problem if things were consistent and knowledge transferred
<pie_> samueldr were you perhaps thinking of https://github.com/NixOS/nix/issues/726 ? it seems to me like -A *is* consistent after all, I was just confounded by that fancy python stuff ^ (i think)
<{^_^}> nix#726 (by copumpkin, 3 years ago, open): nix-shell -p is too magical
<samueldr> mayb
<samueldr> maybe*
<pie_> wait nope WTF
<pie_> ok yeah samueldr can you link the source
<pie_> https://bpaste.net/show/h1tF _any_ -A triggers the dev mode, even though only dev should...
<samueldr> multi-call binary
<samueldr> so yes, it's nix-build
<samueldr> but it's also nix-shell
ottidmes has quit [Ping timeout: 245 seconds]
<pie_> yeah i know
<pie_> i dont actually see any branching happening here based on whether its one or the other
<samueldr> not as useful as earlier, but that's a script that combs through the store roots to find which one is holding another one alive
<pie_> only the man page that it shows and the version
<samueldr> sorry, it's `runEnv` the real flag
<pie_> huh, how did that get passed
npmccallum has quit [Quit: npmccallum]
<samueldr> regexing argv0
<pie_> oh looks like i skipped right over tht
<pie_> thanks
georges has quit [Ping timeout: 245 seconds]
jgt has quit [Ping timeout: 264 seconds]
georges has joined #nixos
Soo_Slow has quit [Remote host closed the connection]
<pie_> that would explain why it triggers on all the attrs
<pie_> which would make that a documentation bug or a lack-of-implementation bug
ertw has quit [Ping timeout: 245 seconds]
<pie_> ...the documentation is gaslighting me i swear
<pie_> ah, theres two similar sections
<{^_^}> [nixpkgs] @volth closed pull request #66458 → buildPerlPackage: deduplicate -I paths in shebangs → https://git.io/fj7SG
georges has quit [Quit: ZNC 1.7.1 - https://znc.in]
jgt has joined #nixos
<pie_> grrrrr and its not even working properly.
szicari has quit [Remote host closed the connection]
szicari has joined #nixos
<pie_> :ok_hand: that one was a pebcak
selfsymmetric-mu has quit [Remote host closed the connection]
steshaw[m] has joined #nixos
georges has joined #nixos
selfsymmetric-mu has joined #nixos
fusion809 has quit [Remote host closed the connection]
growpotk- has joined #nixos
steshaw_ has quit []
steshaw_ has joined #nixos
tjg1 has quit [Quit: Bye.]
tjg1 has joined #nixos
georges has quit [Quit: ZNC 1.7.1 - https://znc.in]
mniip_ has joined #nixos
johnw has joined #nixos
georges has joined #nixos
mniip has quit [Ping timeout: 620 seconds]
johnw has quit [Ping timeout: 245 seconds]
ddellacosta has joined #nixos
mniip_ is now known as mniip
steshaw_ has quit []
steshaw_ has joined #nixos
ddellacosta has quit [Ping timeout: 258 seconds]
abathur has joined #nixos
jgt has quit [Ping timeout: 250 seconds]
aw has quit [Quit: Quitting.]
spacefrogg has quit [Quit: Gone.]
aw has joined #nixos
spacefrogg has joined #nixos
markus1189 has quit [Ping timeout: 245 seconds]
ThatOtherGuy has quit [Remote host closed the connection]
ThatOtherGuy has joined #nixos
markus1189 has joined #nixos
sellout- has joined #nixos
steshaw_ has quit [*.net *.split]
drakonis has quit [*.net *.split]
Okinan has quit [*.net *.split]
ericsagnes has quit [*.net *.split]
reanimus has quit [*.net *.split]
vxzero[m] has quit [*.net *.split]
englishm has quit [*.net *.split]
orospakr[m] has quit [*.net *.split]
retrry[m] has quit [*.net *.split]
smolboye[m] has quit [*.net *.split]
badmutex[m] has quit [*.net *.split]
boredom101[m]1 has quit [*.net *.split]
MerlinGttlinger[ has quit [*.net *.split]
jak[m] has quit [*.net *.split]
wrunt[m] has quit [*.net *.split]
bnasty[m] has quit [*.net *.split]
cab404[m] has quit [*.net *.split]
marius851000[m] has quit [*.net *.split]
Smith[m] has quit [*.net *.split]
sauyon[m] has quit [*.net *.split]
ma27[m] has quit [*.net *.split]
roadt[m] has quit [*.net *.split]
craigevil[m] has quit [*.net *.split]
bkl[m] has quit [*.net *.split]
pingveno[m] has quit [*.net *.split]
IslandUsurper has quit [*.net *.split]
bricewge has quit [*.net *.split]
alienpirate5 has quit [*.net *.split]
worldofpeace has quit [*.net *.split]
atopuzov[m] has quit [*.net *.split]
abbafei[m] has quit [*.net *.split]
spacekitteh[m] has quit [*.net *.split]
copy` has quit [*.net *.split]
craige[m] has quit [*.net *.split]
malteof[m] has quit [*.net *.split]
abcrawf has quit [*.net *.split]
mumuluxi has quit [*.net *.split]
rajivr___ has quit [*.net *.split]
monotux has quit [*.net *.split]
andi- has quit [*.net *.split]
ardumont has quit [*.net *.split]
linuxdaemon has quit [*.net *.split]
zgrep has quit [*.net *.split]
dongcarl has quit [*.net *.split]
zimbatm has quit [*.net *.split]
pointfree has quit [*.net *.split]
philipcristiano has quit [*.net *.split]
nlofaro has quit [*.net *.split]
glowpelt has quit [*.net *.split]
Forkk has quit [*.net *.split]
lopsided98 has quit [*.net *.split]
PyroLagus has quit [*.net *.split]
megfault has quit [*.net *.split]
fadenb has quit [*.net *.split]
dsx has quit [*.net *.split]
jophish has quit [*.net *.split]
dukedave has quit [*.net *.split]
ctp has quit [*.net *.split]
mitsuhiko has quit [*.net *.split]
morgib has quit [*.net *.split]
nixy has quit [*.net *.split]
alanz has quit [*.net *.split]
awygle has quit [*.net *.split]
nwspk has quit [*.net *.split]
stramble-M has quit [*.net *.split]
Lem_ has quit [*.net *.split]
michaelpj has quit [*.net *.split]
jonaswouters has quit [*.net *.split]
primeos has quit [*.net *.split]
ajmcmiddlin has quit [*.net *.split]
feepo has quit [*.net *.split]
marcinkuzminski has quit [*.net *.split]
davidtwco has quit [*.net *.split]
victorbjelkholm has quit [*.net *.split]
stigo has quit [*.net *.split]
scott has quit [*.net *.split]
nimblepoultry has quit [*.net *.split]
shlevy has quit [*.net *.split]
vdemeester has quit [*.net *.split]
mingc has quit [*.net *.split]
drvirgilio has quit [*.net *.split]
b42 has quit [*.net *.split]
globin has quit [*.net *.split]
c00w has quit [*.net *.split]
elvishjerricco has quit [*.net *.split]
markasoftware has quit [*.net *.split]
Adluc has quit [*.net *.split]
craige has quit [*.net *.split]
georgew has quit [*.net *.split]
Ultrasauce has quit [*.net *.split]
mankyKitty has quit [*.net *.split]
WooDWorkeR has quit [*.net *.split]
sgraf has quit [*.net *.split]
d10n-work has quit [*.net *.split]
angerman has quit [*.net *.split]
bwe has quit [*.net *.split]
nikola has quit [*.net *.split]
chrisaw has quit [*.net *.split]
mdash has quit [*.net *.split]
glines_ has quit [*.net *.split]
fayesafe has quit [*.net *.split]
eddyb has quit [*.net *.split]
fayesafe has joined #nixos
ardumont has joined #nixos
globin has joined #nixos
stramble-M has joined #nixos
megfault has joined #nixos
primeos has joined #nixos
dsx has joined #nixos
sgraf has joined #nixos
c00w has joined #nixos
ctp has joined #nixos
elvishjerricco has joined #nixos
jonaswouters has joined #nixos
zimbatm has joined #nixos
mingc has joined #nixos
WooDWorkeR has joined #nixos
morgib has joined #nixos
levdub has quit [Quit: ZNC - https://znc.in]
davidtwco has joined #nixos
dukedave has joined #nixos
feepo has joined #nixos
mitsuhiko has joined #nixos
rajivr___ has joined #nixos
vxzero[m] has joined #nixos
jophish has joined #nixos
Adluc has joined #nixos
andi- has joined #nixos
steshaw_ has joined #nixos
d10n-work has joined #nixos
andersk has quit [Remote host closed the connection]
stigo has joined #nixos
PyroLagus has joined #nixos
nimblepoultry has joined #nixos
nix-build has joined #nixos
{^_^} has quit [Remote host closed the connection]
michaelpj has joined #nixos
nixy has joined #nixos
craigevil[m] has joined #nixos
angerman has joined #nixos
malteof[m] has joined #nixos
copy` has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
alienpirate5 has joined #nixos
craige[m] has joined #nixos
boredom101[m]1 has joined #nixos
spacekitteh[m] has joined #nixos
abbafei[m] has joined #nixos
Supersonic112 is now known as Supersonic
levdub has joined #nixos
atopuzov[m] has joined #nixos
worldofpeace has joined #nixos
IslandUsurper has joined #nixos
mumuluxi has joined #nixos
pingveno[m] has joined #nixos
szicari has quit [Ping timeout: 248 seconds]
roadt[m] has joined #nixos
bkl[m] has joined #nixos
ma27[m] has joined #nixos
sauyon[m] has joined #nixos
marius851000[m] has joined #nixos
Smith[m] has joined #nixos
MerlinGttlinger[ has joined #nixos
jak[m] has joined #nixos
wrunt[m] has joined #nixos
glowpelt has joined #nixos
cab404[m] has joined #nixos
orospakr[m] has joined #nixos
retrry[m] has joined #nixos
alanz has joined #nixos
dontobey has quit [Ping timeout: 248 seconds]
Ultrasauce has joined #nixos
drvirgilio has joined #nixos
zgrep has joined #nixos
lopsided98 has joined #nixos
andersk has joined #nixos
szicari has joined #nixos
smolboye[m] has joined #nixos
bnasty[m] has joined #nixos
badmutex[m] has joined #nixos
dongcarl has joined #nixos
marcinkuzminski has joined #nixos
scott has joined #nixos
ajmcmiddlin has joined #nixos
georgew has joined #nixos
abcrawf has joined #nixos
drakonis has joined #nixos
pointfree has joined #nixos
b42 has joined #nixos
shlevy has joined #nixos
fadenb has joined #nixos
bwe has joined #nixos
Okinan has joined #nixos
Lem_ has joined #nixos
ericsagnes has joined #nixos
nikola has joined #nixos
Forkk has joined #nixos
eddyb has joined #nixos
nwspk has joined #nixos
markasoftware has joined #nixos
reanimus has joined #nixos
victorbjelkholm has joined #nixos
philipcristiano has joined #nixos
bricewge has joined #nixos
monotux has joined #nixos
nlofaro has joined #nixos
chrisaw has joined #nixos
mankyKitty has joined #nixos
vdemeester has joined #nixos
awygle has joined #nixos
craige has joined #nixos
englishm has joined #nixos
mdash has joined #nixos
dontobey has joined #nixos
Okinan has joined #nixos
Okinan has quit [Changing host]
englishm has joined #nixos
englishm has quit [Changing host]
nlofaro has joined #nixos
nlofaro has quit [Changing host]
vdemeester has joined #nixos
dongcarl has joined #nixos
dongcarl has quit [Changing host]
victorbjelkholm has joined #nixos
vdemeester has quit [Changing host]
victorbjelkholm has quit [Changing host]
philipcristiano has joined #nixos
philipcristiano has quit [Changing host]
georgew has joined #nixos
georgew has quit [Changing host]
chrisaw has joined #nixos
chrisaw has quit [Changing host]
scott has joined #nixos
scott has quit [Changing host]
ajmcmiddlin has joined #nixos
ajmcmiddlin has quit [Changing host]
marcinkuzminski has joined #nixos
marcinkuzminski has quit [Changing host]
mankyKitty has joined #nixos
mankyKitty has quit [Changing host]
eddyb has quit [Changing host]
eddyb has joined #nixos
bricewge has joined #nixos
bricewge has quit [Changing host]
badmutex[m] has quit [Changing host]
smolboye[m] has joined #nixos
smolboye[m] has quit [Changing host]
bnasty[m] has joined #nixos
bnasty[m] has quit [Changing host]
badmutex[m] has joined #nixos
sellout-1 has joined #nixos
DjDingo has joined #nixos
sellout- has quit [Ping timeout: 268 seconds]
linuxdaemon has joined #nixos
vdemeester is now known as Guest19806
philipcristiano is now known as Guest646
scott is now known as Guest4964
glines has joined #nixos
slack1256 has quit [Remote host closed the connection]
drakonis2 has quit [Ping timeout: 252 seconds]
drakonis2 has joined #nixos
eddyb has joined #nixos
eddyb has joined #nixos
eddyb has quit [Changing host]
<nix-build> [nixpkgs] @volth reopened pull request #66458 → buildPerlPackage: deduplicate -I paths in shebangs → https://git.io/fj7SG
Guest4964 has joined #nixos
Guest4964 has joined #nixos
Guest4964 has quit [Changing host]
Guest4964 is now known as scott
growpotk- has quit [Ping timeout: 268 seconds]
<nix-build> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/4557b9f1f50 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
atlas_ is now known as Guest88582
jgt has joined #nixos
jgt has quit [Ping timeout: 276 seconds]
sellout- has joined #nixos
freeman42x has quit [Ping timeout: 248 seconds]
sellout-1 has quit [Ping timeout: 245 seconds]
markus1189 has quit [Ping timeout: 268 seconds]
karswell has joined #nixos
<DjDingo> hi all. I am kind of confused why I have added "nixpkgs.config.allowUnfree = true" to my configuration.nix but still cannot install unfree packages
<DjDingo> I have already rebuilt
mkoenig_ has quit [Remote host closed the connection]
<pie_> does sudo -E not work on nixos or something?
<ivan> DjDingo: are you using nix-env to install them?
<DjDingo> ivan: yes
<ivan> alias nix-env='NIXPKGS_ALLOW_UNFREE=1 nix-env'
<pie_> i think you have to set it in nix-env's config separately
mkoenig has joined #nixos
<pie_> the nix env error message describes how to do it
markus1189 has joined #nixos
<DjDingo> ivan: so after I add the line to my configuration.nix and rebuild I still need to put in the "allowUnfree" argument to install?
<DjDingo> i thought it is only for one time
<DjDingo> oh I understood now lol. What a fool am I lol
endformationage has quit [Quit: WeeChat 2.5]
domogled has joined #nixos
growpotk- has joined #nixos
jgt has joined #nixos
dansho has quit [Ping timeout: 246 seconds]
johnw has joined #nixos
jgt has quit [Ping timeout: 264 seconds]
johnw has quit [Ping timeout: 276 seconds]
kleisli_ has quit [Ping timeout: 245 seconds]
doyougnu has joined #nixos
abathur has quit [Ping timeout: 245 seconds]
sudoforge has joined #nixos
thePirateKing has joined #nixos
<sudoforge> okay; i feel like a dummy. i've tried several times to get nixos-minimal-64 running in virtualbox to no avail. after selecting to start the installer, it sits at "running udev..." for eternity. any thoughts?
<thePirateKing> hey guys does anybody use cachix? It is down and i cant do literally anything on my computer because of it
<thePirateKing> like cant rebuild config cant install any packages I intend on using
<thePirateKing> do i need to figure out which packages its trying to pull from cachix and fix that so i can rebuild without cachix?
revtintin has joined #nixos
kleisli_ has joined #nixos
<thePirateKing> yeah no thats not solution i might have to literally reinstall
<thePirateKing> if it stays down too long
Okinan has quit [Quit: Konversation terminated!]
mexisme_ has quit [Ping timeout: 248 seconds]
dl4mfo_ has joined #nixos
doyougnu has quit [Ping timeout: 250 seconds]
dl4mfo has quit [Ping timeout: 268 seconds]
jgt has joined #nixos
drakonis_ has joined #nixos
zmlww[m] has joined #nixos
growpotk- has quit [Ping timeout: 248 seconds]
drakonis has quit [Ping timeout: 276 seconds]
jgt has quit [Ping timeout: 264 seconds]
drakonis2 has quit [Ping timeout: 272 seconds]
<ivan> sudoforge: try adding nomodeset to the boot options?
<ivan> try removing hardware from the VM?
daveyjones01 has joined #nixos
thePirateKing has quit [Ping timeout: 276 seconds]
johnw has joined #nixos
johnw has quit [Ping timeout: 276 seconds]
atlas- is now known as atlas_
atlas_ is now known as atlas-
atlas- is now known as atlas_
Yakulu has joined #nixos
lambda-11235 has quit [Quit: Bye]
Yakulu has left #nixos ["Disconnected: Replaced by new connection"]
Yakulu has joined #nixos
dl4mfo_ has quit [Read error: Connection reset by peer]
jgt has joined #nixos
jgt has quit [Ping timeout: 276 seconds]
xkapastel has joined #nixos
orivej has joined #nixos
johnw has joined #nixos
szicari has quit [Ping timeout: 250 seconds]
daveyjones01 has quit [Ping timeout: 272 seconds]
karswell has quit [Read error: Connection reset by peer]
johnw has quit [Ping timeout: 250 seconds]
<nix-build> [nixpkgs] @Provessor opened pull request #66462 → hunspell-dicts: add support for Australian dictionary → https://git.io/fj7Q8
szicari has joined #nixos
lord| has quit [Read error: Connection reset by peer]
sudoforge has quit [Ping timeout: 264 seconds]
lord| has joined #nixos
sudoforge has joined #nixos
parseval has quit [Quit: Connection closed for inactivity]
<nix-build> [nixpkgs] @mmahut merged pull request #66457 → wsjtx: 2.0.1 -> 2.1.0 → https://git.io/fj7yx
<nix-build> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fj7Qw
DjDingo has quit [Ping timeout: 245 seconds]
thePirateKing has joined #nixos
thePirateKing has joined #nixos
gyroninja__ has quit [Ping timeout: 245 seconds]
growpotkin has quit [Quit: ZNC 1.7.4 - https://znc.in]
<nix-build> [nixpkgs] @thefloweringash opened pull request #66463 → EC2 instance connect support → https://git.io/fj7QX
mkoenig has quit [Ping timeout: 276 seconds]
jgt has joined #nixos
jgt has quit [Ping timeout: 250 seconds]
logzet has joined #nixos
<nix-build> [nixpkgs] @thefloweringash opened pull request #66465 → botocore, boto3, awscli: 1.12.160->1.12.205, 1.9.160->1.9.205, 1.16.170->1.16.215 → https://git.io/fj7QS
steshaw_ has quit []
steshaw_ has joined #nixos
dl4mfo has joined #nixos
<nix-build> [nixpkgs] @thefloweringash opened pull request #66466 → ec2-instance-connect-cli: init at 1.0.0 → https://git.io/fj7Qx
daveyjones01 has joined #nixos
thePirateKing has quit [Ping timeout: 276 seconds]
asymptotically has joined #nixos
mix has joined #nixos
mkoenig has joined #nixos
<mix> Hello! Maybe someone can help me out... I have a build of emacs with some packages and it works fine when I build it and run it ./results/bin/emacs. I have a line `(import /etc/nixos/emacs.nix {inherit pkgs;})` in my configuration.nix but when I switch the system emacs doesn't have my packages :/ I don't understand what am I doing wrong.
Jackdk__ has joined #nixos
<Jackdk__> Does anyone know whether the default network manager config in nixos does uncommon things with DNS? I can't connect through a captive portal because I get host not found errors, but I can get online on a tablet
<nix-build> [nixpkgs] @vbgl opened pull request #66467 → ocsigen-start: 1.5.0 -> 1.8.0; ocsigen-toolkit: 2.0.0 -> 2.2.0 → https://git.io/fj77U
<pie_> samueldr: i just realized criu is short for crazy russians in userspace
<mix> @Jackdk I can only confirm that I very often have problem with DNS when switching networks. But usually they get resolved just by restarting firefox.
jgt has joined #nixos
<Jackdk__> Mix: thanks, no luck, #63754 seems related?
<nix-build> https://github.com/NixOS/nixpkgs/issues/63754 (by colemickens, 6 weeks ago, open): DNS: regular problems again (unknown/captive APs)
<pie_> mix: ive also had that
<pie_> with no relation to captive portals
<nix-build> [nixpkgs] @peti pushed 3 commits to haskell-updates: https://git.io/fj77q
<jackdk> setting networking.dnsExtensionMechanism = false; works, but no dnssec now :(
Jackdk__ has quit [Remote host closed the connection]
<nix-build> [nixpkgs] @peti pushed 30 commits to haskell-updates: https://git.io/fj77m
<mix> Yes, it looks like #63754, just subscribed to it, thanks @Jackdk__ and good luck.
<nix-build> https://github.com/NixOS/nixpkgs/issues/63754 (by colemickens, 6 weeks ago, open): DNS: regular problems again (unknown/captive APs)
jgt has quit [Ping timeout: 276 seconds]
<nix-build> [nixpkgs] @peti pushed 30 commits to haskell-updates: https://git.io/fj77O
gxt has quit [Quit: WeeChat 2.5]
<colemickens> Is this with NM? I've noticed it has started adding edns0 as well...
zupo has joined #nixos
mix has quit [Read error: Connection reset by peer]
steshaw_ has quit []
steshaw_ has joined #nixos
<colemickens> Ive had problems where o have to restart Firefox when changing networks too, that seems possibly distinct from the edns0 issue...
<colemickens> Just last night I opened my laptop, same network as when I'd closed it, removed edns0 from /etc/resolv.conf and Firefox still didn't work until a restart.
<colemickens> I'd tried using DoH but that causes more problems with captive wifis, some...
<steshaw_> I've been really surprised that I have priority issue when attempting to install tools for Rust development but when using nix-shell to bring those same packages into scope, there is no problem. Any ideas? https://gist.github.com/steshaw/fb156b7a2ad460f4326d95b949a82cb0
<nix-build> [nixpkgs] @peti opened pull request #66468 → LTS Haskell 14.0 → https://git.io/fj77G
zupo has quit [Ping timeout: 276 seconds]
mix has joined #nixos
drakonis_ has quit [Ping timeout: 248 seconds]
drakonis_ has joined #nixos
zupo has joined #nixos
zupo has quit [Client Quit]
zupo has joined #nixos
inad922 has quit [Ping timeout: 268 seconds]
zupo_ has joined #nixos
pie_ has quit [Ping timeout: 260 seconds]
zupo has quit [Ping timeout: 245 seconds]
revtintin has quit [Quit: WeeChat 1.9.1]
mix has quit [Read error: Connection reset by peer]
o1lo01ol1o has joined #nixos
Ariakenom has joined #nixos
orivej has quit [Ping timeout: 258 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
fendor_ has joined #nixos
cyphase has quit [Ping timeout: 272 seconds]
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zupo has joined #nixos
<nix-build> [nixpkgs] @emilazy opened pull request #66469 → blackmagic: 1.6.1 -> 1.6.1-311-gfbf1963 → https://git.io/fj77B
zupo has quit [Client Quit]
qqlq has joined #nixos
jgt has joined #nixos
rauno has joined #nixos
jgt has quit [Ping timeout: 264 seconds]
chloekek has joined #nixos
gxt has joined #nixos
daveyjones01 has quit [Remote host closed the connection]
daveyjones01 has joined #nixos
boxscape has joined #nixos
boxscape is now known as boxscapeR
o1lo01ol1o has joined #nixos
ottidmes has joined #nixos
<boxscapeR> If I want to switch to a new channel to get updated software (say, the newest jdk), is it advisable to also to also do `nixos-rebuild --upgrade`?
o1lo01ol1o has quit [Ping timeout: 245 seconds]
<nix-build> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/fba7d8e27fe (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<eyJhb> boxscapeR: --upgrade only updates the channel, so if you switch channels to a new one, it should already be up-to-date
<eyJhb> ` Fetch the latest version of NixOS from the NixOS channel. ` as far as I know. So it shouldn't hurt :)
sudoforge has quit [Ping timeout: 244 seconds]
<boxscapeR> hm... I was under the impression that was you're describing is done by `nix-channel --update`?
<boxscapeR> I might be misunderstanding what you mean though
<boxscapeR> ^ eyJhb
xkapastel has quit [Quit: Connection closed for inactivity]
<eyJhb> boxscapeR: There are 100% someone my qualified than me to answer this, but `Fetch the latest version of NixOS from the NixOS channel.` basically describes, that it will update the `nixos` channel from `sudo nix-channel --list`. That is at least, what I would expect from it. :)
<eyJhb> So I am guessing it will run the command you describe underneath :)
o1lo01ol1o has joined #nixos
dispanser has quit [Read error: Connection reset by peer]
dispanser has joined #nixos
jtojnar has joined #nixos
chloekek has quit [Ping timeout: 276 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
<boxscapeR> hm, okay
<eyJhb> Might be more convincing :p
<boxscapeR> ah, nice, thanks
<eyJhb> Np :p
thc202 has joined #nixos
mexisme_ has joined #nixos
jgt has joined #nixos
mexisme_ has quit [Ping timeout: 264 seconds]
jgt has quit [Ping timeout: 250 seconds]
meck has quit [Quit: WeeChat 2.5]
meck has joined #nixos
meck has quit [Client Quit]
meck has joined #nixos
dispanser has quit [Ping timeout: 245 seconds]
meck has quit [Quit: WeeChat 2.5]
meck has joined #nixos
<nix-build> [nixpkgs] @svanderburg merged pull request #50805 → axis2: 1.6.4 -> 1.7.9 → https://git.io/fpWRm
<nix-build> [nixpkgs] @svanderburg pushed 4 commits to master: https://git.io/fj77p
<nix-build> [nixpkgs] @WilliButz opened pull request #66470 → prometheus-blackbox-exporter: 0.12.0 -> 0.14.0, run tests and check config → https://git.io/fj77j
<nix-build> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/4557b9f1f50 (from 10 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
ris has joined #nixos
orivej has joined #nixos
Ariakenom has quit [Read error: Connection reset by peer]
Shouou has joined #nixos
meck has quit [Quit: WeeChat 2.5]
<boxscapeR> huh, strangely enough doing nixos-rebuild --upgrade didn't install anything new after adding a new channel, but once I did nix-channel --update and then nixos-rebuild again, it's now reinstalling a bunch of stuff
meck has joined #nixos
logzet has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<boxscapeR> (technically `nixos-rebuild --upgrade boot` in both cases)
shibboleth has joined #nixos
<infinisil> gchristensen: Huh, why the new nick for {^_^}?
<dminuoso> Mmm. So I have the following situation. My laptop runs nixos with zsh inside kitty, and my server is a relatively raw nixos installation. When I ssh into the server, then things like backspace dont work correctly. Why is that?
<ivan> maybe wrong TERM or zsh needs to be configured with more keybindings
xvello has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
meck has quit [Quit: WeeChat 2.5]
<dminuoso> Mmm
meck has joined #nixos
meck has quit [Client Quit]
<rnhmjoj> do you know what happened to the nixos-* tools? i can't find the packages anymore after commit 18753445427
orivej has quit [Ping timeout: 272 seconds]
meck has joined #nixos
meck has quit [Client Quit]
gyroninja has joined #nixos
<nix-build> [nixpkgs] @primeos pushed to master « python3Packages.pysnmp: 4.4.10 -> 4.4.11 »: https://git.io/fj75n
chloekek has joined #nixos
meck has joined #nixos
meck has quit [Client Quit]
meck has joined #nixos
domogled has quit [Ping timeout: 272 seconds]
<nix-build> [nixpkgs] @WilliButz opened pull request #66472 → prometheus-varnish-exporter: 1.5 -> 1.5.1, use buildGoModule → https://git.io/fj75c
<nix-build> [nixpkgs] @WilliButz opened pull request #66473 → prometheus-nginx-exporter: 0.4.1 -> 0.4.2, run tests → https://git.io/fj75C
kleisli_ has quit [Ping timeout: 258 seconds]
jgt has joined #nixos
<rnhmjoj> ah, it was reverted. still, i don't know ho to build them
Shyim[m] has joined #nixos
orivej has joined #nixos
Ariakenom has joined #nixos
jgt has quit [Ping timeout: 264 seconds]
<srhb> rnhmjoj: You mean like nixos-rebuild ?
mix has joined #nixos
<manveru> ,locate bin nixos-rebuild
<nix-build> Couldn't find in any packages
<srhb> It's not exposed, it's in the tools module.
<manveru> hmm, wonder why
<srhb> I don't think there's a good reason.
<srhb> Oh, we have nixos exposed through nixpkgs now, so I guess nixpkgs.nixos.nixos-rebuild should do it
<srhb> Actually, that's won't be a package.. need to feed nixos a module set.
<srhb> nix-build -E 'with import <nixpkgs> {}; (nixos {}).nixos-rebuild'
mrCyborg has quit [Quit: The Lounge - https://thelounge.github.io]
mrCyborg has joined #nixos
mrCyborg has quit [Client Quit]
<nix-build> [nixpkgs] @jpotier opened pull request #66474 → Fix typo in assert in grafana module → https://git.io/fj75a
fpob has quit [Max SendQ exceeded]
fpob has joined #nixos
orivej has quit [Read error: Connection reset by peer]
shibboleth has quit [Quit: shibboleth]
kenshinCH has joined #nixos
laalf has joined #nixos
<nix-build> [nixpkgs] @kirelagin opened pull request #66475 → haskell.buildStackProject: Pass nativeBuildInputs → https://git.io/fj75M
mix has quit [Read error: Connection reset by peer]
Guest646 is now known as philipcristiano
asymmetric has quit [Quit: Peace.]
asymmetric has joined #nixos
jtojnar has quit [Read error: Connection reset by peer]
jtojnar has joined #nixos
zupo has joined #nixos
jgt has joined #nixos
zupo has quit [Client Quit]
<nix-build> [nixpkgs] @WilliButz opened pull request #66476 → nixos/prometheus2: replace alertmanagerURL with new alertmanagers option → https://git.io/fj7dk
<nix-build> [nixpkgs] @zimbatm closed pull request #51026 → nixos: make the nixpkgs symlink permanent → https://git.io/fpET7
jgt has quit [Ping timeout: 264 seconds]
jgt has joined #nixos
fusion809 has joined #nixos
<nix-build> [nixpkgs] @WilliButz merged pull request #66474 → Fix typo in assert in grafana module → https://git.io/fj75a
<nix-build> [nixpkgs] @WilliButz pushed 2 commits to master: https://git.io/fj7d3
<gchristensen> infinisil: it is a backup nick if something goes wrong trying to get {^_^}. will fix shortly
jtojnar_ has joined #nixos
<infinisil> I see
bakakuna has joined #nixos
jtojnar has quit [Ping timeout: 272 seconds]
jtojnar_ is now known as jtojnar
freeman42x has joined #nixos
<tokudan> are there any tricks to building nodejs packages? I'm trying to build hopglass from https://github.com/hopglass/hopglass. set node2nix to it and after replacing nodejs-6_x with nodejs-11_x, the build is failing due to missing network with this error: npm ERR! network request to http://www.example.com/almond failed, reason: getaddrinfo ENOTFOUND www.example.com www.example.com:80
<clever> tokudan: have you tried yarn2nix?
<tokudan> i don't know about yarn2nix ;)
<tokudan> i'll try
<clever> moretea's fork is the one ive had experience with
<nix-build> [nixpkgs] @aanderse opened pull request #66478 → nylas-mail-bin: drop package which is no longer supported upstream → https://git.io/fj7dE
<tokudan> clever, are there differences between nix-shell -p yarn2nix and moretea's fork?
<clever> nix-repl> yarn2nix
<clever> error: Use upstream https://github.com/moretea/yarn2nix
<clever> the one in nixpkgs throws an error at eval time, lol
<tokudan> works-for-me®
<tokudan> i'm on 19.03
<clever> unstable here
<tokudan> what's this line from the example? with (import /home/maarten/code/nixos/yarn2nix { inherit pkgs; });
<clever> clone yarn2nix, and then put the path of your clone there
npmccallum has joined #nixos
<clever> or use fetchFromGithub
<tokudan> hmm... node2nix was a lot simpler
<clever> yarn2nix has 2 ways to run, either with IFD, or where you pre-generate the nix once
<clever> i think that readme is showing the IFD route
<joepie91> yarn2nix docs are a bit confusing, but usage is easier imo
<tokudan> IFD?
<clever> ,ifd
<joepie91> hold on
<nix-build> import-from-derivation (IFD) is when you evaluate nix from a derivation result, for example `import (pkgs.writeText "n" "1 + 1")` will evaluate to 2. This is sometimes problematic because it requires evaluating some, building some, and then evaluating the build result. It has been described as "such a nice footgun."
<tokudan> joepie91, maybe once you've understood it
<joepie91> yeah, exactly
<joepie91> hold on, trying to find an example
<joepie91> this presumes that the repo contains a yarn.lock
<joepie91> (I'm using a patched yarn2nix that removes the --no-patch flag because it broke shit)
<tokudan> wow... complicated
<clever> a patch to remove patching? lol
<joepie91> clever: a patch to patch out the non-patching!
<clever> tokudan: most of the complex stuff in my example is to deal with cross-compiling to windows
<joepie91> tokudan: there's a bit of indirection in my example due to having to insert a config file that's not part of the repo, but other than that it's fairly straightforward, and most importantly does not require a separate "generate a default.nix" step
<joepie91> the IFD approach takes any source that contains a yarn.lock
<joepie91> and generates the relevant Nix code on build time
<clever> joepie91: the source doesnt even need to contain a yarn.lock, as i confirmed a few days ago
<joepie91> clever: I think it does if you sandbox builds?
<clever> joepie91: you can use yarnLock = ./yarn.lock; to use an out-of-tree lock file
<tokudan> what makes this so complicated for me is that I have absolutely no experience with yarn, node or any other related tool
<joepie91> oh in that sense
<clever> then you dont have to PR yarn support to the project, or fork it
<joepie91> yeah
<joepie91> tokudan: ah, right. tl;dr of Node package management = you have a package.json which specifies dependencies as semver ranges, then (depending on package manager used) you have a package-lock.json or yarn.lock which contains the exact package versions (and URLs and hashes!) that were installed with the package manager
<joepie91> the lockfile is to reproduce your dependency set, but the semver specifications in package.json specify what you could update your deps to safely
<joepie91> you give yarn2nix a yarn.lock because that means it doesn't have to resolve any deps itself based on package.json semver ranges, it can just take the work previously done by Yarn that it put into the lockfile
<joepie91> and directly translate it to Nix
<joepie91> and so the resulting Nix-produced dependency tree matches what Yarn would have installed upon a `yarn install` in that same repo / with that same lockfile
<tokudan> that sounds good so far
<joepie91> any part in there that's specifically unclear?
<tokudan> it's not unclear, there's just so many details
<clever> in my case, electron-packager wanted to download a windows build of electron at build time
<clever> and yarn/npm isnt aware of that
<tokudan> will it also run grunt?
<clever> so i have to generate a compatible cache dir
<clever> export ELECTRON_CACHE=${electron-cache}
<clever> and then tell electron to use it
hmpffff has joined #nixos
<joepie91> tokudan: grunt has no special role in package management. it's possible for a package.json to specify tasks to run after installing dependencies (called a 'postinstall script'), but I don't know whether yarn2nix honors these.
<joepie91> I /think/ it would, but I almost never use postinstall scripts, so I don't know :)
shibboleth has joined #nixos
<joepie91> grunt itself is ultimately just a binary, one of many on your system
<joepie91> if nothing calls it somehow, it does not get executed
<nix-build> [nixpkgs] @volth closed pull request #66459 → buildPerlPackage: remove postFixup → https://git.io/fj7SZ
<clever> you can also specify nix level postInstall's for each dep
<tokudan> the project readme states that it needs to be run to produce the actual output that I need
<clever> flow-bin for example, downloads an ELF file using yarn
<clever> and it needs a patchelf to work
<tokudan> clever, i'll probably have to add it there then, thanks
<clever> tokudan: for grunt, you probably want the main installPhase, where i'm running `yarn run build`
chloekek has quit [Ping timeout: 245 seconds]
JosW has joined #nixos
JosW is now known as Guest62627
Guest62627 has quit [Client Quit]
<tokudan> is there a difference between "yarn install" and "yarn run build"?
JosW has joined #nixos
JosW has joined #nixos
<clever> tokudan: `yarn run build` tells it to lookup `build` in `package.json` and run that
<tokudan> ah, ok
JosW has quit [Client Quit]
orivej has joined #nixos
<nix-build> [nixpkgs] @Ma27 merged pull request #65401 → phpPackages.mongodb: init at 1.5.5 → https://git.io/fjyLk
<nix-build> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/fj7dS
chloekek has joined #nixos
ixxie has joined #nixos
krbtgt has quit [Quit: thanks openbsd for this]
<nix-build> [nixpkgs] @edef1c merged pull request #63585 → openssh: use ssh-keysign from PATH → https://git.io/fjV5X
<nix-build> [nixpkgs] @edef1c pushed 2 commits to staging: https://git.io/fj7d7
shibboleth has quit [Quit: shibboleth]
<tokudan> now I'm at "found changes in the lockfile /nix/store/kq1yxzvik2gvs7a99jwcfsyzrnyf2lw4-source/yarn.lock ...aborting"
<tokudan> not sure what's causing that?
<clever> tokudan: yarn2nix will parse the lock file, then serialize it back out, and diff the result, and complain if the lock file differs
<clever> tokudan: this patch causes yarn2nix to create a $NIX_BUILD_TOP/output.txt containing the expected yarn.lock content
<clever> if you build with --keep-failed, nix wont delete $NIX_BUILD_TOP, and then you can copy output.txt over yarn.lock to fix it
<tokudan> there's no output.txt :/
krbtgt has joined #nixos
laalf has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<clever> tokudan: did you apply that patch to yarn2nix yet?
laalf has joined #nixos
<tokudan> oh, no
mwc has joined #nixos
bakakuna has quit [Ping timeout: 272 seconds]
o1lo01ol1o has joined #nixos
<DigitalKiwi> what is this new bot
<tokudan> clever, yarn.lock from the repo and output.txt from the failed build have the exact same checksum
<tokudan> :/
<clever> tokudan: are you using yarnLock = ./yarn.lock; ?
<tokudan> clever, no, does that fix the issue?
<clever> no, but it could cause it
<tokudan> clever, the gist https://gist.github.com/tokudan/55be884cf1f274dbeae3098f5afab062 is exactly what I'm trying to build right now
gentauro has joined #nixos
<clever> tokudan: origPackage isnt needed, i had to mess with the name field to make electron happy
<clever> tokudan: and what is the full error msg?
<tokudan> ok... there is a difference between data and newData
<tokudan> added the output on the gist
<tokudan> the diff compares data against newData
Yakulu has quit [Quit: Gateway shutdown]
<clever> tokudan: the build you ran produced the -3 output, but your diffing against -2
<clever> and `diff -u` is a lot more readable
<tokudan> yeah, I reran the build to get the output as the diff is very long
<clever> copy output.txt to yarn.lock and it should be fixed
<tokudan> i guess i need the data not the newData as yarn.lock
o1lo01ol1o has quit [Remote host closed the connection]
Yakulu has joined #nixos
<gentauro> robert (rycee) did a pretty good job at BornHack@! -> https://www.youtube.com/watch?v=Axs9BkuPa8I
<gentauro> :)
o1lo01ol1o has joined #nixos
<gentauro> (notice the heavy rain at the end, how it was handled like a "pro")
o1lo01ol1o has quit [Remote host closed the connection]
<gentauro> srhb: we need to spread the video !!!
<gentauro> (notice the Øresund NixOS Meetup at the end of the slides)
hmpffff has quit [Quit: Bye…]
szicari has quit [Remote host closed the connection]
szicari has joined #nixos
orivej has quit [Read error: Connection reset by peer]
domogled has joined #nixos
<nix-build> [nixpkgs] @Ma27 merged pull request #65949 → ibus-engines.typing-booster-unwrapped: 2.6.2 -> 2.6.4 → https://git.io/fjH8B
<nix-build> [nixpkgs] @Ma27 pushed commit from @r-ryantm to master « ibus-engines.typing-booster-unwrapped: 2.6.2 -> 2.6.4 (#65949) »: https://git.io/fj7Fq
<nix-build> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/142d2f83847 (from 46 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
oida has quit [Ping timeout: 260 seconds]
oida has joined #nixos
hmpffff has joined #nixos
orivej has joined #nixos
gentauro has quit [Quit: leaving]
<tokudan> progress! yarn it now fails to download a dependency during the build that should be available already...
ng0 has joined #nixos
nexgen has joined #nixos
orivej has quit [Ping timeout: 244 seconds]
hmpffff has quit [Quit: Bye…]
<nix-build> [nixpkgs] @NeQuissimus pushed 2 commits to master: https://git.io/fj7Fs
<nix-build> [nixpkgs] @NeQuissimus pushed 2 commits to release-19.03: https://git.io/fj7FZ
Chiliparrot has joined #nixos
<tokudan> so if anyone has an idea of what's wrong here https://gist.github.com/tokudan/55be884cf1f274dbeae3098f5afab062/9a7ff0cc84051f568adcdb890500ab7777710b45 please tell me, otherwise i'll consider yarn, npm etc. unusable in nix with the current tooling.
<clever> tokudan: is almond 0.3.3 in yarn.lock?
<tokudan> almond@^0.3.3:
<tokudan> i can see it was downloaded before
<clever> tokudan: dont use `yarn install`
<clever> the deps have already been installed by yarn2nix
<tokudan> yarn build?
<clever> probably
<clever> or possible just grunt and nothing else
<tokudan> error Command "build" not found.
<tokudan> i guess just grunt
<tokudan> Fatal error: Unable to find Gruntfile.
<clever> is there a gruntfile in the repo?
<tokudan> Grundfile.js
<tokudan> Gruntfile.js
<clever> if you toss an `ls` into the installPhase, is it there?
<manveru> isn't mkYarnPackage for making an executable from a package.json?
<tokudan> ++ ls -l
<tokudan> drwxr-xr-x 3 nixbld nixbld 60 Aug 11 13:53 deps
<tokudan> drwxr-xr-x 386 nixbld nixbld 7760 Aug 11 13:53 node_modules
<tokudan> total 0
<tokudan> that's all there is...
<manveru> uh oh :)
<clever> manveru: daedalus uses it to generate the webpack files for electron
<manveru> but you still want to use this: https://github.com/moretea/yarn2nix/blob/master/default.nix#L147 no?
<manveru> and add node_modules/.bin to PATH
<manveru> so it can find grunt
<clever> tokudan: are you using the right sha256 for hopglass?
<tokudan> hash mismatch in fixed-output derivation '/nix/store/kq1yxzvik2gvs7a99jwcfsyzrnyf2lw4-source':
<tokudan> got: sha256:0s9x466jqn7swbd35kjiaqk2lmcy9fnykhcnb1b10a2l35q655cl
<tokudan> wanted: sha256:1s9x466jqn7swbd35kjiaqk2lmcy9fnykhcnb1b10a2l35q655cl
<tokudan> the 0/1 at the beginning is just my way to check it
<clever> i prefer just mashing 0 while in replace mode
<clever> your unlikely to see long strings of 0's in a hash, outside of cryptocoins
<clever> makes it very obvious the hash is "wrong"
<tokudan> clever, i just manipulated the first character to invalidate it. that's good enough and still allows to see what was there before
<clever> yep
<nix-build> [nixpkgs] @vbgl merged pull request #65935 → ocamlPackages.ocaml-migrate-parsetree: 1.2.0 -> 1.4.0 → https://git.io/fjHCN
<nix-build> [nixpkgs] @vbgl pushed to master « ocamlPackages.ocaml-migrate-parsetree: 1.2.0 -> 1.4.0 »: https://git.io/fj7FE
<tokudan> i'm not trying to build an executable here, it's a web application that I point my webserver to
<tokudan> basically after the build I just take build/ and point my webserver to it
erba has joined #nixos
<clever> similar to daedalus, where webpack is ran to heavily process the js, and then dist/ is throw into a dir for later use by electron
mexisme_ has joined #nixos
<manveru> hmm
<manveru> seems like yarn.lock isn't consistent with package.json maybe?
<clever> possibly, check the constraints package.json is asking for
<tokudan> apparently copying $src to ./ works
<clever> i would expect yarn2nix to have done that already
<manveru> i got it to build
<manveru> i feel nerd-sniped now
<clever> manveru: i'm not sure what you did differently to make the src appear in . ...
<manveru> i made the yarn.nix manually
<tokudan> this whole nodejs thing feels so dirty...
mexisme_ has quit [Ping timeout: 264 seconds]
<manveru> welcome to js :P
<clever> this video points out a number of "quirks" with JS
<tokudan> no, not welcome to it. going to have a bare-minimum contact with it
MmeQuignon has joined #nixos
<manveru> i still consider it an achievement that can build almost all js apps these days with nix :)
<tokudan> it may be possible, but the tooling for nix (yarn2nix, npm2nix) is somewhat complicated and seriously lacking documentation. and outside of nix it looks even worse
vika_nezrimaya has joined #nixos
<manveru> yeah
<Shyim[m]> Hey, i am really new to Nixos. PhpStorm is currently with version 2019.1 in nixpkgs. A pr is already open to update it. Is there a way to include that update in my configuration.nix?
<tokudan> i mean for the common ./configure; make ; make install i just point nix to the source
<manveru> Shyim[m]: sure, you just need to know the commit hash of that PR
<Shyim[m]> i have it
<manveru> you can do this then
<manveru> err
<manveru> lemme fix :)
<manveru> that should do it
ddellacosta has joined #nixos
<Shyim[m]> hmm. i get error: syntax error, unexpected LET as error message
mix has joined #nixos
<manveru> Shyim[m]: can you paste your file?
<nix-build> [nixpkgs] @primeos opened pull request #66480 → nixos/fuse: init → https://git.io/fj7FX
<nexgen> Hello
<Shyim[m]> or the entire?
<nexgen> please let me know
<manveru> Shyim[m]: the entire file
<nexgen> how is it difficult to install a binary software
<manveru> Shyim[m]: i assume you put it into configuration.nix
<nexgen> like chrome, skype
<nexgen> db2 or mssql
<Shyim[m]> @nex
<Shyim[m]> allow unfree and install it from nixpkg
<nexgen> say if there are only debs or rpms
<Shyim[m]> https://dpaste.de/CoPt i have added it under the package list 🙈
<srhb> nexgen: That's more complicated because they tend to expect libraries in locations where we don't have them.
<nexgen> so your distro is mostly suitable only for open source software
ThatOtherGuy has quit [Ping timeout: 272 seconds]
<nexgen> which is available say on github
<nexgen> like Gentoo
<nexgen> but with a more modern package manager
<edef> we have skype, steam, etc packaged
<maralorn> any hints on how I can test a substituter config? I have setup my server with the nix.serveNix option. I can succesfully connect to "ssh nix-ssh@myhost nix-serve". But nix says "cannot connect to 'nix-ssh@myhost'.
<manveru> Shyim[m]: https://dpaste.de/TfE4
<clever> steam works just fine on nixos, and thats a giant mess of closed-source everything
<clever> maralorn: can you ssh into myhost as root?
<nexgen> then some manual work is needed to package a blobbed software
<clever> nexgen: yep
<nexgen> after it is in a nixpkg everything works fine
<maralorn> clever: I thought I had made sure of that. But perhaps I was misled by sudo, my env and the ssh-agent.^^
<clever> maralorn: `sudo -i` and `unset SSH_AUTH_SOCK`
<nexgen> what are disadvantages of using nix only as a package manager in gentoo
<nexgen> not as a whole nixos
<nexgen> or in devuan
WizBright has quit [Quit: Byee~]
WizBright has joined #nixos
<manveru> Shyim[m]: sorry, i didn't look up the name of the package, it should be `jetbrains.phpstorm` apparently
<maralorn> clever: I just tested by login in on another tty as root. Am know configuring my sshServe to accept also my root-ssh-key.
steshaw_ has quit [Quit: Connection closed for inactivity]
<Shyim[m]> same error after renaming 🤔
<tokudan> nexgen, if you use nix only as a package manager you only get the benefits (rollbacks, purity, etc) of nix for the packages you install that way and not for the whole system
<manveru> Shyim[m]: guess i'll actually have to try it myself ;)
<Shyim[m]> its ok. But thanks ❤️
<nexgen> I have ZFS for the whole system
<nexgen> though missing reproducible builds
<nexgen> I use Devuan
<tokudan> nexgen, you're also missing a mostly reproducible system
<nexgen> what do you think about GUIX as a package manager and as a distro?
dansho has joined #nixos
<simpson> nexgen: Still wrong channel for GUIX. What are you *actually* trying to figure out?
<tokudan> reinstall for nixos is basically: copy /etc/nixos from the old system or a backup and run nixos-install and you're done
<nexgen> I am trying to understand whether I need NixOS
<manveru> Shyim[m]: https://dpaste.de/EPDb
<tokudan> nobody needs nixos
<simpson> nexgen: Nope, you don't. In fact, you likely don't need computers at all.
<tokudan> once you've seen the benefits you just wont want to miss it
<nexgen> simpson, why do you think so?
ThatOtherGuy has joined #nixos
<simpson> nexgen: Historically, people have not needed computers. Do you have some specific package that you're trying to get working with Nix?
<infinisil> People have survived without Nix for thousands of years, so probably you don't need it. I'm personally not sure how they managed that, but it must be possible somehow
<nexgen> I am not interested how people used to do it earlier
asymmetric has quit [Quit: Peace.]
<nexgen> I am thinking about a convenience in my case
asymmetric has joined #nixos
<tokudan> that's the point. do you see any benefits in using puppet or ansible?
<nexgen> me?
<tokudan> yes
stepcut has joined #nixos
<nexgen> ansible - yes
<tokudan> nixos is the next step
<nexgen> nix does the same thing about configs?
<Shyim[m]> manveru: i love you. Its working ❤️
<Shyim[m]> Thanks!
<nexgen> config deltas?
<tokudan> puppet and ansible are legacy from our viewpoint
<Yaniel> nix doesn't do deltas
imdoor has joined #nixos
<Yaniel> only full, immutable configs
<nix-build> [nixpkgs] @flokli opened pull request #66482 → nixos/systemd: install sysctl snippets → https://git.io/fj7F7
<tokudan> nexgen, no deltas. nix builds a whole new system everytime without any legalcy
<manveru> Shyim[m]: cool :)
<tokudan> nexgen, no deltas. nix builds a whole new system everytime without any legacy
<nexgen> not binary, but something like declarative deltas?
<nexgen> or states
<clever> nexgen: basically, you just define how to build the final setup, and nix will use the hash of those directions to see if something is already built
<clever> nexgen: so if a sub-step of the build has already been done before, it gets reused
<clever> no need to compute a delta from the previous
<nexgen> I see your channel is very active
<srhb> Lots of nice people in here. :)
<tokudan> nexgen, puppet and ansible define part of a system. if you later remove a definition for one part of the system, it's left in an unclear state. it wont be removed, but it's just unmaintained. it's a legacy.
stepcut has quit [Remote host closed the connection]
<tokudan> nexgen, nix and nixos do not have that problem as the whole system is exactly defined at any time
<erba> I just want to thank everyone working in the best distro I've used (especially for haskell) could not be happier!
<erba> *on the best
<nexgen> very good
<nexgen> I came here through a Gentoo
<nexgen> needing to compiles a grsec kernel
<imdoor> hi, i want to pin my current nixpkgs in a project? how do i get the sha256 and rev values i'm currenlty using? (can't use nix-prefetch-git, cause that'd pull something newer)
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<Shyim[m]> Yes. I am installed yesterday first time nixos in a vm. Now I want to switch everything to nixos ❤️
<nexgen> do you have a package definition for a minipli grsec?
<imdoor> *the first sentence wasn't ment to be a question
<nix-build> [nixpkgs] @worldofpeace opened pull request #66483 → calibre: wrap manually → https://git.io/fj7Fb
stepcut has joined #nixos
<nexgen> at least gradm is present
<nexgen> how is it useful if kernel itself is missing?
<srhb> imdoor: nix eval nixpkgs.lib.version
<nexgen> need to compile a kernel still in gentoo?
stepcut has quit [Remote host closed the connection]
<srhb> imdoor: or nixos-version will work on NixOS. It depends how you're getting it basically :)
selfsymmetric-mu has quit [Remote host closed the connection]
<nexgen> Can I use an externally compiled kernel with your system?
<simpson> nexgen: There is a hardened NixOS profile checked in: https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/profiles/hardened.nix grsec in particular isn't available, because the upstream doesn't play nice these days.
<nexgen> sure I can in a chroot
<srhb> nexgen: Not easily.
maralorn has quit [Quit: WeeChat 2.4]
<nexgen> Can I build nixos userspace for i486?
<tokudan> nexgen, you basically have to tell nix how exactly you want your kernel compiled. then you can use that kernel
chloekek has quit [Ping timeout: 248 seconds]
<simpson> nexgen: However, you might want to re-evaluate what grsec is actually providing for you, as it's not a very good patchset. Introduces new vulns, poorly tested, hilariously poor communication with downstream, and isn't even clearly meeting its own goals.
<srhb> nexgen: Partially at least, yes.
<nexgen> simpson, I have read a lot of good things about it though
<nexgen> would like to try it at least
<nexgen> and see if it helps e
<nexgen> *me
<nexgen> building of dotnet core 2x actually works?
<nexgen> it is generally mentioned as a not easy to build
<nexgen> and often provided only as a binary
<nexgen> even in gentoo
<srhb> nexgen: I don't understand the question.
<nexgen> it works fine?
<simpson> nexgen: Try It And See
<nexgen> )
<nexgen> sure, thanks
<srhb> nexgen: No idea. But it looks like an at least partial binary deployment, considering the use of patchelf.
mix has quit [Ping timeout: 276 seconds]
<clever> nexgen: thats also just the binary blog being patched
<nexgen> oh
<nexgen> :(
<clever> nexgen: some things like electron are still blob based, even though they are open source
<nexgen> backdoored by Microsoft
<clever> nexgen: the source for electron, once you run gclient, is over 30gig, so iterating on a proper package takes hours per attempt
<nexgen> well, I can use mono yet
<nexgen> two packages could be presented: 1) bin 2) source
<dminuoso> Hi. Im a bit confused, I installed 'nix-env -iA nixos.ncurses6.dev' which has bin/infocmp - but that binary does not end up in my profile.
<nexgen> anyone could do a desirable choice
<srhb> nexgen: You're very welcome to contribute a working package. :)
<clever> dminuoso: files from .dev are usually ignored by nix-env
<clever> dminuoso: you probably want `nix-shell -p ncurses6
<nexgen> I still to not know how to do it, though I would be glad
<srhb> nexgen: I think most other people feel the same way.
<dminuoso> clever: Mmm, well I do want that binary in order for certain kitty functionality to work.
<nexgen> if it even builds at all, I have read there are some difficulties
<dminuoso> clever: And Id prefer to have that in my systemPackages.
<imdoor> srhb: nixpkgs.lib.version gives me "19.09pre184803.d567c486ca5". nix complains if i try to pass either of the strings seperated by '.' as the sha256 value when calling fetchFromGitHub (which i'm using for pinning)
<srhb> nexgen: I bet.
<clever> dminuoso: it might work better in systemPackages
<srhb> imdoor: Oh, don't pass the sha, just use the ,tofu one
<srhb> imdoor: But that last bit is the rev
<clever> imdoor: the rev is d567c486ca5 and tofu the sha256
<srhb> imdoor: So use that as your rev for fetchFromGitHub, then pass 52 zeros as the sha256.
<srhb> imdoor: The error message from the hash mismatch will give you the correct sha.
<imdoor> srnb, clever: ok, thanks :)
<nexgen> can NixOS base be rebuild completely from source? reproducibly?
<srhb> nexgen: Depends what you mean by reproducibly
<srhb> nexgen: bit-for-bit, no.
mix has joined #nixos
<srhb> nexgen: https://r13y.com/
<srhb> (But it's pretty close)
<nexgen> the same binaries on several tries
<nexgen> though even not sure it is important for me
<nexgen> just need to avoid backdoors
<srhb> If you're not sure whether it's important for you, it's not. :-P
<nexgen> need to build everything from source
<clever> nexgen: https://r13y.com has been focusing on getting that for all nix packages
<srhb> certainly not compared to the alternatives out there..
<srhb> nexgen: You might be more interested in Gentoo then?
<nexgen> will not read sources though of course anyway
<clever> nexgen: nix also has an option to repeat the same build N times, and fail if they didnt produce bit-identical results
<srhb> nexgen: nix does a lot of work to avoid building from source.
<infinisil> Even if it's not bit-per-bit reproducible, Nix's purity guarantees give you practical reproducibility
<srhb> If you don't want that, it might not really be all that interesting for you.
<nix-build> [nixpkgs] @Ma27 merged pull request #66473 → prometheus-nginx-exporter: 0.4.1 -> 0.4.2, run tests → https://git.io/fj75C
<nix-build> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/fj7bL
<dminuoso> clever: huh so systemPackages is treated differently from installing via nix-env?
<simpson> nexgen: Nix is as reproducible as the toolchains you choose to use with Nix. As we make toolchains better and better, Nix automatically exhibits their reproducibilities.
<clever> infinisil: nix's purity doesnt prove that the binary cache isnt malicious, bit-per-bit reproducible prooves that the binary cache hasnt done anything nasty
<clever> dminuoso: yeah
iyzsong has quit [Ping timeout: 258 seconds]
<dminuoso> clever: Mmm, is this covered in any of the manuals?
<clever> dminuoso: probably
<dminuoso> Heh.
gerschtli has quit [Quit: WeeChat 2.4]
<clever> dminuoso: ive not re-read them in a while
maralorn has joined #nixos
<ajs124> what does nix verify mean when it says that a path is untrusted?
<nexgen> how hardened profile helps for security?
gerschtli has joined #nixos
<ajs124> or more general, is there any documentation on the 2.x nix utils?
stepcut has joined #nixos
<dminuoso> Oh no..
<infinisil> clever: Yeah, it can't do that, but for problems like "works on my machine", Nix's purity gives you pretty good reproducibility for that
<simpson> nexgen: Checks boxes, gives feeling of comfort, etc. The usual.
<nexgen> )
<clever> infinisil: as long as no funny cpuid stuff is going on
<nix-build> [nixpkgs] @turboMaCk opened pull request #66484 → acpid: fix escaping in handlers doc example → https://git.io/fj7bm
madhukar93 has joined #nixos
<simpson> clever: Although, of course, many folks desire such things. I was reading about Spack and EasyBuild yesterday; they both care about getting CPU tuning correct because their users are HPC.
<nexgen> if configs are so easily replicated in NixOS
<nexgen> may be there is something comparable to OpenBSD config?
<clever> simpson: mplayer solves that by having runtime cpu detection, it just builds multiple variants of key functions, and selects the right one at runtime
<Athas> infinisil: regarding reproducibility, doesn't Nix really boil down to reproducibly constructing a shell script (the builder), the reproducibility of which we then take on faith?
<Athas> How often has this been a problem in practice?
<simpson> clever: Right, and AFAIK runtime CPU detection is reasonable in terms of the runtime costs on all of the popular CPUs, so the problem (as usual!) is the piles of existing incorrectly-written C.
<infinisil> Athas: Nix's sandbox restricts heavily what builders can do
<clever> simpson: the only time ive seen runtime detecting be a problem, was on an avr, where the cycle count of an `if` statement in an irq was too much, lol
<Athas> infinisil: oh cool. What mechanisms are used for that?
<Athas> No network access?
<infinisil> Yeah that's the major one, no network access, only filesystem access to a specific set of paths
<clever> Athas: its basically spinning up a dynamicly created container for every build
mix has quit [Ping timeout: 248 seconds]
<Athas> I mean, a builder can still be nondeterministic through various sources of randomness, but I'm curious whether this is ever a problem for non-contrived non-malicious derivations.
<infinisil> The sandbox leaves Nix builders with only a limited set of non-deterministic inputs, such as /dev/random or file ordering in directories
<clever> Athas: some of the manual's in nixos used rng to generate links in the html, to make the links unique within the document
<Athas> Or process scheduling order, surely?
<infinisil> clever: That better be deterministic though
<clever> Athas: yeah, parallel builds have caused issues before, which is why parallelish is off by default
<nix-build> [nixpkgs] @xrelkd opened pull request #66485 → cargo-expand: 0.4.12 -> 0.4.13 → https://git.io/fj7bc
<madhukar93> Hi, upgraded my nixos(unstable) installation. I'm seeing a bunch of errors during boot https://pastebin.com/dzhKtQM7
<Athas> infinisil: does the sandbox use a /dev/random with a fixed seed?
<Athas> (And /dev/urandom.)
<clever> Athas: it shares the entropy with the host currently
<Athas> That seems like it should be feasible.
<infinisil> That would be interesting
<Athas> It's probably not a problem in practice. I can't imagine many compilers go out of their way to obtain randomness.
<clever> Athas: ghc does, to give each build a unique id
<infinisil> clever: They could admittedly use a fixed seed though
<Athas> clever: why? To avoid stale object files when doing incremental builds?
<infinisil> (and not rely on /dev/random)
<clever> Athas: i think its so when 2 different builds get into the env, it can uniquely identify which is which
<nexgen> why most distros are not welcome when being compared?
<nexgen> say yours to guix
<nexgen> or openbsd to netbsd
<nexgen> etc.
<infinisil> nexgen: How many people do you think are familiar with guix/openbsd/netbsd here?
<nexgen> these were just examples
<Athas> I'm familiar with OpenBSD!
<nexgen> and most likely they are aware at least about GUIX
<Athas> OpenBSD is the best OS in a perfect world, but NixOS is best in the real world, because it encapsulates the ugly parts.
<infinisil> Very little people here will know guix well
<nix-build> [nixpkgs] @Ma27 merged pull request #52685 → vimPlugins.fzf-vim: automatically add fzfWrapper → https://git.io/fhJcE
<nix-build> [nixpkgs] @Ma27 pushed 3 commits to master: https://git.io/fj7bE
madhukar93 has quit [Remote host closed the connection]
<nexgen> Athas, are there any configs to make Linux, say NixOS, have similar to OpenBSD locked down configs?
<Athas> nexgen: probably, but that's missing the point. OpenBSD is good because it's holistically developed. It loses its advantages when you install too much third party software.
<Athas> NixOS, on the other hand, accepts a heterogeneous world of third-party software, and just imposes some structure on top.
<Athas> But that does not make a mess of third-party software any more cohesive in documentation, configuration style, code quality, etc.
<infinisil> nexgen: But yeah, my point is that you can't infer "comparisons aren't welcome" when nobody replies to your question about a comparison, not sure why you thought so
<nexgen> So NixOS is good as an application platform for many programs
<nexgen> like Windows
<nexgen> but more manageable
<Athas> I'm not sure Windows is particularly "good" for that, except that a lot of software happens to exist for it.
<nexgen> And for security it is better to use still OpenBSD
<nexgen> that is what I meant, many software titles
<Athas> OpenBSD is good if you can accept that it does not scale to beefy hardware, and you need very few features (mostly the base system).
<nexgen> as an opposite to OpenBSD
<Athas> NixOS is good if you need all the Linux advantages (beefy or obscure hardware, heterogeneous software).
<nexgen> I think about using OpenBSD and a hypervisor for NixOS guest
<nexgen> is it a good idea?
szicari has quit [Ping timeout: 264 seconds]
<Athas> OpenBSD is slow.
<nexgen> but secure
<nexgen> how much slower is it compared to KVM?
<Athas> Sure, but I'm not certain it makes a good hypervisor for Linux.
<nexgen> say its vmm
<DigitalKiwi> infinisil: #fedora used to (they still might) ban people for even mentioning other distros
<nexgen> if 10-30% slower it does not matter
<nexgen> if 2-3 times slower than it is already bad
<infinisil> DigitalKiwi: Damn
<clever> DigitalKiwi: i once got banned from #debian for asking ubuntu questions
<Athas> At this point you should go to #openbsd instead, since it's not really a comparison anymore.
<DigitalKiwi> infinisil: so maybe experiences like that are the source of "comaprisons unwelcome"
<clever> DigitalKiwi: in my favor, it was an apt question, so it applied to either distro
* sphalerite is tempted to join #fedora, say "nixos", then leave again
<nexgen> I am present in #openbsd
<infinisil> I think comparisons are really valuable
<infinisil> Lots of people are familiar with *one* system
<nexgen> without comparison I would not get here
<dminuoso> DigitalKiwi: See, this is part of why I enjoy the Haskell community (much of which is also found here), where you might not even get any comments for discussing Rust, Prolog or category theory in #haskell
<infinisil> But to be able to do a comparison you need to be familiar with multiple
<infinisil> And that takes time
lavalike has joined #nixos
<nexgen> comparisons are good for better things like your os
<clever> sphalerite: reminds me of the old days when people joined christian channels, then made the bot quote a verse that had a curse word in it, causing the bot to get auto-banned :P
<nexgen> and bad for others
<nexgen> as they bring more people from other distros to yours
<infinisil> That reminds me, I should clean my computer by getting rid of the windows installation on it
<infinisil> Haven't used anything other than NixOS on it for like a year now, I think it's time
<simpson> nexgen: It's not a popularity contest. There are more important considerations, like the fact that Guix forked from Nix; if you deliberately ignore these facets of history, then you're only going to sound anachronistic.
<Yaniel> ugh, grub failed to install on my efi partition
szicari has joined #nixos
drakonis has joined #nixos
<DigitalKiwi> infinisil: I'm familiar with nixos, freebsd, macos, arch linux, fedora, centos, various debian/ubuntu derivations...that's without thinking too hard or obscure ones that I haven't used in years/much at all
<infinisil> DigitalKiwi: Neat, like more than a year with all of them?
<Yaniel> guess it's trying to tell me to stick to trying out void in a vm
<DigitalKiwi> yes though some more recently than others
<nexgen> can I build things like monodevelop IDE without any graphical DE for use with another local host X server running in another distro
<infinisil> DigitalKiwi: How long do you estimate to stay with NixOS?
<DigitalKiwi> i'm pretty committed to nixos at this point
<nexgen> DigitalKiwi, did you evaluate any alternatives?
<nexgen> comparable if they exist even
<DigitalKiwi> I've used centos and freebsd on servers for years...like 4-6, I've been an arch user (though a lot less lately) for 11 and a half years, nixos for about a year, full time since december, most of my computers including my servers are on it now.
<infinisil> nexgen: NixOS can run X server and you can use X port forwarding like normal, so there shouldn't be anything preventing you from doing that
<infinisil> Ah, yeah but you asked to use it as an X client
<infinisil> Yeah no problem either, nixpkgs packages are distro-agnostic
phreedom has quit [Remote host closed the connection]
phreedom has joined #nixos
<DigitalKiwi> 4-6 is actually low now that I think about it probably since 2010
<DigitalKiwi> for centos, freebsd is probably closer to 4-6
<DigitalKiwi> so far like nixos the most
<infinisil> You probably wouldn't be here if that wasn't the case :P
<DigitalKiwi> well i'm also in #archlinux
<averell> me too. i'd wager the overlap is largest for all the distros.
<DigitalKiwi> lots of recovering arch users here
<clever> prior to nixos, i ran gentoo
<petercommand> clever: how's gentoo compared to nixos?
<petercommand> clever: like, how does gentoo's package manager work?
<clever> petercommand: similar, its just a giant heap of shell scripts that build everything, and define what the deps are
dispanser has joined #nixos
<simpson> petercommand: It's alright. Gentoo rebuilds a lot of stuff. There's a lot of features in Gentoo that look extremely baroque when compared to the ability of NixOS to configure anything by writing some Nix.
<clever> petercommand: the main difference, is the lack of sandboxing, its not able to have conflicting versions co-exist, so rollbacks are missing, and no official binary cache, so you must build everything from source
<petercommand> hmm..
freeman42y has joined #nixos
doyougnu has joined #nixos
chloekek has joined #nixos
freeman42x has quit [Ping timeout: 264 seconds]
<petercommand> do you guys think it would be a good idea to have an equivalent of "nix-env -i" for deb/rpm packages that are hard to install via nix where such commands would automatically try to resolve deb/rpm dependencies and install them (whatever that means)
<simpson> No, also-ran techniques are usually harmful to the ecosystem. Further, Nix itself doesn't really have a concept of difficulty of installation; rather, the difficulty is in writing the packaging.
<simpson> To imagine packaging a uniform wrapper for *every* RPM or Debian package... Wouldn't that be harder than packaging any one single package? We do have universal techniques, but they involve putting bad software into playground environments.
<petercommand> well yes, I mean packages that are hard to package for nix
chloekek has quit [Ping timeout: 248 seconds]
<simpson> We can patch source. We can patch binaries, too, if really necessary. No package is worth sacrificing Nix's build isolation.
<petercommand> of course it would be harder, I am not saying that it is not
<simpson> Do you have examples of such packages? Anything that you need, in particular?
Soo_Slow has joined #nixos
<petercommand> simpson: I was trying to package Zettlr, but I just don't know how to properly package it
<petercommand> simpson: it uses yarn and electron-builder
<joepie91> most Electron things you can package by just completely ignoring the included Electron binary and using the nixpkgs version of Electron, running it as `electron /path/to/application`
qqlq has quit [Ping timeout: 272 seconds]
<petercommand> I tried yarn2nix, but didn't get the whole build process to work properly
selfsymmetric-pa has joined #nixos
<DigitalKiwi> joepie91: heh, i just packaged bitwarden, and that would make it run in debug mode ;_;
fendor__ has joined #nixos
<joepie91> that's a little odd :)
<petercommand> clever: joepie91: how about the build process?
<clever> petercommand: yarn2nix.nix in the root of the repo
<petercommand> I tried yarn2nix in the nixpkgs repo, didn't work properly
<petercommand> IIRC the urls generated aren't correct
<petercommand> then I tried https://github.com/moretea/yarn2nix.git
fendor_ has quit [Ping timeout: 245 seconds]
<petercommand> this time the urls generated are correct, and it actually built something. But I still don't know how to proceed
<nix-build> [nixpkgs] @nh2 pushed commit from @r-ryantm to staging « srt: 1.3.2 -> 1.3.3 »: https://git.io/fj7N0
<nix-build> [nixpkgs] @nh2 merged pull request #66163 → srt: 1.3.2 -> 1.3.3 → https://git.io/fjQqO
WilliButz has quit [Quit: WeeChat 2.5]
mthst has quit [Quit: the bouncer died]
WilliButz has joined #nixos
dansho has quit [Remote host closed the connection]
dansho has joined #nixos
<petercommand> this is the nix file I wrote https://pastebin.com/mHBLNiW1
<petercommand> the file I tried to use to build Zettlr
selfsymmetric-pa has quit [Remote host closed the connection]
selfsymmetric-pa has joined #nixos
<petercommand> any suggestions?
<petercommand> clever: so that's the script used to execute the final binary right?
<petercommand> clever: daedals-frontend
<clever> petercommand: yeah
<petercommand> clever: how's the actual package built?
<clever> 2019-08-11 12:59:06 < clever> petercommand: yarn2nix.nix in the root of the repo
<petercommand> hmm..
<petercommand> clever: do you know where the build script is located?
selfsymmetric-pa has quit [Remote host closed the connection]
<petercommand> thanks
<nexgen> infinisil, regarding using NixOS as an X client only
<nexgen> can I install graphical applications without dependencies like a DE?
<nexgen> even not sure if it is possible in Gentoo
<nexgen> having X clients installed without DE installed
<nexgen> having DE in another distribution say outside of chroot or virtual machine
<clever> nexgen: that should work fine, just bind-mount /tmp/.X11-unix/ between the 2
<nexgen> I would like to avoid installing any DE to avoid large (bloated) DE packages in NixOS which will not be used anymore
<nexgen> very good, thanks
<nexgen> Can I used NixOS in a chroot without running systemD ?
<clever> nexgen: probably
<nexgen> it will be installed but most likely not started even
<clever> but its not really nixos anymore
<petercommand> how often are things like https://github.com/NixOS/nixpkgs/blob/master/maintainers/scripts/update-discord executed for nixpkgs?
<clever> just nix
Okinan has joined #nixos
<clever> petercommand: probably every time the discord client complains that you have to update
<petercommand> lol
<nexgen> I can initially install in a VM onto a block device like ZFS zvol
<nexgen> it will be full NixOS
<nexgen> and then later I can shutdown VM and mount the same zvol for a chrooting into it
<samueldr> petercommand: it will depend on the maintainer, mostly
<nexgen> is not it NixOS anymore?
<clever> nexgen: half the power of nixos, is the service management, which starts stuff under systemd
<srhb> nexgen: NixOS without systemd is basically just nix.
<srhb> nexgen: The operating system disappears once you take that out (unless you replace it with something else.)
<clever> nexgen: and you can use the nix package manager on any linux distro, and even darwin
<nexgen> on OpenBSD cannot?
<clever> nexgen: can it run static ELF files from linux?
<nexgen> not
<clever> nexgen: then how will it chroot into the nixos image?
<nexgen> no, it has not Linux compatibility layer anymore
<nexgen> Regarding OpenBSD it was another question not related to chrooting
<nexgen> it was rather regarding to a comment about Darwin
<nexgen> Darwin vs OpenBSD without chrooting, just Nix pack man
<nexgen> any plans for a BSD support in the future?
<nexgen> though OpenBSD will reject it of course
<clever> ive not heard of any
<nexgen> only if custom configured somehow
<nexgen> is it somehow possible to use old kernels?
<nexgen> like 2.6.x?
<nexgen> build them manually
<clever> not sure
<Yaniel> why would you do that
<nexgen> are they compatible with a modern user space even?
<nexgen> just experimenting
<nexgen> may be more secure is some terms
<nexgen> less secure in many more ways of course
<nexgen> but as for client only
<nexgen> less backdoors APIs :)
<Yaniel> just use winxp
<nexgen> why not win 95 ? :)
<Yaniel> compatibility
<clever> ive heard of people building wine, under cygwin, to play old windows games, on windows
<clever> because wine has better backwards compat then windows
<Yaniel> yup
<petercommand> I thought people just use dosbox
<Yaniel> dosbox is for even older stuff
<clever> petercommand: doesnt work for win95 era games
<clever> for example
<petercommand> Ah
<clever> dosbos is only dos era
<clever> bpx*
<clever> box* lol
* petercommand not that familiar with these things :p
<Yaniel> dosbois
ddellacosta has quit [Ping timeout: 246 seconds]
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
kleisli_ has joined #nixos
selfsymmetric-mu has joined #nixos
stepcut has quit [Ping timeout: 246 seconds]
<nix-build> [nixpkgs] @peti pushed 16 commits to haskell-updates: https://git.io/fj7Nd
<nix-build> [nixpkgs] @peti pushed to haskell-updates « haskell-hpack: disable the test suite to avoid build failures »: https://git.io/fj7NF
selfsymmetric-mu has quit [Remote host closed the connection]
selfsymmetric-mu has joined #nixos
Chiliparrot has joined #nixos
stepcut has joined #nixos
m0rphism has joined #nixos
ertw has joined #nixos
xkapastel has joined #nixos
<rnhmjoj> can i install nixos in a directory ie. not mounted to anything?
<nix-build> [nixpkgs] @danbst merged pull request #63799 → nixos/postgresql-wal-receiver: add module → https://git.io/fjrKR
<nix-build> [nixpkgs] @danbst pushed commit from @pacien to master « nixos/postgresql-wal-receiver: add module (#63799) »: https://git.io/fj7AT
__monty__ has joined #nixos
ertw has quit [Remote host closed the connection]
<clever> rnhmjoj: `mount --bind /foo /mnt/`
<clever> rnhmjoj: then nixos-install as usual
<rnhmjoj> clever: thank you, using `/foo` directly is expected to fail?
<clever> rnhmjoj: yeah, nixos-install does some sanity checks to see if its a dir
daveyjones01 has quit [Remote host closed the connection]
<clever> if its a mount point*
daveyjones01 has joined #nixos
<rnhmjoj> i'll try it, thank you again
fendor_ has joined #nixos
reanimus has quit [Quit: Logging off...]
<clever> rnhmjoj: what are you trying to do?
<rnhmjoj> clever: i'm testing a change to the nixos-install script
<clever> rnhmjoj: ah
<clever> then all the methods of skipping nixos-install dont apply!
shibboleth has joined #nixos
<clever> youll want to be carefull with efi vars, and boot.loader.grub.device
reanimus has joined #nixos
fendor_ has quit [Client Quit]
fendor__ has quit [Ping timeout: 244 seconds]
<rnhmjoj> clever: i had to disable all the bootloaders and nix seemed happy but then the installation failed with some error about the filesystems being read-only
<drakonis> DigitalKiwi: i could've sworn i have seen you elsewhere
<Shyim[m]> I am trying to install nixos in a vm on vmware. The entire vm is crashing on boot. Has someone an idea? https://i.imgur.com/CdATufj.png 😂
<clever> Shyim[m]: that seems weird, to fail that early on
<Shyim[m]> yep 😂
<DigitalKiwi> drakonis: #archlinux
<drakonis> no #freebsd?
<DigitalKiwi> i don't think i've been there, but i have logs of your name in #archlinux
<drakonis> ah i see okay
<DigitalKiwi> but i have been on freenode for 11 and a half years so :)
<drakonis> i've been on freenode for 9 years
<rnhmjoj> clever: getting the same error again: https://pastebin.com/raw/9TuLbCrX
<rnhmjoj> let's see on an usb drive
<clever> nexgen: that looks like it would fail even with plain nix-build ?
<clever> rnhmjoj: ^^
<clever> rnhmjoj: try `nix-build '<nixpkgs/nixos>' -A system -I nixos-config=./configuration.nix`
<rnhmjoj> clever: `expression does not evaluate to a derivation`
<clever> rnhmjoj: and your NIX_PATH is set right?
<rnhmjoj> clever: it seems fine
<rnhmjoj> clever: it contains `/home/rnhmjoj/.nix-defexpr/channels nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos nixos-config=/etc/nixos/configuration.nix /nix/var/nix/profiles/per-user/root/channels`
<clever> rnhmjoj: those should be seperated by :'s not spaces
<rnhmjoj> clever: ah, i guess because my shell is fish
<rnhmjoj> right, in bash it has colons
<clever> try the command i gave in bash, fish might be messing with parts of it
lambda-11235 has joined #nixos
<rnhmjoj> that's not it: same error
szicari has quit [Ping timeout: 250 seconds]
<clever> rnhmjoj: what does `nix-instantiate --find-file '<nixpkgs/nixos/default.nix>'` return?
<rnhmjoj> wait..
<rnhmjoj> is that a nixpkgs in angle brackets?
<clever> yes
cyphase has joined #nixos
o1lo01ol1o has joined #nixos
<rnhmjoj> sorry, my client has a tendency to gobble that up thinking it's some html
<nix-build> [nixpkgs] @peti pushed 17 commits to haskell-updates: https://git.io/fj7AK
nix-build has quit [Remote host closed the connection]
{^_^} has joined #nixos
szicari has joined #nixos
o1lo01ol1o has quit [Ping timeout: 258 seconds]
fendor has joined #nixos
<clever> rnhmjoj: that would explain things
<clever> rnhmjoj: i wonder, `nix-build '&lt;nixpkgs/nixos&gt;' -A system -I nixos-config=./configuration.nix`
<clever> rnhmjoj: what does that look like?
<rnhmjoj> clever: i'm trying `nix-build ./nixos/default.nix -A system -I nixos-config=./test/etc/nixos/configuration.nix` inside nixpkgs, right now
<clever> that should also work
<rnhmjoj> clever: you may be right though, something is not right with my installation: the --find-file command can't find <nixpkgs>
<clever> rnhmjoj: is it quoted correctly?
sppky has quit []
<rnhmjoj> though, it works in, for example, nix-repl
<rnhmjoj> yes, i think, single quotes, right?
<clever> yeah
<clever> oh right
<clever> --find-file doesnt use the angle bracks
<nexgen> what about arm32 support?
<nexgen> can I built by myself?
<clever> nexgen: armv6/7l linux?
gentauro has joined #nixos
<nexgen> arm v7 linux
___laika has joined #nixos
<clever> nexgen: already supported by nixpkgs/nixos, and works on a raspberry pi and others
<nexgen> cubitruck
<nexgen> orange pi
<clever> nexgen: but no help from the binary cache, so you must build it all from source
<nexgen> beaglebone black
<nexgen> can be cross compiled on a X86 host?
<clever> nix packages can, nixos cant
<rnhmjoj> clever: the build succeeded, so it must be something in nixos-install
<clever> nexgen: but i have a trick with qemu-user to let you run arm binaries on an x86 linux kernel, so you can do a "native" arm build
<nexgen> generally it is not easy? did not try in an emulated vm yet
<nexgen> can you please post a pastebin example
<clever> nexgen: it takes ~2 lines of nix code if your host is nixos
<nexgen> thanks
<clever> nexgen: git clone nixos-configs, add the (relative|absolute) path of qemu.nix to your imports list, and then set qemu-user.arm = true;
<clever> currently, it doesnt build on the latest nixos-unstable, so youll need to be on a stable channel
<rnhmjoj> i have tried passing the closure to nixos-install and it again fails with that error
<worldofpeace> ,locate libgmp.so.10
<stepcut> I'd love to get an RPi4 once they fix the (minor) issue with USB-C power
<{^_^}> Found in packages: gmp5, gmpxx, julia, julia_07, julia_11
<slabity> Hey guys, I just installed NixOS on a new Ryzen3+x570 system, but my ethernet controller isn't being seen. Only the wireless adapter. Any ideas how to find out what's wrong?
<sphalerite> slabity: is it known to work with linux generally? Maybe try using linuxPackages_latest?
<slabity> spahlerite: Not sure. It's an Intel chip, so I'd assume so, but it's not even showing up in lspci. I am already using linuxPackages_latest
shibboleth has quit [Remote host closed the connection]
mexisme_ has joined #nixos
<worldofpeace> ,locate libtinfo.so.5
<{^_^}> Found in packages: tlf, arduino, ncurses5, arduino_core, jetbrains.clion
mexisme_ has quit [Ping timeout: 245 seconds]
qqlq has joined #nixos
s94a84d2e has joined #nixos
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
Izorkin has quit [Quit: ZNC 1.7.4 - https://znc.in]
Izorkin has joined #nixos
sudoforge has joined #nixos
<nh2> which part of nixpkgs is responsible for setting PKG_CONFIG_PATH?
<nh2> I observe that `zlib` isn't put on it properly when other libraries are
<{^_^}> [nixpkgs] @worldofpeace merged pull request #66249 → unison-ucm: init at 1.0.M1c alpha → https://git.io/fjQae
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fj7Ab
<clever> nh2: ${pkgconfig}/nix-support/setup-hook
Izorkin has quit [Client Quit]
<clever> nh2: the stdenv will source the setup-hook for every buildInput, which is then free to mutate how the stdenv behaves
<clever> in the case of pkgconfig, it will add all other buildInput's to the PKG_CONFIG_PATH
<Shyim[m]> vmware vm + nixos + gdisk = explode
<Shyim[m]> vmware vm + nixos + fdisk = running
<Shyim[m]> lol :D
Izorkin has joined #nixos
<clever> Shyim[m]: hexdump both MBR's and diff em!!
<nh2> clever: `${pkgconfig}/nix-support/setup-hook`-- where is that?
<clever> > "${pkgconfig}/nix-support/setup-hook"
<{^_^}> "/nix/store/zqafyj7by0vpy76ilj4vbfancbcbq22j-pkg-config-0.29.2/nix-support/setup-hook"
growpotkin has joined #nixos
<exarkun> clever: Hi. I am trying to use nixos-configs/qemu.nix and I have coreutils test suite failures with it on armv6l due to coreutils picking up the full path to the executable as "program_name", instead of merely the basename (eg coreutils du test suite wants du to report itself as "du" not "/build/.../du"). Does that sound familiar at all? I'm not sure which piece here is at fault...
<clever> exarkun: that might be a bug in the argv0 handling of the qemu stuff, i would just disable the tests
<exarkun> I wonder if there are other packages later that will have similar problems
domogled has quit [Quit: domogled]
<exarkun> It takes 12 hours just to get coreutils built
<slabity> That's weird. The NIC isn't even being detected in dmesg
<exarkun> Long edit/test cycle :/
<clever> slabity: what about lspci?
<slabity> clever: Nope. Only the wireless controller shows up
<clever> slabity: double-check that the pci device is seated properly?
qqlq has quit [Quit: ZNC 1.7.4 - https://znc.in]
<slabity> clever: Well it's soldered to the motherboard, so...
qqlq has joined #nixos
<clever> slabity: just once, the ethernet in my laptop failed hard, dmesg spewed errors, and after a soft reboot, lspci claimed the device didnt even exist
<clever> slabity: after a full power cycle, the card returned from beyond, and never did it again
<slabity> Unfortunately power cycling doesn't seem to be doing much. Let me see if there's something I need to enable in BIOS
<slabity> Maybe it's disabled by default for some reason
endformationage has joined #nixos
o1lo01ol1o has joined #nixos
<slabity> Strange. My BIOS says the LAN's MAC Address is 'N/A' - I really hope that doesn't mean it's borked
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « haskell-http-download: disable test suite to fix the build »: https://git.io/fj7xG
<exarkun> is `nix.package = fetchTarball { url = <path to nixpkgs tarball>; sha256 = ...;}` the right way to use nix.package? if so, how do I also specify an overlay (so I can disable coreutils checkPhase)?
chloekek has joined #nixos
<exarkun> I can't tell why you would prefer `nix.package` over `nixpkgs.pkgs` or vice versa and what the interaction between `nix.package` and various other `nixpkgs.*` options might be
<srhb> exarkun: No, nix.package is the package for Nix itself.
<exarkun> aaa
<clever> exarkun: nix.package must be the result of building it, but fetchTarball returns a directory, in this case, of nixpkgs which isnt a even nix (the package manager)
karetsu has joined #nixos
<srhb> exarkun: you probably want nixpkgs.pkgs and nixpkgs.overlays. Also read the wiki article on overlays.
<exarkun> right ... the docs say "Nix package", not "nixpkgs" :/ argh
<srhb> exarkun: Right, nixpkgs, nix, pkgs are all different idioms. :-P
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « haskell-pantry: disable test suite to fix the build »: https://git.io/fj7xl
o1lo01ol1o has quit [Remote host closed the connection]
szicari has quit [Ping timeout: 276 seconds]
mix has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage2nix: update list of broken builds »: https://git.io/fj7xu
<{^_^}> [nixpkgs] @teh closed pull request #31954 → Lightgbm → https://git.io/vFAvE
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fj7xz
<{^_^}> [nixpkgs] @peti pushed 35 commits to haskell-updates: https://git.io/fj7xg
lopsided98 has quit [Quit: Disconnected]
szicari has joined #nixos
<{^_^}> [nixpkgs] @peti pushed 22 commits to haskell-updates: https://git.io/fj7xa
MmeQuignon has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @peti merged pull request #66468 → LTS Haskell 14.0 → https://git.io/fj77G
<{^_^}> [nixpkgs] @nh2 opened pull request #66486 → zlib: Add comments regarding static/shared linking → https://git.io/fj7xr
<{^_^}> [nixpkgs] @peti pushed 25 commits to master: https://git.io/fj7xo
lopsided98 has joined #nixos
<{^_^}> [nixpkgs] @peti pushed 0 commits to r-updates: https://git.io/fj7xK
qqlq has quit [Quit: ZNC 1.7.4 - https://znc.in]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « Merge pull request #66468 from NixOS/haskell-updates »: https://git.io/fj7xQ
sudoforge has quit [Ping timeout: 264 seconds]
gentauro has quit [Quit: leaving]
growpotk- has joined #nixos
qqlq has joined #nixos
sudoforge has joined #nixos
mkoenig has quit [Ping timeout: 268 seconds]
growpotkin has quit [Ping timeout: 276 seconds]
mkoenig has joined #nixos
tnks has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @philandstuff opened pull request #66487 → amazon image: fetch meta-data everytime in case if something changes → https://git.io/fj7xj
growpotkin has joined #nixos
tnks has joined #nixos
domenkozar[m] has joined #nixos
domenkozar[m] has quit [Changing host]
fendor has quit [Ping timeout: 272 seconds]
hmpffff has joined #nixos
hmpffff has quit [Client Quit]
leotaku has joined #nixos
bdesham has joined #nixos
mix has quit [Read error: Connection reset by peer]
<exarkun> I'm failing to get coreutils to not run checkPhase
<exarkun> nix show-derivation says `doCheck = 1`
sudoforge has quit [Ping timeout: 272 seconds]
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Ping timeout: 245 seconds]
o1lo01ol1o has joined #nixos
<clever> exarkun: it might be the bootstrap coreutils, which is at a different attrpath, not sure where
<exarkun> mmm ok
<clever> exarkun: oh wait
<clever> exarkun: line 17 causes nixpkgs.overlays to never work
<clever> exarkun: you imported nixpkgs without setting overlays= so it loads the overlays from $HOME
grumble has quit [Quit: inside we both know what's been going on, we know the game and we're gonna play it]
karetsu has quit [Quit: WeeChat 2.4]
sudoforge has joined #nixos
drakonis has quit [Quit: WeeChat 2.4]
grumble has joined #nixos
pie_ has joined #nixos
MmeQuignon has joined #nixos
mexisme_ has joined #nixos
ddellacosta has joined #nixos
karetsu has joined #nixos
<{^_^}> [nixpkgs] @danbst merged pull request #66401 → nixos/postgresql: fix quoted queries → https://git.io/fj7R8
<{^_^}> [nixpkgs] @danbst pushed 2 commits to master: https://git.io/fj7p9
imdoor has quit [Quit: imdoor]
imdoor has joined #nixos
drakonis has joined #nixos
karetsu has quit [Quit: WeeChat 2.4]
__monty__ has quit [Quit: __monty__]
nikivi has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
<{^_^}> [nixpkgs] @link2xt opened pull request #66488 → castxml: set correct -DCLANG_RESOURCE_DIR → https://git.io/fj7px
levdub has quit [Quit: ZNC - https://znc.in]
<{^_^}> [nixpkgs] @offlinehacker opened pull request #66489 → yubikey-personalization-gui: install desktop file → https://git.io/fj7he
nikivi has joined #nixos
mexisme_ has quit [Ping timeout: 276 seconds]
levdub has joined #nixos
sudoforge has quit [Ping timeout: 276 seconds]
imdoor has quit [Quit: imdoor]
imdoor has joined #nixos
imdoor has quit [Remote host closed the connection]
imdoor has joined #nixos
leotaku has quit [Ping timeout: 276 seconds]
imdoor has quit [Remote host closed the connection]
boxscapeR has quit [Remote host closed the connection]
imdoor has joined #nixos
sudoforge has joined #nixos
nikivi has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
levdub has quit [Client Quit]
<stepcut> I got Idris2 built, but I am not sure how to get it to build something, I created a Hello.idr and hello.ipkg and ran `~/.idris2/bin/idris2 --build hello.ipkg`. It produced Hello.ttc and Hello.ttm but no executable
o1lo01ol1o has quit [Remote host closed the connection]
imdoor has quit [Quit: imdoor]
imdoor has joined #nixos
qqlq has quit [Quit: ZNC 1.7.4 - https://znc.in]
lngd has joined #nixos
<Shyim[m]> I have added environment.noXlibs = true; to my configuration and started rebuilding. It compiles now much pages. Is that normal? :D i hoped it will just remove some packages
<lngd> it may be recompiling packages that link have been linked with x shared libs
mexisme_ has joined #nixos
lngd has quit [Client Quit]
<Shyim[m]> ahh :)
<stepcut> ugh, I need to find a different irc client, I constantly post things in the wrong channel with this one
imdoor has quit [Quit: imdoor]
imdoor has joined #nixos
imdoor has quit [Remote host closed the connection]
imdoor has joined #nixos
drakonis has quit [Quit: WeeChat 2.4]
sudoforge has quit [Ping timeout: 272 seconds]
growpotkin has quit [Ping timeout: 276 seconds]
imdoor has quit [Client Quit]
imdoor has joined #nixos
<{^_^}> [nixpkgs] @nh2 opened pull request #66490 → zlib: Properly clean up static/shared distinction → https://git.io/fj7hZ
<nh2> clever: thanks; this allowed me to solve my problem and motivated me to make https://github.com/NixOS/nixpkgs/pull/66490. CC matthewbauer, this should address the concerns in your last zlib commit message
<{^_^}> #66490 (by nh2, 1 minute ago, open): zlib: Properly clean up static/shared distinction
o1lo01ol1o has joined #nixos
imdoor has quit [Client Quit]
imdoor has joined #nixos
imdoor has quit [Remote host closed the connection]
imdoor has joined #nixos
lambda-11235 has quit [Quit: Bye]
gentauro has joined #nixos
selfsymmetric-mu has quit [Remote host closed the connection]
selfsymmetric-mu has joined #nixos
xorAxAx has quit [Quit: Gateway shutdown]
imdoor has quit [Quit: imdoor]
imdoor has joined #nixos
xorAxAx has joined #nixos
<infinisil> Shyim[m]: I can't recommend that option at all..
<Shyim[m]> i have removed it already
<Shyim[m]> it fails to built
<infinisil> It rebuilds a ton and when I tried it, it even increased the closure size
<Shyim[m]> some pkg-config issues
xkapastel has quit [Quit: Connection closed for inactivity]
<mexisme_> hi all, i think everyone in @nixos-darwin is afk, but just wondered if anyone in her is on Nix Darwin, and getting a few unusual compilation errors in the last week-ish?
<mexisme_> i.e. since the last macOS patch release
leotaku has joined #nixos
imdoor has quit [Client Quit]
imdoor has joined #nixos
imdoor has quit [Remote host closed the connection]
imdoor has joined #nixos
___laika has quit [Ping timeout: 268 seconds]
levdub has joined #nixos
<samueldr> hey, peeps, just a quick reminder about how there's only 4 weeks left to submit to the CFP for nixcon 2019 :) https://cfp.nixcon.org/nixcon2019/cfp
imdoor has quit [Quit: imdoor]
imdoor has joined #nixos
growpotkin has joined #nixos
ixxie has quit [Ping timeout: 276 seconds]
zupo has joined #nixos
imdoor has quit [Quit: imdoor]
imdoor has joined #nixos
pie_ has quit [Remote host closed the connection]
imdoor has quit [Client Quit]
nikivi has joined #nixos
szicari has quit [Ping timeout: 250 seconds]
irl25519 has joined #nixos
imdoor has joined #nixos
irl25519 has quit [Client Quit]
imdoor has quit [Client Quit]
imdoor has joined #nixos
nikivi has quit [Client Quit]
imdoor has quit [Client Quit]
jtojnar has quit [Ping timeout: 244 seconds]
jtojnar has joined #nixos
szicari has joined #nixos
<{^_^}> [nixpkgs] @Ameliorate closed pull request #52948 → nmfd: init at 1.1.3 → https://git.io/fhTAH
pie_ has joined #nixos
orivej has joined #nixos
___laika has joined #nixos
nikivi has joined #nixos
nikivi has quit [Client Quit]
levdub has quit [Quit: ZNC - https://znc.in]
nikivi has joined #nixos
erba has quit [Quit: WeeChat 2.4]
levdub has joined #nixos
nikivi has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
levdub has quit [Quit: ZNC - https://znc.in]
nikivi has joined #nixos
<{^_^}> [nixpkgs] @timokau opened pull request #66491 → vimPlugins: update → https://git.io/fj7jL
doyougnu has quit [Ping timeout: 276 seconds]
levdub has joined #nixos
kenshinCH has quit [Ping timeout: 245 seconds]
irl25519 has joined #nixos
irl25519 has quit [Client Quit]
xkapastel has joined #nixos
zupo has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @aanderse opened pull request #66492 → Extra subservice cleanup → https://git.io/fj7jY
asymptotically has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
Ariakenom has quit [Quit: Leaving]
tokudan has quit [Quit: ZNC 1.7.3 - https://znc.in]
<{^_^}> [nixpkgs] @grahamc pushed to revert-66468-haskell-updates « Revert "LTS Haskell 14.0" »: https://git.io/fj7jW
sugi[m] is now known as tokudan
<{^_^}> [nixpkgs] @grahamc pushed 0 commits to revert-66468-haskell-updates: https://git.io/fj7jB
<{^_^}> [nixpkgs] @timokau pushed to revert-66468-haskell-updates « Revert "LTS Haskell 14.0" »: https://git.io/fj7jR
<{^_^}> [nixpkgs] @timokau opened pull request #66493 → Revert "LTS Haskell 14.0" → https://git.io/fj7j0
gentauro has quit [Quit: leaving]
Shouou has quit [Ping timeout: 276 seconds]
sudoforge has joined #nixos
chloekek has quit [Ping timeout: 244 seconds]
___laika has quit [Ping timeout: 276 seconds]
orivej has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #66478 → nylas-mail-bin: drop package which is no longer supported upstream → https://git.io/fj7dE
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fj7jz
<{^_^}> [nixpkgs] @petabyteboy opened pull request #66494 → ectool: init at 4.9 → https://git.io/fj7j2
npmccallum has quit [Quit: npmccallum]
endocrimes has quit [Read error: Connection reset by peer]
endocrimes has joined #nixos
orivej has joined #nixos
steshaw_ has joined #nixos
endocrimes has quit [Read error: Connection reset by peer]
steshaw_ has quit [Client Quit]
endocrimes has joined #nixos
steshaw has joined #nixos
npmccallum has joined #nixos
<{^_^}> [nixpkgs] @Infinisil opened pull request #66495 → haskellPackages.hpack: Manually unmark as broken to fix evaluation → https://git.io/fj7jX
npmccallum has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @yurrriq opened pull request #66496 → kubernetes: add generic builder and kops stable versions → https://git.io/fj7jM
<aanderse> infinisil++
<{^_^}> infinisil's karma got increased to 117
<{^_^}> [nixpkgs] @Infinisil pushed to haskell-updates « hackage2nix: Unmark hpack as broken »: https://git.io/fj7jD
endocrimes has quit [Client Quit]
<{^_^}> [nixpkgs] @timokau closed pull request #66493 → Revert "LTS Haskell 14.0" → https://git.io/fj7j0
endocrimes has joined #nixos
<infinisil> :)
orivej has quit [Ping timeout: 245 seconds]
<rnhmjoj> infinisil: could you please check #58204?
<{^_^}> https://github.com/NixOS/nixpkgs/pull/58204 (by rnhmjoj, 20 weeks ago, open): nixos/dnschain: disable DNSSEC for namecoin TLDs
<{^_^}> [nixpkgs] @Lassulus merged pull request #66375 → syncthing: 1.1.4 -> 1.2.1 → https://git.io/fj7sx
<{^_^}> [nixpkgs] @Lassulus pushed 3 commits to master: https://git.io/fj7jQ
___laika has joined #nixos
<infinisil> rnhmjoj: Left a comment
<vaibhavsagar> how do people decrease the cycle time of working with `dockerTools`? Building, adding, and running are all incredibly slow
lambda-11235 has joined #nixos
<{^_^}> [nixpkgs] @grahamc pushed 0 commits to revert-66468-haskell-updates: https://git.io/fj7jF
<selfsymmetric-mu> I'm getting these on rebuild: `"error: getting attributes of path /nix/store/<some_hash>/xvidcore-1.3.5": No such file or directory`
<rnhmjoj> infinisil: thank you
<selfsymmetric-mu> It's true. The file does not exist. But why is Nix looking for it?
<selfsymmetric-mu> I am running `sudo nixos-rebuild switch --keep-going`.
<selfsymmetric-mu> And before I run that I run `sudo nix-channel --update nixpkgs unstable`.
Soo_Slow has quit [Remote host closed the connection]
tokudan_ has joined #nixos
<{^_^}> [nixpkgs] @Infinisil pushed to haskell-updates « hackage2nix: Unmark pantry and http-download as broken »: https://git.io/fj7jb
drakonis has joined #nixos
tokudan_ has quit [Client Quit]
<drakonis> is grub still broken?
<selfsymmetric-mu> It could be this: https://github.com/NixOS/nix/issues/2673
<{^_^}> nix#2673 (by trofi, 26 weeks ago, open): 'nix-channel --update' stopped working on nix-2.2.1: error: while setting up the build environment: getting attributes of path '': No such file or directory
<selfsymmetric-mu> Wait no, that one just looks like a bad path.
<selfsymmetric-mu> I have no idea what's going on, but it means I'm blocked on this machine.
<selfsymmetric-mu> Oddly enough I do not have this issue with the same configuration on other machines.
<selfsymmetric-mu> This issue persists across attempts and across reboots.
<selfsymmetric-mu> However, something interesting is that when I removed some old generations the breaking path _changed_.
<drakonis> i'm running out of space the moment i install systemd-loader
<drakonis> aint that just wonderful
<drakonis> since it does not allow relocating the kernel images to a different location
<selfsymmetric-mu> Has anyone seen a problem like this or should I report a new bug? I can't find this one on nixpkgs.
<selfsymmetric-mu> Actually, in this case, to which repository should I report a bug? `NixOS/nix` or `NixOS/nixpkgs`?
<drakonis> i'm mildly confused right now
<drakonis> does systemd-boot offer the ability to decide which location the kernel images are stored?
<gchristensen> systemd-boot uses .conf files where you can provide a path to the file
<drakonis> hm, but its not set up to store the kernel images on /boot instead of /boot/efi, right?
<zmlww> Creating my first package. The package in question uses Gradle to build: can anyone recommend another package that uses Gradle that would serve as a good reference?
<drakonis> i'm griping that its filling up my efi partition and preventing me from booting
tgamblin has joined #nixos
<danderson> systemd-boot can only boot stuff in the EFI partition, to my knowledge
<selfsymmetric-mu> Unfortunately --show-trace reveals nothing new.
<danderson> though maybe I'm wrong about that, the only time I've used systemd-boot in detail is when I made secure boot work on my laptop
<drakonis> and grub is hosed up on nixos-unstable
<drakonis> and above
<danderson> systemd-boot is very good for that, because it supports booting a blob that's the combo of kernel+modules+initrd
<selfsymmetric-mu> I can't really do without `xvidcore` since that's what Chromium and Steam use. So this laptop is no longer usable for me.
tgamblin has left #nixos [#nixos]
<selfsymmetric-mu> I just wish I could know why Nix is looking for a file that's not there! It doesn't even provide any justification, even with tracing on!
tgamblin has joined #nixos
<drakonis> danderson: no clues on how to do that?
phreedom has quit [Ping timeout: 260 seconds]
___laika has quit [Ping timeout: 246 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
___laika has joined #nixos
tgamblin has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<danderson> sorry, I got nothing. Quite new to nix/nixos.
daveyjones01 has quit [Remote host closed the connection]
phreedom has joined #nixos
___laika has quit [Ping timeout: 248 seconds]
jtojnar has quit [Quit: jtojnar]
lord| has quit [Quit: WeeChat 2.5]
jtojnar has joined #nixos
xorAxAx has quit [Quit: Gateway shutdown]
lord| has joined #nixos
xorAxAx has joined #nixos
mbrgm_ has joined #nixos
___laika has joined #nixos
justanotheruser has quit [Ping timeout: 244 seconds]
mbrgm has quit [Ping timeout: 252 seconds]
mbrgm_ is now known as mbrgm
tgamblin has joined #nixos
<tgamblin> .join nixos
jtojnar has quit [Client Quit]
tgamblin has quit [Remote host closed the connection]
<zmlww> Is it discouraged to use a .deb or .rpm instead of the source for a package?
drakonis has quit [Quit: WeeChat 2.5]
<gchristensen> it is strongly preferred to build from source
<zmlww> Sorta figured, alright. Guess I'll have to figure out this Gradle mess after all :)
drakonis has joined #nixos
<gchristensen> ouch.
<gchristensen> I admit even I would just reach for the deb/rpm.
<pie_> :DDD
<zmlww> Oh, I don't know how bad it is. It's my first package.
<pie_> oh no. :D
<zmlww> Maybe I should just do the deb/rpm at first?
<{^_^}> [nixpkgs] @emilazy opened pull request #66497 → stm32loader: init at 0.5.0 → https://git.io/fj5eG
<zmlww> I'd like it to be accepted into nixpkgs in the end.
<pie_> also, wait, we can handle deb/rpm?
___laika has quit [Ping timeout: 245 seconds]
hmpffff has joined #nixos
<zmlww> pie_: I saw a blog post about deb, doesn't seem so bad.
<pie_> im not saying we cant i just didnt know we can, if we ca
<exarkun> nix doesn't like my buildMachines because host key mismatch. Which known_hosts file does nix look at when connecting to build machines?
<gchristensen> exarkun: the root user's and the host system
<selfsymmetric-mu> Oh! `nix-store --verify --check-contents` to the rescue. It reports to me that my xvidcore path has disappeared but still has valid referrers, which is true.a
<selfsymmetric-mu> I wonder if it'll suggest a fix...
<exarkun> gchristensen: ty
<selfsymmetric-mu> I'll try running it with `--repair` after this.
<clever> selfsymmetric-mu: you can also `nix-store --query --roots /nix/store/foo` to see what is rooting it, and `nix-store --delete /nix/store/foo` to just remove it
<selfsymmetric-mu> clever: Thank you!!
<selfsymmetric-mu> clever++
<{^_^}> clever's karma got increased to 168
<{^_^}> [nixpkgs] @Infinisil merged pull request #66495 → Fix ofborg eval → https://git.io/fj7jX
<{^_^}> [nixpkgs] @Infinisil pushed 3 commits to master: https://git.io/fj5eC
wolfshappen has joined #nixos
<NickHu> Is wine built on hydra? I went to do nix-env -iA nixos.wine and it's now trying to compile wine on my laptop...
hmpffff has quit [Quit: nchrrrr…]
<pie_> clever i dont suppose you know what makes `nix-build https://github.com/deliciouslytyped/zfstui/tarball/master` work , i tried trawling the source and poking around in ltrace a bit too but still no clue
<pie_> the closest i feel like i got is https://github.com/NixOS/nix/blob/88571219d97f2bdfdbafcff25ef6ee424b0b008f/src/libstore/store-api.hh#L743 but that still doesnt seem right
<pie_> and openstore() is called without arguments in nix-build.cc
<pie_> though im not actually sure how that argument gets treated either
<infinisil> pie_: And I recommend not asking specific people, this makes a lot of people not even look at the question, and clever might not be here or doesn't have time
<pie_> i guess thats what i should find out first somehow
<pie_> infinisil fair enough
<NickHu> Ah I guess my channel was slightly out of date - wine is probably a big derivation and hydra doesn't want to keep lots of them I suppose
<gchristensen> the cache has never been GC'd :)
<pie_> maybe it was a checkout that never got build properly?
<pie_> (idk)
<Ashy> gchristensen: how big is the hydra cache?
<gchristensen> 180t
* Ashy whistles
<Ashy> nice
<pie_> hm so thats about 7200$ of some random 10TB i googled, not counting redundancy
<pie_> *10TB hdd
<pie_> except this is amazon
<pie_> on that note
<pie_> is amazon storage actually reliable?
thc202 has quit [Quit: thc202]
<pie_> i wonder if all that 180TB is still good
<gchristensen> s3?
<gchristensen> their SLA on durability is 99.9999999%
<pie_> hm, one would hope thats true, if yes, sounds good
<gchristensen> "Amazon S3 Standard, S3 Standard–IA, S3 One Zone-IA, and S3 Glacier are all designed to provide 99.999999999% durability of objects over a given year. This durability level corresponds to an average annual expected loss of 0.000000001% of objects. For example, if you store 10,000,000 objects with Amazon S3, you can on average expect to incur a loss of a single object once every 10,000 years. In addition,
<gchristensen> Amazon S3 Standard, S3 Standard-IA, and S3 Glacier are all designed to sustain data in the event of an entire S3 Availability Zone loss."
<pie_> nice
<exarkun> So statistically 1979.12109375 bytes of the cache are bad now.
<exarkun> :)
<gchristensen> if each byte were an object
<gchristensen> but they're not talking bytes
<exarkun> I said "statistically" :)
not_a_robot has joined #nixos
<exarkun> everyone knows that means "I'm about to talk about of my ass" right
<pie_> statistically is a dangerous word
<pie_> yeah as i was sayin xD
<gchristensen> I think we have ~250,000,000 objects
phreedom has quit [Remote host closed the connection]
szicari has quit [Ping timeout: 250 seconds]
<exarkun> Then it's barely 500 years before one of them is lost
<gchristensen> oh dear
kleisli_ has quit [Ping timeout: 248 seconds]
<exarkun> Do you think S3 will refund the project when WW3 destroys all of their storage in 3 years
o1lo01ol1o has quit [Remote host closed the connection]
<exarkun> will it be a complete refund or a prorated refund
<gchristensen> prorated on the 500yr?
<pie_> read that as perforated at first
<not_a_robot> Does anyone have experience with mkWrapper and neovim? Specifically in getting neovim able to find python3
<exarkun> gchristensen: right
<gchristensen> :D
o1lo01ol1o has joined #nixos
<exarkun> pie_: I take it as a given there will be perforation at that point.
<emily> S3's SLA is nonsense
freeman42y has quit [Ping timeout: 250 seconds]
<emily> an affront to statistics and actuarial science :p
szicari has joined #nixos
<gchristensen> is it?
<emily> exarkun: actually, when us-east1 gets wiped out by WW3, it'll just be reported as an elevated error rate in some regions
<emily> gchristensen: there is no way to be 99.9999999% confident in the reliability of data in S3. "jeff bezos goes insane and personally deletes every single bit of data" is more than 0.00...01% likely
<emily> unknown unknowns and all
orivej has joined #nixos
___laika has joined #nixos
<exarkun> I have certainly experienced AWS being less than ... completely transparent in their admission of service degradation.
<emily> you can't just extrapolate "we've been doing okay for 13 years" to "the universe will end before we renege on our promise to keep your data safe and sound"
tgamblin has joined #nixos
<exarkun> emily: But of course the SLA isn't a promise of what they will actually provide
<exarkun> emily: It is part of a contract for getting $7 refunded when they lose your entire enterprise's dataset.
<emily> right
<pie_> i have someone that told me they had data corruption and amazon told them nope everthing is fine *shrug* who to trustttt
<emily> in practice keeping copies in a couple of clouds probably gives you enough 9s.
<emily> but AWS would never suggest that, of course :p
* pie_ wonders how to debug nix with gdb so that variables actually show up...
<pie_> (the c++)
<exarkun> did you rebuild it with debug symbols?
<pie_> probably not, but i think i tried that before and still didnt manage it
o1lo01ol1o has quit [Ping timeout: 244 seconds]
<pie_> i wish we have a DEBUG ALL THE THINGS flag >.>
<pie_> (that actually worked (?))
<exarkun> keen feature for nixpkgs would be a semi-automatic "debug" output for all derivations w/ debugging enabled for the whole closure
* pie_ tries to rebuild with debug symbols
<nh2> pie_: I'm pretty sure I did that once with gdb. Double-check whether -O is passed or something similar that destroys the debugging experience. For example, some of the hardening flags do that; you need to disable that
lambda-11235 has quit [Quit: Bye]
<nh2> (that == debug nix itself)
<{^_^}> #60919 (by nh2, 14 weeks ago, open): fortify hardening still overrides debug builds in many cases
<pie_> ok yeah environment.enableDebugInfo or what was it seems to have worked
<pie_> next thing would be to to expand that to include source code
<pie_> or is that already done
<pie_> sidenote: read a bit about dtrace, i dont want to try it or i might end up wanting to switch away from linux...and thats not helpful... xD
o1lo01ol1o has joined #nixos
<pie_> *i read