<cdepillabout>
Would someone be able to do a review (and hopefully a merge) of this PR: https://github.com/NixOS/nixpkgs/pull/61036? It adds a nixos option to add memtest86 to the systemd efi boot menu.
<{^_^}>
#61036 (by cdepillabout, 2 weeks ago, open): nixos/systemd-boot: add support for memtest86 EFI app
<mjrosenb>
I have a nix expr which builds a haskell program with ghcjs, and am using it inside of a nix-shell. I'd also like this nix shell to be able to build the same project with ghc. Can anyone point me towards a nix expr that can build two exectuables?
alexherbo2 has quit [Ping timeout: 258 seconds]
jackdk has joined #nixos
abathur has joined #nixos
<{^_^}>
[nixpkgs] @matthewbauer merged pull request #61036 → nixos/systemd-boot: add support for memtest86 EFI app → https://git.io/fj4Ov
<{^_^}>
[nixpkgs] @matthewbauer pushed 3 commits to master: https://git.io/fj4Of
fusion809 has quit [Remote host closed the connection]
<gchristensen>
anyone using znapzend? my prestart runs "Importing znapzend zetup /nix/store/d520gi2zzlizyy9l59scx47c3x5hr3ml-npool for dataset npool" and then times out and gets killed, seemingly it never finishes (even when I run it manually on the CLI) with no output
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
halfbit has joined #nixos
ddellacosta has joined #nixos
<gchristensen>
hrm, seems to only work if you enable znapzend and then add datasets
<gchristensen>
no that isn't true. I lied. that also doesn't work.
schjetne has quit [Ping timeout: 245 seconds]
mexisme has quit [Ping timeout: 255 seconds]
infinisil has quit [Quit: Configuring ZNC, sorry for the joins/quits!]
infinisil has joined #nixos
<ddellacosta>
folks how does one make a decision on what to pin something to? I mean nixpkgs-unstable vs. some version of nixos, etc.? And why any given commit? I've been pointed at https://howoldis.herokuapp.com/ before, but it still seems kind of arbitrary--I don't understand the reasoning behind it.
toppler`` has quit [Ping timeout: 268 seconds]
ym555 has quit [Quit: leaving...]
infinisil has quit [Client Quit]
infinisil has joined #nixos
esmerelda has joined #nixos
toppler`` has joined #nixos
<cdepillabout>
ddellacosta, ideally you want to pin to a commit where most of the packages have been built by hydra and cached so you don't have to build anything by yourself.
<cdepillabout>
howoldis shows the latest commits for 19.03 and unstable that have been fully(?) built by hydra.
<ddellacosta>
cdepillabout: thanks!
<cdepillabout>
Whether you use unstable vs 19.03 is more up to you.
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Ping timeout: 244 seconds]
drakonis_ has joined #nixos
pointfourone has joined #nixos
drakonis has quit [Ping timeout: 257 seconds]
pointfourone has quit [Remote host closed the connection]
drakonis1 has quit [Quit: WeeChat 2.4]
___quietlaika has quit [Ping timeout: 244 seconds]
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<markasoftware>
can i inspect which firewall ports are open?
<kleisli>
anyone know if it is possible to add dependencies to a given derivation using .override?
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
<kleisli>
i have a derivation for a custom emacs (created using `emacsWithPackages`), and I want to force it to depend on some other packages (like texlive)
<Shados>
kleisli: override only changes the inputs to some function that takes an attribute set as input. overrideAttrs lets you override the attributes passed to a derivation's stdenv.mkDerivation call. That said, I suspect there is an emacs-derivation-specific mechanism for extending it...
<jackdk>
I'm not adding deps to the emacs derivation, but I encode binaries into a .el file so everything has full paths
<kleisli>
thank you both @jackdk @Shados
InFlames has joined #nixos
schjetne has joined #nixos
___quietlaika has joined #nixos
<kvda>
How do I make sure that postgres daemon starts on entering nix-shell, and shutdowning on exit?
snajpa has quit [Read error: Connection reset by peer]
snajpa- is now known as snajpa
aither has joined #nixos
Adluc has quit [Excess Flood]
Adluc has joined #nixos
srk has joined #nixos
sigmundv has quit [Ping timeout: 245 seconds]
iyzsong has joined #nixos
Neo-- has joined #nixos
<Taneb>
Issue I'm facing: I want to make something overridable in my work's nix code, but it winds up in the attribute set we've got in CI and our Hydra server gets upset when it tries to build the "override" function.
<Taneb>
How can I get around this?
InFlames has quit [Ping timeout: 255 seconds]
cfricke has quit [Quit: WeeChat 2.4]
cfricke has joined #nixos
Neo-- has quit [Ping timeout: 264 seconds]
sigmundv has joined #nixos
<teto>
builtins.fetchGit is stuck. How can I debut this ? I tried to export CURL_TRACE=1
<infinisil>
Taneb: How about just filtering override out of hydra's attrset
<infinisil>
(I never used hydra, but I'd think this should be possible)
<infinisil>
s/just// (I'm trying to avoid this word because it makes it sound like everything is easy)
NickSeagull2 has joined #nixos
<Taneb>
infinisil: sounds not too difficult, I'll give it a go after lunch
zupo has quit [Ping timeout: 245 seconds]
NickSeagull has quit [Ping timeout: 245 seconds]
linarcx has joined #nixos
winem_ has joined #nixos
Cale has quit [Ping timeout: 248 seconds]
vid has joined #nixos
winem_ has quit [Remote host closed the connection]
fendor has joined #nixos
sveitser1 has quit [Remote host closed the connection]
toppler`` has quit [Ping timeout: 264 seconds]
<gchristensen>
I tried setting up znapzend last night. It's prestart takes "forever" and eventually is killed by systemd due to timeout, its last line printed is my prestart runs "Importing znapzend zetup /nix/store/d520gi2zzlizyy9l59scx47c3x5hr3ml-npool for dataset npool". here is my concfig: https://gist.github.com/grahamc/fe0989481bd8817e9f2f0c67774663fd anyone seen this before / have ideas?
drakonis has joined #nixos
lux2 has joined #nixos
drakonis1 has joined #nixos
drakonis_ has quit [Ping timeout: 258 seconds]
sveitser1 has joined #nixos
<infinisil>
gchristensen: Weird, try running the znapzendzetup command outside of systemd
averell has quit [Quit: .]
cfricke has quit [Quit: WeeChat 2.4]
toppler`` has joined #nixos
cfricke has joined #nixos
rauno has quit [Ping timeout: 258 seconds]
<gchristensen>
I tried running the pre-start script (which calls import) outside of systemd and it behaved the same. running `/nix/store/rmfw0xcgx0clb2jq4bc8n34hwzql0591-znapzend-0.18.0/bin/znapzendzetup import --write npool /nix/store/7yf9318kxxm1kkpdm9hkrm1kshifay3m-npool` does the same
<sakalli`>
so where would i get the most simple how to regarding the setup of this when using nixos. https://zulipchat.com/integrations/doc/irc also, trying to keep most of my declarations in configuration.nix and granted this does what it says it does this will be running in the background all the time.
romildo has joined #nixos
<sakalli`>
but a nix-shell solution would be ok, at least to start with.
<Orbstheorem>
Hello !, Why if I run `nix-shell -p libGLU.dev` g++ is able to find GL/glu.h, but if I add it to system packages it cannot ?
<Orbstheorem>
I'm trying to run clion inside nix-shell, but it doesn't seems to see the extra headers :(
domogled has joined #nixos
npmccallum has quit [Quit: npmccallum]
<clever>
,libraries Orbstheorem
<{^_^}>
Orbstheorem: Don't install libraries through nix-env or systemPackages, use nix-shell instead. See https://nixos.wiki/wiki/FAQ/Libraries for details.
drakonis1 has quit [Ping timeout: 257 seconds]
wfranzini has joined #nixos
dminuoso has joined #nixos
<dminuoso>
Hiya. I want to use infocmp, but Im a bit unsure how to run a shell that has infocmp in its environment.
cfricke has quit [Quit: WeeChat 2.4]
xelxebar has quit [Remote host closed the connection]
<yorick>
cabal2nix: user error (No such package MissingH-1.4.1.0 in the cabal database. Did you run cabal update?)
<yorick>
?!
<yorick>
it has newer versions
justanotheruser has quit [Ping timeout: 255 seconds]
<yorick>
cabal get can get this version
<yorick>
what's going on?
victorbjelkholm has joined #nixos
<victorbjelkholm>
quick question. Trying to setup nixos (first time) with awesomewm. Found the following that describes the options I have for the awesome module: https://github.com/NixOS/nixpkgs/blob/release-19.03/nixos/modules/services/x11/window-managers/awesome.nix one of the examples there is `luaModules` where I'm supposed to be able to use `[ luaPackages.oocairo ]`. But obviously, `luaPackages` have to come from somewhere
<attente[m]>
on that note... has anyone been using a yubikey with gpg-agent? i noticed recently that it doesn't detect the presence of the yubikey any more without taking it out and putting it back in again
<gchristensen>
okay infinisil I know why we don't do it by default. `May 21 13:41:55 flexo.gsc.io znapzend[26883]: *** WARNING: executable '/nix/store/wf981nnwjmnz503wjrriynhwddnszjzb-mbuffer-20190113/bin/mbuffer' does not exist on ogden`
<infinisil>
Ahh
asheshambasta_m has joined #nixos
<infinisil>
Oh wait why does it use the absolute path on a remote host
<infinisil>
Darn, it probably tries to use the same binary as the mbuffer it gets on the local host
<infinisil>
Not good
<gchristensen>
maybe nixops could introduce the idea of remote GC roots
<v0id72[m]>
was wondering if someone could help me with i3 and editing the i3status file. As i cannot access it as its in the store still :(
<Synthetica>
v0id72[m]: I'll bite, what exactly is your problem?
<v0id72[m]>
the i3status file is only in the store and unable to find it at the supposed locations that it should be aat
praetorg_ has joined #nixos
<v0id72[m]>
have i3 going just not able to change the info on the bar
vid has quit [Ping timeout: 245 seconds]
<gchristensen>
my /etc/i3/config file includes bar { status_command /nix/store/6qhp82k730jmkyk8s3l9hskhcswqpx0l-i3status-2.12/bin/i3status -c /nix/store/nc487kc1blq2752n6hhr67fwga4hax4w-i3status }
callahad7 has joined #nixos
<gchristensen>
when my system config updates I reload the config and the bar changes
sellout-1 has joined #nixos
andersk_ has joined #nixos
aw_ has joined #nixos
_rvl_ has joined #nixos
v0|d` has joined #nixos
asymmetric_ has joined #nixos
duckfullstop has joined #nixos
travelion6 has joined #nixos
bvdw has joined #nixos
pukkamustard_ has joined #nixos
lunik18 has joined #nixos
m1crOman has joined #nixos
LeshaInc1 has joined #nixos
puckipedia has joined #nixos
coderobe5 has joined #nixos
<{^_^}>
[nixpkgs] @cdepillabout opened pull request #61806 → memtest86-efi: backport to 19.03 → https://git.io/fj44v
nD5Xjz_ has joined #nixos
acarrico has joined #nixos
dhkl has joined #nixos
tA_ has joined #nixos
akapav_ has joined #nixos
coderobe5 is now known as coderobe
coderobe has quit [Killed (wolfe.freenode.net (Nickname regained by services))]
buffet_ has joined #nixos
simukis__ has joined #nixos
xvnvx- has joined #nixos
mexisme_ has joined #nixos
<v0id72[m]>
gchristensen:
<v0id72[m]>
problem is no etc/i3
srid6 has joined #nixos
dsx has quit [Quit: dsx]
petercom1and has joined #nixos
nckx- has joined #nixos
statusfa1led has joined #nixos
jfroche_ has joined #nixos
enteee_ has joined #nixos
drgbr_ has joined #nixos
mg_ has joined #nixos
apeyroux_ has joined #nixos
kumikumi_ has joined #nixos
page_ has joined #nixos
reivilibre_ has joined #nixos
ben_____ has joined #nixos
eraserhd2 has joined #nixos
eliasp_ has joined #nixos
anderslu1dstedt has joined #nixos
linarcx1 has joined #nixos
zemm_ has joined #nixos
Jetien_ has joined #nixos
BlessJah1 has joined #nixos
jD91mZM2_ has joined #nixos
is_null_ has joined #nixos
bob_twinkles_ has joined #nixos
max4 has joined #nixos
<gchristensen>
set services.xserver.windowManager.i3.configFile = "/etc/i3/config"; environment.etc."i3/config".source = ./your-i3-config;
exarkun_ has joined #nixos
lux3 has joined #nixos
lor|d has joined #nixos
oleks_ has joined #nixos
Maxdaman1us has joined #nixos
exarkun_ is now known as Guest55634
bsima- has joined #nixos
cross_ has joined #nixos
j4m3s1 has joined #nixos
lord| has quit [Disconnected by services]
lor|d is now known as lord|
coderobe has joined #nixos
eof_ has joined #nixos
WizzieB has joined #nixos
evilmonads_ has joined #nixos
dsx has joined #nixos
waleee has joined #nixos
sellout- has quit [*.net *.split]
Jetien has quit [*.net *.split]
polman has quit [*.net *.split]
linarcx has quit [*.net *.split]
srid has quit [*.net *.split]
jluttine has quit [*.net *.split]
nD5Xjz has quit [*.net *.split]
eraserhd has quit [*.net *.split]
Xal has quit [*.net *.split]
statusfailed has quit [*.net *.split]
nckx has quit [*.net *.split]
is_null has quit [*.net *.split]
v0|d has quit [*.net *.split]
enteee has quit [*.net *.split]
akapav has quit [*.net *.split]
_rvl has quit [*.net *.split]
simukis_ has quit [*.net *.split]
asymmetric has quit [*.net *.split]
page has quit [*.net *.split]
m1cr0man has quit [*.net *.split]
puck has quit [*.net *.split]
azdle has quit [*.net *.split]
callahad has quit [*.net *.split]
jD91mZM2 has quit [*.net *.split]
BlessJah has quit [*.net *.split]
aw has quit [*.net *.split]
delroth has quit [*.net *.split]
jfroche has quit [*.net *.split]
mg- has quit [*.net *.split]
ericsagnes has quit [*.net *.split]
freusque has quit [*.net *.split]
jasom has quit [*.net *.split]
WizBright has quit [*.net *.split]
octe has quit [*.net *.split]
naominitel has quit [*.net *.split]
exarkun has quit [*.net *.split]
zemm has quit [*.net *.split]
apeyroux has quit [*.net *.split]
suzu has quit [*.net *.split]
reivilibre has quit [*.net *.split]
petercommand has quit [*.net *.split]
duck_ has quit [*.net *.split]
kumikumi has quit [*.net *.split]
myme has quit [*.net *.split]
drgbr has quit [*.net *.split]
puckipedia is now known as puck
asymmetric_ is now known as asymmetric
nckx- is now known as nckx
callahad7 is now known as callahad
max3 has quit [*.net *.split]
mexisme has quit [*.net *.split]
praetorg has quit [*.net *.split]
buffet has quit [*.net *.split]
lstanley has quit [*.net *.split]
tv has quit [*.net *.split]
hke has quit [*.net *.split]
travelion has quit [*.net *.split]
lunik1 has quit [*.net *.split]
LnL has quit [*.net *.split]
daGrevis has quit [*.net *.split]
anderslundstedt has quit [*.net *.split]
xvnvx has quit [*.net *.split]
pukkamustard has quit [*.net *.split]
oleks has quit [*.net *.split]
bsima1 has quit [*.net *.split]
eof has quit [*.net *.split]
obadz has quit [*.net *.split]
ben has quit [*.net *.split]
jaeckel has quit [*.net *.split]
lux2 has quit [*.net *.split]
Maxdamantus has quit [*.net *.split]
dhkl_ has quit [*.net *.split]
j4m3s__ has quit [*.net *.split]
DerGuteMoritz has quit [*.net *.split]
makefu has quit [*.net *.split]
LeshaInc has quit [*.net *.split]
MatejC has quit [*.net *.split]
cransom has quit [*.net *.split]
bvdw9 has quit [*.net *.split]
arq1 has quit [*.net *.split]
tobiasBora has quit [*.net *.split]
cross has quit [*.net *.split]
andersk has quit [*.net *.split]
eliasp has quit [*.net *.split]
evilmonads has quit [*.net *.split]
thornAvery has quit [*.net *.split]
mlen has quit [*.net *.split]
neonfuz1 has quit [*.net *.split]
monokrome has quit [*.net *.split]
bob_twinkles has quit [*.net *.split]
daGrevis has joined #nixos
page_ is now known as page
azdle has joined #nixos
hke has joined #nixos
Xal has joined #nixos
lstanley has joined #nixos
pie__ has quit [Remote host closed the connection]
<victorbjelkholm>
does nixos have something in place already for syncing configuration? My first idea was just to setup a git repository + a systemd service for checking out the current version and then apply it, but don't want to reinvent something if it's already there
stramble-M has quit [Remote host closed the connection]
kgz has joined #nixos
stramble-M has joined #nixos
<v0id72[m]>
gchristensen: can you take a look at my configuration.nix as I am just I have i get the error no such file or directory :(
<gchristensen>
link?
<infinisil>
victorbjelkholm: There isn't anything like that no
<victorbjelkholm>
got it. Thanks infinisil!
kgz has quit [Client Quit]
o1lo01ol1o has joined #nixos
monokrome has joined #nixos
kragniz has joined #nixos
kragniz is now known as kgz
i1nfusion has quit [Remote host closed the connection]
<gchristensen>
` environment.etc."i3/config".source = .config/i3/config;` what do you intend `.config/i3/config` to mean?
<v0id72[m]>
the path to my file?
<gchristensen>
then that file doesn't exist at that location `.config/i3/config` means it would be in the same directory as the file you are referring to it. for example, if that file you pasted is at `/etc/nixos/configuration.nix` then it would be looking for `/etc/nixos/.config/i3/config`
romildo has quit [Quit: Leaving]
<v0id72[m]>
should be $HOME/.config/i3 then
<v0id72[m]>
that would not work though.
<gchristensen>
maybe better to just move it from $HOME/.config/i3 to /etc/nixos/i3.conf or whatever
<v0id72[m]>
k
dansho has quit [Ping timeout: 258 seconds]
Neo-- has joined #nixos
Guest62963 has joined #nixos
Guest62963 has quit [Changing host]
<aminechikhaoui>
is there a way to restrict ssh access for just nix-copy-closure, maybe some authorized_keys command=<> hack ?
vid has joined #nixos
<aminechikhaoui>
but I think command in authorized_keys is supposed to be running in the target machine
lordcirth_ has quit [Remote host closed the connection]
iyzsong has quit [Ping timeout: 250 seconds]
<dsx>
After update firefox seems to be broken. Is it me or something happened?
<gchristensen>
you bet @aminechikhaoui
<gchristensen>
oh my gosh I slipped and did it, I used `@` on IRC.
<aminechikhaoui>
haha
<cransom>
shaaaaame.
<gchristensen>
but indeed, something like `command="nice -n20 nix-store --serve --write" ssh-rsa AAAAB3NzaC1yc2EAAAA...`
<ben>
@gchr hm my tab completion does not even do that
<gchristensen>
irccloud (which I'm using temporarily) does
mmlb has joined #nixos
<cizra>
srhb: Yup, worked.
<cizra>
What's the procedure to get reviewers for a PR with a new package? Maybe I can bribe you channelites with promises of a game! The Dark Mod is a stealth FPS in the spirit of the Thief series. Sneak around people's homes, steal their drinking cups and uncover a conspiracy every now and then. https://github.com/NixOS/nixpkgs/pull/61764
<aminechikhaoui>
gchristensen ohhh right we don't talk to the daemon directly
<aminechikhaoui>
not sure why I started thinking we talk to the daemon directly :D
<pie__>
is there a lib function for repeating a string
<pie__>
(some number of times)
v0|d` has quit [Remote host closed the connection]
v0|d has joined #nixos
lordcirth_ has joined #nixos
endformationage has joined #nixos
Guest55634 is now known as exarkun
<etu>
cizra: Small notes to your PR. It would be great if you can split the commit to add yourself to the maintainer list as a separate commit
<tilpner>
> with lib; concatMapStrings (_: "foo") (range 0 10) # pie
<{^_^}>
"foofoofoofoofoofoofoofoofoofoofoo"
<etu>
cizra: And you don't need to define `name = ...`. it does that by itself by pname and version. Since those two are in the let part you may need "inherit pname version;"
<etu>
cizra: But I haven't taken a good look. I'm cramped on the subway with a phone and nothing better to do
<aanderse>
etu: best time to review PRs in my opinion :)
<etu>
aanderse: Not today, it's packed and overheating 😓
<{^_^}>
[nixpkgs] @kalbasit pushed commit from @marsam to master « certigo: init at 1.11.0 (#61782) »: https://git.io/fj4BY
<victorbjelkholm>
any tips on how I can achieve locally what https://nixos.org/nixos/options.html can do? Tried digging through man pages but not finding anything where I can search the options
<slabity>
`man configuration.nix`
<etu>
victorbjelkholm: I usually do $ man configuration.nix
<Iyra>
stack with nix support enabled in config.yaml seems to want ghc865 (error: attribute 'ghc865' missing, at (string):1:177) but when I do nix-env -qaPA nixos.haskell.compiler I only see ghc864. What can I do to get stack to work? Do I need to go onto an unstable branch of nixos?
v0|d has quit [Remote host closed the connection]
<srhb>
iyra: That would work, or getting stack to ask for a ghc that's in the stable nixpkgs set.
v0|d has joined #nixos
<srhb>
iyra: I assume the ghc version is a product of the lts set you choose somehow.
<Iyra>
srhb: I've been trying to figure out how to do the latter but I don't know how to tell which ghc to use. I haven't specifically set any lts, this is just what the stack installed from nixpkgs has assumed
<Iyra>
I can't find much on how to set a specific lts
Copenhagen_Bram has quit [Read error: Connection reset by peer]
<srhb>
iyra: That should all be in the stack docs.
<srhb>
iyra: Mind, if you're not used to stack already, using it with Nix seems like the hardest way to go.
<srhb>
Nix sans stack is much simpler, in my opinion.
<srhb>
Stack sans Nix probably too, but I've little experience with that.
<Iyra>
srhb: I'll take another look, but my root problem is just trying to get xmonad+taffybar to work, and taffybar wants some xmonad packages for some features, and xmonad wants some taffybar packages, but they can't see each other at all. I found this guide that told me to go the stack route: https://functor.tokyo/blog/2018-02-16-setup-xmonad-on-nixos
<Iyra>
it's so confusing when I can't even run ghc[i] to find out what's available either
<Iyra>
granted I think this problem would disappear if I just used xmobar or something else, so it's not a huge issue for me.
<cizra>
etu: Thanks! But why a separate commit for maintainerification? Then either there's a time point when I'm a maintainer of nothing, or there's a time point when tdm has a bogus maintainer.
<cizra>
etu: Is that really the accepted style in Nixpkgs?
<gchristensen>
we'd rather have a commit where you're a maintainer of nothing
<cizra>
Easy, I'll do it.
<gchristensen>
(package update commit should not be conflated with other changes)
<{^_^}>
[nixpkgs] @andir pushed 71 commits to staging-19.03: https://git.io/fj4RX
<{^_^}>
[nixpkgs] @flokli pushed commit from @maralorn to release-19.03 « nixos/nextcloud: Add options services.nextcloud.autoUpdateApps »: https://git.io/fj4RD
<camsbury>
can successfully `nix-shell --substituters` from a local container, but my CI container is getting broken pipes on the various SSH copies from my SSH cache
<kalbasit>
genesis: it does not seems to be an X11 thing, but more generic
<herden>
trying to run docker from a shell script with: #!/usr/bin/env bash \n docker run ... but I get ./run: line 8: docker: command not found. what am I missing here, shouldn't this be the same environment as the shell i start the script from? (where I can run docker)
<kalbasit>
genesis: perhaps just pkgs/servers?
<genesis>
kalbasit : it's implement x11 btw
<kalbasit>
genesis: yes, among other things
<genesis>
in server oki, don't really matter.
<kalbasit>
someone else might have a different opinion. We can discuss once you have a PR up. I don't think it matters as much though
<marek>
any harm in having meta.homepage in a package without quotation marks?
<kalbasit>
marek: seems to be up for deprecation
fendor has quit [Ping timeout: 268 seconds]
<marek>
kalbasit: the value or the quotation marks?
<srhb>
iyra: taffybar is hell to set up correctly, but I don't think it's easier on stack :)
<srhb>
iyra: home-manager even has a module for it.
<marek>
kalbasit: good :) I will put the marks in my change then
eraserhd2 is now known as eraserhd
erasmas has joined #nixos
<srhb>
iyra: Getting an environment that can build both is easy enough though: nix-shell -p 'haskellPackages.ghcWithPackages (hps: with hps; [ xmonad taffybar dbus ... ] )' -- add whatever as ...
<srhb>
iyra: Though I far prefer doing this in configuration as it's more reliable..
<Iyra>
srhb: oh, that sounds good. I'm kinda new to nix so I'm still figuring out how to do things, but I'll try that. Thanks for all your help friend.
Yakulu has joined #nixos
cswl has quit [Quit: Connection closed for inactivity]
<{^_^}>
[nixpkgs] @thoughtpolice pushed 2 commits to master: https://git.io/fj40C
<{^_^}>
[nixpkgs] @vcunat pushed to master « tikzit: disable parallel make »: https://git.io/fj404
<{^_^}>
[nixpkgs] @PsyanticY opened pull request #61811 → Boto3 up → https://git.io/fj40B
MmeQuignon has joined #nixos
wfranzini has quit [Remote host closed the connection]
heartman has quit [Remote host closed the connection]
vid has quit [Ping timeout: 268 seconds]
johanot has quit [Quit: WeeChat 2.4]
fresheyeball has quit [Quit: WeeChat 2.4]
<genesis>
.locate lex
<{^_^}>
[nixpkgs] @gebner opened pull request #61812 → spyder: 3.3.3 -> 3.3.4, convert to python modules → https://git.io/fj406
pie__ has quit [Ping timeout: 252 seconds]
Iyra has quit [Quit: Lost terminal]
halfbit has joined #nixos
srl295 has joined #nixos
knupfer has quit [Remote host closed the connection]
sigmundv has quit [Ping timeout: 244 seconds]
<genesis>
makeFlags = "LEX=flex"; :')
drakonis has joined #nixos
drakonis_ has quit [Ping timeout: 252 seconds]
<Unode>
hi all, I'm trying to package a java software that needs oraclejre. I add oraclejre to buildInputs but when launching the software it still seems to make use of openjdk which is what I have installed in my user's profile.
<Unode>
How should I go about forcing the package to use oraclejre?
<srhb>
Unode: Presumably there's an unqualified call to "java" which uses your path.
knupfer has joined #nixos
<srhb>
Unode: Fix that up to point directly at the oracle one.
<Unode>
fix with a wrapper?
ubert has quit [Quit: Leaving]
drakonis_ has joined #nixos
drakonis has quit [Ping timeout: 252 seconds]
<srhb>
Unode: For instance.
<dsx>
Is there a nice convenient way to generate a usb stick image from existing configuration?
o1lo01ol1o has quit [Remote host closed the connection]
<slabity>
So I just had to force-reboot a VM after it became unresponsive when doing a `nixos-rebuild`, and now trying to do it again results in `/nix/store/ryinn9xa3g8bn55nj1h54ypnlp9naq6i-stdenv-linux/setup: line 1283: /nix/store/qd4j58ykdkg9yvy8kvgh0i00gacy0ldm-perl-5.28.2/bin/perl: cannot execute binary file: Exec format error`
o1lo01ol1o has joined #nixos
<slabity>
On unstable channel. Anyone else having this issue?
<slabity>
I have no idea if it's related to the force-reboot. Likely not
Guest30008 is now known as sm[m][m]
sm[m][m] is now known as sm[m]
fusion809 has quit [Remote host closed the connection]
schjetne has joined #nixos
<srhb>
slabity: Sounds like an fs went poof during the build, possibly?
<srhb>
slabity: Got any system logs left or did they not get flushed?
<goibhniu1>
slabity: you could try nix-store --repair-path
<slabity>
`nix-store --repair-path` doesn't seem to do anything.
kisik21 has joined #nixos
<kisik21>
How to import a certain file from a tarball in NixOS configuration, fetching the said tarball via builtins.fetchTarball preferably?
<kisik21>
I can also try adding it as a channel maybe
<kisik21>
I'm not sure about it
<srhb>
kisik21: import?
<srhb>
kisik21: As in, it's a nix expression inside a tarball?
o1lo01ol1o has joined #nixos
<kisik21>
The tarball contains several nix expressions in various files. Knowing a file by its path, I'd like to import it like <tarball>/path/to/module.nix
<kisik21>
srhb: at least it did evaluate and is now building - but if it doesn't build, it's a problem for author of these expressions :3
m1sosoup has quit [Read error: Connection reset by peer]
<srhb>
kisik21: Scattered across the interwebs I'm afraid.
<srhb>
kisik21: But the main thing is that IFD is not allowed in nixpkgs.
<kisik21>
I'm not developing nixpkgs, that's not a problem for me
<srhb>
Good good.
<Synthetica>
I use the nixpkgs-mozilla overlay, and the upgrade to firefox (latest.firefox-bin) 67.0 wiped my user profile :S
<Synthetica>
Any pointers?
<Synthetica>
s/wiped/refuses to use my previous/ I guess
<Synthetica>
(It's not quite that dramatic)
<Lisanna1>
IFD is spooky and can add a lot of complexity to what you're doing, causing headaches later. The biggest headache is that you might realize later that being able to evaluate nix code to get the .drv without having to do a bunch of builds is actually really important for what you're doing, and if you have IFDs everywhere, you can't have that.
nschoe has quit [Ping timeout: 252 seconds]
<gchristensen>
+1 it can also substantially slow things down
<Lisanna1>
Does anyone know of any examples of using nix / vmTools to generate bootable non-NixOS media (debian for me)? The diskImageFuns in vmTools gets me a filesystem I guess, but I'm not sure how hard it would be to bridge the gap from that to getting a bootable disk with grub.
Jetien_ has quit [Ping timeout: 248 seconds]
ddellacosta has joined #nixos
<{^_^}>
[nixpkgs] @thoughtpolice opened pull request #61814 → linux_testing (5.2.0-rc1): fix build, include 'cpio' in nativeBuildInputs → https://git.io/fj4EX
<{^_^}>
[nixpkgs] @c0bw3b closed pull request #23684 → nixos/cupsd: new option for specifying `printers.conf` declaratively. → https://git.io/vyVSr
asheshambasta_m has joined #nixos
Lears has joined #nixos
<Synthetica>
Okay, I symlinked the new profile folder to the old profile folder and it seems happy now
[Leary] has quit [Ping timeout: 246 seconds]
kisik21 has quit [Remote host closed the connection]
pie_ has joined #nixos
<slabity>
This is strange. My `/nix/store/...-perl-5.28.2/bin/perl` is just a bunch of `0x00` bytes.
<slabity>
`sudo nix-store --repair-path /nix/store/...` does not seem to fix it
<ivan>
slabity: that can happen if your kernel crashes or you lose power
<ocharles>
slabity: do you have store hard link optimisation on?
<slabity>
Yep. And using `ext4` just like in that issue
nschoe has joined #nixos
<infinisil>
Lisanna1: I don't think IFD from fixed-output derivations is a problem though
talqu has quit [Remote host closed the connection]
<infinisil>
Ah well I guess it doesn't matter, fixed-output vs non-fixed-output, Nix has the same reproducability guarantees for both
<infinisil>
So yeah I don't really see a big problem with IFD
<slabity>
Any way to change that variable for only one command? I can't modify `/nix/nix.conf` and I can't rebuild my system until I fix this path
<infinisil>
Lisanna1: What's so bad about building stuff for evaluating things?
schjetne has quit [Ping timeout: 268 seconds]
pie__ has joined #nixos
<Lisanna1>
slabity: your best bet may actually be to boot to the nix installer, purge your /nix directory, re-install, then reboot back to your system and do a normal rebuild
<slabity>
Well I ran it. No errors. But now I'm getting this: `builder for '/nix/store/7mnljjx9mzvfp1hx65r35kskqrwkirby-hwdb.bin.drv' failed with exit code 127`
lordcirth_ has joined #nixos
<{^_^}>
[nixpkgs] @benley closed pull request #29220 → synergy: Run as user, add crypto support → https://git.io/v5P43
shabius has quit [Ping timeout: 259 seconds]
Glider_IRC__ has quit [Ping timeout: 268 seconds]
ThatDocsLady has quit [Remote host closed the connection]
<cizra>
Hmm. Every now and then, I notice that `git add -p` doesn't work. Launching the same command in a new terminal helps. I've never seen this phenomenon until switching to NixOS. Ideas? Has git or perl changed its /nix path?
<dmj`>
Is there a way to mount the nix store in Travis CI, right now I'm fetching deps from my own cache in S3, and it just takes a while. Attempts to cache /nix/store cause timeouts on the container
knupfer has joined #nixos
esmerelda has joined #nixos
<infinisil>
gchristensen: 70? I see all 130 (or 129 actually)
<gchristensen>
infinisil: members of the team can see all members of the team
<{^_^}>
[nixpkgs] @veprbl pushed commit from @angristan to master « vscodium: init at 1.33.1 (#60423) »: https://git.io/fj4z6
<tilpner>
infinisil: An example: I wrote a Rust application to run on my server, and generated AppArmor profiles using readFile. The Rust application was the only thing my laptop needed to build each time (>= 5min of fan noise), the rest was built on the deployment target
___quietlaika has joined #nixos
sakalli` has quit [Ping timeout: 252 seconds]
<infinisil>
gchristensen: Huh I didn't know that, how does it get decided whether you're shown to non-members?
<gchristensen>
it is up to the member, to mark themselves as public or private
<infinisil>
Oh I see
<marek>
gchristensen: oh ok, that's a lot, I thought there are only a few, I wanted to ask for a merge but given that number I will wait for someone to pickj it u p:)
<slabity>
Anyone here use home-manager to manage their xsession?
<marek>
but don't worry about it, with such a number of people it will get picked up :)
<marek>
not sure why I thought it will be only 4-5 people
hmpffff has quit [Quit: nchrrrr…]
<marek>
it's nice to see such a healthy community
<gchristensen>
marek: =) thank you for saying so
<infinisil>
tilpner: You didn't pin it then?
<infinisil>
Okay I find IFD also bad if it's not pinned
<tilpner>
infinisil: What would I pin?
<tilpner>
No, the Rust application was only built once per nixpkgs update
<infinisil>
Ah
<tilpner>
But it still had to be rebuilt occasionally, without making changes to its source
<infinisil>
I see now
<tilpner>
And now imagine I had freely used IFD everywhere
Drakonis__ has joined #nixos
<infinisil>
Yeah that is a bit annoying
<tilpner>
My laptop would be building for hours, and I could not use remote builds at all
<infinisil>
Hmm can IFD use remote builders?
<tilpner>
(Though actual remote builds may have solved this. I wasn't using them)
hmpffff has joined #nixos
<infinisil>
I see, probably would've yeah
<tilpner>
I still do some IFD, to fetch my pinned sources
<gchristensen>
a very small touch of IFD is okay imo
<marek>
gchristensen: damn :/ I don't have access to a darwin machine
<tilpner>
But nothing large, I enjoy nix-instantiate being quick
<gchristensen>
marek: are you able to diagnose the error based on the log output?
<slabity>
If anyone here uses home-manager with `xsession.enable`, do you know what to set in my system configuration for `desktopManager.default`? `none` does not work
<slabity>
Not sure what the session name would be if home-manager is running it
<camsbury>
anyone have success pulling from an ssh cache in CI?
<camsbury>
running into broken pipes randomly in copying the files from the cache
<marek>
gchristensen: thank you
<marek>
camsbury: which CI?
cizra is now known as cf6b88f
<camsbury>
it seems that increasing verbosity increases the likelihood of success
<camsbury>
which is a smell
<camsbury>
Drone
<camsbury>
specificall
<{^_^}>
[nixpkgs] @league opened pull request #61829 → briss: Use makeWrapper so it can take command-line args → https://git.io/fj4g8
fragamus has joined #nixos
<marek>
camsbury: sounds like you might need to increase ServerAliveInterval for your ssh
<camsbury>
yeah I bumped that to 120
<camsbury>
maybe more?
o1lo01ol1o has joined #nixos
<camsbury>
or does that seem like it would be fine
<marek>
camsbury: depends on your setup, but that sounds good - maybe try to to execute some ssh commands right, to see if it is related to ssh only or it is something related to nix-shell substituters
<camsbury>
did an scp pretty easily
<camsbury>
and the nixos cache is working fine
<camsbury>
just listing both in the command line flag
max4 has joined #nixos
<camsbury>
by pretty easily I mean it just worked :P
work_ has joined #nixos
work_ has quit [Client Quit]
<camsbury>
using the same container locally with no problems
<camsbury>
is the curious part
fragamus has quit [Client Quit]
fragamus has joined #nixos
<marek>
camsbury: scp might not be the same, not sure ow nix-shell does the trick
<marek>
camsbury: try maybe a different DNS, ssh could drop a connection if it is waiting too much for dns resolves, maybe
<marek>
camsbury: but sadly, without more investigation, I cannot thing of anything top of my head :/
<{^_^}>
[nixpkgs] @grahamc pushed commit from @dtzWill to release-19.03 « b612: 1.003 -> 1.008, new home »: https://git.io/fj4gM
<gchristensen>
hrm. I didn't mean to push direct. fingers crossed :x
knupfer has quit [Remote host closed the connection]
knupfer has joined #nixos
reinhardt has quit [Quit: Leaving]
cf6b88f is now known as cizra
<cizra>
etu: fixed - I split the maintainer business into a separate commit.
knupfer has quit [Ping timeout: 264 seconds]
MmeQuignon has quit [Ping timeout: 244 seconds]
<ambro718>
How could it happen that patchelf --set-rpath breaks a binary causing a segfault, only when setting to a value that is longer than the original?
andreas303 has quit [Remote host closed the connection]
domogled has joined #nixos
andreas303 has joined #nixos
kisik21 has joined #nixos
fendor has joined #nixos
<kisik21>
How can I build an aarch64 NixOS system on an x86_64 laptop, provided this laptop can run aarch64 executables via some black magic? The thing is - the system shouldn't require a massive rebuild when I do `nixos-rebuild` on the resulting system - i.e. it needs to be natively compiled and use a binary cache.
knupfer has joined #nixos
<tilpner>
kisik21: Last time I helped you, you disappeared. Did you get the theming module?
<gchristensen>
`--system aarch64-linux`
<kisik21>
tilpner: yep, I got it
<kisik21>
gchristensen: thanks :3
<gchristensen>
yep!
<kisik21>
tilpner: sorry I forgot to thank you too :c
<kisik21>
thank you for that time :3
<kisik21>
It works perfectly now
<cizra>
I created a nix-shell with scons and clang -- but "$ scons -Q CXX=clang" can't find clang. Should I use absolute path or is there a saner fix?
<cizra>
Ah, this works: $ scons -Q CXX=$NIX_TARGET_CC/bin/clang
<jeaye>
Using Nix in Docker, Vim doesn't have +python or +python3. After installing python3, with nix-env, I've reinstalled Vim, with nix-env, but still no +python3. How do I get Vim to reinstall with Python support?
wfranzini has quit [Quit: wfranzini]
wfranzini has joined #nixos
gxt has joined #nixos
<slabity>
jeaye: config.vim.python
<sphalerite>
jeaye: vimHugeX should have python3 support, if you don't mind a few more deps
<matthewbauer>
gchristensen: I didn't realize that `--system` works! I had been doing `--argstr system`. This must have been added recently?
<sphalerite>
matthewbauer: I think it's been around for quite a while
<gchristensen>
since 2.0
<matthewbauer>
ah nice! it just overrides builtins.currentSystem?
<gchristensen>
yeah it is equivalent to setting the nix config option
<ambro718>
It is not possible to dontPatchELF just specific binaries?
gagbo has quit [Ping timeout: 246 seconds]
<jeaye>
sphalerite: I'm on a headless machine, so that may not make sense.
<sphalerite>
jeaye: it'll still work fine in a terminal, so it's fine if you don't mind the extra dependencies
<genesis>
(need this stuff for porting nixos to tomtom)
schjetne has joined #nixos
<pie_>
Ericson2314, um, you seem like youd tend to know how to deal with this stuff, can you help me out with overlays a bit? I have my own special makeExtensible function, the contents of which refer to self.something, and i need to add some overlays, but they need to be added before the extension "closes off" for the first time, so the self.sometihng reference doesnt fail
<pie_>
because self.something is added by an overlay
<pie_>
does that make any sense?
<camsbury>
tilpner: set =erverAliveInterval to 1200
<camsbury>
ServerAliveInterval*
ben has quit [Quit: leaving]
max4 has joined #nixos
<infinisil>
Melkor333: Do you have tab completion for nix commands?
<infinisil>
> pkgs.kernelPackages
<{^_^}>
attribute 'kernelPackages' missing, at (string):253:1
<pie_>
Ericson2314, it fails in `(makeExtensible (callPackage baseLayer { inherit api; }))` because the implementation of super._api.withPackages, supplied by `inherit api`, tries to access something that doesnt exist until `.extend stack` would be run
<pie_>
(it fails later when i actually try to call .withPackages on the resulting object, due to laziness)
<adisbladis>
genesis: Just got home. Gonna have a look now :)
<tilpner>
camsbury: Yes, but where? Which file/option?
<tazjin>
this service can build you an ad-hoc container image, e.g. for Docker, with contents specified at pull time
<pie_>
( Ericson2314, at least thats what i think is going on)
npmccallum has quit [Quit: npmccallum]
<tazjin>
so you can ask it for an image with htop and curl or something by running, for example, `docker run -ti nixery.appspot.com/shell/htop/curl bash`
<ben>
why does my nixos have locales ending in .utf8 instead of .UTF-8?
<ben>
wait is locale -a just lying to me
<ben>
hmm
<pie_>
tazjin, why do i find that funny and also slightly horrifying
<pie_>
tazjin, neat though!
<tazjin>
pie_: why horrifying?
<pie_>
tazjin, no idea, just feels a bit cursed :D since its implemented with nix its probably fine though :p
<tazjin>
it should feel less cursed than having container images as stateful artefacts that you need to manage somewhere!
<tazjin>
tilpner: I think ghc has a massive dependency tree due to how we handle Haskell deps, so you need a few gigs of RAM to instantiate that derivation
<tazjin>
blender itself should work though I'd think
<tilpner>
tazjin: I know ghc is huge, that's why I requested it :)
<tilpner>
Just wanted to see what would happen, I don't really use Docker anymore
<camsbury>
tilpner: in ~/.ssh/config under ServerAliveInterval
<tilpner>
camsbury: You could try the opposite, putting ClientAlive{Interval,CountMax} into the sshd config
<Melkor333>
I just did "nix-shell -A linuxPackages.nvidia_x11_legacy390" followed by "unpackPhase" and I get "unpacking source archive ... do not know how to unpack source archive". What do i wrong here?
<camsbury>
tilpner: yea I can try that - thing is I have successfully built from the cache running this image locally
schjetne has quit [Ping timeout: 258 seconds]
<camsbury>
the cache is hosted in a local network
<tilpner>
camsbury: I just wanted to make sure you didn't put Server* into the sshd config
<camsbury>
nope that one is in the client config
<tazjin>
tilpner: I'm cautiously giving it 4gigs to build in, it'll take a few minutes to scale up
<camsbury>
brb
<tilpner>
tazjin: Does it cache by sorted path?
<clever>
,locate bin/dig
<{^_^}>
Found in packages: bind.dnsutils
<tazjin>
tilpner: the images are built using graham's layer combination algorithm which puts the most referenced store paths in their own layers, check out the blog post at https://grahamc.com/blog/nix-and-layered-docker-images
<jeaye>
tilpner: Yep, that did the trick. I was using vim, but I needed either vim_configurable or vimHugeX, it seems.
<jeaye>
Thanks to everyone who chipped in.
<tazjin>
under-the-hood this is basically the layer creation machinery of `buildLayeredImage`, but instead of outputting an image it outputs the individual API objects needed for the registry API and the separated layers
<genesis>
adisbladis : the goal is to make it for tomtom devices
<tilpner>
tazjin: That seems good
<tazjin>
glue a simple HTTP server on top and voila
<tilpner>
tazjin: Make sure you have some sort of auto-GC on though
<gchristensen>
tazjin++
<{^_^}>
tazjin's karma got increased to 4
<tilpner>
tazjin: Either {min,max}-free, or timed
<tazjin>
tilpner: I'm experimenting with moving the Nix store onto an infinite storage medium like GCS
<{^_^}>
[nixpkgs] @mrVanDalo opened pull request #61833 → syncthing: made module more NixOps friendly → https://git.io/fj4au
<gchristensen>
tazjin really? would you be interested in adding GCS-as-a-binary-cache support to Nix?
<tazjin>
gchristensen: GCS can speak S3, so it's already supported
<tazjin>
but I need the raw store contents on there, not NARs or some such, if I want to use its static file serving functionality
rpg has joined #nixos
<gchristensen>
I've been told it doesn't, though..? not sure I understand
* gchristensen
hasn't looked in to it
<tilpner>
GCS can do S3, but I either missed it, or their permissions are really terrible
<pie_>
Ericson2314, oh, here's some docs for the intended usage if you have the time / might be better than my ad-hoc explanation (but its also wip): https://bpaste.net/show/96808ee5225c
<greenerworld[m]>
hey, nodejs package provides version 8 but nodejs...12 package provides version 12. Is tere any way to make it so nodejs package provides v12? So I don't miss out on an update if a nodejs...13 package releases.
stranger___ has quit [Quit: Connection closed for inactivity]
<samueldr>
the `nodejs` attribute is used internally to provider "whatever nodejs" for packages, though I guess a `nodejs_latest` alias could be made
<samueldr>
upgrading (like the 6 -> 8 transition) often makes a few packages misbehave or outright not build
is_null_ is now known as is_null
<greenerworld[m]>
how would one go about making this latest? Should I open a issue for this on github?
j4m3s1 is now known as j4m3s__
<greenerworld[m]>
still new to nixOS
<pie_>
Ericson2314, I got it to execute with `result = lib.fix' (let self = self': initstack self' super; super = rattrs self; in self) // rec {` but the semantics are broken again because now other attributes are missing
<v0id72[m]>
hi all! I'm still getting use to nixos and the way the store works. With that said the main thing that I cannot wrap my head around is why I cannot access i3status in order to configure it and fine tune it. Everything else has been easily found online . But for some reason this is not something I can find even when taking some steps provided. Anyone have time to give a little guidance?
mexisme_ has quit [Read error: Connection reset by peer]
<{^_^}>
[nixpkgs] @bignaux opened pull request #61837 → microwindows: init at unstable-2019-05-20 → https://git.io/fj4w9
<genesis>
:)
mexisme_ has joined #nixos
<Guanin>
Hi, I wanted to play around with jupyterlab and tried to use the default.nix from https://nixos.wiki/wiki/Workgroup:DataScience - nearly all pythonPackages attributes are missing (I'm on 19.03.172311.454eea84a75) and the #nixos-data channel mentioned there is empty
MmeQuignon has quit [Ping timeout: 258 seconds]
vk3wtf has quit [Ping timeout: 258 seconds]
<Guanin>
Should I stick to services.jupyter in my configuration, or should I use some other approach?
<infinisil>
v0id72[m]: I don't use i3status, but it seems that it looks at ~/.i3status.conf as well
<infinisil>
So you can probably just use that to customize it
gagbo has joined #nixos
<alexarice[m]>
greenerworld: I'm slightly confused, why can't you just use the v12 package
<v0id72[m]>
infinisil: unfortunately that file is nowhere to be found :(. Except in the store :)
<greenerworld[m]>
so my motivation behind this was solving a long time problem
<greenerworld[m]>
when v13 releases nodejs-latest will look at `v13.nix`
<greenerworld[m]>
etc.
<alexarice[m]>
I see
<greenerworld[m]>
like linux kernel latest
<infinisil>
v0id72[m]: Well you need to create it of course
<infinisil>
v0id72[m]: You can probably copy the one from the store to ~/.i3status.conf to get an initial one
<greenerworld[m]>
alexarice:
<greenerworld[m]>
alexarice: I don't know if I tagged u right :) can fix it if you want
<alexarice[m]>
greenerworld: you did, looks fine to me
erasmas has quit [Quit: leaving]
<hodapp>
hmmmmmm... I wonder if there is anything like Balena, but based around Nix rather than Docker
esmerelda has joined #nixos
<simpson>
greenerworld[m]: AIUI nodejs isn't stable between major versions, so you're not likely to get a comfortable experience cruising on a "latest" alias.
<infinisil>
Guanin: Taking a look
<greenerworld[m]>
I do nodejs development very frequently in my current job, so I'd rather 'live' these experiences, at list 'till I get bored simpson :D
<v0id72[m]>
so if my i3status file is not under the possible 4 directories what can I do ?
<infinisil>
v0id72[m]: As I just said, you create it yourself
<simpson>
greenerworld[m]: I do Node dev too, and we freeze major versions. Upgrading from one major version of Node to another is a planned change.
<infinisil>
v0id72[m]: Are you having trouble creating ~/.i3status.conf
<infinisil>
?
<{^_^}>
[nixpkgs] @edef1c merged pull request #60279 → editline: fix crash with term narrower than completions → https://git.io/fjs7K
<infinisil>
Guanin: It seems that ipydatawidgets was never even part of nixpkgs :/
<greenerworld[m]>
simpson: We usually do node version management like `>10`, so running 11 and 12 on dev env is fine, but server always runs 10. We also run tests on 10 too.
<infinisil>
v0id72[m]: Can you please just answer my questions for once. Can you modify the configuration file now and i3status sees the changes?
<v0id72[m]>
I can change the fonts yes
<genesis>
and navit runs on tomtom but their distro is shit, and i'm loosing patience to wait for my PR be merge so i fork
<v0id72[m]>
nothing else though
<Guanin>
infinisil thanks for clarification :)
mkoenig has quit [Ping timeout: 268 seconds]
<infinisil>
v0id72[m]: You mean it errors?
jackdk has joined #nixos
<v0id72[m]>
infinisil: no it works - just the ipv6 and other info needs to go
<infinisil>
v0id72[m]: Probably better to ask in #i3 for i3status configuration support
<greenerworld[m]>
btw connection on firefox stop working on time to time until I restart wireless, any idea why it's happening? Connection is stable on voip, vlc, slack etc. Running KDE plasma.
<v0id72[m]>
infinisil: thanks for your help and time though much appreciated
<infinisil>
Good luck configuring to you :)
<alexarice[m]>
greenerworld: I have noticed this aswell, though don't know a cause, mine fixes by restarting firefox
<greenerworld[m]>
alexarice: did you tried chromium? I haven't.
<alexarice[m]>
greenerworld: no, it hasn't really happened enough for me to start investigating
<alexarice[m]>
greenerworld: also I thought it might be a problem local to my computer until now
<v0id72[m]>
infinisil: only oddity is that I can use i3 without trouble in arch, but the store really makes things harder
<greenerworld[m]>
alexarice: do you use KDE too or something else?
<infinisil>
v0id72[m]: Well now that your config is outside of /nix/store that shouldn't be a problem anymore
<v0id72[m]>
the config was already outside though
<alexarice[m]>
greenerworld: sway
<v0id72[m]>
never an issue just with the i3status file
<greenerworld[m]>
I'll try to look into it when I have time
<alexarice[m]>
tbh it feels like an upstream bug
<infinisil>
v0id72[m]: So what was the problem really? You said you "couldn't access i3status to configure it"
<hodapp>
fully learn haskell whaa?
<v0id72[m]>
infinisil:
<v0id72[m]>
as in edit i3status
<infinisil>
Huh?
rpg has quit [Ping timeout: 244 seconds]
<v0id72[m]>
infinisil: as in edit the fields in the i3 bar.
drakonis has joined #nixos
<infinisil>
What makes you think you can't edit the fields? Just open the file in your text editor and change them
<v0id72[m]>
the file is not there :(
<v0id72[m]>
its locked in the store :(
<clever>
v0id72[m]: environment.etc."i3status.conf".text = ''config goes here''; i think it was
<infinisil>
00:38:07 <v0id72[m]> ya I have the config file in /etc/i3
<infinisil>
00:42:13 <infinisil> v0id72[m]: Can you please just answer my questions for once. Can you modify the configuration file now and i3status sees the changes?
<infinisil>
00:42:35 <v0id72[m]> I can change the fonts yes
<v0id72[m]>
@clever nixos-build does not like it
<v0id72[m]>
infinisil: I can change the fonts by using config file. i3status is another file that has the info in it
<infinisil>
So you weren't talking about the i3status config file??
<v0id72[m]>
no I was talking about regular i3 config file
<v0id72[m]>
that controls key bindings
<infinisil>
If you're asking about how to configure i3status, then we're talking about the i3status config file, and not the i3 config file -.-
* v0id72[m]
is a moron
slack1256 has joined #nixos
<v0id72[m]>
@clever did the command you posted - can't login with any user afterwards
mbrgm_ has joined #nixos
mbrgm has quit [Ping timeout: 258 seconds]
mbrgm_ is now known as mbrgm
<clever>
v0id72[m]: cant login, or after logging in, i3 crashes, and you get signed out?
<v0id72[m]>
loops back to greeter
krbtgt has quit [Ping timeout: 244 seconds]
<clever>
v0id72[m]: check the error logs, `journalctl -u display-manager`
<camsbury>
doing nix-shell --substituters "ssh://<CACHE_URL> https://cache.nixos.org" in a CI pipeline and getting things that look like: copying path '/nix/store/<HASH>-libunistring-0.9.10' from 'ssh://<CACHE_URL>'...
<camsbury>
writing to file: Broken pipe
tbenst has quit [Read error: Connection reset by peer]
<camsbury>
where these steps copy fine when I run the image locally
tbenst has joined #nixos
<camsbury>
doesn't seem that all copys break either
MmeQuignon has quit [Ping timeout: 258 seconds]
<camsbury>
I have done `echo "Host *\nServerAliveInterval 1200\nServerAliveCountMax 1200" > /root/.ssh/config`
<clever>
camsbury: is the host in your ~/.ssh/known_hosts ?
krbtgt has joined #nixos
<camsbury>
it should be
<clever>
camsbury: double-check that it is
<camsbury>
I hit the cache in a local docker container
<camsbury>
hmm it does seem like every copy is a broken pipe, when I thought before I saw it succeed for some
sigmundv has quit [Ping timeout: 248 seconds]
<camsbury>
but I have seen it succeed when I turn on verbose mode/decrease the size of the expression
esmerelda has joined #nixos
rpg has joined #nixos
slack1256 has quit [Remote host closed the connection]
slack1256 has joined #nixos
<camsbury>
Any suggestions how I could try to debug this better? trying to dive into the verbosity of `nix-shell`, but doesn't seem to add color to the broken pipe
<v0id72[m]>
clever: sorry about the delay. I am sure it had to do with the files and folders all being created. So I deleted them all and rebuilt and able to login. Just going to see if I can find i3status file now :)
<elvishjerricco>
Huh. `nix run -f "<nixpkgs/nixos>" --arg configuration ./configuration.nix vm -c run-nixos-vm` with an essentially blank `configuration.nix` is giving me "switch_root: can't execute '/init': No such file or directory"
<v0id72[m]>
clever: infinisil I am deeply thankful for your assistance! Thanks file is good now. After undoing a buncha shit I did. I am super grateful to you both!!!
jluttine has quit [Ping timeout: 246 seconds]
<elvishjerricco>
The only setting is `virtualisation.qemu.options = ["-enable-kvm" "append console=ttyS0"];`
<clever>
elvishjerricco: remove the append bit
kimboking[m] has joined #nixos
<elvishjerricco>
clever: I added that so I could actually see the kernel log of it panicking :P
<elvishjerricco>
well crap
<elvishjerricco>
that fixed it
<elvishjerricco>
So one of my other things was breaking it
<elvishjerricco>
and then trying to see the log to debug it broke it more -_-
<clever>
elvishjerricco: use regular boot.kernelParameters to add kernel params
<elvishjerricco>
why would that affect the ability to find `/init` though?
<clever>
elvishjerricco: you overwrote the -append that sets init=/nix/store/foo
<clever>
elvishjerricco: you can also use code like this to simplify the commandline, i just `nix-build test-monitoring-locally.nix -A vm`, and thats it
<elvishjerricco>
clever: I've already got it scripted down to `nix run -f . vm -c run-nixos-vm` :P
rpg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<elvishjerricco>
clever: Using `virtualisation.graphics = false;` worked
<clever>
elvishjerricco: oh, i know why
<clever>
the serial port is hidden by default
<clever>
but if you specify -nographic to qemu, it will remap the stdin/stdout to the serial port for you
<clever>
thats what lets you see ttyS0
<clever>
virtualisation.graphics=false switched the console, and the qemu cfg at the same time
rpg has joined #nixos
<elvishjerricco>
Ah, that makes sense
<elvishjerricco>
Now to get a port forwarded...
<clever>
elvishjerricco: refer to the example i linked, it maps 8080 to 80
rpg has quit [Client Quit]
rpg has joined #nixos
dansho has quit [Ping timeout: 246 seconds]
esmerelda has quit [Ping timeout: 245 seconds]
m0rphism has quit [Ping timeout: 248 seconds]
esmerelda has joined #nixos
ng0 has quit [Quit: Alexa, when is the end of world?]