<__red__>
so you can't hub pr checkout ; nix-build -A ; nix-env -i exim
<__red__>
since it's a service?
jluttine has quit [Ping timeout: 240 seconds]
<__red__>
I guess there isn't a "short-circuit" approval for vulns which provide remote code execution and only take a minor version increment?
hink_ornl has joined #nixos
doublex has joined #nixos
<witchof0x20>
clever: thanks! Containers look awesome and are exactly what i'm looking for
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
wildtrees has joined #nixos
ddellacosta has quit [Ping timeout: 276 seconds]
<{^_^}>
[nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JendF
<__red__>
funny story (and very typical NixOS fare)
<__red__>
I just pulled PR#70072 to patch my exim to the latest on my production server (which is running the unstable channel).
<__red__>
Except that was against stable... so I accidentally moved my entire OS from unstable to stable
<__red__>
But... because it's NixOS - I just did a hub pr checkout pr 70071 and re-ran the nixos-rebuild switch
<__red__>
and it migrated back to unstable with the security-patched exim
<__red__>
I can't even begin to imagine any other OS coming close to that level of resiliancy
Rusty1 has joined #nixos
<hoppfull>
When I rebuild the configuration file with nixos-rebuild switch I seem to get a new boot option, is this part of the normal workflow to keep old snapshots or do we clean them up?
<__red__>
yes that is normal
<__red__>
and you can clean them up
<__red__>
you can lkeep as many historical as you like
<hoppfull>
Ok, I thought I had messed shit up so I'm reinstalling everything
<__red__>
nope - it's pretty awesome
<__red__>
makes it very difficult to completely brick your OS
<hoppfull>
yeah
wildtrees has quit [Quit: Leaving]
<__red__>
since if you can get a grub manu, you can revert back a config or two, or sixteen etc...
<hoppfull>
I actually bricked it though. I didn't have a method to access my wifi so I needed to install the required software... catch 22
<__red__>
man nix-collect-garbage is how I manage mine
<__red__>
there probably are more delecate ways of doing it
wtv_nick has joined #nixos
<notgne2>
hoppfull: plenty of times I've copied a kexec system (using clever's thing, that I normally use for bootstrapping servers) to a laptop without enabling wifi, and been a bit stuck due to the lack of wifi... or ability to enable it
<hoppfull>
notgne2: lol yeah fixed it now though so things are looking good
<hoppfull>
So when it comes to installing software. Is best practice to add things I want to use often to the configuration file? Things like browser, editors etc?
<__red__>
approaches differ - depends on use-casd
<__red__>
is this a server / desktop / or ...
<hoppfull>
Desktop computer for development. In some cases I might want a local environment so that compiler versions don't collide. I've heard this is possible with NixOS
boxscape has quit [Remote host closed the connection]
<hoppfull>
I'll read the manual and maybe I'll get an idea
<__red__>
similar to mine then
<__red__>
excellent!
<hoppfull>
:)
oida has quit [Remote host closed the connection]
<__red__>
My approach is stuff that I only have one version of, eg: browsers etc... I stick in the confiug file
<__red__>
now for compiling - lemme show you something - sec
hoppfull has quit [Remote host closed the connection]
<mmlb>
hey all, I seem to be running into a *very* similar issue to https://github.com/NixOS/nixpkgs/issues/25100, where my path is not setup if I run non-interactive ssh commands compared to login ssh session
<{^_^}>
#25100 (by rqcy, 2 years ago, closed): PATH not set in mksh (or sh) over non-interactive SSH connection
<mmlb>
I've got zsh though
<mmlb>
and I'm not running nixso from 2 years ago
<mmlb>
I've got 2 nixos servers with configs that are similar if not identical, one gets path correctly the other doesn't. Any tips to narrow down what is going on?
<__red__>
nixos-version
<__red__>
?
<__red__>
on each server match?
<{^_^}>
[nixpkgs] @worldofpeace pushed commit from @matthewbauer to release-19.09 « kwallet-pam: wrap pam_kwallet_init »: https://git.io/JenbY
ebzzry has quit [Ping timeout: 276 seconds]
<mmlb>
sorry stepped away... verifying
<mmlb>
bad: 19.09pre192418.e19054ab3cd (Loris)
<notgne2>
mmlb: is the default shell you have running on the server enable in your config?
<{^_^}>
[nixpkgs] @thoughtpolice pushed commit from @r-ryantm to master « verilator: 4.016 -> 4.018 »: https://git.io/Jenb3
<mmlb>
notgne2: not explicitly, my user on both are declared in configuration.nix
<mmlb>
with shell = pkgs.zsh though
<notgne2>
i.e `programs.zsh.enable = true;` for zsh
<notgne2>
I think shells need some explicit profile configuration, which won't get written without enabling the shell
<mmlb>
neither good nor bad have that setting
<mmlb>
let me check with home-manager too though
silver has quit [Read error: Connection reset by peer]
<mmlb>
bad: uses home-manager for my users, good does not...
<mmlb>
I'm going to do `programs.zsh.enable = true` on bad to test that
<mmlb>
well that worked!
<mmlb>
but good does not have that and it works 🤔
<witchof0x20>
What's the proper way to mount a detached-header LUKS drive at boot (non-root data drive)
Synthetica has quit [Quit: Connection closed for inactivity]
<witchof0x20>
my header and keyfile is stored on the / drive currently. Do I need to inject both of these into initrd?
iyzsong has joined #nixos
<witchof0x20>
Would adding a "fileSystems.<name?>.encrypted.header" field help here?
felixfoertsch has quit [Ping timeout: 276 seconds]
felixfoertsch has joined #nixos
growpotk- has joined #nixos
mexisme has joined #nixos
<libertyprime>
hey guys. i was wondering if there are any starter kit distributions of NixOS. Like the spacemacs of emacs. Basically an opinionated NixOS with many packages already installed
<hpfr[m]>
I enabled the services.syncthing option and want to sync a user directory. What would be the most elegant way to access this directory? Right now, it says it doesn't have permission. Do I give the syncthing user permissions to the directory? Do I do some kind of symlink thing? Do I set up a user daemon instead?
<{^_^}>
[nixpkgs] @jonringer pushed commit from László Vaskó to master « python37Packages.pyrsistent: 0.15.2 -> 0.15.4 »: https://git.io/JenAt
Zer0xp has quit [Ping timeout: 240 seconds]
chr15 has quit [Ping timeout: 268 seconds]
cjpbirkbeck has quit [Quit: Quitting now.]
drakonis has quit [Quit: WeeChat 2.6]
jluttine has joined #nixos
<gyroninja>
hpfr[m]: You could also run syncthing through home-manager and it will make a systemd user service for it.
MrCCoffee has quit [Quit: leaving]
Zer0xp has joined #nixos
bahamas has joined #nixos
chr15 has joined #nixos
bahamas has quit [Quit: leaving]
<{^_^}>
[nixpkgs] @jonringer pushed commit from @adisbladis to release-19.09 « pythonPackages.pyrsistent: 0.15.2 -> 0.15.4 »: https://git.io/JenAC
bahamas has joined #nixos
<lovesegfault>
Does NixOS have a package deprecation policy?
<lovesegfault>
If a pkg stops building and the maintainer is not responsive, what happens?
<dminuoso>
lovesegfault: Afaik in nixpkgs the notion of maintainer is rather lose. You can just add yourself to the maintainers list and carry the torch?
<lovesegfault>
dminuoso: Sure, but what if no one wants to do so?
<bahamas>
I did an export with nix-store --export $(nix-store -qR postgis) > postgis.nar. now, I'm trying to import it with nix-store --import < postgis.nar. but I get an error "error: cannot add path '/nix/store/58y89v7rl254dc2cygcfd5wzhv0kjm4m-bash44-013.drv' because it lacks a valid signature". what can I do about it?
endformationage has quit [Ping timeout: 240 seconds]
<hpfr[m]>
gyroninja didn't even think to check, thanks!
<hpfr[m]>
gyroninja:
<gyroninja>
yes?
mexisme has quit [Ping timeout: 240 seconds]
<dminuoso>
lovesegfault: Remove the package?
<lovesegfault>
dminuoso: Sure, but is there policy around that? Some form of last rites
<lovesegfault>
What if the pkg has revdeps?
<lovesegfault>
etc
zacts has quit [Ping timeout: 250 seconds]
<gyroninja>
then someone needs to fix it
<dminuoso>
lovesegfault: Its own dependencies are specified in its respective derivation automatically, so there's no worry here.
<dminuoso>
lovesegfault: And for packages that reference said package, well it doesn't build...
<LnL>
there are no explicit rules for it AFAIK
<dminuoso>
It's not like you're breaking anything.
zacts has joined #nixos
<LnL>
but if a package has been broken for more then a release cycle proposing to remove it is definitely reasonable
<bahamas>
can anyone tell me the proper way to save myself from rebuilding the same library over and over when I destroy a VM? I thought exporting the built library from the store would be the solution, but I hit the error I mentioned above.
zacts has quit [Client Quit]
<LnL>
you have to either sign the paths with a signing key you trust or disable signature checking when importing
<LnL>
if you built this yourself there's no trust issue
<bahamas>
LnL: how do I disable signature checking when importing?
<LnL>
ah hold on in this case you need to run the import as a trusted user IIRC
<LnL>
on a multi-user install this will only be root, unless you configured extra users/groups yourself
<{^_^}>
[nixpkgs] @abbradar closed pull request #69509 → pythonPackages.tensorflow: fix build with CUDA → https://git.io/JeGiD
<craige>
sS/quit
[Leary] has joined #nixos
Unode has quit [Ping timeout: 245 seconds]
Lears has quit [Ping timeout: 245 seconds]
recj has quit [Ping timeout: 244 seconds]
<bahamas>
what's the story of using nix programmatically from another language or generating nix files programmatically?
cfricke has joined #nixos
Unode has joined #nixos
<sphalerite>
bahamas: limited. You can use the native C++ libraries, but I don't think they have a stable API; there's hnix, a Haskell library that has complete support for nix's syntax and evaluation, but incomplete store interaction
<sphalerite>
lovesegfault: I have an rpi3 "lying around". Why?
<sphalerite>
lovesegfault: which is why adding systemctl start sshd to bashrc should be enough to enable it
<bahamas>
sphalerite: I see. I found hnix and language-nix. do you know anything about the latter. it's more a library that allows you to generate Nix, if I understand it
<lovesegfault>
sphalerite: What's the default user/pass?
<sphalerite>
lovesegfault: none I think, I'd suggest creating /root/.ssh/authorized_keys from the machine where you're imaging as well :)
<rsa>
is the tally (/var/log/tallylog) supported on nixos? both the binary 'pam_tally2' and the module 'pam_tally2.so' exists in various packages but doesn't seem to be in use
<{^_^}>
[patchelf] @evenbrenden opened pull request #183 → Add --silent option for successful exit when doing --print-rpath on statically linked files → https://git.io/Jenpm
<sphalerite>
rsa: hm, it looks like pam's nixos configuration isn't very flexible, so you'd need to add the feature to the pam nixos module to be able to use it. It should be quite possible though.
wfranzini has joined #nixos
<rsa>
sphalerite: i see, ty
is_null_ has joined #nixos
is_null has quit [Ping timeout: 240 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}>
tetdim: Just ask your question. It's the best way to know if anybody can help. Or look at other ways of getting in touch with the Nix community here: https://nixos.wiki/wiki/Get_In_Touch
<{^_^}>
[nixpkgs] @woffs opened pull request #70234 → zfsnap2: init at 2.0.0-beta3 → https://git.io/JenpK
<sphalerite>
teto: huh, I thought nixos.com had shut down :(
<eyJhb>
Or, that is with config.services...., but options is not defined
<teto>
sphalerite: a good samaritan took over
<sphalerite>
:(
<yorick>
eyJhb: add options in the arguments to the module then
<eyJhb>
Is "options" just the default thingy?
<yorick>
it's in the {config, lib, pkgs, options, ...}: thing
<eyJhb>
Thanks, worksag
<eyJhb>
!*
<eyJhb>
Now I am just wondering, which of these do I want to add? " hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96 server hmac-sha2-512-etm@openssh.com,hmac-sha2-256-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-512,hmac-sha2-256,umac-128@openssh.com"
<yorick>
I thought you had a plan here :D
<eyJhb>
`hmac-sha2-512` seems like one of the more "secure" of these insecure options
<yorick>
why do you need any?
<eyJhb>
Oh, my plan is to say to the IT guys, that the gateway server is insecure..
<eyJhb>
Because the gateway server for SSH, doesn't support the sane secure options... :(
veske2 has quit [Quit: This computer has gone to sleep]
<sphalerite>
eyJhb: look up the defaults in `man sshd_config` :)
<yorick>
eyJhb: okay, but why do you need to add them in nixos?
<eyJhb>
Because else they can't negotiate a scheme when I connect from client -> nixos server `Unable to negotiate with xxxx port xxx?: no matching MAC found. Their offer: hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96 [preauth]`
<eyJhb>
sphalerite: just went with one from Mozilla, that the options link to, that the client supports as well. SHould be safe
<{^_^}>
[nixpkgs] @alyssais pushed 2 commits to release-18.09: https://git.io/Jece3
bahamas has quit [Read error: No route to host]
setthemfree[m] has joined #nixos
<setthemfree[m]>
I'm confused about the purpose of the makeFontsConf package (function) - what is its purpose? I can't find any documentation on it. Some packages seem to use it to get rid of font.conf-related errors, but is it actually desired on NixOS and/or non-NixOS?
parity has quit [Read error: Connection reset by peer]
<setthemfree[m]>
More generally, should nix packages only use fonts shipped with nix or also ones installed on the host if not on NixOS? The latter seems more logical (especially for graphic design applications). What is the use case for makeFontsConf package then?
<evanjs>
Regardless, that produces the same result, even with `--pure`, at least on my machine
<Yaniel>
I suggest either using the mozilla overlay to get the latest version of rustc+cargo, or doing what I did and installing rustup from nixpkgs and using that to get your rust toolchain
M0ddba11[m] has joined #nixos
is0x3F has joined #nixos
vvbb[m] has joined #nixos
Ox4A6F has joined #nixos
MilkManzJourDadd has joined #nixos
MiloIgnis[m] has joined #nixos
laas has joined #nixos
Ericson2314 has joined #nixos
fulgjon has joined #nixos
cornu has joined #nixos
EuAndreh[m] has joined #nixos
zurdo has joined #nixos
abbradar[m] has joined #nixos
Minijackson[m] has joined #nixos
Noughtmare[m] has joined #nixos
abbafei[m] has joined #nixos
abbec has joined #nixos
alienpirate5 has joined #nixos
aquarial has joined #nixos
alxev[m] has joined #nixos
arcnmx has joined #nixos
alj[m] has joined #nixos
am3on[m] has joined #nixos
alexarice[m] has joined #nixos
b-m-f[m] has joined #nixos
bachp has joined #nixos
attente[m] has joined #nixos
atopuzov[m] has joined #nixos
arturo[m] has joined #nixos
balsoft has joined #nixos
balsoft[m] has joined #nixos
Guest99415 has joined #nixos
bendlas has joined #nixos
bennofs[m] has joined #nixos
bkl[m] has joined #nixos
bikki[m] has joined #nixos
blitzclone_ has joined #nixos
aterius has joined #nixos
chuzz_ has joined #nixos
Brio[m] has joined #nixos
bohan[m] has joined #nixos
copy` has joined #nixos
craige[m] has joined #nixos
craigevil[m] has joined #nixos
colemickens has joined #nixos
clacke[m] has joined #nixos
cyberwolf[m] has joined #nixos
coniferous-cube[ has joined #nixos
clefru has joined #nixos
corpix[m] has joined #nixos
Dandellion[m] has joined #nixos
VaNilLa[m] has joined #nixos
dominicusin[m] has joined #nixos
das-g[m] has joined #nixos
domenkozar[m] has joined #nixos
divansantana has joined #nixos
danielrf[m] has joined #nixos
BinkyTheClown has joined #nixos
ndarwincorn has joined #nixos
DanP[m] has joined #nixos
RobinKroonen[m] has joined #nixos
fgaz has joined #nixos
dwagenk has joined #nixos
escaP[m] has joined #nixos
eddyb has joined #nixos
dtz has joined #nixos
frislie[m] has joined #nixos
goibhniu has joined #nixos
tails[m] has joined #nixos
frederic_chopwn[ has joined #nixos
florianjacob has joined #nixos
hiroshi[m] has joined #nixos
hr[m] has joined #nixos
harkenedraven has joined #nixos
hpfr[m] has joined #nixos
HappyEnt[m] has joined #nixos
TheSirC[m] has joined #nixos
MichaelEden[m] has joined #nixos
IslandUsurper has joined #nixos
codyopel has joined #nixos
iceychris[m] has joined #nixos
ilya-fedin has joined #nixos
imj[m] has joined #nixos
icetan has joined #nixos
jak[m] has joined #nixos
isgy[m] has joined #nixos
arianvp[m] has joined #nixos
ajirx[m] has joined #nixos
anton-latukha[m] has joined #nixos
hackeryarn[m] has joined #nixos
JaakkoLuttinen[m has joined #nixos
jonge[m] has joined #nixos
jtojnar has joined #nixos
jak_wolf[m] has joined #nixos
joelpet1 has joined #nixos
jschievink has joined #nixos
enick_536 has joined #nixos
ejpcmac has joined #nixos
alexoundos[m] has joined #nixos
ctrl_shift_smtng has joined #nixos
KodiakIT[m] has joined #nixos
kaychaks[m] has joined #nixos
layus[m] has joined #nixos
badmutex[m] has joined #nixos
aymenstudios[m] has joined #nixos
Bruno[m] has joined #nixos
<Yaniel>
the nixpkgs rustc+cargo is mainly for packaging rust stuff AFAIK
ma27[m] has joined #nixos
bricewge has joined #nixos
Lisanna[m] has joined #nixos
luftmensch[m] has joined #nixos
manveru[m] has joined #nixos
malteof[m] has joined #nixos
macerbi[m] has joined #nixos
li_matrix has joined #nixos
LinuXit has joined #nixos
fasd has joined #nixos
cgm[m] has joined #nixos
cab404[m] has joined #nixos
bpye has joined #nixos
bnasty[m] has joined #nixos
marius851000[m] has joined #nixos
simbergm has joined #nixos
mildred has joined #nixos
Thinkofname[m] has joined #nixos
MarkOtaris has joined #nixos
MayeulC_backup has joined #nixos
bikki[m]1 has joined #nixos
matthewbauer has joined #nixos
Moredread[m] has joined #nixos
MerlinGttlinger[ has joined #nixos
bkchr has joined #nixos
ck3d[m] has joined #nixos
nocent has joined #nixos
nh2[m] has joined #nixos
ninjatrappeur[m] has joined #nixos
momack2[m] has joined #nixos
nilsirl[m] has joined #nixos
boredom101[m]1 has joined #nixos
Nyanloutre[m] has joined #nixos
musicmatze has joined #nixos
NickHu has joined #nixos
neonfuz2 has joined #nixos
olejorgenb[m] has joined #nixos
peel1 has joined #nixos
otini has joined #nixos
pachacuti[m] has joined #nixos
Notkea[m] has joined #nixos
offlinehacker has joined #nixos
eqyiel has joined #nixos
pingveno[m] has joined #nixos
RIOTIM[m] has joined #nixos
philipp[m] has joined #nixos
quiet_laika[m] has joined #nixos
Diamaths[m] has joined #nixos
elais[m] has joined #nixos
pinage404[m] has joined #nixos
rihardsk[m] has joined #nixos
ptival[m] has joined #nixos
ptotter[m] has joined #nixos
grahamc[m] has joined #nixos
schmittlauch[m] has joined #nixos
roadt[m] has joined #nixos
sauyon[m] has joined #nixos
fidgetspinoza[m] has joined #nixos
Christian[m]4 has joined #nixos
freddie_freeload has joined #nixos
roberth has joined #nixos
rycee has joined #nixos
ronny has joined #nixos
GerdFlaig[m] has joined #nixos
slabity has joined #nixos
Seb[m] has joined #nixos
sm[m] has joined #nixos
Sisyphe[m] has joined #nixos
sevcsik[m] has joined #nixos
snupples[m] has joined #nixos
siraben has joined #nixos
Smith[m] has joined #nixos
haslersn has joined #nixos
hienergy[m] has joined #nixos
grim_reaper[m] has joined #nixos
gspia[m] has joined #nixos
steshaw[m] has joined #nixos
groggy[m] has joined #nixos
flip[m]1 has joined #nixos
gudea[m] has joined #nixos
infinisil-m has joined #nixos
srid[m] has joined #nixos
spacekitteh[m] has joined #nixos
sphalerit has joined #nixos
jonreeve[m] has joined #nixos
info_supplicant[ has joined #nixos
Fabian[m]3 has joined #nixos
tejok[m] has joined #nixos
midi[m] has joined #nixos
bee[m]1 has joined #nixos
regnat[m] has joined #nixos
tokudan[m] has joined #nixos
sylvie[m] has joined #nixos
thequux[m] has joined #nixos
thefloweringash has joined #nixos
tilpner[m] has joined #nixos
timokau[m] has joined #nixos
klbrn[m] has joined #nixos
TravisRt2botio[m has joined #nixos
kyleondy[m] has joined #nixos
contrun[m] has joined #nixos
truby has joined #nixos
tyx2q[m] has joined #nixos
kraem[m] has joined #nixos
jwaksbaum[m] has joined #nixos
KarelWDingeldey[ has joined #nixos
ArtemVorotnikov[ has joined #nixos
Dan[m]8 has joined #nixos
Victor[m]2 has joined #nixos
vaibhavsagar has joined #nixos
Vskilet has joined #nixos
tyrion-mx has joined #nixos
wak-work has joined #nixos
mariusz-kowalski has joined #nixos
white_bluff[m] has joined #nixos
wrunt[m] has joined #nixos
wangoe[m] has joined #nixos
yoho[m]1 has joined #nixos
xavierm02 has joined #nixos
weebull[m] has joined #nixos
worldofpeace has joined #nixos
kxlljoyy[m] has joined #nixos
NfixEstrada[m] has joined #nixos
Yakulu[m] has joined #nixos
zmlww[m]1 has joined #nixos
zmlww[m] has joined #nixos
zaphar_ps[m] has joined #nixos
yangm has joined #nixos
nobbo[m] has joined #nixos
provessor[m] has joined #nixos
alex[m]16 has joined #nixos
orospakr[m] has joined #nixos
peterhoeg[m] has joined #nixos
horner has joined #nixos
pop[m]1 has joined #nixos
rnhmjoj has joined #nixos
sonercirit[m] has joined #nixos
smolboye[m] has joined #nixos
Shyim[m] has joined #nixos
seekerus3r[m] has joined #nixos
schmittlauch[m]1 has joined #nixos
submoo[m] has joined #nixos
stites[m] has joined #nixos
syntaxtree[m] has joined #nixos
Sascha[m]3 has joined #nixos
sputny[m] has joined #nixos
tonic0x539[m] has joined #nixos
tindvik[m] has joined #nixos
v0id72[m] has joined #nixos
tobim[m] has joined #nixos
Woland[m] has joined #nixos
vxzero[m] has joined #nixos
vdot0x23[m] has joined #nixos
wildtrees[m] has joined #nixos
y0x3y[m] has joined #nixos
ZD[m] has joined #nixos
sierraDelta has joined #nixos
xbreak[m] has joined #nixos
Gopal[m] has joined #nixos
Tony[m]3 has joined #nixos
<tilpner_>
Yaniel: They can be fine for development too, not every project needs nightly
<Yaniel>
I don't use nightly either
<evanjs>
Either way, this issue seems to persist everywhere in my case ;_;
<tilpner_>
And 1.37 vs 1.38 doesn't make too much of a difference
<evanjs>
1.38 -> 1.39 will though :D
<tilpner_>
evanjs: I still don't trust your shell, but that's all for now
<Yaniel>
other reasons to use rustup: easy access to toolchains for cross-compiling, rls, local docs for the stdlib
<tilpner_>
Yaniel: I'm not arguing it doesn't have many usecases
<Yaniel>
granted, current rls sucks
<Yaniel>
rust-analyzer already works a lot better
<tilpner_>
Yaniel: Just that using the nixpkgs-provided-ones is easier, and might be sufficient
<Yaniel>
sure
calbrecht[mb] has quit [Remote host closed the connection]
<evanjs>
It's going to take some time for futures to really make it's way into various libraries to be usable by async/await, but this gave me a better idea of how the current push affects us
<Yaniel>
last time I tried it it was *noticeably* behind though
<evanjs>
And yeah my rust module is just set to source nightly nixpkgs-mozilla and I have a list of plugins specified so I get everything I would normally with rustup and am only 6-12 hours behind at most
<Yaniel>
as in stuck on edition 2015 while 2018 was out for a couple of versions already
<{^_^}>
rust-lang/rustup.rs#1997 (by jonhoo, 2 weeks ago, merged): Update to most recent viable nightly
<Yaniel>
also I used atom with ide-rust at the time and that threw a fit everytime it couldn't find rustup :P
calbrecht[mb] has joined #nixos
<{^_^}>
[nixpkgs] @nmattia opened pull request #70247 → libbfd: use zlib.dev as input → https://git.io/Jecvn
<evanjs>
Yaniel: that's why I have mine setup this way. The most I have to do is open the dialog that JetBrains prompts me about, and once it opens it automatically finds the newest local rust and I'm done
<Yaniel>
but yes, if your workflow does not need anything other than rustc+cargo then nixpkgs is okay
<teto>
cinimod`: fastest way to start is just to get ghc from nix then use cabal
jojo88 has left #nixos [#nixos]
zupo has joined #nixos
jojo88 has joined #nixos
<cinimod`>
teto: thanks it was a very specific question - I am using cabal2nix on a repo with a license file which is a symbolic link and getting LICENSE: copyFile: does not exist (No such file or directory) - if I replace the symbolic link with a real file then I no longer get that error
<Twey>
What's the deal with doCheck these days? I see something in nixpkgs about the semantics changing?
<Twey>
I have a package that's built for x86_64-unknown-linux-musl on a platform that's x86_64-unknown-linux-gnu. Obviously the build products are still testable, and I'd like to test them, so I set doCheck = true, but it seems that the generic builder refuses to run the check phase because the platforms don't match
<Twey>
I don't know how I should tell it that it's okay to do the tests because these platforms are compatible
judson__ has joined #nixos
hyper_ch2 has quit [Remote host closed the connection]
<{^_^}>
#47236 (by oxij, 1 year ago, merged): bluez-alsa: init at 1.3.1
magnetophon has joined #nixos
<Praesnor>
It doesnt look like the bluealsa service is starting on startup, how should that be configured? Im guessing the makefiles wouldve done it normally, but nix is getting in the way
asymptotically has joined #nixos
captn3m0 has joined #nixos
<Praesnor>
The extent of what Ive done so far - ` environment.systemPackages = with pkgs; [ alacritty bluez-alsa ]; # Enable sound. sound.enable = true; hardware.bluetooth = { enable = true; extraConfig = "[General]Enable=Media,SocketControllerMode = bredr "; powerOnBoot = true; };`
<Praesnor>
The extent of what Ive done so far - ` environment.systemPackages = with pkgs; [ alacritty bluez-alsa ]; # Enable sound. sound.enable = true; hardware.bluetooth = { enable = true; extraConfig = "[General]Enable=Media,SocketControllerMode = bredr "; powerOnBoot = true; };```
<Praesnor>
The extent of what Ive done so far - ``` environment.systemPackages = with pkgs; [ alacritty bluez-alsa ]; # Enable sound. sound.enable = true; hardware.bluetooth = { enable = true; extraConfig = "[General]Enable=Media,SocketControllerMode = bredr "; powerOnBoot = true; };```
<Praesnor>
um
<Praesnor>
right
<gchristensen>
IRC doesn't allow for editing messages, or special formatting :)
<manveru>
there doesn't seem to be a module for bluez-alsa
<magnetophon>
I recently got an invite to join the nixos organisation. Was that some automated mass-invite to everybody with a certain number of commits, or was it more targeted? Can someone enlighten me as to what it means and what is expected from me?
<meatcar>
I'm sure this comes up a lot, but whats the best method to install nixos considering none of the provided ISOs want to boot from any of my USB sticks. Other distro's ISOs work fine.
<manveru>
Praesnor: i'd make an issue on github and mention oxji, maybe he's got something he forgot to share
<manveru>
otherwise, i'd recommend just using pulseaudio for now... it works fine with bluetooth :)
<tilpner>
meatcar: Are you using dd/GNU cp to write the image to the USB stick?
<tilpner>
meatcar: Are you running new hardware that would benefit from a newer kernel (unstable ISO)?
<magnetophon>
gchristensen: OK, read that, sounds good. I'm just a bit uneasy with giving github (aka microsoft) my phone number. :(
<magnetophon>
for the 2fa
<manveru>
there are other 2fa options
<manveru>
phone is by far the worst :P
<meatcar>
tilpner: nothing too new, this laptop's been out for a few years now. Tried using rufus in dd mode on windows, and dd in a linux machine, both failed.
<tilpner>
meatcar: Do you `sync` after writing, and before ejecting?
<meatcar>
affirmative
<tilpner>
Did you verify the sha256 after downloading?
<meatcar>
let me check it now
<magnetophon>
manveru: what do you recommend for 2fa?
<gchristensen>
Google Authenticator (or any other HTOP app like Authy), or Yubikeys (the best option probably)
<manveru>
security key, but otherwise an authenticator app
<gchristensen>
when you wrote to the disk, did you write to `/dev/sdx` or to `/dev/sdx1`?
<tilpner>
meatcar: Hmm, and what happens when you try to boot from it?
<meatcar>
`/dev/sdx`
<tilpner>
meatcar: Do you get to grub?
<magnetophon>
gchristensen: hmm, call me a paranoid nut, but I try to avoid anything google. I don't hae a yubikey either, though I'm not against that. Not sure if it's worth getting one for this though.
<gchristensen>
sure, don't have to use google authenticator -- any HTOP application will work
<meatcar>
it gets stuck at stage 1, `mounting /dev/root on /mnt-root/iso failed`. I googled around first, and saw that people run into that if the drive label gets messed up, but mine seems fine, NIXOS_ISO
<meatcar>
is there a procedure for dropping into a shell at that point, instead of the standard reboot/continue options?
<meatcar>
tilpner: ^^
mmlb has quit [Ping timeout: 240 seconds]
<{^_^}>
[nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JecJk
<tilpner>
meatcar: There are other way to install NixOS, but in your position I would first try to write the image again, to another stick, and see if it fails the same way
<meatcar>
I've tried multiple sticks, looking for the "other" options now.
setthemfree[m] has joined #nixos
setthemfree[m] has quit [Changing host]
<meatcar>
I found a couple of random readmes detailing steps to do it from Ubuntu, I was wondering if there are more "officially sanctioned" versions.
<tilpner>
Ehh, they're all more exotic than the live stick
<tilpner>
meatcar: You can build the install tools on any other system that has Nix available
<tilpner>
meatcar: Or you can kexec into a NixOS system from most Linux installations (live systems too)
<tilpner>
But those are not as easy as "boot this image, hit nixos-install"
<andi->
I am not sure what that installer is doing at that point but it reminds me for the need of some PCI-E drivers on my XPS13 if I want to boot from micro sd cards.
<andi->
It was a similar error.
<meatcar>
andi-: that could be it, I'm also on a Dell. Did you end up building you own live-install media?
<meatcar>
With the appropriate drivers?
<andi->
meatcar: well in my case I just used an USB stick instead of the SD card. Are you able to boot a Ubuntu live stick and check what kernel modules are being loaded?
<{^_^}>
#67821 (by andir, 4 weeks ago, open): Installer ISO stuck in stage1 when booted from (micro) SD card
werner291 has quit [Remote host closed the connection]
<andi->
meatcar: you can try appending boot.debug1devices to your kernel commandline and then inspect the situation
acarrico has quit [Ping timeout: 265 seconds]
gentauro has quit [Read error: Connection reset by peer]
silver has joined #nixos
<andi->
alternativly if `boot.debug1devices` doesn't work try `boot.shell_on_fail`
<andi->
(We should probably document most of these…)
gentauro has joined #nixos
<meatcar>
Thanks, that'll help.
hmpffff_ has quit [Quit: nchrrrr…]
Praesnor has quit [Remote host closed the connection]
<zfnmxt>
It's unclear to me how to get a Python dependency from pip to install a package. What's the recommendation for this sort of thing?
zupo has joined #nixos
<andi->
With install a package you mean a nix packaged pip package or just adding it to your virtualenv?
zupo has quit [Client Quit]
<zfnmxt>
Well, I'm a bit confused by the virtualenv stuff to be honest. I'm trying to package this up: https://github.com/poljar/weechat-matrix . It depends on Python matrix-nio library, which doesn't have a corresponding nix package.
acarrico has joined #nixos
<emily>
you'll need to add a package for that one too
<zfnmxt>
Ah, okay. Wasn't sure if that was necessary or not.
<simpson>
zfnmxt: You'll want to take it slowly, working one package at a time and keeping a list of missing packages left to add.
hmpffff has joined #nixos
<simpson>
Also, resist the temptation to curse at the Python ecosystem for refusing to add enough metadata to PyPI.
<tilpner>
zfnmxt: Hey! I already have that packaged
<tilpner>
It wasn't up to nixpkgs standards (still isn't), and I didn't have time for a PR when I needed weechat-matrix
<andi->
I also have something like that on my todo list.. I've been working on Nix managed weechat plugins including a mechanism to declare dependencies of each individual script.
<andi->
Has worked fine for a year now yet I haven't gotten around to upstream it :/
<andi->
At least it lead to weechat no longer using md5 for the scripts…
is_null has quit [Ping timeout: 240 seconds]
<meatcar>
andi-: tilpner: figured out the USB booting issue, my BIOS was booting it from UEFI mode. Set it to"Legacy" and it worked fine.
<meatcar>
andi-: UEFI still works (rEFInd loads for my arch install)
hyper_ch2 has joined #nixos
dansho has quit [Ping timeout: 265 seconds]
<tilpner>
andi-: I've accepted the state, fully declarative weechat was too painful :c
<andi->
tilpner: well I started hating the python dependencies and then decided to just declare them all in the config with nicely separated python environments (weechat loads each of them in a dedicated interpreter instance, patching the python lookup path for each of them seemed to be nicer then patching the python that is passed to weechat)
dansho has joined #nixos
<teto>
weechat config can be unpleasant: if only it followed XDG, I wouldn't have the logs in my config folder (maybe that's configurable)
endformationage has joined #nixos
<andi->
You can configure that
<andi->
but I agree.. It could be better. Sadly it expects some "home directory" where it can do whatever it has to do
<dminuoso>
So Im nixops'ing our mail setup. As part of writing config for our dovecot, I need to bring a bash script that uses an executable from dovecot. Would something like `{ writeText, dovecot, config }: writeTextFile { executable = true; name = "foo.sh"; text = "#!/usr/bin/env bash; ... ${dovecot}/libexec/dovecot/dovecot-lda ..."}` be acceptable?
<dminuoso>
Or should I rather make a derivation for every script?
<fling>
rndd: everything online, no fsck, can go back in time…
<rndd>
fling: it kills bsd
<fling>
how why?
<emily>
everyone wanna zfs because ext4 is a 90s filesystem.
<rndd>
fling: as I know zfs was on bsd 0_0
<emily>
and btrfs is unstable and weird. and bcachefs is unfinished
<fling>
emily: ext4 is not a real journaled fs
<emily>
mhm
<fling>
journaled filesystem will not need fsck
<emily>
I mean, it works surprisingly well for basically being souped-up ext2
<fling>
it works well until fsck decides you need to perform additional fsck stages
<emily>
but ZFS is ofc way ahead
<emily>
anyway, since when do BSDs even support ext4?
<emily>
last I checked openbsd is still all ufs all the way or whatever
<emily>
FreeBSD supports ZFS though
<fling>
which could take like 24G ram for 30M inode filesystem and take weeks to complete before you will be able to mount
<fling>
ntfs works better :P
<fling>
ext4 is there probably because linux wanted their own filesystem and not xfs
growpotkin has joined #nixos
ubert has quit [Ping timeout: 240 seconds]
dm9 has joined #nixos
rsoeldner has joined #nixos
<emily>
tbh I've heard worse corruption/data loss horror stories from xfs than ext4
<fling>
have a link?
<fling>
zfs is worse with silent corruptions :D
rndd has quit [Remote host closed the connection]
<emily>
just google "xfs data loss", stuff getting zeroed out on power failure and the like
<fling>
developers decided to implement coc to mate with linux instead of addressing silent corruptions and providing ways of detecting them recovering affected pools.
<fling>
so no filesystem is the best
<Taneb>
That's why I don't use one
<fling>
cbfs is the best :D
<fling>
Taneb: no filesystem? Smart.
<Taneb>
Can't lose data if you don't have data ;)
<fling>
exactly!
<fling>
this is what I should do.
fusion809 has quit [Remote host closed the connection]
doublex has joined #nixos
<dminuoso>
Mmm, is there a simple trick to create two shell scripts in the store that reside in the same directory? Or is a manual derivation the only way?
<gchristensen>
dminuoso: you could use writeShellScriptBin and buildEnv to combine them
growpotk- has quit [Ping timeout: 240 seconds]
rsoeldner has quit [Remote host closed the connection]
rsoeldner has joined #nixos
horner_ has joined #nixos
Chiliparrot has joined #nixos
<dminuoso>
Is there any official documentation on buildEnv?
drakonis has joined #nixos
<dminuoso>
Or should me, being Luke, use the source?
<gchristensen>
I usually use that search.nix.gsc.io to look for examples
<dminuoso>
That's a strange coping mechanism :P
<dminuoso>
But I suppose it works
horner has quit [Ping timeout: 252 seconds]
jmeredith has joined #nixos
sigmundv_ has quit [Ping timeout: 265 seconds]
<yorick>
gchristensen: nice, thanks!
<gchristensen>
which? :)
<yorick>
search.nix.gsc.io
<{^_^}>
[nix] @NinjaTrappeur closed pull request #2046 → Tell user why a given path is live when it can't be deleted → https://git.io/vxSmk
<gchristensen>
ah! :)
<shyim>
Can i use env variables in my nix file?
<shyim>
like for virtualHost domain of nginx
<andi->
> builtins.getEnv "HOME"
<{^_^}>
""
<andi->
shyim: ^
<shyim>
ahh thanks! :)
wfranzini has quit [Remote host closed the connection]
<{^_^}>
[nixpkgs] @jwiegley merged pull request #70247 → libbfd: use zlib.dev as input → https://git.io/Jecvn
<infinisil>
fresheyeball: Did you figure out how the vim lsp client finds the project root?
<teto>
fresheyeball: my vim config is a mix of nix-based and sourcing $XDG_CONFIG_HOME/nvim/init.vim, I recommand to try coc.nvim. It doesn't really work the nix-way (yet) but you cacn configure it to use hie or pyls (etc)
<fresheyeball>
infinisil: not yet, but I can make progress now I thing
<fresheyeball>
think*
zupo has joined #nixos
<fresheyeball>
infinisil: ok I got it to find the project root
<fresheyeball>
and no change, wtf
<fresheyeball>
same error
<fresheyeball>
it can't find HTTP-4000
ixxie has joined #nixos
<infinisil>
fresheyeball: You can now pass --vomit and -l
<wucke13>
Has someone here used lxd on nixos in the past months?
<otwieracz>
Am I capable to keep "development" nixpkgs somewhere on side, not to use them in real system configuration?
drewr has quit [Quit: ERC (IRC client for Emacs 26.3)]
<mdash>
otwieracz: yes
<otwieracz>
I mean, I expect that is possible as nix can be even installed single user.
<otwieracz>
But I am asking about recommended workflow.
<mdash>
otwieracz: it's fine
<otwieracz>
Last time I have developed something few years ago I was using my own fork of nixpkgs system wide.
dansho has quit [Ping timeout: 265 seconds]
<otwieracz>
I'd rather not go that way right now.
<mdash>
you can just set $NIX_PATH when you want to use it.
<otwieracz>
OK. And later I need to create module for my package. How can I, keeping whole system stable, use my module and package in it?
<otwieracz>
I don't want to switch my whole system to my own fork (I don't even run `master` branch, just `stable` release)
<mdash>
otwieracz: you can just import it
<Athas>
Is there a convention for how to name a commit that adds another platform to an existing derivation?
<bgamari>
gchristensen, should 19.09 just work on Packet hardware?
<gchristensen>
bgamari: I believe so
drewr has joined #nixos
<mdash>
otwieracz: why are you creating a new fork of nixpkgs? are you developing stuff you want to go upstream?
<gchristensen>
bgamari: having trouble?
<bgamari>
gchristensen, bonding interface doesn't come up
<gchristensen>
:|
<gchristensen>
cc arianvp
<arianvp>
Yeh 19.09 isn't working on packet yet. There's an open issue for it
<arianvp>
I honestly still not sure what it is. Its over my head
<bgamari>
gchristensen, I suspect "bond0: Warning: No 802.3ad response from the link partner for any adapters in the bond
<bgamari>
" has something to do with it
<{^_^}>
[nixpkgs] @athas opened pull request #70260 → Do not test on the "host" target. → https://git.io/JecIa
<bgamari>
arianvp, intriguingly I tried spinning up a t1 instance and tried upgrading it to release-19.09 and it seemed to come up without any trouble
aveltras has joined #nixos
<bgamari>
there are some differences in /etc/nixos/packet
<bgamari>
the bonding mode is different
<otwieracz>
mdash: Yes.
<otwieracz>
But I've got another question.
<gchristensen>
bgamari: yeah, different host types have different bonds
<bgamari>
ahh, alright
<otwieracz>
Here https://nixos.org/nix/manual/#chap-writing-nix-expressions everything looks completely different from what I remember and how other packages in tree look like. Whole `builder` approach, and how stdenv is inherited: Example 14.3. Composing GNU Hello (all-packages.nix)
<arianvp>
bgamari: that instance only has one network port. So no bonding
<bgamari>
the "Hardware" pane of the instance claims "NIC2 x 1Gbps Bonded Ports"
<ar>
maybe it's just "naive" rr-bonding, instead of 802.3ad?
<otwieracz>
Can't locate CPANPLUS/Backend.pm in @INC (you may need to install the CPANPLUS::Backend module) (@INC contains: /nix/store/hbpv13fxgmqnbifhm9g27nx5dm9zqf7v-perl-5.28.1/lib/perl5/site_perl/5.28.1/x86_64-linux-thread-multi /nix/store/hbpv13fxgmqnbifhm9g27nx5dm9zqf7v-perl-5.28.1/lib/perl5/site_perl/5.28.1 /nix/store/hbpv13fxgmqnbifhm9g27nx5dm9zqf7v-perl-5.28.1/lib/perl5/5.28.1/x86_64-linux-thread-multi
<otwieracz>
/nix/store/hbpv13fxgmqnbifhm9g27nx5dm9zqf7v-perl-5.28.1/lib/perl5/5.28.1) at maintainers/scripts/nix-generate-from-cpan.pl line 8.
<otwieracz>
BEGIN failed--compilation aborted at maintainers/scripts/nix-generate-from-cpan.pl line 8.
<{^_^}>
[nixpkgs] @Lassulus pushed commit from @r-ryantm to staging « wavebox: 4.7.3 -> 4.11.3 »: https://git.io/JecLA
<arcnmx>
hm, does the nix daemon have any interface that could be used to get info/progress about ongoing builds that were initiated from somewhere else? or like a dbus event interface or something?
hink_ornl has quit [Remote host closed the connection]
<exarkun>
there's `nix-top` but it just scrapes ps, basically. dunno if there is anything better. if so maybe nix-top would have used it.
xkapastel has quit [Quit: Connection closed for inactivity]
<arcnmx>
ah, hm, will look into that at least
<clever>
arcnmx: ive typially done it by reading /proc and understanding what its fields mean
<gchristensen>
edef: if you're able to do that, that would be wonderful :) (but I thought you had one already, I didn't mean to ask you to make one :))
<clever>
and if you check netstat on the other end, you can map that port back to a pid, then check the tree again
<clever>
arcnmx: in my case, the parent of that ssh is hydra-queue-runner
xkapastel has joined #nixos
<arcnmx>
hmm o:
<clever>
arcnmx: but another common situation, is that youll run into a `nix-daemon 29850` process, that is a worker process
<simpson>
kongobongo: ARM is supported in the abstract. However, since ARM chips usually come as part of a packaged board, and support usually tends to be board-by-board, it can be hit-or-miss. #nixos-aarch64 is a dedicated channel for this stuff.
<kongobongo>
it's an old iMX6 so there should be no issues with blobs. I will switch to the linked channel.
wfranzini has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}>
[nixpkgs] @Lassulus pushed commit from @evanjs to master « gitkraken: 6.2.0 -> 6.2.1 »: https://git.io/Jecm4
<tyrion-mx>
Hello, I added nerdfonts to my fonts.fonts section in configuration.nix, but it gets stuck on curl https://pastebin.com/P7JybK5g . I am not sure if it is doing anything because nothing is moving
<tyrion-mx>
can anyone install nerdfonts from nixos-unstable?
<ivan>
tyrion-mx: I think curl is just being deceptive, it's probably still downloading, check dstat/nethogs
civodul has quit [Remote host closed the connection]
civodul has joined #nixos
<tyrion-mx>
umh, ok! I suspected that, I will let it run for a bit. Maybe nerdfonts is pretty big
<{^_^}>
[nixpkgs] @cko opened pull request #70280 → spark: 2.4.3 -> 2.4.4; remove 1.6.3 (EOL); clean up → https://git.io/JecmV
<tilpner_>
tyrion-mx: Noto alone is 900MB
<infinisil>
nerd fonts is huge
<infinisil>
I think it's the biggest thing in my system closure
<{^_^}>
[nixpkgs] @Lassulus pushed commit from @moaxcp to master « micronaut 1.2.1 -> 1.2.3 »: https://git.io/JecmF
<{^_^}>
[nixpkgs] @pstn opened pull request #70281 → rssguard: Add wrapQtAppsHook to run app in all environments. → https://git.io/Jecmp
<tyrion-mx>
probably the thing I like the most about Nix is that I can Ctrl+C without worries of making a mess in my system :D
<arcnmx>
hm a question about _module.args... I'm finding it seems to eagerly evaluate everything (_module.args.a = throw "aaa" throws even if a is never used anywhere), are there any ways to work around this so that it... doesn't?
<selfsymmetric-pa>
What is nerd fonts good for?
knupfer has quit [Quit: knupfer]
<selfsymmetric-pa>
I install `font-awesome-ttf` for icons in Firefox, `google-fonts` since I like some of them, and `sarasa-gothic` for CJK support in my editor.
knupfer has joined #nixos
<selfsymmetric-pa>
Does `nerdfonts` make font-awesome better somehow?
<infinisil>
(I hope it does for you, because then we can bisect our nixpkgs versions :))
<arcnmx>
infinisil: how about the gist I linked? the issue seems to be that it evaluates all args if you use any one of them, though won't if none are used
<arcnmx>
I think?
<infinisil>
Ah
zupo has quit [Read error: Connection reset by peer]
<arcnmx>
I guess I'm wondering if there's some possible way to wrap a value in such a way that it doesn't get evaluated but still can be passed to the module? like a { type = "_barrier"; content = throw "aaa"; } sort of thing maybe?
kleisli has quit [Ping timeout: 276 seconds]
<infinisil>
Yeah I thought about this too
<infinisil>
Would be possible
<infinisil>
By adjusting the module system to handle this
<arcnmx>
oh as it turns out, yeah, { _type = ""; content = throw "AAA"; } does indeed work
<{^_^}>
[nixpkgs] @schmittlauch opened pull request #70287 → [backport] corebird: drop discontinued package and replace with cawbird → https://git.io/JecYP
<infinisil>
arcnmx: But then it would evaluate to the wrong thing no?
<{^_^}>
#45345 (by vmandela, 1 year ago, merged): nixos/install-grub: include child configs in grub menu
wfranzini has quit [Ping timeout: 268 seconds]
cinimod` has quit [Ping timeout: 245 seconds]
<infinisil>
(see motivation section)
<l33>
leo... what are you deploying to?
<leo_>
l33: none
<l33>
?
<leo_>
ssh I'd just do `ssh -i mykey`
hoppfull has joined #nixos
<leo_>
What about nixops?
<leo_>
l33: `targetEnv = "none";`
<arcnmx>
infinisil: my issue is specifically that args.pkgs is being evaluated when I try to access unrelated properties in submodules
<leo_>
i.e localhost, a NixOS machine
<elvishjerricco>
infinisil: Sure, but changing between configs that are only slightly different is a job for `nesting.clones`, not `nesting.children`
<infinisil>
arcnmx: Hm but why do you have an arg that errors?
<hoppfull>
I don't understand this. I ran nix-shell '<nixpkgs>' -A nodejs-11_x and were put into a new context but commands npm and node doesn't exist. Did I miss something?
<leo_>
AAAAH
<hoppfull>
Did I missunderstand how nix-shell works?
<infinisil>
elvishjerricco: Hm yeah. I can imagine it being useful if 2 people want to share a machine
coco has quit [Quit: WeeChat 2.6]
<samueldr>
hoppfull: with nix-shell, -A is used to get a build environment for the attribute given; try with -p instead
Jackneill has joined #nixos
<leo_>
SSH_ARGS
<leo_>
Ok.
<hoppfull>
samueldr: thanks!
<samueldr>
(and no '<nixpkgs>')
<hoppfull>
samueldr: ok
<arcnmx>
infinisil: Oh I don't, I just used that as a simple test case. What's actually happening is each submodule's pkgs uses a different pinned version of nixpkgs and it basically triggers a bunch of unnecessary nixexpr tarball downloads.
<infinisil>
arcnmx: Ohh I see, neat, that's a great example for why lazyAttrsOf is justified
selfsymmetric-pa has quit [Remote host closed the connection]
<leo_>
l33: know how?
<arcnmx>
infinisil: mm it certainly would help here! heh
<{^_^}>
[nixpkgs] @Infinisil closed pull request #57975 → Redshift add early startup option, rewrite to use toINI and add more options → https://git.io/fjfuM
<elvishjerricco>
Now it's happening almost every time I reboot. Wtf
mexisme has joined #nixos
<elvishjerricco>
Looked at `journalctl -b -1`, and found all the expected messages about shutting down services and whatnot, then `kernel: BUG: unable to handle page fault for address: ffffb7b5809a5002`
<clever>
elvishjerricco: any backtrace?
<elvishjerricco>
nope
jgeerds has quit [Ping timeout: 245 seconds]
<infinisil>
elvishjerricco: That's why it's a bad idea to never reboot the machine :P
Soo_Slow has joined #nixos
xkapastel has quit [Quit: Connection closed for inactivity]
* elvishjerricco
disables plymouth, reboots, and sees the plymouth screen
<elvishjerricco>
wut
<clever>
elvishjerricco: is /boot correctly mounted when you rebuild?
jkachmar has quit [Quit: Connection closed for inactivity]
<elvishjerricco>
Yup
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<clever>
elvishjerricco: efi or legacy?
<elvishjerricco>
efi
mbrgm_ has joined #nixos
<clever>
elvishjerricco: what args did you give to nixos-rebuild?
<clever>
elvishjerricco: systemd-boot or grub?
<elvishjerricco>
I rebuilt and the activation output indicated changes were made, so I guess the rebuild didn't take last time or something
<elvishjerricco>
grub
<elvishjerricco>
nixops with targetHost = "localhost", not nixos-rebuild
mbrgm has quit [Ping timeout: 245 seconds]
mbrgm_ is now known as mbrgm
<clever>
elvishjerricco: should still work in that case
shibboleth has quit [Quit: shibboleth]
<clever>
elvishjerricco: compare /run/current-system before and after you reboot, any differences?
hmpffff has quit [Quit: nchrrrr…]
o1lo01ol1o has quit [Ping timeout: 240 seconds]
hmpffff has joined #nixos
<elvishjerricco>
clever: I think I made a dumb
hmpffff has quit [Client Quit]
<clever>
elvishjerricco: ?
<elvishjerricco>
I was using `--force-reboot` to get it to just `switch-to-configuration boot` and immediately reboot.
<elvishjerricco>
I think this made problems :P
<clever>
ah
<elvishjerricco>
From now on I'll use `&& reboot` lol
<clever>
to the source!
<{^_^}>
[nixpkgs] @worldofpeace merged pull request #70293 → corebird: move deprecation warning to aliases and release notes → https://git.io/JecO1
<{^_^}>
[nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/Jec3k
<clever>
elvishjerricco: i would expect that to still work...
<elvishjerricco>
Ok the hanging reboot thing just happened again. So that wasn't caused by --force-reboot. Though I still bet --force-reboot had something to do with my rebuild not taking that one time
andreabedini has quit [Ping timeout: 276 seconds]
<elvishjerricco>
The hanging reboot only occurs sometimes though, so that's really confusing
andreabedini has joined #nixos
<clever>
could be hanging for other reasons
<elvishjerricco>
There's nothing to be other than. I have no idea what's causing it :P
reallymemorable has joined #nixos
<{^_^}>
[nixpkgs] @worldofpeace pushed 3 commits to release-19.09: https://git.io/Jec3G
<{^_^}>
[nixpkgs] @worldofpeace closed pull request #70287 → [backport] corebird: drop discontinued package and replace with cawbird → https://git.io/JecYP
hoppfull has joined #nixos
<elvishjerricco>
Hmm the hangs always seem to come after some zfs stuff in journalctl
<hoppfull>
I just ran nix-channel --update and got a "Segmentation fault". That basically means shut everything down and reboot right because anything could happen, right?
<{^_^}>
[nixpkgs] @Infinisil pushed to release-19.09 « nixos/nix-daemon: Prevent network warning when checking config »: https://git.io/Jec3l
<hoppfull>
never mind, I'm rebooting this
<ivan>
hoppfull: ulimit -s unlimited
<ivan>
or check journalctl -b for a cause
<hoppfull>
I don't understand how you can get a damn segmentation fault in 2019.
<elvishjerricco>
There's always `Started Sync ZFS pool "unimportant-pool"`, then something about usbuxd.service, then it varies from reboot to reboot. This time, I got the `kernel: BUG` message again, but a lot of call trace output afterwards (maybe one for each core?), and then more ZFS messaging
<hoppfull>
thanks for everything
hoppfull has quit [Remote host closed the connection]
<clever>
elvishjerricco: systemd-analyze plot
<clever>
elvishjerricco: look at the image that generates
<elvishjerricco>
clever: What am I looking for?
<clever>
elvishjerricco: it can show how long everything takes, and what it waited for
<elvishjerricco>
clever: That's for the current boot though, right? My issue is that rebooting causes the system to hang during the shutdown part
<clever>
hmmm yeah, dont think it can graph shutdown
l33 has quit [Ping timeout: 276 seconds]
<{^_^}>
[nixpkgs] @worldofpeace pushed to master « cawbird: fix build with vala 0.46 »: https://git.io/Jec3V
orivej has quit [Ping timeout: 265 seconds]
horner has quit [Remote host closed the connection]
waleee-cl has quit [Quit: Connection closed for inactivity]
horner has joined #nixos
jluttine has quit [Ping timeout: 276 seconds]
<{^_^}>
[nixpkgs] @jtojnar pushed 721 commits to staging-next: https://git.io/Jec3A