<NixOS_GitHub>
[nixpkgs] jbboehr opened pull request #31216: php: fix compilation when ldap header exists on host system (master...fix/php-ldap-header) https://git.io/vFc5w
NixOS_GitHub has left #nixos []
ison111 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] BlessJah opened pull request #31217: fix link to platforms.nix (release-17.09...fix-link) https://git.io/vFc51
NixOS_GitHub has left #nixos []
markus1199 has quit [(Ping timeout: 248 seconds)]
<BlessJah>
orivej: error: undefined variable ‘ylwghst’ at /home/travis/build/NixOS/nixpkgs/pkgs/applications/office/abiword/default.nix:36:44
<BlessJah>
orivej: my PR failed checks because of unrelated changes :<
<orivej>
somebody messed up today, but don't worry, travis is mostly a fast track for trivial changes, the main review tool is nox-review
<kkini>
Is there a way to force nix-build to rebuild a store path?
<kkini>
or should I just `sudo rm -rf /nix/store/whatever`?
<orivej>
kkini: nix-build --check
<kkini>
ah, thanks
<BlessJah>
I'll get some sleep now. Tomorrow I'll see if I could get issue fixed in upstream instead of patching it here.
<kkini>
interestingly that doesn't seem to show up in my man page for nix-build...
S0rin has quit [(Ping timeout: 260 seconds)]
<orivej>
kkine: yeah, that's unfortunate
<kkini>
wait, wtf? at the bottom of the man page it says "Nix 1.11.15" but also "November 2014"
srdqty has joined #nixos
hamishmack has quit [(Quit: hamishmack)]
tanonym has quit [(Quit: Leaving)]
hamishmack has joined #nixos
S0rin has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] orivej pushed 1 new commit to release-17.09: https://git.io/vFcdN
<Guest18>
I'm trying something very basic with overlays, but it looks like I can't get it right. I'm trying to override one of the early phases of a cabal build. I don't really care where it happens, but "postUnpack" sounds good. I basically want to add an `ls` command to see what's been unpacked.
<Guest18>
this seems to happen in the `generic-builder.nix`, however I have no clue how to get there with my overlay. So far my overlay looks like `{ haskell = super.haskell.override { lib = super.haskell.lib.override { postUnpack = "foo" } } }` but this fails to build
<Guest18>
nix complains that some anonymous function has been called with unexpected argument `lib`
c0bw3b has left #nixos []
<BlessJah>
orivej: should I choose date that git shows me (author 2017-08-07 -0700), the same in UTC (2017-08-08!) or commiters date (2017-08-24, that's likely the last time when the commit was changed/rebased/cherry-picked)?
<orivej>
BlessJah: IMHO the commiters date, but this is not very important
<BlessJah>
commiters is when the commit got it's shape and hash, but authors (with TZ that subtracts one day from UTC) it what most tools will show
<BlessJah>
gimme moment
<Guest18>
mh... I think overlays just aren't powerful enough for my use case
<Guest18>
I like the idea though
<orivej>
Guest18: overriding haskell packages in an overlay is known to be supported, but I don't know much about this and can't help you here
<BlessJah>
ugh, after rebase to master it builds literally everything :<
<BlessJah>
orivej: no way to get that into 17.09?
<Guest18>
orivej: ok, I'm grepping nixpkgs
Guest18 has quit [(Remote host closed the connection)]
<orivej>
BlessJah: it should download everything prebuilt and build only what is new. This may get into 17.09, we'll have to ask the release manager.
<BlessJah>
kk
<orivej>
it should be commit into master first anyway
<BlessJah>
I'll try to get appropriate nixos code in place to run it as an actual server/exporter.
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] jtojnar opened pull request #31218: Remove manual rpath settings now that meson is fixed (master...meson-rpath) https://git.io/vFcbD
NixOS_GitHub has left #nixos []
<orivej>
That's interesting, but I don't expect it to reach 17.09. AFAIK the best course for those who want to stay on 17.09 but get some features from master is to fork https://github.com/NixOS/nixpkgs-channels and maintain their changes on top of "nixos-17.09" branch
azdle has quit [(Remote host closed the connection)]
<BlessJah>
I have unstable in user profile and 17.09 on system. I'm ok with running mtail manually.
kkini has quit [(Remote host closed the connection)]
ahstro has quit [(Ping timeout: 260 seconds)]
S0rin has joined #nixos
slack1256 has quit [(Remote host closed the connection)]
noobineer has joined #nixos
noobineer has quit [(Max SendQ exceeded)]
python476 has quit [(Ping timeout: 248 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] orivej closed pull request #31216: php: fix compilation when ldap header exists on host system (master...fix/php-ldap-header) https://git.io/vFc5w
NixOS_GitHub has left #nixos []
Piece_Maker has joined #nixos
Acou_Bass has quit [(Ping timeout: 264 seconds)]
Piece_Maker is now known as Acou_Bass
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] corngood opened pull request #31223: WIP: matrix-synapse: create and connect to local postgresql db (master...matrix-postgres) https://git.io/vFcxN
NixOS_GitHub has left #nixos []
takle has quit [(Remote host closed the connection)]
iyzsong has joined #nixos
iyzsong has quit [(Remote host closed the connection)]
iyzsong has joined #nixos
Supersonic112 has quit [(Disconnected by services)]
riclima has quit [(Read error: Connection reset by peer)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] jtojnar opened pull request #31228: meson: append new items to the original rpath (master...meson-append-rpath) https://git.io/vFCJB
NixOS_GitHub has left #nixos []
jsgrant has quit [(Read error: Connection reset by peer)]
<pie_>
whats the right way to do this?: nix-shell -v -E 'with import <nixpkgs> { config = { wine.override = { wineBuild = "wineWoW"; }; systemPackages=[wine]; }; };'
<demo-dog>
quick question on a new install (and new user) many processes (including libvirtd) run as root. I have not defined any additional users in my configuration.nix, but some programs (eg, sshd and lldp) seem to create their own users. Any ideas on how I can fix this so that libvirtd doesn't run as root?
<demo-dog>
?
iyzsong has joined #nixos
riclima has quit [(Ping timeout: 240 seconds)]
<jluttine>
can i access nodeEnv somehow in my configuration.nix in order to build node packages?
<jluttine>
i mean, where to find nodeEnv..?
<jluttine>
i know the file is under pkgs/development/node-packages/node-env.nix in nixpkgs
<jluttine>
but i don't quite understand how can i access nodeEnv in configuration.nix
<jluttine>
in nixpkgs, package derivations just use "nodeEnv = import relative/path/to/node-env.nix { ... };"
babs has quit [(Quit: Leaving)]
Capprentice has quit [(Ping timeout: 248 seconds)]
<eqyiel[m]>
I don't really see the advantage if it's a private package though
justbeingglad has joined #nixos
justbeingglad has left #nixos []
hotfuzz has quit [(Ping timeout: 264 seconds)]
Neo-- has joined #nixos
<eqyiel[m]>
jluttine: oh, I misunderstood your question, you can grab paths from nixpkgs within configuration.nix like `import <nixpkgs/path/to/node-env.nix> {}`
<eqyiel[m]>
so that would make it <nixpkgs/pkgs/development/node-packages/node-env.nix>
<hyper_ch>
wow, unstable small got updated :)
notdaniel has joined #nixos
<jluttine>
eqyiel[m]: ah, thanks!
<eqyiel[m]>
:D
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] grahamc pushed 2 new commits to master: https://git.io/vFCUb
<NixOS_GitHub>
nixpkgs/master ec270cd Graham Christensen: Merge pull request #31225 from adisbladis/firefox-devedition-bin-58_0b1...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] grahamc closed pull request #31217: fix link to platforms.nix (release-17.09...fix-link) https://git.io/vFc51
NixOS_GitHub has left #nixos []
NeQuissimus has quit [(Read error: Connection reset by peer)]
ylwghst has quit [(Ping timeout: 240 seconds)]
p4cman has joined #nixos
<demo-dog>
quick question on a new install (and new user) many processes (including libvirtd) run as root. I have not defined any additional users in my configuration.nix, but some programs (eg, sshd and lldp) seem to create their own users. Any ideas on how I can fix this so that libvirtd doesn't run as root?
theseriousadult has joined #nixos
damke_ has joined #nixos
damke has quit [(Ping timeout: 240 seconds)]
<srhb>
demo-dog: I'm not sure how much of virtd can run unprivileged, but you'd amend the nixos/modules/virtualisation/libvirtd.nix module.
<srhb>
demo-dog: Not for the faint of heart, probably. :)
<eqyiel[m]>
demo-dog: what's your motivation for not wanting it to run as root?
<theseriousadult>
I'm trying to update my nix channels, do I really have to enable allowBroken?
<srhb>
theseriousadult: Only if you want to install broken packages.
<theseriousadult>
(command is currently telling me that it won't update because Agda is broken, says to add that)
<srhb>
theseriousadult: You can instead remove Agda prior to upgrading.
playX has joined #nixos
ma27 has joined #nixos
<playX>
What package need to install for get unfree java for playing minecraft or other java games? nix-env --install jre8 don't finding jre
<theseriousadult>
srhb: I don't have Agda installed - I'm trying to install stack2nix, but the package was broken a couple days ago. Recent commit to nixpkgs fixed it, trying to update to include that. I ran `nix-channel --update` and `nix-env -i`, but `nix-env -i` tells me that Agda is broken, and then `nix-env -i stack2nix` still fails in the same way as before
<srhb>
stack2nix uses agda? Weird.
<eqyiel[m]>
theseriousadult: what channel are you on? it may be that the commit you want is not in nixos-unstable/nixpkgs-unstable yet
<srhb>
playX: allowUnfree = true in your config.nix
<srhb>
playX: You're probably looking for oraclejre8 if you specifically want an unfree version.
<theseriousadult>
how do I tell which channel I'm on? kinda new to nix, still learning the ropes
<playX>
i need to type nix-env --install oraclejre8?
<gchristensen>
theseriousadult: run nix-info
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] orivej pushed 3 new commits to master: https://git.io/vFCkv
<NixOS_GitHub>
nixpkgs/master 49e0be1 André Stylianos Ramos: joker: init at 0.8.6
<NixOS_GitHub>
nixpkgs/master a167ea6 Orivej Desh: joker: do not install private generators
<theseriousadult>
srhb: also, any idea why `nix-env -i` was complaining about Agda? I haven't installed it, literally just ran `nix-env -i` and it errored at me
<srhb>
theseriousadult: nix-env -i without argument will install all of nixpkgs
<theseriousadult>
srhb: I'm currently trying to build after running `sudo nix-channel --update`
<srhb>
theseriousadult: Agda is probably the first (lexicographically) package that is marked broken
<theseriousadult>
srhb: oh, wow, uh, not sure why the internet told me to run that then
<srhb>
theseriousadult: The internet is a fickle beast. :-)
<srhb>
theseriousadult: You probably wanted -u or --upgrade
<playX>
srnb: and how i can do this? nix says to nix-store --add-fixed, but i can't [root@playX:~]# nix-store --add-fixed sha256 jdk-8u151-linux-x64.tar.gz error: getting attributes of path ‘/root/jdk-8u151-linux-x64.tar.gz’: No such file or directory
<srhb>
playX: The error should also tell you where you can download that file from.
<theseriousadult>
@srhb: yep, either I misread or a typo, thanks for clearing that up
<srhb>
playX: You need to do it manually due to the draconic license on it.
<theseriousadult>
srhb: also, build worked, thanks for the help
<srhb>
theseriousadult: Very welcome!
<eqyiel[m]>
what an interesting red herring
<srhb>
Indeed. :-P
* srhb
has only had one cup of coffee, so herrings are still just red blurry blobs
<playX>
srnb: and how i can do this? im new in nixos, don't know many things
<srhb>
playX: can you pastebin the last hundred lines of the error or so?
<gchristensen>
playX: however you usually downolad things
<srhb>
playX: I'll point out what it tells you and explain.
<srhb>
(Hint: there's an URL you should visit in your browser)
<srhb>
playX: So, open that URL in your browser and find the download for jdk-8u151-linux-x64.tar.gz
proteusguy has quit [(Ping timeout: 258 seconds)]
playX_ has joined #nixos
takle has quit [(Ping timeout: 258 seconds)]
playX has quit [(Ping timeout: 260 seconds)]
<playX_>
srnb: when i add that tar to nix store i need to launch nix-env -iA nixos.oraclejre8?
<srhb>
playX_: Yes. :)
<playX_>
thanks
<srhb>
playX_: Then it should be able to continue past that error, because now the file that it needs is in the store.
<srhb>
playX_: Out of curiosity, are you sure you need the oracle jre?
<playX_>
yes, i want to lauch minecraft, its not working with openjre
<srhb>
Sad. :(
ma27 has quit [(Ping timeout: 260 seconds)]
playX_ has quit [(Client Quit)]
<cocreature>
Hey, I’m trying to write an out-of-tree nixos test but I’m having some trouble when I try to use interpolation in testScript, namely I get “value is a function while a set was expected”. If I remove the interpolation, everything works, here’s the derivation I’m using http://nixpaste.lbr.uno/1ZR1jSGB?nix
<cocreature>
I’m not sure how interpolation could even cause such an error
<theseriousadult>
Ran `stack2nix https://github.com/jwiegley/una.git > una.nix`, then `nix-build una.nix -A una`, and it's complaining about an anonymous function missing an argument
ma27 has joined #nixos
<srhb>
theseriousadult: pastebin the full input and output please.
<srhb>
cocreature: I may be going blind, but where is pkgs in that scope?
<srhb>
Huh, that works even though it's not a stack project?
<srhb>
Well, aside from it clearly not working :P
datakurre has quit [(Remote host closed the connection)]
<theseriousadult>
Yeah
<theseriousadult>
I have successfully built this project with stack alone before, back when I was on ubuntu
JosW has joined #nixos
hke is now known as heichblatt
Itkovian has quit [(Client Quit)]
datakurre has joined #nixos
<srhb>
theseriousadult: I'm not sure how stack2nix should work in this case. In the meantime you can use cabal2nix --shell https://github.com/jwiegley/una.git > una.nix
Itkovian has joined #nixos
asuryawanshi has quit [(Ping timeout: 248 seconds)]
<theseriousadult>
srhb: huh, guess that works, cool
<srhb>
theseriousadult: I'm sure stack2nix can be made to work, but I've had very little luck with stack on nix in general, and it just seems to get in the way most of the time... Anyway, perhaps some other expert comes along and can help you out with it :)
<theseriousadult>
srhb: yeah, it's trying to solve some of the same problems, but in a haskell-specific way rather than the generality of nix, could see it running into issues
<srhb>
Yeah..
<srhb>
theseriousadult: Using a newer stack2nix might also help. I'll give it a go.
datakurre^ has joined #nixos
ma27 has quit [(Ping timeout: 240 seconds)]
datakurre has quit [(Quit: all work no play makes jack a dull boy)]
<theseriousadult>
srhb: ran nix-build for the cabal version, it worked, now how do I get rid of the result directory? Want to install, don't want to leave that gunk sitting around
<hyper_ch>
holodeck and (food)replicator is all I need
<gfixler>
jump a minute forward there and you can see the open ship
<gfixler>
wandering the ship, watching these vids, it became clear the show made no sense on a ship this size
<gfixler>
it's a large city
<gfixler>
it's absurd how little we saw of it
<gfixler>
they built starfleet academy, fully landscaped, fully dressed buildings, classrooms, a lake, fountains - it's insane
<theseriousadult>
srhb: how do you generally install haskell packages with cabal2nix? I want to be able to use the una executable, don't care about much beyond that
<hyper_ch>
enterprise d is twice as long as the newest aircraft carriers, a "bit" wider and talller :)
<srhb>
theseriousadult: Then I can nix-env -iA nixos.haskellPackages.myPackage
<srhb>
theseriousadult: Oh, and ~/src/myPackage contains a default.nix (which is what you'd produce with cabal2nix, without the --shell switch)
<srhb>
theseriousadult: Makes sense?
<theseriousadult>
srhb: think so, will try it and find out
<srhb>
I'm not completely happy with my overlays setup, but it works well enough..
<c0bw3b>
gfixler looking some minutes of these build vids... totally mad work indeed!
<c0bw3b>
is mimadrid around here?
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] matthiasbeyer closed pull request #31211: Revert "redmine: mark as broken" (master...revert-redmine-broken) https://git.io/vFcMa
NixOS_GitHub has left #nixos []
c0bw3b has left #nixos []
<sphalerite>
So I'm having some trouble with IPv6
c0bw3b has joined #nixos
<sphalerite>
This is on a hetzner server. It works fine, out of the box, on Hetzner's rescue system. But on my nixos installation, only link-local stuff seems to work, i.e. I can ping fe80::1%enp3s0 but not ipv6.google.com
shymega has joined #nixos
<sphalerite>
All outgoing traffic just seems to get dropped.
<theseriousadult>
srhb: I think there are typos in that file - getting a syntax error when I try to adapt it
<srhb>
theseriousadult: Oh, shoot, sorry. Let me check.
<hyper_ch>
sphalerite: so you fell for that IPv6 illsuion ;)
<sphalerite>
So maybe it just took going into the rescue system and back. I don't know…
<srhb>
gfixler: Oops, sorry!
<gfixler>
srhb: error: Nix database directory is not writeable
FRidh has joined #nixos
<gfixler>
sudo?
<ArdaXi[m]>
Linus: This might be the fact that you've got 4 devices competing for `fe80::/64`
<srhb>
gfixler: I'm a little out of my depths with regards to single user installations, I'm afraid. I'm tempted to say "yes" though.
<ArdaXi[m]>
Or, no, default always has a dev
<srhb>
gfixler: (On a multi user install, this all goes through the nix daemon, which has the necessary privileges to alter things)
<ArdaXi[m]>
Never mind
<sphalerite>
yeah, that's not the issue
<ArdaXi[m]>
I forgot link-local always has a device attached
<gfixler>
srhb: I'm following this Nix guide on an old laptop, but eventually want to go full NixOS
<gfixler>
srhb: then, when comfortable, install it on my main laptop
<sphalerite>
and as I said, booting into the rescue system and back seems to have fixed it… so confused. But hey, at least it works now
<srhb>
gfixler: On NixOS there would be no sudo required for nix-env -iA for sure.
<gfixler>
srhb: I see - well, I'll try sudo !! and report back
<gfixler>
srhb: ah, and I should be gfixler, not nix?
asuryawanshi has quit [(Ping timeout: 240 seconds)]
<theseriousadult>
Has anyone managed to get the new signal desktop app working on NixOS yet?
notdaniel has joined #nixos
<gfixler>
srhb: okay, I had been nix, exiting out to gfixler, I don't need sudo - it just works
<srhb>
gfixler: Ah, good :)
<c0bw3b>
Is the update-walker.sh script mentioned in nixpkgs manual still a thing? what does it do?
<gfixler>
srhb: it's obvious now, but that line, which now works, put me at an sqlite3 prompt
<c0bw3b>
I can see some older packages setting meta.updateWalker = true but I don't understand what for
<gfixler>
srhb: I don't know anything about sqlite3 :)
<srhb>
gfixler: Me neither. I'm not sure it should actually be included in the guide at all.
<srhb>
gfixler: I mean, it's just interesting for probing how nix internally handles dependency tracking.
<gfixler>
srhb: I think it could just say "If you know your way around sqlite3, you can run this command to explore the packages (or whatever's in there)"
<srhb>
gfixler: That's a great suggestion :)
<gfixler>
srhb: it could even say it's worth running just to double-check that it installed correctly
<srhb>
I think we should exude a bit more confidence than that. :-)
<gfixler>
srhb: :)
<gfixler>
srhb: maybe a super-light guide - some commands to begin exploring, a link to an sqlite3 cheatsheet, etc
scribbler has quit [(Remote host closed the connection)]
<srhb>
gfixler: Yes, that could be factored out.
<srhb>
I've never even once looked at what's in the database, actually.
scribbler has joined #nixos
<gfixler>
srhb: I might - I've crawled all through git's belly
<srhb>
Nice.
<srhb>
(I think. It sounds scary.)
<gfixler>
not at all - dead simple
<gfixler>
I can't handle much complexity - I'm an art school grad
<srhb>
Cool :)
<gfixler>
I learned about nix because I had this idea for a long time to make everything work like git
<gfixler>
I asked around here and there over the course of months
<gfixler>
finally someone said "That sounds like Nix[OS]"
<gfixler>
I looked it up and said "THIS IS WHAT I WAS TALKING ABOUT"
<gfixler>
that was maybe 2 years ago; I'm slow to adopt
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
<srhb>
gfixler: The jump is a little scary, but it's so worth it. :-)
ambro718 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] vcunat pushed 1 new commit to master: https://git.io/vFCqG
<NixOS_GitHub>
nixpkgs/master bb87d2c Vladimír Čunát: drbd: fix evaluation after #30872
NixOS_GitHub has left #nixos []
<gfixler>
srhb: what kind of a thing is nixpkgs.sqlite?
<hyper_ch>
gfixler: what are you trying to do with sqlite?
scribbler has quit [(Ping timeout: 260 seconds)]
<srhb>
gfixler: It's an attribute path.
<gfixler>
hyper_ch: nothing - it's in the pill I'm reading (#2)
<gfixler>
srhb: like a key in some map?
<srhb>
gfixler: Thing of nixpkgs (in this case) as a map of key, value
<srhb>
gfixler: Exactly.
<gfixler>
srhb: I ask as my actual sqlite file has a crazy long name
<srhb>
gfixler: The key in tis case is sqlite, the value is the actual derivation for sqlite.
<srhb>
gfixler: In /nix/store ?
<gfixler>
srhb: yeah
<srhb>
gfixler: Everything there is hash-name
<srhb>
gfixler: The pills will cover that :)
<gfixler>
srhb: wondered how that short name referred to that long name (if it did)
<gfixler>
srhb: okay, I'll be patient
<srhb>
gfixler: It does not, the inputs to the derivation do. You'll get there soon :)
<hyper_ch>
gfixler: /run/current-system/ --> that's sort of FHS-symlinked to the nix-store
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Ma27 opened pull request #31235: statsd: repackage with node2nix (master...statsd-with-node2nix) https://git.io/vFCq4
NixOS_GitHub has left #nixos []
<gfixler>
hyper_ch: I'm afraid that doesn't quite parse for me yet
joehh has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] vcunat pushed 1 new commit to staging: https://git.io/vFCqE
<NixOS_GitHub>
nixpkgs/staging eed6e0a Vladimír Čunát: Merge branch 'master' into staging...
NixOS_GitHub has left #nixos []
<hyper_ch>
gfixler: if you boot up into nixos, it will symlink all stuff in that generation to /run/current-system ; e.g. bash --> /run/current-system/sw/bin/bash --> lrwxrwxrwx 2 root root 65 1. Jan 1970 /run/current-system/sw/bin/bash -> /nix/store/8lhnq6nri0vz8cfqilnh79p7h320p59q-bash-4.4-p12/bin/bash ....
<srhb>
~/.nix-profile might be a better example for Nix without NixOS.
<hyper_ch>
ah, nix without nixos... I keep forgetting people do that...
<gfixler>
hyper_ch: starting there, as the pills do
<joehh>
I tried running "nix-shell -p nix-info --run nix-info" as described in the topic, but received an undefined variable error
<joehh>
is that expected
<hyper_ch>
gfixler: just continue
<joehh>
?
<srhb>
joehh: If your channel is sufficiently old.
<srhb>
joehh: (it means nix-info doesn't actually exist in it.)
<joehh>
I wouldn't have thought it was that old, (installed 17.03 and think I upgraded to 17.09)
<joehh>
but maybe it needs to be newer
<srhb>
joehh: 17.09 from whence?
<srhb>
joehh: If you update it to current version, nix-info is there :)
Fare has quit [(Ping timeout: 240 seconds)]
<joehh>
is that by running nix-channel --update
<joehh>
?
<srhb>
joehh: Yes :)
jacob has joined #nixos
<srhb>
joehh: As whatever user is following the channel (presumably root, so just sudo it)
<joehh>
ahah - much more useful :)
<srhb>
Hrm. gitlab takes a looong time to start up in the nixos test. Is there something I can tweak aside from virtualisation.memorySize?
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] vcunat pushed 1 new commit to release-17.09: https://git.io/vFCqy
theseriousadult has quit [(Remote host closed the connection)]
<srhb>
Ah, cores...
orivej has joined #nixos
<gfixler>
wow, nix.sh subscribes me to unstable by default
simukis has quit [(Quit: simukis)]
simukis has joined #nixos
<gfixler>
I would think a new user would want stability
<srhb>
gfixler: There really is no stable nixpkgs for plain Nix.
<gfixler>
srhb: ah, okay
<srhb>
gfixler: But remember that changing channels and switching everything (forwards AND backwards) is a breeze, which lessens most risks. :)
<gfixler>
srhb: that's nice, but I don't really grok channels yet, so I don't know why I'd want to
<srhb>
gfixler: tl;dr: You can downgrade your entire system to a (any!) previous "release"
simukis has quit [(Client Quit)]
<gfixler>
srhb: ah, right
simukis has joined #nixos
<gfixler>
srhb: love that - everything prior to that is insane
Wizek has joined #nixos
<srhb>
;-)
dywedir has joined #nixos
scribbler has joined #nixos
<nh2[m]>
is there a package on which I can depend to get autoconf/automake/bison and standard C tools all in one go?
<srhb>
nh2[m]: Not really. stdenv is close.
<srhb>
Actually, not even that.
<nh2[m]>
srhb: OK, then I'll list explicitly, thanks
<ArdaXi[m]>
Generally you do want stdenv for that
<c0bw3b>
stdenv for the standard C tool + autoreconfHook will provide autoconf/automake
<vcunat>
(and bison by hand)
mkoenig has joined #nixos
mithsv has joined #nixos
erictapen has quit [(Ping timeout: 255 seconds)]
S0rin has quit [(Ping timeout: 260 seconds)]
<MichaelRaskin>
c0bw3b: update-walker it the script I use to update my packages.
<MichaelRaskin>
It is walker in the sense that it accepts declaratively-looking metadata in the simplest cases, but actually uses the metadata as a script to walk the website.
<c0bw3b>
MichaelRaskin: ok I found the .txt explaining it in the meantime
<c0bw3b>
MichaelRaskin does it work for a github repo homepage?
<c0bw3b>
becuase every commit is gonna look like a new version :p
<srhb>
MichaelRaskin: Sounds interesting, where does that live?
<MichaelRaskin>
Well, it wants a link to tarball. It is OK with downloadPage instead of homepage being hte page to scan
<MichaelRaskin>
It is not the only, neither definititely-the-best partial updater in Nixpkgs
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] abbradar pushed 1 new commit to master: https://git.io/vFCYm
<NixOS_GitHub>
nixpkgs/master 6269306 Jean-Philippe Bernardy: pythonPackages.tensorflow: add flags for efficent math on CPU
NixOS_GitHub has left #nixos []
<srhb>
MichaelRaskin: Nice, thanks :)
<MichaelRaskin>
It just matches how I think about fetching the fresh tarballs for packages with medium-annoying layout of the download page (like Sourceforge pages)
<c0bw3b>
MichaelRaskin i noticed 'fdm' repo on sf.net was dead and will push a PR to freshen up that derivation, I'll CC you so you can judge if I messed it up or not :p
yegortimoshenko has joined #nixos
<yegortimoshenko>
how do package maintainers cope with long build times? build servers?
<taaperotassu>
What to do if I tried to update my nixos and it says.. 1 dependencies couldn't be built
<taaperotassu>
seems like one of the download source couldnt work from any mirror
<yegortimoshenko>
taaperotassu: show the log (host on gist.github.com for example)
<srhb>
taaperotassu: Rollback your channel, fix it, ...
thc202 has joined #nixos
<srhb>
Or if it's a transient error, try again.
<taaperotassu>
tried the upgrade command few times.. same error.
<taaperotassu>
Probably should try few hours later.
<srhb>
Then it probably is dead. What's the url?
scribbler has quit [(Ping timeout: 240 seconds)]
<taaperotassu>
how do I pipe the output of upgrade into a text file? .. I tried > text.log but it didnt work
<srhb>
taaperotassu: &> file
<yegortimoshenko>
taaperotassu: &> text.log
<srhb>
taaperotassu: (meaning both stdout and stderr)
<pie_>
anyone know how to solve wine cmd.exe /c echo '%ProgramFiles%' returned empty string, error message "wine: 'somepath' is a 64-bit installation, it cannot be used with a 32-bit wineserver."
<srhb>
yegortimoshenko: Yes, but they should probably use a revision rather than archive/master.tar.gz
<taaperotassu>
I think its loading those things from my previous upgrade attempts.. how do I refresh nixos-rebuild temp file?
<srhb>
taaperotassu: That sounds unlikely. Presumably you still have xarchiver enabled somewhere?
<taaperotassu>
Now I took the xarchiver out from my configuration.nix
<taaperotassu>
and updating seemsto work
<srhb>
taaperotassu: Yep :)
<taaperotassu>
srhb: yegortimoshenko thanks!
<sphalerite>
oooookay so my IPv6 issue isn't really solved…
<sphalerite>
It seems to stop working again after some time
<taaperotassu>
How do I correct my xdg file opening problems? Seems like my firefox nor my pcmanfm knows which program to launch what.. also I cant define them in gui as I used to?
<srhb>
taaperotassu: Which gui?
<taaperotassu>
I am using i3wm
<srhb>
But, which gui did you use to define the xdg-open rules?
<taaperotassu>
from pcmanfm I could put file properties to open with..certain programmes?
<taaperotassu>
now the list of installed applications is empty? Or are there other good ways to define it
<srhb>
So I see. I guess it doesn't look in your profile.
<taaperotassu>
There is still one strange behaviour that I've gone to.. like using neovim .. I yank and then I cant paste it straight to terminal.. I have to paste it in my browser to copy the text again to get it pasteble in terminal.
asuryawanshi has joined #nixos
<sphalerite>
how are you pasting and how are you yanking?
<sphalerite>
"+y copies to the CLIPBOARD selection, which can be pasted using shift-insert on most terminals. Maybe you're using middle-click to paste, which pastes from the PRIMARY selection?
<WilliamHamilton>
how would one search for the right attribute name in order to install only a specified latex package, for example `bussproofs`? `nix-env -qa` doesn't report anything, but I suspect that the latex packages may not be in the global namespace
<sphalerite>
taaperotassu: just read what unnamedplus does, I think it should work… how are you pasting?
<sphalerite>
WilliamHamilton: I usually use nix-repl for that sort of thing
<taaperotassu>
shift+insert is how I paste in terminal
<sphalerite>
WilliamHamilton: nix-repl '<nixpkgs>', then type texlive. and press tab to complete
ixxie has joined #nixos
<sphalerite>
gfixler: the dirs don't belong to your nix user, so you'll want to run the commands as gfixler instead of nix
<sphalerite>
gfixler: seems to be an inconsistency between the parts of the pills, I'll take a look
<gfixler>
sphalerite: could also be me - I think I may have been in the wrong user at some point early on in pill 1
<gfixler>
sphalerite: can I just chown them to nix, or is the problem more widespread than this dir?
<sphalerite>
gfixler: yeah no whoever transcribed that pill removed the part where the nix user is created…
<WilliamHamilton>
Linus: thanks, that works, and I find `texlive.bussproofs`. But then, when I try installing it with `nix-env -iA nixos.texlive.bussproofs` nothing happens, and the package is not installed. What am I doing wrong?
<gfixler>
sphalerite: pill 1 changed today just after I went to the page, so I was confusing everyone here with questions about a page no one could see
<sphalerite>
gfixler: you'll want to chown all of /nix, but I think if you installed nix as gfixler it won't have set up the nix profile and stuff for the nix user
<gfixler>
sphalerite: I don't think I'm very far in yet - can I just blow away /nix and start over?
<sphalerite>
gfixler: yeah that's probably the simplest way
<gfixler>
I think all I've done at this point is curl the script into sh and run a line to set up the nix-* env stuff
<andi->
has anyone recently successfully deployed to hetzner using nixops? I'm running into an obscure error while trying to log in... credentials are the same I use for the webinterface. It complains about an invalid status code (but doesn't log the code)
ma27 has joined #nixos
<globin>
fadenb: ^
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] 7c6f434c pushed 1 new commit to master: https://git.io/vFCGv
<NixOS_GitHub>
nixpkgs/master eafd703 Michael Raskin: lispPackages.clwrapper: make sure to patch shebangs in the scripts before using them
NixOS_GitHub has left #nixos []
<gfixler>
done, that was easy
<gfixler>
sphalerite: nope, still errors on non-writable /niv/var/nix/db
scribbler has quit [(Ping timeout: 260 seconds)]
<gfixler>
I have to install from the script as a non-root user, so I use me
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] dezgeg pushed 1 new commit to release-17.09: https://git.io/vFCGt
<gfixler>
sphalerite: that page you linked has a different problem I was asking about - that tar command - what tar.bz2 file?
<gfixler>
it never tells you to download a tar.bz2
<sphalerite>
right, that's majorly outdated
<sphalerite>
basically what you want is to combine the two, and run the install script as the nix user
<gfixler>
I'm guessing not a lot of people are installing through these pills
<sphalerite>
or just do everything as gfixler
scribbler has joined #nixos
<gfixler>
sphalerite: it's hard for me to know what I can and can't do yet - total newb
ison111 has quit [(Ping timeout: 258 seconds)]
<gfixler>
sphalerite: this is a completely clean (and ancient) laptop, though
<gfixler>
it has Ubuntu something or other from a few years back, and 0 personal stuff on it
<sphalerite>
yeah the pills aren't very thoroughly tested :/
<gfixler>
sphalerite: well, that's what I'm here for today then
<sphalerite>
:)
<gfixler>
I've submitted 2 issues so far
<WilliamHamilton>
Linus: thanks again, i read that and it worked; my problem now is that I cannot find the `tikz` package (quite a famous package in latex), inside texlive (I'm able to find all the derived one though). Anyone has a clue on why?
<gfixler>
sphalerite: what's the point of the nix user? Is it just to protect me while learning?
<gfixler>
does everyone have a nix user? If I just ignore it, will everything in the pills still work?
<sphalerite>
gfixler: yeah it's just to avoid polluting the main user's home if they decide nix isn't for them
<sphalerite>
yes, just ignore it
<gfixler>
sphalerite: I'm going to suggest that that be made clear, too - thanks
<LnL>
I would skip that, the only thing that ends up in your home is ~/.nix-* and those are mostly just symlinks
<gfixler>
LnL: yeah, I just did rm .nix-* before reinstalling a few minutes ago
<gfixler>
seems like `nix-env -i` is akin to `sudo apt-get install`
ixxie has quit [(Ping timeout: 248 seconds)]
<vcunat>
WilliamHamilton: the TeX Live packages were imported all as they were at some point in time. It seems highly unlikely that some was omitted.
p4cman has quit [(Quit: Connection closed for inactivity)]
<LnL>
do the pills mention nix-env -iA?
ma27 has quit [(Ping timeout: 240 seconds)]
ma27 has joined #nixos
<sphalerite>
LnL: yes
<WilliamHamilton>
vcunat: yes, and expecially an important package like that; but, if I do `nix-repl '<nixpkgs>'` and then `texlive.tikz<TAB>` I get all the derived packages but no package `tikz`. Is there a way to get the description of all those packages in `nix-repl`?
<vcunat>
WilliamHamilton: there are no description for TeX packages in nixpkgs.
<vcunat>
it would be really lots of data
<fadenb>
andi-: last time I used Hetzner deployment was a few weeks ago. was working fine
<vcunat>
WilliamHamilton: do you have an idea what file name(s) you need?
<WilliamHamilton>
vcunat: that's right; I solved the problem, in the meantime, tikz was exported by the package pfg (in latex). Thanks for the help
<vcunat>
OK. I still have the file from upstream that lists additional data, e.g. all file names
<WilliamHamilton>
vcunat: yes, I was confused by the fact that i was doing `\usepackage{tikz}`, and so assumed wrongly that the name is tikz. :) where is that file?
<vcunat>
pgf has tex/latex/pgf/frontendlayer/tikz.sty
<vcunat>
that's it, I think
<WilliamHamilton>
vcunat: yep, that's it, thanks!
__monty__ has joined #nixos
<vcunat>
:-)
takle has quit [(Remote host closed the connection)]
<hyper_ch>
hi vcunat
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] basvandijk opened pull request #31241: postage: replaced by pgmanage-10.0.2 (release-17.09...pgmanage-release-17.09) https://git.io/vFCZa
NixOS_GitHub has left #nixos []
<vcunat>
hyper_ch: hi :-)
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] rnhmjoj opened pull request #31242: hyp: move expression out python-packages.nix (master...python) https://git.io/vFCZV
NixOS_GitHub has left #nixos []
<hyper_ch>
vcunat: you'll be in here more often again? :)
<vcunat>
yes, this year I plan to
<hyper_ch>
but this year is almost over...
<hyper_ch>
s/almost/mostly/
<vcunat>
well, from now and whole 2018, more precisely
<hyper_ch>
cool :)
<vcunat>
(as a release manager I suppose I should be better reachable)
<hyper_ch>
you're a release manager?
<c0bw3b>
MichaelRaskin : in fdm, should I just comment out updateWalker or do you allow me to remove it entirely?
<vcunat>
hyper_ch: yes, for 18.03 and the next one
<hyper_ch>
vcunat: you were absent when the release managers were chosen and so you got appointed?
<MichaelRaskin>
Remove it completely — it doesn't apply in the current situation.
<hyper_ch>
vcunat: in nixos, how would one go to make a service that can be enabled and config options set through configuration.nix?
knupfer has joined #nixos
<sphalerite>
hyper_ch: why are you asking vcunat specifically?
<hyper_ch>
in concreto I have created myself a littel backup script that I'd like to use on different machines... so it needs some configuration, what to backup where etc.... and I'd like to do that through the configuration.nix
<hyper_ch>
sphalerite: he knows a lot
<hyper_ch>
sphalerite: do you happen to know how to do that?
<sphalerite>
yes
<MichaelRaskin>
hyper_ch: you would go to nixpkgs/nixos/modules/services, pick a random example and try to do something by analogy.
<MichaelRaskin>
(While asking more specific questions, of course)
<BlessJah>
grahamc: platforms.nix vs doubles.nix - It took me moment to get that doubles is same thing as cross-compiler target triplets. Maybe rename the file instead to make it easier to find?
<hyper_ch>
sphalerite: nice, thx
<vcunat>
+1
<BlessJah>
grahamc: ofc primary way of finding the file is link in documentation that clearly states it's purpose; filename doesn't matter in such case
<tgunb>
hey guys, I installed gnumake but didn't get any docs. man make and info make fail. how do i get other outputs?
knupfer has quit [(Ping timeout: 258 seconds)]
<sphalerite>
tgunb: installing development tools is usually not what you want
<sphalerite>
use nix-shell instaed
<c0bw3b>
BlessJah grahamc : yes I planned to open a PR and reword that sentence without naming files but with a link to doubles.nix // for now merging 31217 allows to fix the dead link
<NixOS_GitHub>
nixpkgs/master cc3c38d Michael Raskin: Merge pull request #31238 from c0bw3b/pkg/fdm...
NixOS_GitHub has left #nixos []
<sphalerite>
tgunb: info make also works fine in nix-shell -p gnumake :)
<sphalerite>
stdenv already includes make so it's a bit redundant to specify gnumake in most cases
<__monty__>
Hi, I'm setting up a distributed build server to off-load all building from my laptop. The manual says I can specify multiple platform types for the same machine. I'm not sure if I should though, is everything nix builds x86_64-linux or does it mix with i686-linux?
<sphalerite>
__monty__: nix will build i686-linux stuff correctly on an x86_64 cpu
<vcunat>
__monty__: it's perfectly fine to build for i686 on a x86_64-linux machine, if that's what you ask
<vcunat>
I commonly use it, e.g. for wine and other 32-bit packages
ma27 has quit [(Ping timeout: 248 seconds)]
<__monty__>
vcunat: So if I plan to use 32bit packages I need a build machine of type i686 specified in my list of remote systems?
<BlessJah>
c0bw3b: reword?
<vcunat>
__monty__: yes, if you want to build it remotely
<__monty__>
Ok, thanks, vcunat, sphalerite.
<vcunat>
I don't see any need to split the two platforms in any way for (remote) building - just always specify both
thblt has quit [(Ping timeout: 240 seconds)]
<tgunb>
sphalerite: thanks
<c0bw3b>
BlessJah: i meant rephrase the sentence
ma27 has joined #nixos
<BlessJah>
c0bw3b: I know, I'm just curious what should it say instead.
takle has joined #nixos
nh2 has joined #nixos
<BlessJah>
Also, change was merged into 17.09, but is missing in master.
knupfer has joined #nixos
<BlessJah>
"Attribute Set stdenv.lib.platforms in nixpkgs/lib/platforms.nix defines various common lists of platforms types."
<__monty__>
vcunat: Maybe old 32-bit machines?
davidak has joined #nixos
<tgunb>
sphalerite: but nix-shell -p gnumake followed by info make gives me the page to makeinfo/texi2any. and man make fails.
_rht has quit [(Quit: Connection closed for inactivity)]
kahiru has joined #nixos
<sphalerite>
tgunb: oops, indeed
<sphalerite>
hm, nix-shell doesn't seem to adjust INFOPATH
ma27 has quit [(Ping timeout: 240 seconds)]
<sphalerite>
tgunb: as a workaround, you can use this monstrosity: INFOPATH="$(nix-build --no-out-link '<nixpkgs>' -A gnumake.info)/share/info:$INFOPATH" info make
damke_ has quit [(Read error: Connection reset by peer)]
<tobiasBora>
syntax error, unexpected ID, expecting '.' or '=', at /etc/nixos/configuration.nix:14:17
nh2 has quit [(Quit: Leaving.)]
<vcunat>
__monty__: well yes, for 32-bit-only machines you can't choose
<kahiru>
tobiasBora: shouldn't the line 14 be commented out?
<kahiru>
the "cache.nixos.org works there." one
<BlessJah>
tobiasBora: same for 22 and 26
Itkovian has joined #nixos
<tobiasBora>
I fill so stupid
<tobiasBora>
I thought that it was because of a display but in my screen UART, but you'r right
<tobiasBora>
sorry for that
<tobiasBora>
fill/feel
<tobiasBora>
s/but/bug
<BlessJah>
No problem. Vim with ':set number' or at least `cat -n` would help.
dywedir has quit [(Remote host closed the connection)]
pSub has quit [(Remote host closed the connection)]
<__monty__>
Where can I find the parameter order for the NIX_REMOTE_SYSTEMS file? It seems build-remote.pl is failing to parse it correctly http://ix.io/BYqhttp://ix.io/BYr
<tgunb>
sphalerite:hmmm. kay. but can you tell me, why using nix gives me the feeling that it is far from finished? i have experienced lots of problems with it. like either programs not mentioning all dependencies (forgetting dconf as runtime dependency) and therefore not running, or the still improvable way how nix thinks about plugins for programs. id like it to be like nix-env -i prog-module-bar; to install plugins, but currently you need to c
<tgunb>
reate an overlay and adapt the nix-expression. that's counter intuitive and only for advanced users who are able not afraid of learning a new language (nix) and want to spend the time. [ i know that the intuitive way is not *that* functional, but functional enough for me. nix should allow that easily, imho. ]
<tgunb>
or programs whos defaults are not adapted for nix(os). try installing speech-dispatcher. it didn't made any sound until I found out that i had to use libao as output module, not alsa or pulse...
<vcunat>
__monty__: there seem to be too few parameters in http://ix.io/BYq
<Dezgeg>
for me the lines look like: root@jetson armv6l-linux,armv7l-linux /etc/nix/remote-build-key.priv 4 1 big-parallel
<tgunb>
(btw, the alsa or pulse output modules weren't even installed by default.)
<__monty__>
vcunat: It's the same as the first line in the example.
<vcunat>
(one more number missing at the end)
<__monty__>
I also looked at the script and it defaults to 1 with a ternary op.
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<__monty__>
vcunat: Same result. I did use spaces for spacing, not tabs, I'll try that first.
<vcunat>
__monty__: BTW, you probably want to add the "big-parallel" feature like in Dezgeg's example
<tgunb>
i switched after I killed a hung ubuntu apt-get upgrade. that left me with a medium usable system. then I had to choose between guixsd and nixos and choose nixos because it is not beta but exists for over 10 years. I didn't expect these kind of things... thanks for the link.
<__monty__>
vcunat: How do I find out whether the machine supports big-parallel?
<vcunat>
that's what you decide
nh2 has joined #nixos
<vcunat>
we use a few features in nixpkgs now
<vcunat>
big-parallel means that the job is really big
<vcunat>
(kernel, chromium, libreoffice)
<MichaelRaskin>
You messed up the order: kernel, libreoffice, chromium
<vcunat>
:-)
<vcunat>
I didn't mean to imply anything by the order
<vcunat>
and ther are also "kvm" and "nixos-test" features
<__monty__>
Where do I find these documented? Nixpgks manual?
<vcunat>
(also evolution has big-parallel)
<vcunat>
__monty__: probably nowhere
scribbler has quit [(Ping timeout: 248 seconds)]
<sphalerite>
tgunb: we do our best :) most people who use nix do so because they find its benefits outweigh the issues you cited. If you don't find that to be the case for you, then maybe nix/nixos isn't for you, which is a shame, but you should use whatever works best for you
<vcunat>
there are only a few places where these features are defined in nixpkgs
<vcunat>
git grep requiredSystemFeatures
<__monty__>
: ), at least you can't get annoyed over me not finding them. Should I just add the kvm and nixos-test features? I'm not using nixos on any boxes currently fyi.
ma27 has joined #nixos
<vcunat>
you can add them
<sphalerite>
tgunb: perhaps ubuntu with a better backup strategy is a better choice.
<vcunat>
__monty__: so the file works now?
<vcunat>
I wonder what was the problem.
<__monty__>
No.
<vcunat>
__monty__: I would try a single space for separator
<vcunat>
(in case you haven't tried)
<vcunat>
That's what I got in my (generated) /etc/nixos/machines file
scribbler has joined #nixos
lebel has quit [(Ping timeout: 264 seconds)]
<__monty__>
I think it's dying trying to create the NIX_CURRENT_LOAD directory. Maybe because /var/run/nix doesn't exist yet?
<vcunat>
__monty__: BTW, you want this file on a NixOS or other system?
<__monty__>
Both local and remote are running arch.
<vcunat>
OK. on NixOS this is a little easier to setup, I suspect
<__monty__>
Should I just set $NIX_CURRENT_LOAD to /tmp/current-load?
<vcunat>
I have no idea. I never had to do that, but I've never distributed builds from a non-NixOS (only to non-NixOS).
S0rin has quit [(Ping timeout: 252 seconds)]
<vcunat>
__monty__: I would give it some nix-specific name
asuryawa_ has joined #nixos
<vcunat>
(there's a bit in docs about it)
<kahiru>
btw anyone got nixos working on odroid c2?
<__monty__>
I think I've read the bit in the distributed build section.
<vcunat>
maybe just creating /nix/var/nix/ will remove the necessity of defining the location
<Dezgeg>
yes, /tmp/current-load sounds fine (though the directory might need to exists)
asuryawanshi has quit [(Ping timeout: 255 seconds)]
asuryawa_ has quit [(Ping timeout: 248 seconds)]
<__monty__>
Dezgeg: /tmp/nix/current-load failed, probably because /tmp/nix doesn't exist. /tmp/nix-current-load seems to work.
<__monty__>
However, connecting via ssh fails so it falls back to building locally. Is there a way to completely prevent local building?
<Dezgeg>
maybe -j0 was it
<vcunat>
IIRC it's only possible with nix-1.12
<__monty__>
I have both build-max-jobs and build-cores set to 0 in nix.conf.
<vcunat>
for build-cores, 0 means auto-detection
<vcunat>
(which is what most people want)
<__monty__>
That should be fine with max-jobs 0 though, right?
joehh has quit [(Ping timeout: 240 seconds)]
<vcunat>
I don't know the semantics of max-jobs 0
<sphalerite>
it does mean "no local builds"
fatberg has joined #nixos
<sphalerite>
I don't know how, but I seem to have got my sound card into a bad state or something. I'm not getting sound through my headphones anymore. I've tried various combinations of plugging/unplugging them, restarting pulseaudio, and reloading the snd_hda_intel module, to no avail. Any ideas?
<adisbladis>
sphalerite: Are you sending your sound to the correct sink?
<manveru>
sphalerite: what does pavucontrol say?
<manveru>
vcunat: max-jobs 0 means that only remote builders should be used, if i remember right
<sphalerite>
adisbladis: yes, it works fine with the speakers. manveru : pavucontrol says speakers when the headphones aren't plugged in and switches to Headphones (plugged in) when I plug them in
<__monty__>
sphalerite: Memo me if you find out the issue. Sometimes my dac isn't recognized as such and the only way I've been able to solve it is reboot.
<__monty__>
manveru, sphalerite: Does -j0 maybe only work properly with nix-1.12 which is still pre-release?
<manveru>
well, i've used 1.12 for over half a year now without issues...
<sphalerite>
__monty__: works fine for me. `nix-build '<nixpkgs>' -A hello -j0` says "unable to start any build; either increase --max-jobs or enable distirbuted builds"
<sphalerite>
oh wait this is nix 1.12 as well
<sphalerite>
same with 1.11.15 though
<manveru>
__monty__: you use single user nix?
<__monty__>
Yes
<manveru>
that option only works with nix-daemon
<adisbladis>
sphalerite: Have you also checked alsamixer?
<__monty__>
I have 1.11.15, it always just built locally. Now after setting up the remote I believe it tries to connect but builds locally when it fails.
<__monty__>
manveru: Ah, darn.
<__monty__>
Is it easy to switch to the daemon?
<manveru>
you're on a mac?
<__monty__>
No, arch linux.
S0rin has quit [(Ping timeout: 240 seconds)]
<manveru>
then it shouldn't be too hard...
VLetrmx has quit [(Quit: leaving)]
<manveru>
the nix installer tries to install multi-user by default unless you run as root
<__monty__>
Why does it only work with the daemon btw?
<__monty__>
And does the remote system need to run the daemon too?
<manveru>
because the logic to distribute builds is in the daemon
<manveru>
can't say i ever got it to work without it
<Dezgeg>
I did have it working on debian at some point (until I moved that box/container to NixOS)
<blawiz>
am i correct in assuming nixos is very different from debian? (eg i tried openbsd which is quite similar to debian)
<MichaelRaskin>
Not sure; a lot of generic low-level Linux administration knowledge is still applicable.
<MichaelRaskin>
All paths, the package manager — they are different
<MichaelRaskin>
The system-wide config uses completely different language, but not sure if it more different than Debian vs OpenBSD
<sphalerite>
blawiz: yeah. Main differences are how you manage packages and how you configure system-wide software — you'll basically never edit anything in /etc besides nixos config
<blawiz>
sphalerite: ah yes :]
<blawiz>
__monty__: o/
<__monty__>
blawiz: o7
VLetrmx has joined #nixos
<manveru>
Dezgeg: btw do you know how to get the store path from `nix build` with --no-link=true in 1.12?
<manveru>
for me `nix build --no-link true -f channel:nixos-17.09 hello` doesn't even output anything after the first run
<Dezgeg>
I haven't tried 1.12
<Dezgeg>
or probably I have but not the 'nix' command
<manveru>
`nix eval --raw -f channel:nixos-17.09 hello.outPath` works
ma27 has quit [(Ping timeout: 246 seconds)]
<fatberg>
hi, I'm new to NixOS and still figuring out the language actually. I wanted to setup a samba4 DC server. Is my understanding correct that there is no nix expression written for this and I'd have to write it myself? Only for the regular ms workgroup?
vcunat has quit [(Ping timeout: 255 seconds)]
<__monty__>
Will 1.12 perform better on older hardware? Even nix-env -qa nix bogs down my machine past the point of usability.
<manveru>
__monty__: yeah, it's written in C++, and there's the `nix search` command which is way faster
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] LnL7 pushed 2 new commits to master: https://git.io/vFC8a
<NixOS_GitHub>
nixpkgs/master e82dc08 Ruben Maher: lame: prevent build failure from using outdated symbol list...
<infinisil>
Ah, actually it's roberth with the xdg discussion on home-manager
<sphalerite>
Does anyone know a trick of some sort to get a remote shell on a machine as an unprivileged user, when the machine isn't running an ssh daemon?
<sphalerite>
manveru: yes that's the lines I'm thinking along. Just wondering how to plumb stuff together
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] nbp closed pull request #30517: services.xserver: assert that either desktop- or window manager is not "none" (master...x11/assert-that-either-dm-or-wm-is-not-none) https://git.io/vd9Yu
<NixOS_GitHub>
[nixpkgs] Shados opened pull request #31247: synergy: track upstream repository name change. (master...synergy-repo-rename) https://git.io/vFC8p
NixOS_GitHub has left #nixos []
<sphalerite>
Yeah I know how to use -L/-R, but the problem is that the machine I want to shell into isn't running an ssh daemon
<fatberg>
manveru: DC is for Domain Controller. I did find those files, the thing is though, that for DC to work addtional configurations for kerberos, optionally for dns, extra provisionning needs to be run, etc. I didn't see any of this in the service file, so I just wanted to be sure that it's really not there, and I'm reading the nix correctly.
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] NeQuissimus pushed 2 new commits to master: https://git.io/vFC4e
<manveru>
i'm working on a graphical nixos installer, it's writing the nixos config now, but on `nixos-install` it fails because there's no networking (or dns)?
FRidh has quit [(Quit: Konversation terminated!)]
<manveru>
i feel like i'm missing something obvious, because the nixos/tests/installer.nix works fine
mithsv has quit [(Ping timeout: 260 seconds)]
<rycee>
infinisil: Sorry, I got confused. You were actually looking for roberth?
<Dezgeg>
they manually include any build dependencies to the vm so that nixos-install can run without network
<infinisil>
rycee: Oh sry, got a bit confused there too, I thought only roberth was participating in the xdg discussion, but it turns out you are too
<infinisil>
rycee: I'm working on the xdg overlay thing right now, but it's gonna take a bit of time
<infinisil>
rycee: In the end it should be usable like e.g. less.env.LESSHISTFILE = { cache }: cache; and irssi.flags = { config }: "--home=${config}";
Mateon1 has quit [(Ping timeout: 258 seconds)]
Mateon3 is now known as Mateon1
<manveru>
ah...
<manveru>
extraDependencies
<rycee>
infinisil: Hmm, isn't teto somebody other than roberth?
<rycee>
infinisil: That seems very cool. How do you avoid the rebuild problem?
<infinisil>
Ohh, it's teto, gosh
<infinisil>
I assumed the wrong mail apparently
<infinisil>
rycee: symlinks :)
<infinisil>
probably
<rycee>
Maybe you saw Robert Helgesson somewhere :-)
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] NeQuissimus pushed 2 new commits to master: https://git.io/vFCBv
<NixOS_GitHub>
nixpkgs/master 9e59605 Piotr Bogdan: openrct2: fix build
<NixOS_GitHub>
nixpkgs/master b7fe557 Tim Steinbach: Merge pull request #31245 from pbogdan/openrct2-fix-build...
NixOS_GitHub has left #nixos []
<rycee>
Ah, good ol' symlinks.
<sphalerite>
teto is fearlessKim and freeman42x iirc?
<infinisil>
These damn different nicks everywhere
<rycee>
infinisil: Yeah, my idea was also to use something like symlinkJoin to merge the original package with one having the wrapped bins.
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] rycee pushed 1 new commit to master: https://git.io/vFCBO
mkoenig has quit [(Remote host closed the connection)]
<rycee>
Ralith: Executive summary: The default session dbus setup is a bit broken in NixOS, the setup when enabling socket activation is also a bit broken.
<manveru>
Dezgeg: just trying a different approach... seems to work
<manveru>
i think my overlay was fucking things up
scribbler has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] shaunren opened pull request #31250: wireguard: add support for default routing (master...wireguard) https://git.io/vFC0Z
alhariel has quit [(Remote host closed the connection)]
alhariel has joined #nixos
alhariel has quit [(Remote host closed the connection)]
alhariel has joined #nixos
ylwghst has quit [(Remote host closed the connection)]
alhariel has quit [(Remote host closed the connection)]
alhariel has joined #nixos
ylwghst has joined #nixos
blawiz has quit [(Quit: Lost terminal)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] LnL7 pushed 1 new commit to release-17.09: https://git.io/vFCEL
<NixOS_GitHub>
nixpkgs/release-17.09 1a8a95e Ruben Maher: lame: prevent build failure from using outdated symbol list...
NixOS_GitHub has left #nixos []
c0bw3b has left #nixos []
NeQuissimus has quit [(Ping timeout: 240 seconds)]
JosW has quit [(Quit: Konversation terminated!)]
asuryawanshi has joined #nixos
vcunat has joined #nixos
asuryawanshi has quit [(Ping timeout: 248 seconds)]
roberth has quit [(Ping timeout: 248 seconds)]
ma27 has joined #nixos
<sphalerite>
Right so my nc hackery sort of worked but sort of didn't, in particular some of the commands need a terminal…
<sphalerite>
which it doesn't provide
<sphalerite>
any ideas?
ixxie has quit [(Ping timeout: 240 seconds)]
ahstro has joined #nixos
orivej has joined #nixos
<manveru>
forward a tmux socket?
<manveru>
might as well just start a tmate then...
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] dezgeg pushed 1 new commit to staging: https://git.io/vFCuI
<NixOS_GitHub>
nixpkgs/staging 61f3d46 Tuomas Tynkkynen: Merge remote-tracking branch 'upstream/master' into staging
NixOS_GitHub has left #nixos []
<sphalerite>
don't have either of those things installed >.>
<manveru>
well, they can be installed without root
scribbler has quit [(Ping timeout: 248 seconds)]
<sphalerite>
hm yeah, might be worth a try
<manveru>
though it might be a bit more involved...
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] LnL7 closed pull request #31213: qt5: fix cmake cleanup on darwin (master...qt5-cmake-cleanup) https://git.io/vFcQW
NixOS_GitHub has left #nixos []
c0bw3b has joined #nixos
damke_ has quit [(Ping timeout: 240 seconds)]
damke_ has joined #nixos
<gchristensen>
MichaelRaskin: you have borg powers now, please no mass rebuilds, please be gentle, and let me know if you find bugs
<MichaelRaskin>
Thanks.
scribbler has joined #nixos
<MichaelRaskin>
I understood about large rebuilds from our previous conversation.
<gchristensen>
cool :)
<gchristensen>
I hope to codify the mass rebuild rules so I don't have to give that caveat: graphviz.herokuapp.com/?file=94f9097f4ad14c3138b5f5165898799d.dot.svg
<MichaelRaskin>
404
<gchristensen>
oops
<MichaelRaskin>
And eventually define mass-rebuild as time as opposed to count
<yegortimoshenko>
MichaelRaskin: thanks, glibc has it
alhariel has quit [(Quit: Leaving)]
alhariel has joined #nixos
<MichaelRaskin>
gchristensen: how does the backend works, would it make any use to join a moderately powerful box (compact BRIX with quad-core i4770R) for 10 hours on most nights?
<gchristensen>
MichaelRaskin: all PRs go in for evaluation testing, which is eval-only. right now this is centralized, but with work could be done by contributors providing compute power. builds are already able to be shared, you run a builder and it takes jobs off a to-build queue. a single builder handles an entire PR, and no builds are shared between builders (this way the only harm of a rogue builder is rogue approvals /
<gchristensen>
denies, not garbage snuck in to your store)
<MichaelRaskin>
Re: flowchart: does it make sense to ony sample leaves of the dependency tree in the «sample 10», by the way?
hariel has joined #nixos
<gchristensen>
that would be cool, yeah
ahstro has quit [(Ping timeout: 260 seconds)]
<Ralith>
rycee: interesting!
<gchristensen>
builds are doubled, one for linux and one for darwin. build instructions come from a job queue, and results are posted back to a result queue. this way builders don't get any special credentials, other than access to the build job and result queue
hariel has quit [(Remote host closed the connection)]
hariel has joined #nixos
<MichaelRaskin>
A properly implemented rogue builder would actually _block_ he entire queue instead of rogue approvals/denies
<gchristensen>
sure, the important part is crappy experience on PRs, vs. adding trojans to your store to paths :)
alhariel has quit [(Ping timeout: 255 seconds)]
<MichaelRaskin>
A fancy solution would be to share builds, but run them in an overlayfs on top of the real store.
<gchristensen>
that would be fancy, and could be done later... but borg isn't fancy right now :P that is why only ~12 people can use borg, and only 2 people are running builders
<MichaelRaskin>
What should I do to try running a builder?
silver_hook has quit [(Quit: ZNC 1.6.5+deb1 - http://znc.in)]
jsgrant has quit [(Remote host closed the connection)]
<gchristensen>
let's talk in #nixos-borg, and I'll work on getting you creds
tgunb has joined #nixos
knupfer has quit [(Ping timeout: 246 seconds)]
* VLetrmx
wishes to be assimilated
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] globin pushed 1 new commit to staging: https://git.io/vFCgC
asuryawanshi has quit [(Remote host closed the connection)]
thblt has quit [(Remote host closed the connection)]
asuryawanshi has joined #nixos
<sphalerite>
I need more sophisticated firewall control than the standard nixos modules provide, particularly support for forwarding rules. Does anyone have a setup they're particularly proud of or that might be helpful for me?
<tester123_>
I just installed pavucontrol, and saw that the mic is being recognized there. However, it doesn't work with any chrome websites that take mic input.
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] globin opened pull request #31255: nixborg: reference implementation for upcoming RFC on hydra PR testing (master...nixborg) https://git.io/vFCai
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] vbgl pushed 1 new commit to master: https://git.io/vFCa5
<NixOS_GitHub>
nixpkgs/master 8923737 Vincent Laporte: ocamlPackages.sexplib: 0.9.2 -> 0.9.3
NixOS_GitHub has left #nixos []
ma27 has quit [(Quit: WeeChat 1.9.1)]
ma27 has joined #nixos
periklis has quit [(Ping timeout: 258 seconds)]
scribbler has quit [(Ping timeout: 240 seconds)]
marzzzello has quit [(Ping timeout: 240 seconds)]
Itkovian has joined #nixos
scribbler has joined #nixos
<tilpner>
Hey, I'm having trouble compiling Godot master. It fails "fatal error: 'cxxabi.h' file not found" even though I think it should be available. I would appreciate if looked at it and maybe identified the mistake :)
proteusguy has quit [(Remote host closed the connection)]
<vcunat>
tilpner: no, from binary cache
scribbler has joined #nixos
<c0bw3b>
tilpner : ok got it to build, you need to use -Y to tell scons to search additional repositories [ https://www.mankier.com/1/scons ]
asuryawa_ has quit [(Read error: Connection reset by peer)]
asuryawanshi has joined #nixos
<c0bw3b>
trick is : -Y ${libcxxabi}/include fails with another error ...
<c0bw3b>
but it is building with scons [bla] -Y ${libcxx}/include/c++/v1
<c0bw3b>
>_<
<c0bw3b>
the split of dev files between libcxx and libcxxabi seems messy
Thra11 has joined #nixos
pie_ has quit [(Ping timeout: 248 seconds)]
kp__ has joined #nixos
<c0bw3b>
tilpner: BTW 'scons' should be in your nativeBuildInputs because you will only need it at build time
takle has quit [(Remote host closed the connection)]
Itkovian has joined #nixos
<sphalerite>
I'm having some difficulty getting ardour to open my audio device. I've tried both with pulseaudio running and with it stopped, but it's always just "Failed to open audio device". Any ideas for how to debug?
<sphalerite>
aww goibhniu's not here
tgunb has quit [(Ping timeout: 260 seconds)]
<sphalerite>
Hm, it works fine with the built-in audio, just not with my BR-80 recorder
asuryawa_ has joined #nixos
asuryawanshi has quit [(Ping timeout: 248 seconds)]
<tilpner>
c0bw3b - Thanks a lot for taking so much time to get this working, you're awesome! After looking at what -Y does, I checked the SConstruct for other ways to pass include paths, and CCFLAGS as an argument (but not in the environment) works too
asuryawa_ has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] vbgl pushed 1 new commit to master: https://git.io/vFC64
<NixOS_GitHub>
nixpkgs/master 9e0159c Vincent Laporte: ocamlPackages.stdio: 0.9.0 -> 0.9.1
NixOS_GitHub has left #nixos []
erictapen has quit [(Ping timeout: 258 seconds)]
<c0bw3b>
tilpner: well it was interesting to learn more about scons :) indeed CCFLAGS seems to work too
<c0bw3b>
I find CLI option more 'explicit' though
<vincent_vdk>
anyone who knows which packages you need to get Phonon with Gstreamer backend working?
<sphalerite>
Oh joy, I've got audacity and pulseaudio both frozen and not responding to any signals, including sigkill
orivej has quit [(Ping timeout: 260 seconds)]
scribbler has quit [(Ping timeout: 258 seconds)]
S0rin has quit [(Ping timeout: 240 seconds)]
scribbler has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] peti pushed 2 new commits to master: https://git.io/vFCif
<NixOS_GitHub>
nixpkgs/master a09460b Peter Simons: ghc: add 8.2.2-rc2
<NixOS_GitHub>
nixpkgs/master d594ca6 Peter Simons: hackage-packages.nix: automatic Haskell package set update...
yegortimoshenko has left #nixos ["ERC (IRC client for Emacs 27.0.50)"]
knupfer has quit [(Quit: knupfer)]
scribbler has quit [(Ping timeout: 248 seconds)]
S0rin has joined #nixos
ma27 has joined #nixos
simukis_ has joined #nixos
simukis has quit [(Ping timeout: 248 seconds)]
simukis_ is now known as simukis
b has quit [(Remote host closed the connection)]
ma27 has quit [(Ping timeout: 248 seconds)]
kuznero has joined #nixos
simendsjo has joined #nixos
<tobiasBora>
Hello,
ma27 has joined #nixos
<tobiasBora>
Is it possible to change the extlinux file generated by NixOs ?
simukis_ has joined #nixos
<kuznero>
Hi! I would like to increase terminal font + size on hidpi monitor with NixOS (before X is loaded, right after grub). How can I do that? It is very comfortable resolution on grub screen, but when it is starting the font is getting soooo small... Please advice
simukis has quit [(Ping timeout: 252 seconds)]
simukis_ is now known as simukis
<tobiasBora>
Because it disabled the line I added to extlinux that enaéle uart, so I can't do anything without Uart now…
S0rin has quit [(Ping timeout: 258 seconds)]
lars_ has joined #nixos
<ahstro>
Anyone know if I can specify versions of dependencies in the output of `cabal2nix`? A project is refusing to build, and I think it's because it's not depending on the latest versions of some libraries
ylwghst has quit [(Remote host closed the connection)]
<vcunat>
kuznero: you can set the font in configuration.nix via i18n.consoleFont
pie_ has joined #nixos
ma27 has quit [(Ping timeout: 240 seconds)]
<vcunat>
setfont --help will print a path where you can list the available names
<vcunat>
the font size is typically contained in the name
<MichaelRaskin>
Is there anything larger than iso01-12x22 though
tgunb has joined #nixos
ylwghst has joined #nixos
<MichaelRaskin>
I wonder if anyone generates setfont fonts for 4K by rasterizing TTFs. (I don't yet have a need for that, though)
orivej has joined #nixos
hellrazor has quit [(Ping timeout: 248 seconds)]
<ahstro>
MichaelRaskin: I use latarcyrheb-sun32, it's the largest one I know of
<NixOS_GitHub>
nixpkgs/master 53d4649 Michael Raskin: Merge pull request #31257 from c0bw3b/pkg/nsjail...
NixOS_GitHub has left #nixos []
mithsv has joined #nixos
ylwghst_ has joined #nixos
ylwghst_ has quit [(Client Quit)]
hotfuzz has joined #nixos
ylwghst_ has joined #nixos
<lars_>
hi, i'm new to nixos, do you have an idea of how to run java applications?
<lars_>
proprietary ones, not in nixpkgs, that is
<tilpner>
How to run them manually, or how to package them?
<sphalerite>
lars_: nix-env -iA nixos.jre; then java -jar foo.jar
<lars_>
run
ylwghst has quit [(Ping timeout: 240 seconds)]
<lars_>
what if the app assumes an FHS system?
<tilpner>
You can use buildFHSUserEnv to create a chroot to execute the app in
<tilpner>
Or use steam-run to get a sometimes-sufficient chroot built for you
<lars_>
and i have to do that in configuration.nix?
<tilpner>
Or... you try to patch it, but that might be hard for a delivered .jar
<lars_>
oh steam-run does that?
<lars_>
that package probably needs a better branding
<sphalerite>
lars_: it's based on steamOS so it's a fairly appropriate name :p
<tilpner>
Yes, steam-run does that. But for game-specific libraries
<sphalerite>
why are fbterm, kmscon, systemd-consoled all dead?
<lars_>
i just mean that the documentation could use a section that explains how to run proprietary binaries using a simple wrapper such as steam-run
<MichaelRaskin>
sphalerite: in what sense is fbterm dead?
<sphalerite>
MichaelRaskin: not maintained, project was never migrated from google code
<tilpner>
lars_ - The wiki FAQ mentions the patching and builfFHSUserEnv approach: https://nixos.wiki/wiki/FAQ#I.27ve_downloaded_a_binary.2C_but_I_can.27t_run_it.2C_what_can_I_do.3F
S0rin has quit [(Quit: WeeChat 1.9.1)]
S0rin has joined #nixos
<lars_>
tilpner: that's where i first spotted it but as i'm not really a computer scientist i didn't feel confident that i could do either
<tilpner>
Does steam-run work for your application?
<lars_>
haven't tested, i'm just trying to get an idea of would nixos suit my needs
<lars_>
i'm a statistician, so i make heavy use of linux and python, but i really don't know how linuxes work
<lars_>
and i'm more interested in the using of a computer than configuring it
<lars_>
for my analyses, that is
scribbler has joined #nixos
<lars_>
the virtualbox image was pretty convincing, everything got installed by just adding a single line to the configuration.nix
Judson has joined #nixos
<MichaelRaskin>
sphalerite: well, that's true, but I would say fbterm feels close to that rare «complete» state.
<lars_>
but i sometimes use binaries so i must make sure those work
<sphalerite>
Nixos typically does require a bit of tinkering for any tasks that aren't extremely common
<sphalerite>
but for the case of running foreign binaries there's a fairly common pattern that's not that hard to get the hang of
<lars_>
nice
<sphalerite>
MichaelRaskin: I suppose
ixxie has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] orivej pushed 6 new commits to master: https://git.io/vFCMT
<NixOS_GitHub>
nixpkgs/master 8e541c0 Roger Qiu: masterpdfeditor: init at 4.2.70
<tobiasBora>
I ran once the command nixos-rebuild switch --fast --option binary-caches http://nixos-arm.dezgeg.me/channel --option binary-cache-public-keys nixos-arm.dezgeg.me-1:xBaUKS3n17BZPKeyxL4JfbTqECsT+ysbDJz29kLFRW0=%
<lars_>
i used the recommended installer disk with a gui
<lars_>
there i used the gui to connect to wireless
<tobiasBora>
I rebooted, but now I don't know what I need to do: should I replace the configuration file with my own file ? Or just append at the end of the file ?
<tobiasBora>
And then should I use only the command "nixos-rebuild switch", or the full command "nixos-rebuild switch --fast --option binary-caches http://nixos-arm.dezgeg.me/channel
<tobiasBora>
I tried to use "nixos-rebuild switch", but it started to write "Building Nix..." so I was affraid that he erase everything so I stoped it.
<lars_>
can i just boot up from the installer, mount the partition, fix the config and use nixos-install again?
<tilpner>
lars_ - Yes, you can do that. If you want to fix the installation without it, either find a cable or use wpa_supplicant to connect manually
hiratara has quit [(Ping timeout: 246 seconds)]
<lars_>
okay thanks
<lars_>
what are the relevant things i need in my config so that i can manage the wifi in plasma?
<lars_>
and that it actually works
<tilpner>
networking.networkmanager.enable = true; should do it
<lars_>
okay, ill try it
<tilpner>
(But I don't use Plasma, so maybe they have an alternative)
<sphalerite>
yeah no that's the one
hiratara has joined #nixos
<sphalerite>
tobiasBora: building nix is perfectly normal output for nixos-rebuild and won't overwrite anything
<vcunat>
+1
<vcunat>
there's also --no-build-nix, BTW
<lars_>
plasma is just a temporary thing for me so i can get anything done
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] 7c6f434c pushed 1 new commit to master: https://git.io/vFC9W
<sphalerite>
tobiasBora: and adding the `--option binary-cache …` should only be necessary if they're not already defined in the system config which I think they are
<sphalerite>
lars_: then you can control nm through nm-applet (GUI), nmtui, or nmcli
<lars_>
i dont actually think there will be much of "setting up", since installing things with nixos is so easy :D
<lars_>
and i'll just copy the config from my desktop and modify the essential bits
<lars_>
but just in case
<lars_>
if i run into problems, i can still use my laptop on monday to do things
<lars_>
with plasma
kuznero has joined #nixos
kuznero has quit [(Client Quit)]
simendsjo has quit [(Quit: ERC (IRC client for Emacs 25.3.1))]
<Nobabs27[m]>
Linus: did a full reboot, still no thumbnails
<sphalerite>
Nobabs27: and this is in thunar, right?
<Nobabs27[m]>
Linus: yes
<sphalerite>
:/ idk it's supposed to work once you've installed tumbler and possibly created a new session so the dbus session daemon loads the new services…
<Nobabs27[m]>
Linus: i would note im using nor do I have XFCE installed
<Nobabs27[m]>
*not using
<sphalerite>
yeah, neither do I but installing tumbler made thumbnails in thunar work for me last I tried
<vcunat>
it might make a difference whether it's in systemPackages or just installed with nix-env
<vcunat>
I don't remember how this dbus business works
<Nobabs27[m]>
i used the conf file (systemPackages)
kuznero has joined #nixos
<vcunat>
hmm, strange, for some reason it works for me
<vcunat>
I'd try to get some logs from tumbler
<vcunat>
to narrow it down
<vcunat>
(but I'm leaving the channel now)
<sphalerite>
it also worked for me when installed via nix-env
<liwakura>
i remember there was a git repo for an musl & nix based distro
<liwakura>
does someone remember its name?
hiratara has joined #nixos
Wizek__ has quit [(Ping timeout: 255 seconds)]
moet has joined #nixos
<MichaelRaskin>
is not-os musl based?
<liwakura>
MichaelRaskin: aahh that is what i was remembering
<liwakura>
but i dont see musl actually
<liwakura>
but runit
lars_ has quit [(Quit: Page closed)]
<manveru>
liwakura: maybe nix on void?
<manveru>
though i'm not sure that ever got anywhere
<liwakura>
manveru: thats what im on right now
<liwakura>
musl void linux with nix
<liwakura>
perl is not really comfy with the fact that there are no locales
<liwakura>
so nix is spewing alot of warnings
<manveru>
you tried nixUnstable?
<liwakura>
whats that?
<manveru>
version 1.12, it's rewritten in C++
moet has quit [(Quit: leaving)]
<liwakura>
is it intended that it installs dbus and systemd for me when i want hedgewars?
ylwghst has joined #nixos
Thra11 has quit [(Ping timeout: 248 seconds)]
Thra11 has joined #nixos
<manveru>
hmm
<manveru>
1.12 also has a why-depends command ;)
<manveru>
my guess is through qt4
<liwakura>
mh, i still got 1.11
<symphorien>
you can use it inside nix-shell -p nixUnstable
<manveru>
hmm, it doesn't seem to depend on it for me
<liwakura>
but its nice to have an package manager to handle systemd regressions
mbrgm has quit [(Ping timeout: 240 seconds)]
<ahstro>
MichaelRaskin: Can't seem to get nativeBuildInputs to work. No chance you've used them with a Haskell package?
<MichaelRaskin>
maybe it is buildNativeInputs, I always mix these up, let me check
<MichaelRaskin>
nativeBuildInputs
<MichaelRaskin>
do you use something special like buildHaskellpackage?
<MichaelRaskin>
(I don't know if that exists)
mbrgm has joined #nixos
<ahstro>
MichaelRaskin: Yeah, I'm sure there's something special going on, but I'm not completely sure what. I generated the .nix file with cabal2nix, so going to read that source
silver_hook has joined #nixos
silver_hook has quit [(Changing host)]
silver_hook has joined #nixos
<MichaelRaskin>
No idea about that. The only to-nix I understand is quicklisp-to-nix
<tobiasBora>
sphalerite: ok thank you, but I don't understand why, the file is supposed to add a new channel right ? Then, why don't see this new channel when I run nixos-channel --list ?