<romildo>
On PR https://github.com/NixOS/nixpkgs/pull/26920 someone suggested removing some unimportant files with non ascii unicode chars in its name, because of compatibility with MacOS. It was suggested to add the following in the src attribute set:
<romildo>
It seems that $unpackCmd is undefined. How should this postFetch command can be written in this case?
mlieberman has quit [(Remote host closed the connection)]
Neo-- has quit [(Ping timeout: 248 seconds)]
<clever>
romildo: it will already have been unpacked in postFetch, so you shouldnt need to do that
<Dezgeg>
maybe in case of fetchFromGitHub it needs to be extraPostFetch
ebzzry has joined #nixos
<ebzzry>
joachifm_: ping
pie_ has joined #nixos
pie__ has quit [(Remote host closed the connection)]
<romildo>
clever, Dezgeg, it uses fetchFromGithub. In postFetch the downloaded file is known as 'file' it seems not be unpacked yet. With extraPostFetch there is a directory named unpacked which seems to contain the unpacked downloaded file. Should I remove the undesirable files (with unicode chars in their name) there?
<romildo>
s/unpacked/unpack/
<Dezgeg>
no, from $out
c74d has joined #nixos
c74d has left #nixos []
Dr8128 has quit [(Ping timeout: 240 seconds)]
Supersonic112 has quit [(Disconnected by services)]
Supersonic112_ has joined #nixos
Supersonic112_ is now known as Supersonic112
joehh has quit [(Ping timeout: 248 seconds)]
zraexy has joined #nixos
lambdamu has joined #nixos
noam_ has quit [(Read error: Connection reset by peer)]
noam__ has joined #nixos
lambdamu_ has quit [(Ping timeout: 248 seconds)]
<romildo>
Dezgeg, thanks.
nh2 has joined #nixos
pie_ has quit [(Ping timeout: 240 seconds)]
python476 has quit [(Remote host closed the connection)]
python476 has joined #nixos
griff_ has joined #nixos
<griff_>
@search Phil Tucker
python476 has quit [(Remote host closed the connection)]
python476 has joined #nixos
dhess has joined #nixos
<dhess>
Anyone around who's running a Gitlab instance on NixOS?
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] disassembler pushed 2 new commits to master: https://git.io/vFr2i
<NixOS_GitHub>
nixpkgs/master c42a0fb José Romildo Malaquias: enlightenment: 0.21.10 -> 0.22.0...
<NixOS_GitHub>
nixpkgs/master e0483a5 Samuel Leathers: Merge pull request #31532 from romildo/upd.enlightenment...
NixOS_GitHub has left #nixos []
kp__ has quit [(Quit: WeeChat 1.9.1)]
aanderse_ has quit [()]
mbrgm has quit [(Ping timeout: 240 seconds)]
aanderse has joined #nixos
mbrgm has joined #nixos
asuryawanshi has joined #nixos
romildo has quit [(Quit: Leaving)]
<adisbladis>
disasm: So you are using nixops to deploy desktop machines? :)
<adisbladis>
Are you doing that with a local nixpkgs checkout?
asuryawanshi has quit [(Ping timeout: 240 seconds)]
shanemikel has quit [(Quit: My MacBook Air has gone to sleep. ZZZzzz…)]
<disasm>
adisbladis: so yes, I do have a nixpkgs checkout. I haven't actually pressed the button yet, but yes, my desktop in the office that runs my plex server I'm working on getting the config right. It's kinda scary running nixops deploy the first time. I also order a new microsystem to replace my openwrt router that will be running nixos as well (that I'll deploy with nixops)
<disasm>
adisbladis: my trick for making nixops using my nixpkgs checkout is I never run nixops outside of a shell (it's not installed via nix-env or systemPackages)
shanemikel has joined #nixos
<disasm>
and my default.nix sets the NIX_PATH env var
<adisbladis>
disasm: I'm not entirely sure if a local nixpkgs checkout would play nicely with tooling like nix-shell?
<disasm>
adisbladis: right, that's why my default.nix specifies the NIX_PATH var
<adisbladis>
disasm: My NIX_PATH is pointing to my local checkout. How do you make sure that the same nixpkgs version is propagated to the other machine?
<adisbladis>
My scenario is: Laptop is deploying (has git nixpkgs) to desktop. How do you deploy the same git revision and set up NIX_PATH on the remote?
<disasm>
adisbladis: nixops builds everything locally and copies those closures to the remote machine, so the machine running nixops is where it's important to get it right.
<disasm>
adisbladis: or do you mean for users on that machine so nix-env uses the right checkout?
<adisbladis>
disasm: Yes. Exactly.
<disasm>
if the latter, I haven't ran into that problem yet :)
<adisbladis>
disasm: Ok =)
AluisioASG has quit [(Remote host closed the connection)]
<adisbladis>
I guess that's for me to find out then :)
AluisioASG has joined #nixos
<adisbladis>
Actually shouldn't be hard at all when I think about it..
Golden_Skittle has joined #nixos
<adisbladis>
My new laptop is arriving later this week and I really want to have my whole personal deployment be nixops :)
mlieberman has joined #nixos
<adisbladis>
Already using it at work but there we don't really have that issue since we just use unstable-small.
dieggsy has joined #nixos
<disasm>
yeah, I rebuild stuff to frequently on my laptop, but everything else I want to be managed by nixops
drakonis has quit [(Read error: Connection reset by peer)]
<adisbladis>
disasm: I could just wrap my nixpkgs up in a derivation and deploy that one. Super simple.
<disasm>
adisbladis: my reason for a nixpkgs local checkout is also different than most. rather than trying to pin versions, it's more for backporting cherry-picks from other branches (like unstable, or other nixpkgs forks)
<disasm>
adisbladis: yeah, that should work
<disasm>
I'm not too afraid of breaking stuff with a rebuild switch --upgrade (I rebase almost daily), mainly because I can always just rollback if something happens.
<NixOS_GitHub>
[nixpkgs] orivej pushed 1 new commit to master: https://git.io/vFrVW
<NixOS_GitHub>
nixpkgs/master 2d2f5e1 Orivej Desh: pip-tools: disable tests that depend on a specific version of "six"...
NixOS_GitHub has left #nixos []
mahalel_ has quit [(Client Quit)]
mahalel_ has joined #nixos
nh2 has quit [(Ping timeout: 248 seconds)]
<mlieberman>
does anyone know if idrisPackages.idris is broken? I can use haskellPackages.idris, which is an older version, but the one under idrisPackages installs but can't find Prelude or Builtins when run
<Golden_Skittle>
adisbladis: should it be .nix-defexpr?
ditadi has quit [(Ping timeout: 240 seconds)]
<Golden_Skittle>
I just tried "export NIX_PATH=/home/gskittle/.nix-defexpr:nixos-config=/etc/nixos/configuration.nix;"
<clever>
thats not how defexpr works
<FreakingOut1987>
anyone know if I can install nginx to my user profile?
<Golden_Skittle>
clever: I just found something similar and copied, on an aside, I got nix-env -i to work if I go root, I think I am missing user priviliges
<clever>
Golden_Skittle: what are the contents of ~/.nix-defexpr/ ?
<Golden_Skittle>
its empty
<clever>
and as root?
<Golden_Skittle>
it has a folder channels
<clever>
did you delete the old channels_root symlink?
<clever>
[clever@amd-nixos:~]$ ls -lh .nix-defexpr/
<Golden_Skittle>
It looks like I did accidentally delete ~/.nix-defexpr earlier tonight
justanotheruser has quit [(Quit: WeeChat 1.7.1)]
<Golden_Skittle>
If I broke that symlink would it just be easier to reinstall?
<Golden_Skittle>
Im still figuring this all out
<matthewbauer>
You can probably just symlink it to /nix/var/nix/profiles/per-user/$USER/profile
<Golden_Skittle>
is that the source file?
mark999 has quit [(Quit: Konversation terminated!)]
<Golden_Skittle>
link this "ln -S /nix/var/nix/profiles/per-user/$USER/profile ~/.nix-defexpr/"
<Golden_Skittle>
matthewbauer: Ah that fixed it, i swapped what I said in my last message around and now it works perfectly
universalpackage has quit [(Remote host closed the connection)]
<matthewbauer>
ok nice!
asuryawanshi has joined #nixos
justanotheruser has joined #nixos
justanotheruser has quit [(Client Quit)]
asuryawanshi has quit [(Ping timeout: 248 seconds)]
statusfailed has quit [(Remote host closed the connection)]
justanotheruser has joined #nixos
Wizek has quit [(Quit: Connection closed for inactivity)]
matthewbauer has quit [(Ping timeout: 240 seconds)]
<Golden_Skittle>
When I install haskell stack and try to use it, it says i am missing make?
<FreakingOut1987>
okay.. this is crazy.. I'm trying to debug nginx but theres no log file in /var/log
<FreakingOut1987>
nginx -t give me a /nix/store path... Do I have to go to that path everytime for logs...?
<FreakingOut1987>
i'm going to be honest this doesn't feel comfortable at all and seems really really backwards
<FreakingOut1987>
i'm probably doing something wrong, can someone enlighten me?
justanotheruser has quit [(Quit: WeeChat 1.7.1)]
justanotheruser has joined #nixos
orivej has quit [(Remote host closed the connection)]
orivej has joined #nixos
<jeaye>
I'd like to link a file relative to my configuration.nix into /etc; I'm trying environment.etc."foo".source = ./my-file; but haven't had much success. Is there a better way?
<jeaye>
I'd also like to be able to link directories just the same.
Isorkin has joined #nixos
<jeaye>
I could do an activation script, but something in Nix would be ideal.
shanemikel has quit [(Quit: My MacBook Air has gone to sleep. ZZZzzz…)]
<Golden_Skittle>
jeaye: non nix way: "ln -s source_file myfile"
<jeaye>
Golden_Skittle: I know that, but I appreciate it. :) When in Rome, I try to do as the Romans do.
<jeaye>
Thus, a declarative approach in Nix is preferable.
<Golden_Skittle>
jeaye: haha, gotcha.
zzamboni has joined #nixos
shanemikel has joined #nixos
zzamboni has quit [(Quit: Leaving.)]
universalpackage has joined #nixos
pie_ has joined #nixos
srdqty1 has quit [(Quit: WeeChat 1.9.1)]
srdqty has joined #nixos
FreakingOut1987 has quit [(Quit: Leaving)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] jascase901 opened pull request #31588: upgrades from 2.1.3 to 2.1.4 (master...godot-2.1.3->2.1.4) https://git.io/vFr6O
NixOS_GitHub has left #nixos []
<Golden_Skittle>
I am trying to run the command "stack setup" to setup haskell stack, but I am getting an error that I don't have make installed
nslqqq has joined #nixos
<Golden_Skittle>
How do I install make
srdqty has quit [(Ping timeout: 248 seconds)]
matthewbauer has joined #nixos
srdqty has joined #nixos
hariel has quit [(Remote host closed the connection)]
alhariel has quit [(Remote host closed the connection)]
wolfcub has quit [(Remote host closed the connection)]
noam__ has quit [(Read error: Connection reset by peer)]
alhariel has joined #nixos
noam__ has joined #nixos
srdqty has quit [(Ping timeout: 248 seconds)]
srdqty has joined #nixos
asuryawanshi has joined #nixos
noam__ has quit [(Read error: Connection reset by peer)]
noam__ has joined #nixos
dhess has quit [(Remote host closed the connection)]
<clever>
Golden_Skittle: run nix-shell
<Golden_Skittle>
How do I install make?
<clever>
Golden_Skittle: you may also want to look into "stack --nix"
<Golden_Skittle>
ok
endformationage has quit [(Quit: WeeChat 1.9.1)]
<Golden_Skittle>
it gives ma an error that there is no default.nix in my home user directory
asuryawanshi has quit [(Ping timeout: 268 seconds)]
proteus-guy has quit [(Remote host closed the connection)]
patrl has joined #nixos
<Golden_Skittle>
clever: I can't run it from root either, I dont have the required directory
noam__ has quit [(Read error: Connection reset by peer)]
noam__ has joined #nixos
dhess has joined #nixos
<ghostyy>
how do i use libvulkan on nixos?
<ghostyy>
i cant even find the object file in the store
<ghostyy>
even though i am using the proprietary nvidia drivers
<ghostyy>
(which come with a vulkan library i believe)
<ghostyy>
ah, its in vulkan-loader
srdqty has quit [(Ping timeout: 240 seconds)]
phreedom has joined #nixos
<jeaye>
Hm, just getting a blank white screen when logging in as anyone other than root.
<srhb>
I feel like it should probably be sort of fast tracked considering that most php applications are probably at least subtly broken in stable for quite a while now.
pie_ has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] matthewbauer opened pull request #31589: Libbsd update Darwin patch (master...libbsd-update) https://git.io/vFrXO
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] matthewbauer opened pull request #31590: quart-wm: fix building (master...quartz-wm) https://git.io/vFrX4
NixOS_GitHub has left #nixos []
ma27 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] matthewbauer opened pull request #31591: Libtiger fix on Darwin (master...libtiger-fix) https://git.io/vFrXg
NixOS_GitHub has left #nixos []
matthewbauer has quit [(Remote host closed the connection)]
jb55 has joined #nixos
zzamboni has quit [(Quit: Leaving.)]
pie_ has joined #nixos
ma27 has quit [(Ping timeout: 250 seconds)]
pie_ has quit [(Ping timeout: 248 seconds)]
<jeaye>
I've tried xmonad, xterm, and i3, with sddm, slim, and lightdm, as well as both none and xfce. As soon as I log in, there's a pause, then X dies and I'm booted back to the login prompt.
<jeaye>
Also tried creating an executable ~/.xsession for my user which runs i3 or xterm. Gave it a shebang, the right user/group and 0555. Running out of ideas and search results.
<nixo[m]>
jeaye: do you have auto-login?
<jeaye>
No.
<woffs>
Hi. How to burn an audio CD? Both bashburn (xorriso option error) and brasero (no permission to burn, although device is writable by me) are broken.
asuryawanshi has quit [(Ping timeout: 248 seconds)]
b has quit [(Quit: Lost terminal)]
rct has joined #nixos
adamt has joined #nixos
adamt has quit [(Changing host)]
adamt has joined #nixos
<hyper_ch>
in a nix expression, how can I make that it also installed python27.virtualenv as dependency....
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Mic92 closed pull request #31587: godot will crash if it is built with gcc6 (master...godot-gcc5) https://git.io/vFrKA
NixOS_GitHub has left #nixos []
<makefu>
hyper_ch: normally propagatedBuildInputs (input will propagate and be available for the final derivation)
<hyper_ch>
I used it as in the buildInputs but that's only for compiling... it just doesn't make python availabel then or the python modules
<Mic92>
hyper_ch: you can make a pr
<hyper_ch>
Mic92: I tested it, still not working.... zfs receiving of encrypted datasets works only without -R flag so no chance for incremental updates
<hyper_ch>
Mic92: and tbh, I have no idea how to make a pr... the nix info is very confusing... https://github.com/NixOS/nixpkgs/blob/master/.github/CONTRIBUTING.md --> "Format the commits in the following way:" -- is that meant as commit message or not sure what is meant by format the commits
zzamboni has quit [(Quit: Leaving.)]
<Mic92>
hyper_ch: nixpkgs/pkgs/os-specific/linux/zfs and nixpkgs/pkgs/os-specific/linux/spl needs to be updated
<ij>
I'm in a "nix-shell -E '(bundlerEnv …).env'". I'd like to also add docker-compose as an in-shell dependency, but -p and -E are mut. excl. How do I?
shanemikel has quit [(Quit: My MacBook Air has gone to sleep. ZZZzzz…)]
<manveru>
finally write a shell.nix? :)
pie_ has joined #nixos
matthewbauer has quit [(Ping timeout: 248 seconds)]
jensens has quit [(Read error: Connection reset by peer)]
adamt has quit [(Ping timeout: 248 seconds)]
ShalokShalom has joined #nixos
<hyper_ch>
oh noes, my PR errored :(
jensens has joined #nixos
ShalokShalom_ has quit [(Ping timeout: 240 seconds)]
<hyper_ch>
lol: The job exceeded the maximum time limit for jobs, and has been terminated.
hotfuzz has quit [(Ping timeout: 240 seconds)]
<DIzFer[m]>
hyper_ch: after reading most of that, I still don't understand how is a bookmark different from a normal, non-bookmarked snapshot. Is there supposed to be one? As I understand that post, to take advantage of a bookmark you need to have the corresponding snapshot too, therefore negating the supposed space-savings, right?
<hyper_ch>
DIzFer[m]: a snapshot also retains the data
<hyper_ch>
DIzFer[m]: the bookmark just marks the point in time where a snapshot was created
<hyper_ch>
so on the source you can make a snapshot, then bookmark, than remove the snapshot (and free space)
Wizek has joined #nixos
<hyper_ch>
and for incremental sending, you could then just use the bookmark as point of origin for the incrementation
<hyper_ch>
on the destination, you'll need to have the snapshot
<hyper_ch>
e.g. you have as source a SSD bedause it's much faster
<hyper_ch>
bt then it's also more expensive to get larger SSDs
ssmike has quit [(Remote host closed the connection)]
<hyper_ch>
you want to snapshot and snapshot often and send i
<sphalerite>
oooh neat
<hyper_ch>
so you'll start removing snapshots sooner again
ssmike has joined #nixos
<hyper_ch>
on your desitnation server you have bulks of 8TB drives... so plenty of space, no need to worry about disk usage
Lisanna has joined #nixos
<hyper_ch>
sphalerite: I actually did some reading on zfs ;)
<Lisanna>
Hey guys, how do I download large files in Nix? (e.g. nix-prefetch-url). Whenever I try, it times me out when it's in the middle of downloading. I don't see anything in the manual that could help me here.
<hyper_ch>
sphalerite: back then, bookmarks didn't exist I think
<sphalerite>
aaah ok
<hyper_ch>
mid 2014 bookmarks did exist... but did they also 2 years earlier...
orivej has quit [(Ping timeout: 248 seconds)]
<infinisil>
OH nice, didn't know boomarks did that
<hyper_ch>
infinisil: :) how did the test go?
<infinisil>
hyper_ch: Very good, I most likely passed :D
<hyper_ch>
"most likely"?
<infinisil>
well i can't be 100% sure
<joko>
Lisanna: download it manually and add it via nix-store --add-fixed sha256 <FILE> ???
<larsvm>
atm i'm on artificial neural networks lecture :)
<ixxie>
larsvm: I'm kinda getting into some ML at work now
<joko>
Could anyone tell me how to debug stages in nix-build, aka invoke a shell and enter in stages via command (installPhase etc.)?
<ixxie>
larsvm: more like unsupervised stuff atm
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] basvandijk opened pull request #31601: Fix hplip on release-17.09 by upgrading (release-17.09...release-17.09-fix-hplip) https://git.io/vFrpb
<MoreTea>
I'm willing to patch this, but have no clue where to start investigating; the latest diff to upgrade to v0.23 looks completely reasonable.
<MoreTea>
hyper_ch: it's a Go program that starts a VM via Docker's MachineKit, and starts a single machine Kubernetes cluster on top of this.
<hyper_ch>
forget that I asked :)
<MoreTea>
It's regulary used at $WORK, and I want to write a blog post that uses it ;)
<hyper_ch>
good luck
<hyper_ch>
Mic92: btw, I saw your entry regarding create a bridge.. that works fine.. however if I set firewall enable it applies also to the bridge.. nay way around it?
<Mic92>
hyper_ch: you can use the snippet provided in wiki. Also networkd can do the same
adamt__ has quit [(Ping timeout: 240 seconds)]
<hyper_ch>
Mic92: it's not a priority to get ipv6 running... but I'll keep it in mind... first I need to make sure encrypted zfs can be received just fine - also incrementally... then I need to get the signing process owrk again on the data server kvm....
<kiloreux>
It doesn't mention anything about password prompt
<kiloreux>
but I am getting one
adamt_ has quit [(Ping timeout: 248 seconds)]
therp has joined #nixos
<hyper_ch>
did you copy your ssh key?
<kiloreux>
Yes.
<hyper_ch>
"Under SSH KEYS, copy the contents of your desktop computer's ~/.ssh/id_rsa.pub file into the box that says "Enter entire key data""
<kiloreux>
I did that :D
<hyper_ch>
Enter passphrase for key '.../.ssh/id_rsa':
<kiloreux>
I never get that prompt
<hyper_ch>
ah, that's password for the privkey
<kiloreux>
just "Password:"
<hyper_ch>
then you did soething wrong
<hyper_ch>
if you supplied your public key properly, it should log you in directly
<hyper_ch>
I think
<kiloreux>
Which is not the case even if I am 100% sure I did. :/
<therp>
Does somebody have a good recipe ready to try out a newer kernel, for instance 4.14-rc8? (my machine is suffering from a kernel hang using the AMDGPU driver under 4.13 with Southern Island AMD cards)
<hyper_ch>
I still think you did something worng... can you retry?
<therp>
recipe = nix expression snippet
<kiloreux>
I have been retrying since thursday but I will give it another shot now :D
<hyper_ch>
and make sure you do kope the id_rsa.pub key into it
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
<hyper_ch>
s/kope/copy/
erictapen has joined #nixos
zzamboni has quit [(Quit: Leaving.)]
zzamboni has joined #nixos
<kiloreux>
could it be the fact that i am using ed25519 keys and not rsa the reason ?
davidak has quit [(Quit: Leaving.)]
ma27 has quit [(Ping timeout: 250 seconds)]
b has joined #nixos
ma27 has joined #nixos
justanotheruser has quit [(Quit: WeeChat 1.7.1)]
FRidh has quit [(Ping timeout: 248 seconds)]
FRidh has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] peti pushed 3 new commits to master: https://git.io/vFoTp
<NixOS_GitHub>
nixpkgs/master b155ff6 Peter Simons: Merge pull request #31603 from wizzup/fix-missing-haskell-attr...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] grahamc closed pull request #31034: WIP: mutable user eval test (master...mutable-user-test) https://git.io/vFmaR
NixOS_GitHub has left #nixos []
<hyper_ch>
why do I get the error unzip not found when I try to run this: https://paste.simplylinux.ch/view/raw/c2f83210 --> /nix/store/izkijl7w7qkjdfr09qk43v1n3bnbdnvm-stdenv/setup: line 99: unzip: command not found
theseriousadult has quit [(Ping timeout: 248 seconds)]
<gchristensen>
well you need to put unzip in to your buildInputs
<gchristensen>
_or_ you could just use fetchzip?
<hyper_ch>
ok, I'll use fetchzip then...
<gfixler>
Chapter 12, nix manual: For instance, you can go to http://hydra.nixos.org/jobset/nixpkgs/trunk/channel/latest and click on any link for the individual packages for your platform. The first time you do this, your browser will ask what to do with application/nix-package files.
<gfixler>
Do I need to be running a hydra server for that to work?
<gfixler>
I get a 404: Nix channels are not supported by this Hydra server.
<joko>
Is it possible to have a shared directory for two derivations?
<gchristensen>
so (1) IIRC, one-click installs are deprecated (?) (2) that whole chapter is sort of out of date :/
<gchristensen>
joko: what do you mean, shared?
<gfixler>
gchristensen: :/ running into a bit of that with nix documentation
<gchristensen>
yeah :( we struggle with docs :(
<gfixler>
would be cool if docs and code could be tied together
<joko>
gchristensen: I want to package shorewall and there are efectively two derivations, shorewall-core and plain shorewall. Some of the scripts in both derivations require access to a SHAREDIR
<joko>
So that shorewall-core checks for files that shorewall put in that directory and vice-versa
<joko>
Is there any NixOS package like that?
<gchristensen>
during install time? or during run time? not really possible during build time
<disasm>
gfixler: we're working on it... Made some good progress at NixCon: https://github.com/nixos-docs/nixpkgs/issues/1 We'd love contributions if you want to help. We also had someone code a way to get those function docs right from nix-repl
<hyper_ch>
suspicious ownership or permission on ‘/nix/store/zk52ya2lk1rv8nww2kqiyj1jk7hi2bk8-source’; rejecting this build output --> I tried to chmod after unpacking but that doesn't seem to fix it
<joko>
I'm afraid that it also requires that during build time :(
<joko>
Any way to download from two sources and install them both??
<joko>
I mean as one derivation
<gchristensen>
yeah, mkDerivation can accept a list of srcs
<gfixler>
disasm: nice
<gchristensen>
disasm: did you see my comment about `build` re ofborg?
<disasm>
I did, oops :)
<disasm>
hopefully that just noop and didn't break anything
therp has quit [(Ping timeout: 248 seconds)]
<gchristensen>
yeah it just throws it away otherwise
<ij>
I see so many "wrong ELF type" when installing gems.
<gchristensen>
I think that is fine from patchelf
<dannyg>
I am wondering about caching in a simple nixos derivation that downloads a jenkins war file. When i change version to something else (which changes the url since it has a ${verson}), there is a rebuild, but the new war file is not downloaded, it just uses the one it already had. If I actually change the url, e.g. add a bogus ?a=1 query string, only then the war file is downloaded and hash check is performed. Is this intended behavior? package file:
<NixOS_GitHub>
[nixpkgs] orivej pushed 1 new commit to master: https://git.io/vFo31
<NixOS_GitHub>
nixpkgs/master a2bebdd Orivej Desh: anki: fix package name
NixOS_GitHub has left #nixos []
<gchristensen>
hi dannyg, it is intended behavior but a bit complicated. the issue is the output name changed when you added ?a=1, causing it to redownload. however with the version change the URL changed, but the name and expected output didn't change
tobiasBora has quit [(Ping timeout: 240 seconds)]
<gchristensen>
nix trusts that the expected output sha is what you want, because, well, it must be :)
<gchristensen>
this is a complicated UX issue which has bitten several people :(
<dannyg>
but the name also depends on ${version}, or do you mean a different name
<gchristensen>
the name of the fetchurl output is inferred by the last path segment of the url
<gchristensen>
ie: jenkins.war
<dannyg>
aha so it strips whatever was in front of the last /
peacememories has joined #nixos
peacememories has quit [(Client Quit)]
<dannyg>
so adding a bogus query string that depends on the version, like ?dontcare=${verson} would make the package rebuild correctly
<gchristensen>
well the correct thing is to change the expected sha256 hash
<kermitas>
Maarten advised me to join here, "It might be easier if you joined #nixos on freenode. You need a C cross compiler in place.".
<Dezgeg>
I think Mic92 has got it working
<Dezgeg>
in some manner at least
<kermitas>
wow :), is he active here, on this chat?
<Dezgeg>
yes
<kermitas>
so I guess I need to wait until he will write something here :)
<dannyg>
gchristensen: aha, got it, of course I was too lazy to look up the correct hash and was just gonna copy it from the error :P
<gchristensen>
dannyg: yeah, same, so what I do is change the hash by 1 character
<dannyg>
thanks for the explanation
<gchristensen>
not a wonderful method, and a future version of nix will make this easier
zzamboni has quit [(Quit: Leaving.)]
<Mic92>
kermitas: not really. I started with nix on ubuntu and then got distracted by nixcon. hdmi will not work with the mainline kernel. your best shot will be to compile the kernel provided by pine64 on native hardware.
<kermitas>
Mic92: so it looks harder than just prepare right u-boot :/
<gchristensen>
kermitas: that looks great!
<goibhniu>
neat setup!
peacememories has joined #nixos
<Dezgeg>
Mic92: where did you get u-boot etc. ? from ubuntu?
<hyper_ch>
also tried to set now umask before unpacking https://paste.simplylinux.ch/view/raw/09ac1657 -- > suspicious ownership or permission on ‘/nix/store/zk52ya2lk1rv8nww2kqiyj1jk7hi2bk8-source’; rejecting this build output no idea how to fix that
<kermitas>
Mic92: and if I will forget about HDMI (and just use it via ssh) - is it only the case of proper u-boot? can you share with me yours?
<Mic92>
I have not tried booting nixos on the device
<Dezgeg>
well how does it boot ubuntu then? :)
<Dezgeg>
maybe it has all the right defaults
<Dezgeg>
to boot nixos
<Dezgeg>
I mean, they'd actually have to spend effort to break it
zzamboni has joined #nixos
<MoreTea>
kermitas: welcome :) (maarten here)
<MoreTea>
unfortunately, I don't have any stake in those kind of devices
<kermitas>
I would be appreciated if someone would help me with u-boot compilation (I am on VitualBox NixOS image) but if it is a hard work then maybe it is not worth even to start this 'hell on earth' ;)
<MoreTea>
I did some, but now it's about kubernetes.
<orivej>
I've set up a private Hydra, but its builder can not use my "/etc/nix/machines" because it can not access root ssh keys: "/root/.ssh/id_ed25519 not accessible: Permission denied." and remote jobs fail after 5 retries. How do you deal with this? Copy the keys (to change ownership) and the machines files (to point to the copied keys)?
<Dezgeg>
so, it would be really good to find a prebuilt u-boot from somewhere on the net
<disasm>
it appears u-boot recommends re-cloning the git repo for any different arch
<kermitas>
disasm, ok, I will check it now
<Mic92>
kermitas: building on native hardware is easier at the moment then using cross compilers and it is also faster then emulated hardware.
qqq has quit [(Ping timeout: 260 seconds)]
therp has joined #nixos
<disasm>
kermitas: yeah, if you have a raspberry pi 3, you might want to just create a nixos sd card for it and build there.
<Mic92>
kermitas: I can give a tarball later to install nix on other Linux-distros on pine64
<kermitas>
disasm, unfortunately I don't have any other ARM based computer now (only those five pine64); how to bring C cross compiler into nixos's terminal (I am a NixOS big fan but complete noob at the moment)
therp has left #nixos []
<kermitas>
Mic92: thank you very much, would you like to write down my email address, kermitas@gmail.com
zzamboni has joined #nixos
<Mic92>
kermitas: installing nix from git was a bit of a pain, but once you have nix, installing & building nix is easy. I would also recommend to get a second sdcard, for flashing nixos later
<kermitas>
disasm: I did a fresh clone and try to compile for pine64_plus_defconfig but I see only dozens of warnings, I would say that this can be lack of this c cross compiler but I don't know how to bring it to nixos's command line/terminal
AliasSpider has joined #nixos
zzamboni has joined #nixos
AliasSpider has quit [(Read error: Connection reset by peer)]
pie_ has quit [(Remote host closed the connection)]
zzamboni has quit [(Client Quit)]
<kermitas>
Mic92, thx, putting this on nixos's SD card, as a replacement of /boot partition would boot or am I too naive? ;)
<Dezgeg>
Mic92: could you also extract like 1st megabyte of the image or so, which contains the u-boot proper
lsix has joined #nixos
lsix_ has quit [(Ping timeout: 268 seconds)]
betaboon has quit [(Quit: WeeChat 1.9.1)]
<Dezgeg>
hopefully 'strings' can extract the config details :)
<orivej>
joko: this is why I do not understand why services.hydra.buildMachinesFiles defaults "/etc/nix/machines", since hydra will not be able to use those machines because it can't own ssh keys which are already owned by root
<kermitas>
(but I wasn't so brave to just take their /boot partition and override nixos's one)
zzamboni has joined #nixos
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<kermitas>
Mic92, disasm: what do you think about using their /boot partition with NixOS, is there a chance that it would boot? (I read somewhere that they are using completely different u-boot...)
<Mic92>
kermitas: you also need to adapt the kernel command line
<Dezgeg>
meh, apparently they didn't enable the extlinux.conf stuff :(
zzamboni has joined #nixos
<Mic92>
Dezgeg: how do you get the uboot image from this area?
<disasm>
kermitas: I know nothing other than what I google. I have a still packaged raspberry pi 3 in my pile of electronic toys that I intend to install nixos on at some point :)
<Dezgeg>
I just ran strings
<Dezgeg>
(to look at the u-boot environment variables)
<kermitas>
(later I will copy&paste this chat log to mailing list thread so we will not lose your advises)
zzamboni has quit [(Remote host closed the connection)]
zzamboni has joined #nixos
<Mic92>
kermitas: from the kernel log it seems, they have at least mainlined ethernet in 4.13
<kermitas>
Mic92: :)
ma27 has quit [(Ping timeout: 246 seconds)]
<DIzFer[m]>
according to both phoronix and omgubuntu (which might be pulling from each other, I guess?) pine64 board support is mainlined as of 4.14. I'm not sure exactly what that implies though
zzamboni has quit [(Ping timeout: 240 seconds)]
zzamboni has joined #nixos
<vaibhavsagar>
hey, is there a way to evaluate a service file to its eventual systemd configuration?
<sphalerite>
vaibhavsagar: not sure if it's possible without building the whole system. Probably is but I don't know how
<sphalerite>
vaibhavsagar: but you can always do nixos-rebuild build and look at etc/systemd in the result
zzamboni has quit [(Ping timeout: 240 seconds)]
zzamboni has joined #nixos
JosW has joined #nixos
<sphalerite>
I'm getting "substituter xyz does not have a valid signature for path foo" even though I've added xyz to trustedBinaryCaches. Is there something else I need to do?
<sphalerite>
Oh whoops, just read the docs for that option
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] ttuegel pushed 3 new commits to release-17.09: https://git.io/vFoBB
<NixOS_GitHub>
nixpkgs/release-17.09 6f4660f Thomas Tuegel: hplip: 3.16.11 -> 3.17.9...
<NixOS_GitHub>
nixpkgs/release-17.09 23b1bdd Thomas Tuegel: hplip: 3.17.9 -> 3.17.10
<NixOS_GitHub>
nixpkgs/release-17.09 8ac6c47 Thomas Tuegel: Merge pull request #31601 from LumiGuide/release-17.09-fix-hplip...
NixOS_GitHub has left #nixos []
zzamboni has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vFoBw
<NixOS_GitHub>
nixpkgs/master 44917c4 Joerg Thalheim: travis: disable for pull requests...
<sphalerite>
aminechikhaoui: no, ignoring the signatures is fine in this case
<mbrgm>
is `runCommand` with `substitute` the preferred way for creating a derivation from a template file? or is there a wrapper function around this?
asuryawanshi has quit [(Remote host closed the connection)]
<sphalerite>
aminechikhaoui: that did the trick, thanks!
<aminechikhaoui>
great :)
asuryawanshi has joined #nixos
<niksnut>
sphalerite: I'll have a look at implementing it, shouldn't be too hard
lebel has joined #nixos
<aminechikhaoui>
niksnut: while you're at it I still have a problem with doing nix-store -r <path> --option binary-caches <binary-cache> --option use-binary-caches '' with a trusted user
<aminechikhaoui>
sp it seems signed-binary-caches is ignored
<aminechikhaoui>
and I can only do that as root
<lebel>
Quick question, how do I install the french version of Firefox? I mean, I want everything to be in french, menus, etc... ? I see that the firefox-bin has a lot of versions of sha256 for every locale of Firefox.
leat has quit [(Quit: WeeChat 1.9.1)]
<lebel>
When I use nix-env -f $NIXPKGS -iA firefox-devedition-bin, I get the default english version of Firefox
zzamboni has quit [(Quit: Leaving.)]
MercurialAlchemi has quit [(Ping timeout: 248 seconds)]
jensens has quit [(Remote host closed the connection)]
zzamboni has joined #nixos
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
jensens has joined #nixos
<vaibhavsagar>
thanks tv!
<vaibhavsagar>
sphalerite: this is for a blog post on nixops deployment
<vaibhavsagar>
and I'm not running NixOS on the deployer so I'd like a way to check config
mkoenig has quit [(Remote host closed the connection)]
ThatDocsLady has joined #nixos
pie_ has joined #nixos
<NickHu>
Does anyone know how I can get non-LTS haskell packages? I'm trying to use pandoc 2
<vaibhavsagar>
NickHu: there's callHackage
<vaibhavsagar>
are you running NixOS?
<vaibhavsagar>
because Pandoc 2 will be in nixpkgs-unstable but not in nixos-17.09
p4cman has joined #nixos
<vaibhavsagar>
in fact it might not be in nixpkgs-unstable either, depending on how old all-cabal-hashes is
ixxie has joined #nixos
<avn>
NickHu: you always can use nixos-unstable.pandoc on stable
simukis_ has joined #nixos
<vaibhavsagar>
There's a package called 'all-cabal-hashes`, with all the Hackage packages+versions Nixpkgs knows about. This allows you to use 'callHackage <name> <version {}' to get an arbitrary version of a package.
ixxie has quit [(Client Quit)]
CodeWarrior has quit [(Ping timeout: 240 seconds)]
simukis has quit [(Ping timeout: 248 seconds)]
simukis_ is now known as simukis
Dr8128 has joined #nixos
peacememories has joined #nixos
shanemikel has quit [(Quit: My MacBook Air has gone to sleep. ZZZzzz…)]
mkoenig has joined #nixos
mbrgm has quit [(Ping timeout: 248 seconds)]
cement has joined #nixos
Itkovian has joined #nixos
mbrgm has joined #nixos
<FRidh>
any suggestions on how to deal with patches and the use of sourceRoot. I have a patch corresponding to the original src, but I build from a certain directory using sourceRoot. The patch should be applied before changing root. Are there any utilities to adjust a patch? Otherwise I could use an intermediate derivation, but I prefer not to.
<FRidh>
Couldn't get the -d option of patch to work in this case either.
<avn>
FRidh: change root in postPatchHook?
<avn>
(but you need to look for real hook name ;))
lebel has quit [(Remote host closed the connection)]
<vaibhavsagar>
avn: where does nixos-unstable come from?
<Dezgeg>
usually you can add patchFlags = "-p2" or something
<Dezgeg>
to skip directories
<orivej>
it is also fine to assign sourceRoot in the postPatch
<avn>
vaibhavsagar: channel if u use channels, or just -f http://......./unstable-snapshot.tar.gz (link to revision on github)
<FRidh>
Thanks for the suggestions. The -p2 works here. I suppose changing sourceRoot later would be nicer; let's try that as well.
Itkovian has quit [(Ping timeout: 248 seconds)]
effsquared has joined #nixos
asuryawanshi has quit [(Ping timeout: 240 seconds)]
<orivej>
FRidh: in this case you may use stripLen parameter of the fetchpatch
<effsquared>
Hi guys. I am currently writting a bunch of nix expression for some cmake based C++ code. That also involves some Find<PackageName>.cmake script that expect me to pass the location of depedencies as environmental variables.
asuryawanshi has joined #nixos
<effsquared>
How do I access these path inside my nix expression to pass them to shellHook?
FRidh has quit [(Remote host closed the connection)]
FRidh has joined #nixos
<effsquared>
For example, I would like to automatically call "export QGLVIEWERROOT=/nix/store/85ld6wv50h797g9fcphxj4918fv35fpv-libqglviewer-2.6.3"
jb55 has joined #nixos
<effsquared>
Nevermind. Turns out it is just a ${libqglviewer}
jb55 has quit [(Ping timeout: 240 seconds)]
<mbrgm>
is there a way to force evaluation of an expression when using `builtins.toXML`?
jb55 has joined #nixos
trevorriles has quit [(Ping timeout: 268 seconds)]
<phI||Ip>
Does anyone know if there is a switch/service/app available for NixOS to monitor bandwidth?
<phI||Ip>
ie count data packets received/sent
<hyper_ch>
you mean somethign like iftop ?
lebel has joined #nixos
<phI||Ip>
hyper_ch yeah except that is more UI based. I was thinking of something that either writes out reports or writes logs that I can total etc. At end of day I'd like some automated way of knowing how much data a given network port has moved over a given period of time
<hyper_ch>
you did add "app" to your question
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] 7c6f434c pushed 1 new commit to master: https://git.io/vFoMK
<NixOS_GitHub>
nixpkgs/master bd8cd3e Michael Raskin: Revert switching hello to fetchipfs, re: #18296
NixOS_GitHub has left #nixos []
<phI||Ip>
True - sorry about that
<hyper_ch>
ifconfig also gives out recieved/sent packages
<hyper_ch>
you could parse that output
kiloreux has quit [(Remote host closed the connection)]
<gleber_>
oleks: try `strace mutt` to see what syscalls it does
<gleber_>
I have never used mutt but the errors you are referring to are standard syscall errors, so strace should be useful
<oleks>
gleber_: well, I also get "sendmail: fatal: open /etc/postfix/main.cf: No such file or directory"
<disasm>
oleks: can you send out mail through postfix without mutt? I'm guessing postfix isn't configured correctly.
<gleber_>
oleks: have you isntalled postfix via `nix-env` or via nixos's `configuration.nix`?
<disasm>
if all you want to send mail with mutt and you have a remote smtp server you can auth through (like your isp, gmail, etc...) I'd recommend using ssmtp instead
<oleks>
gleber_: `configuration.nix`
<oleks>
disasm: oh, ok, I
<oleks>
I'll try and set that up instead
<oleks>
disasm: right, that was easy enough, thanks! sorry for posting this on #nixos, a bit emarassing really
<disasm>
yeah, if you're not running a mail server receiving mail, I wouldn't recommend setting up a full MTA like sendmail/postfix/exim. It can be really difficult to get setup correctly and securely if your not experienced with how mail servers work.
<gchristensen>
and if you are experienced with how they work, I'm sorry.
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] jerith666 opened pull request #31616: smartd: fix 'cat: command not found' error (master...smartd-cat) https://git.io/vFoda
<gleber_>
I've set `users.mutableUsers = false;` and provided a `passwordFile`. Unfortunately it looks like the file contained not the password that I expected, so I am unable to `sudo` now. I need to figure out how to reset my password now
<gleber_>
I do not think using previous configuration would work, since it won't override that users password
<BlessJah>
gchristensen: 17.09 went back in time to 1997
rogue_koder has joined #nixos
<grahamc>
Is it getting ready to part like it’s 1999?
<lejonet>
Hmm, how would I go about to enable a binary to be put in system path? Want to use the sssd provided sss_ssh_authorizedkeys but sshd whines that /nix/store is groupwritable, and I've found that it is apparenlnty put in system-path/bin and system-path/sbin in the store, so how do I tell nixos to actually put those paths into my conf?
<lejonet>
so that I can use /sbin/sss_ssh_authorizedkeys instead, and as /sbin shouldn't be writable by anyone but root, hopefully sshd doesn't complain about it
<sphalerite>
lejonet: why is your nix store group-writable??
<lejonet>
drwxrwxr-t 1 root nixbld 838K Nov 13 18:32 store
<sphalerite>
Huh, it is for me too
<lejonet>
I haven't done that... :P
<lejonet>
I would've preferred it be drwxr-xr-t and then nixbld:root instead
grw has joined #nixos
<vcunat>
group-writable but mounted read-only?
griff_ has quit [(Quit: griff_)]
<lejonet>
if its going to be mounted ro, why even bother having it writable then? :P
griff_ has joined #nixos
griff_ has quit [(Client Quit)]
Isorkin has quit [(Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org)]
<BlessJah>
I wonder how is it possible that the same device is mounted on / /nix/store and docker lib
<gleber_>
gchristensen: BlessJah: woffs: I found the reason I've got locked out. I've used `cat - | openssl ...` and typed the password to generate the password file instead of ` printf supersecretpassword | openssl ...`. `echo` must have included the final newline into
<gchristensen>
ooh
<gchristensen>
ouch :(
ThatDocsLady has quit [(Ping timeout: 264 seconds)]
<lejonet>
hate when that happens
<woffs>
gleber_: echo -n ?
<gleber_>
woffs: that might have helped
<woffs>
or press ^D^D instead of ↵^D
<woffs>
and I think cat - is useless use ;)
<lejonet>
poor, abused cat
bennofs has joined #nixos
<woffs>
meow
acowley_away is now known as acowley
<lejonet>
-.- even if I use /run/current-system/sw/sbin/sss_ssh_authorizedkeys it whines about the store permissions, maybe time for another ugly hack that copies that binary to a folder with right perms
amfl has quit [(Read error: Connection reset by peer)]
<sphalerite>
lejonet: err sshd then
amfl has joined #nixos
<lejonet>
sphalerite: well, see my answer to gleber_ ^^ seeing as its a binary that ultimately will be used for auth, I like that sshd is being picky about the permissions and such
jensens has joined #nixos
<adisbladis>
lejonet: If it was patched to reference a fixed store path that wouldn't be much of an issue.
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] NeQuissimus pushed 1 new commit to master: https://git.io/vFKeB
<NixOS_GitHub>
nixpkgs/master 0975c4b Tim Steinbach: vscode: 1.17.2 -> 1.18.0
NixOS_GitHub has left #nixos []
ssmike has quit [(Ping timeout: 240 seconds)]
<lejonet>
adisbladis: but there won't be a fixed store path for it, it'll get a new one each new generation
<lejonet>
so maybe I'm just not following, but it seems like that wouldn't really solve anything
<adisbladis>
lejonet: What is the exact error? What files is it complaining about?
<lejonet>
"bad ownership or modes for directory /nix/store"
<lejonet>
Because /nix/store is groupwritable
<adisbladis>
lejonet: Yes but what is it looking for in the store?
<lejonet>
Dezgeg: doesn't seem like that option is working then, because it doesn't even try to lookup ssh keys with sssd
<Dezgeg>
well, it works for me
<lejonet>
Whats your sssd conf then? I have the ssh sss service enabled
<Mic92>
gchristensen: adisbladis fixed in 7f7aa08332e38a879c649d57662ee4b0b07e232f
hexamod has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<adisbladis>
Mic92: Thanks.
<adisbladis>
Sorry about that.
<Dezgeg>
[sssd] has services = nss, pam, ssh
<gchristensen>
w00t thanks Mic92 :)
<gchristensen>
note that with travis gone, red X's should mean actual problems
<Dezgeg>
and services.sssd.sshAuthorizedKeysIntegration = true;
<adisbladis>
This makes me think there should be a recommended nixpkgs commit hook
Turion has joined #nixos
<adisbladis>
That does some basic sanity checks
<Mic92>
gchristensen: I am not yet used to it
<gchristensen>
I know the feeling ;)
<gchristensen>
adisbladis: if you rebase your #31618 it'll redo the eval checks
<lejonet>
same for me
<lejonet>
Dezgeg: [sssd] has services = nss,pam,sudo,ssh and services.sssd.sshAuthorizedKeysIntegration = true; :/
<Turion>
Where do requests for new derivations/packages go? Or is it even encouraged to submit them?
<gchristensen>
Turion: generally we don't handle requests for packages because we want people who use the software to package them, and then maintain it
<gchristensen>
but we'd be happy to help you package and maintain it
<Dezgeg>
so does sudo -u nobody /etc/ssh/authorized_keys_command $USER work?
Fare has quit [(Remote host closed the connection)]
<Dezgeg>
I guess it's something with sshd then
<Turion>
It exists as .deb, and as source. Which of the two is easier to repackage?
<makefu>
toppler: finally!
<makefu>
^ Turion:
<Turion>
makefu: Are you interested in using this as well?
<Dezgeg>
another lines that I do have for some reason (that I don't remember) are: services.openssh.challengeResponseAuthentication = false; and services.openssh.extraConfig = "UsePrivilegeSeparation no";
<makefu>
yes, right now i am using the chrome app instead
<Turion>
Right, me to, except that I can't seem to run it
<lejonet>
Dezgeg: I have challenge response to false too, but not UsePrivvelegeSeparation no, but it seems like it doesn't even try to query sssd if I do journalctl -u sssd -f
dieggsy has joined #nixos
<cransom>
the signal app itself makes me sad. it's electron and for very little usage, happily consumes a gig of memory for a chat client.
<lejonet>
maybe should ramp up debug on sssd again to see if the attempt is just masked by that maybe
thblt has quit [(Remote host closed the connection)]
<Turion>
cransom, welcome to electron ;) because some people can't be bothered to learn another language than JS
<Dezgeg>
yeah, I don't get any sssd messages with the default loglevel when I login
<Turion>
I can't find any tutorial or help page that would explain me how to package an electron app in particular...
<lejonet>
Dezgeg: lol, even with debug 5 there is nothing in the sssd log
<Dezgeg>
maybe up the debug for sshd as well
<BlessJah>
woffs: gleber_: echo -n is non-posix (posix actually says implementation-defined), printf is correct way
<gleber_>
Turion: `nixpkgs/pkgs/applications/networking/instant-messengers/rambox/default.nix` seems to be an example of similar electron-based app packaged for nixpkgs
<lejonet>
Dezgeg: mhm
<makefu>
Turion: i will look into building the app
<makefu>
normally building from source is the way forward
<Turion>
Ok, thanks! I'll try it.
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] LnL7 closed pull request #31591: Libtiger fix on Darwin (master...libtiger-fix) https://git.io/vFrXg
NixOS_GitHub has left #nixos []
<makefu>
oh oh, javascript and shit
dhess has joined #nixos
hariel has joined #nixos
<lejonet>
wait what, it does indeed query sssd, but it doesn't even attempt at using the info returned? O.o
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] basvandijk opened pull request #31620: Fix hydra on release-17.09 by upgrading: 2017-09-14 -> 2017-10-26 (release-17.09...fix-hydra-release-17.09) https://git.io/vFKJF
NixOS_GitHub has left #nixos []
joncfoo has joined #nixos
dieggsy has quit [(Remote host closed the connection)]
<Turion>
Wait a moment... rambox builds from a .deb, not from source...
alhariel has quit [(Ping timeout: 240 seconds)]
jb55 has joined #nixos
<makefu>
Turion: for building yarn based repos there is yarn2nix from profpatsch and moretea, not sure what the preferred way is though (none of the two is in nixpkgs ...)
<Turion>
makefu: What is yarn?
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] orivej pushed 1 new commit to master: https://git.io/vFKU6
<NixOS_GitHub>
nixpkgs/master fab6760 Orivej Desh: devmem2: provide a better mirror...
NixOS_GitHub has left #nixos []
<makefu>
yarn is the new npm if i understand this correctly (a package management system similar to gem or pip) but for nodejs
jgertm has joined #nixos
<Turion>
I see, thanks. Gosh, what have I signed up for?
<lejonet>
Dezgeg: My local user gets authorizedkeyscommand used, my LDAP-only user does not :(
<Profpatsch>
makefu: Turion atm moretea’s version is better supported, mine is still not finished.
<lejonet>
and for the local user, it doesn't whine about the unsafe perms, wth is going on lol
<Profpatsch>
It’s going to be great, though. Still searching for a nice non-clashing name.
<Turion>
Profpatsch, good to know, thanks! Right now I have no idea how to use either.
<Dezgeg>
maybe the AuthorizedKeysCommand line ended up under some conditional section in sshd_config?
jgertm has quit [(Ping timeout: 240 seconds)]
<Turion>
I mean, it spits out a derivation that depends on local paths, but I want it to depend on source downloaded from a github repo
<lejonet>
Dezgeg: nah, I just realized what is happening, tho not really why the local user got to use it and my ldap user not
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] orivej pushed 1 new commit to master: https://git.io/vFKTN
<lejonet>
Dezgeg: apparently the sssd option creates a shell script at /etc/ssh/ called authorized_keys_command, that wraps the call to the binary in nix-store, thus the check succeds
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] LnL7 pushed 4 new commits to release-17.09: https://git.io/vFKke
<NixOS_GitHub>
nixpkgs/release-17.09 a656bcb Matthew Bauer: libtiger: fix on darwin...
<NixOS_GitHub>
nixpkgs/release-17.09 6c4da26 Matthew Bauer: libtiger: add myself as maintainer...
<NixOS_GitHub>
nixpkgs/release-17.09 77a4b3e Matthew Bauer: libbsd: update darwin patch for 0.8.6...
NixOS_GitHub has left #nixos []
<Dezgeg>
yes, that avoids the whine :)
<lejonet>
But why it wasn't called for my ldap-only user I have no idea, it was called because I have a Match User directive for the local user, but that match directive doesn't contain anything about authorizedkeyscommand O.o
<Dezgeg>
dhess: I haven't taken a look yet
<lejonet>
I only have it to enable tcp forwarding and password auth for the local user
MP2E has joined #nixos
<lejonet>
Yay, adding an unconditional call to that script made it work, but why the heck it was conditional without me making it conditional I guess I'll not find out xD
Neo-- has joined #nixos
hexamod has joined #nixos
emiLio_esfoobar has quit [(Quit: leaving)]
<Turion>
Ok, I have no idea how to build a derivation for signal. Looking at the derivations for atom and rambox just left me more confused than before.
<Turion>
Any hints warmly welcome, otherwise I'm just going to drop this
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] orivej pushed 2 new commits to release-17.09: https://git.io/vFKI0
<NixOS_GitHub>
[nixpkgs] NeQuissimus opened pull request #31621: minikube: Use localkube (master...minikube_localkube) https://git.io/vFKLk
NixOS_GitHub has left #nixos []
<disasm>
Turion: whatcha got so far?
<Turion>
disasm: Basically nothing. I tried to take the rambox derivation and change it, but stopped in the middle when I realised that it doesn't even build from the source
<orivej>
Turion: are you aware of existing pull requests for signaldesktop?
<srhb>
I think it's quite critical as many php applications are expected to be at least subtly broken (in stable, no less.)
<srhb>
If there's anything left to do, I'd love to know.
<disasm>
orivej: wait... if they have source code why are we using a deb for it?
<Turion>
Ah, they also just pull the deb
<gchristensen>
srhb: oh jesus
<srhb>
gchristensen: Yeah, it's quite bad... :p
<orivej>
gchristensen: would you like to merge it? I believe it is ready.
<gchristensen>
I can't :$
<orivej>
then I'll merge it
<gchristensen>
please also back-port
phreedom has quit [(Quit: No Ping reply in 180 seconds.)]
<kukusiki>
hi, a new version of Viber came out. I've updated the expression and everything works fine, only when I try to reboot or logout and the Viber window is open, a notification pops up stating that the logout was cancelled by Viber. Does anyone know what this might be related to? I'm running KDE5 with Plasma
p4cman has quit [(Quit: Connection closed for inactivity)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] orivej closed pull request #31526: php: Fix php pcre by using external lib (master...fix-php-external-pcre) https://git.io/vFVp7
<srhb>
orivej: Thanks, and for the helpful review too! :)
<kukusiki>
kukusiki: To clarify. The logout is cancelled and the app window gets closed, after that logging out works fine. If the window is closed in advance, then the logout also works fine from the first try
dieggsy has joined #nixos
andymandias has joined #nixos
<edofic>
can I somehow export the entire closure for a particular nix-shell? I want to transfer the dev environment to an airgapped machine
<edofic>
so far i figured out I can get a lot of store paths with `nix-store -vv --run true` but it seems I get a bit too much.
<edofic>
`nix-shell -vv --run true`
<manveru>
edofic: ah, i think i know that one
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Mic92 pushed 1 new commit to release-17.09: https://git.io/vFKm1
<NixOS_GitHub>
nixpkgs/release-17.09 2a4a1d6 Joerg Thalheim: travis: disable for pull requests...
NixOS_GitHub has left #nixos []
<manveru>
well, kinda at least
<manveru>
nix-instantiate --fallback shell.nix
<manveru>
though... no idea how you'd copy that over without some sort of container that you actually evaluate it in first
<Mic92>
Is there a script to update github-based projects onto new releases automatically?
<manveru>
Mic92: i think there was some effort in that direction?
<gchristensen>
no but that sound immediately useful
<manveru>
but yeah, even if it's just for github, i'd love it
<Mic92>
github has a release api
<Mic92>
or atom feed
<manveru>
it has tags at least
<Mic92>
I thought I have seen something scripts doing this, but I cannot find them
<Dezgeg>
I have some ugly hacks to do that, should clean up one day
<edofic>
manveru: that gives me a drv that I cannot realise. I can query and build its references but that doesn't seem to be enough :/
<manveru>
yeah, i use that for nix-copy-closure
<manveru>
so... if you can figure out how nix-copy-closure works, you should be able to do it
<manveru>
i have no clue how derivations get realized actually... sorry
<edofic>
np, it's still a useful pointer. thanks
Isorkin has joined #nixos
digitalmentat has joined #nixos
<manveru>
actually, i have an idea
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] orivej pushed 1 new commit to release-17.09: https://git.io/vFKOu
<NixOS_GitHub>
nixpkgs/release-17.09 b76e7f8 Orivej Desh: php: Fix php pcre by using external lib...
<digitalmentat>
what is the solution to using mkRenamedOptionModule for an option with a default value that, other than the default value of the option, isn't defined anywhere else?
<sphalerite>
Is there a premade way in nixpkgs of determining whether the target system is x86, regardless of whether it's 32 or 64-bit?
<sphalerite>
Or should I just do stdenv.isi686 || stdenv.isx86_64?
orivej has quit [(Quit: No Ping reply in 180 seconds.)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] backuitist opened pull request #31626: i3status-rust: init at 0.0.1 (master...i3status) https://git.io/vFK3o
NixOS_GitHub has left #nixos []
<sphalerite>
Or is there a completely different way that's preferred?
orivej has joined #nixos
Isorkin has quit [(Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org)]
yegortimoshenko has joined #nixos
[0x4A6F]1 has joined #nixos
<yegortimoshenko>
is there some way to make an install target in Makefile that would be usable both for FHS-compliant Linux distributions and NixOS?
<gchristensen>
use the standard PREFIX variables and nixos will hanlde it just fine
[0x4A6F] has quit [(Ping timeout: 248 seconds)]
[0x4A6F]1 is now known as [0x4A6F]
<yegortimoshenko>
gchristensen: thanks!
kukusiki has quit [(Ping timeout: 240 seconds)]
erictapen has joined #nixos
ssmike has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] vcunat pushed 2 new commits to master: https://git.io/vFKGo
<NixOS_GitHub>
nixpkgs/master e04339d Vladimír Čunát: Merge branch 'staging'
<NixOS_GitHub>
nixpkgs/master f80a55c Vladimír Čunát: libbsd, libtiger: fix meta evaluation...
NixOS_GitHub has left #nixos []
jgertm has joined #nixos
<avn>
1ooks like I pick a good time to update my system to master (half hour ago ;))
<Sonarpulse>
that's your problem not the zlib package itself I think
kiloreux has quit [(Remote host closed the connection)]
<bgamari>
Sonarpulse, I'm looking at refactoring the remaining gcc expressions now
binaryphile has joined #nixos
<Sonarpulse>
bgamari: thanks!
<steveeJ>
Sonarpulse: neither, just master
leat has quit [(Ping timeout: 258 seconds)]
<Sonarpulse>
bgamari: unforunately my stdenv-toposort one is quite screwed up
<Sonarpulse>
but maybe I'll be able to move on without it
<bgamari>
oh no
<bgamari>
Sonarpulse, what do you think I should rebase my branch on top of?
* bgamari
doesn't really know what pieces are essential at this point
<Sonarpulse>
bgamari: heh I'm prone to mission creep
<Sonarpulse>
which does make that harder
<bgamari>
alternatively I can just wait until things stabilize a bit
<bgamari>
heh, understandable
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Mic92 opened pull request #31627: common-updater: use nix-prefetch-url to get new hash (master...common-updater) https://git.io/vFKnB
NixOS_GitHub has left #nixos []
<Mic92>
Dezgeg: now I only need a second script to print the latest version
orivej has quit [(Ping timeout: 268 seconds)]
<binaryphile>
i have an interesting situation: i run a private binary cache, and if I try to install a package using nix-env -ibA <package> when that package isn't available in the cache, it fails of course. If I build the package in the cache afterward, however, nix-env never picks up the change and won't install the package with -ibA thereafter. it's like it stores the cache status to not check again. any idea how to force a
<binaryphile>
re-check of the cache server?
<Sonarpulse>
bgamari: technically only binutils-wrapper and stdenv-elegant branches are needed
<steveeJ>
Sonarpulse: how come the ncurses cross compile works on this branch?
<Sonarpulse>
steeve master you mean?
<Sonarpulse>
master is scewed up
<Sonarpulse>
only a few things work
<bgamari>
it sounds like it might be best to just put off rebasing and focus on splitting things up a bit for now
<Sonarpulse>
dumb luck that they do practically
<Sonarpulse>
bgamari: well I sort of do that
<steveeJ>
Sonarpulse: it's not too bad actually. I'm getting a crosspkgs environment with just zlib broken AFAICT
<Sonarpulse>
I got a thing in my history that makes the rebasing itself easy
<Sonarpulse>
but whenever I split things up
<Sonarpulse>
I keep on adding the new stuff first
<Sonarpulse>
binutils-wrapper, for example, is a lot less ugly when we have separate libbfd and libopcodes derivations
[0x4A6F] has quit [(Ping timeout: 268 seconds)]
[0x4A6F]1 is now known as [0x4A6F]
<Sonarpulse>
so I went and added those
<Sonarpulse>
in the tomorrow PR
<Sonarpulse>
then the extension of _PATH in the setup hook of {bintools,cc}-wrapper
<Sonarpulse>
is ugly
<bgamari>
oh, sorry
<bgamari>
I meant in my own case
<Sonarpulse>
so I did the homormophic dep thing in stdenv-topsort
<Sonarpulse>
bgamari: well, either way
<Sonarpulse>
may you be less prone to mission creep than me :)
<steveeJ>
Sonarpulse: would you mind explaining why zlib cross compilation is not effective but yields a native lib? and how you fixed that in your branch?
<bgamari>
well, at the moment I'm not entirely sure what to rebase onto
<Sonarpulse>
bgamari: certainly, if there is more low impact things like gcc configureFlags
<Sonarpulse>
I'd be happy to merge them
<bgamari>
I could try rebasing stdenv-elegant again I suppose
matthewbauer has joined #nixos
<Sonarpulse>
anything tnot scary looking
<bgamari>
presumably I messed up somewhere
<bgamari>
which isn't terribly surprising; the attempt was made after two glasses of wine
<Sonarpulse>
steveeJ: basically today there is no proper sort of dep for buildPackages.stdenv.cc
<Sonarpulse>
bgamari: :D
<steveeJ>
Sonarpulse: so it's possible that buildPackages.stdenv.cc points to the native gcc?
<NixOS_GitHub>
nixpkgs/master 350a5e3 John Ericson: Merge pull request #29418 from vanschelven/small-documentation-improvements...
NixOS_GitHub has left #nixos []
Neo-- has quit [(Ping timeout: 248 seconds)]
jasom has quit [(Ping timeout: 255 seconds)]
jb55 has quit [(Ping timeout: 250 seconds)]
jasom has joined #nixos
<binaryphile>
Sonarpulse, this does the same and is a tad more readable: (branch=libbfd; git rebase "$branch"@{1} --onto "$branch"@{0} -i)
jgertm has quit [(Ping timeout: 248 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Ma27 opened pull request #31630: services.postgres: fix quoting in the description of `superUser` (master...fix-postgres-quoting) https://git.io/vFKCh
NixOS_GitHub has left #nixos []
<steveeJ>
Sonarpulse: I'm still confused by ncurses works and zlib doesn't. I'm pretty sure the fix is within the zlib expressions in this case
<steveeJ>
Sonarpulse: if you look at https://how-to-build-for-arm.wikispaces.com/zlib, many environment variables have to be set for a cross build. maybe the generic cross wrapper is missing some of these
agjacome has quit [(Ping timeout: 248 seconds)]
acowley is now known as acowley_away
dejanr has joined #nixos
dejanr has quit [(Client Quit)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] grahamc opened pull request #31631: Test: Revert "libbsd, libtiger: fix meta evaluation" (master...graham-test) https://git.io/vFKWS
NixOS_GitHub has left #nixos []
dejanr has joined #nixos
dejanr has quit [(Client Quit)]
<Dezgeg>
zlib in buildroot doesn't set any extra variables afaict
Shados has quit [(Remote host closed the connection)]
Shados has joined #nixos
<Dezgeg>
though, does its makefile screw up CC if it's not passed in make flags?
dejanr has joined #nixos
<steveeJ>
Dezgeg: I'd expect the CC/LD/AS vars to be redundant with CROSS
dejanr has quit [(Client Quit)]
miko__ has joined #nixos
<Dezgeg>
well I checked the zlib configure script and it does nothing with CROSS
dejanr has joined #nixos
<Dezgeg>
if you make the build fail and check the makefile, does it have the line 'CC=gcc' ?
lewo` has joined #nixos
kiliankoe_ has joined #nixos
zimbatm_ has joined #nixos
teozkr_ has joined #nixos
georgew_ has joined #nixos
lpsmith- has joined #nixos
sdemos_ has joined #nixos
cstrahan_ has joined #nixos
MightyJoe has joined #nixos
ahmedtd has joined #nixos
pie_ has quit [(Ping timeout: 248 seconds)]
hiratara has quit [(Ping timeout: 240 seconds)]
<miko__>
In the man page there is the following example:
<sphalerite>
miko__: but you just want to run ghci right? Use `nix-shell -p ghc --run ghci` instead
<steveeJ>
Sonarpulse: I'm afraid you have a paint in saying it's broken. stdenv.cc.prefix seems to be empty
<bgamari>
Sonarpulse, Is there any reason why we shouldn't just merge the gcc expressions?
<Sonarpulse>
bgamari: nope!
<bgamari>
they appear to be literally identical
<bgamari>
at least the configure flags
<Sonarpulse>
bgamari: I suppose two commits
<Sonarpulse>
such that the second commit did not change hashes combining them
<Sonarpulse>
would be cool
<Sonarpulse>
....but I'm the only person that will care about such "history proofs" :D
<Sonarpulse>
your branch builds build != host == target gcc?
<Sonarpulse>
right?
<bgamari>
not yet
<bgamari>
I haven't figured out how to get it to build
[0x4A6F] has quit [(Ping timeout: 248 seconds)]
[0x4A6F] has joined #nixos
<sphalerite>
bgamari: no idea where to find that. The machine in question is the rockchip rk3288-based ASUS C201 Chromebook, is rockchip where I'd look for that?
<bgamari>
Sonarpulse, by the way, is there some way to get nix to dump what information went into the hash?
<steveeJ>
Sonarpulse: I'm willing to test any repo/branch you throw at me at this point :-D
<bgamari>
Sonarpulse, so you can identify precisely where things differ
<bgamari>
sphalerite, hmm, that is actually a tricky one
<bgamari>
my experience is working with devboards
<bgamari>
where the vendor will often provide a board support package
<bgamari>
in the case of consumer hardware I have no idea
<Dezgeg>
my guess would be that TARGET_MAKE_ENV has CC=foo which overrides the bad version in the generated Makefile
shanemikel has joined #nixos
<steveeJ>
Dezgeg: would you mind to verify that zlib doesn't cross compile on master? maybe my allegation is wrong after all
unlmtd has joined #nixos
nixo[m] has joined #nixos
cornu[m] has joined #nixos
ArdaXi[m] has joined #nixos
hexkey[m] has joined #nixos
Phyra[m] has joined #nixos
kitten[m] has joined #nixos
jyp[m] has joined #nixos
bdimcheff has joined #nixos
abbafei[m] has joined #nixos
AlanPearce[m] has joined #nixos
indefini has joined #nixos
efx[m] has joined #nixos
berot3[m] has joined #nixos
WilliamHamilton has joined #nixos
spacekitteh[m] has joined #nixos
sirius[m] has joined #nixos
aspiwack[m] has joined #nixos
moredhel1 has joined #nixos
primeos[m] has joined #nixos
mankyKitty[m] has joined #nixos
grahamc has joined #nixos
peterhoeg has joined #nixos
NickHu has joined #nixos
hendrik[m] has joined #nixos
davidar has joined #nixos
bachp has joined #nixos
timclassic has joined #nixos
Nobabs27[m] has joined #nixos
TimePath has joined #nixos
mith[m] has joined #nixos
ConorCurry[m] has joined #nixos
zoya-kosova[m] has joined #nixos
fgaz[m] has joined #nixos
wak-work has joined #nixos
AndersonTorres[m has joined #nixos
kevincox has joined #nixos
Kallegro[m] has joined #nixos
M-liberdiko has joined #nixos
baconicsynergy[m has joined #nixos
the_m4ur1[m] has joined #nixos
sudoreboot[m] has joined #nixos
moredread[m] has joined #nixos
peel[m] has joined #nixos
rycee has joined #nixos
nh2[m] has joined #nixos
octalsrc[m] has joined #nixos
matrixkrav has joined #nixos
olejorgenb[m] has joined #nixos
ison[m] has joined #nixos
teh[m] has joined #nixos
apocolocyntos[m] has joined #nixos
itorres has joined #nixos
Geeky[m] has joined #nixos
Li[m] has joined #nixos
trikl[m] has joined #nixos
copumpkin has joined #nixos
Elephant454[m] has joined #nixos
Johnny44[m] has joined #nixos
FRidh[m] has joined #nixos
myklam[m] has joined #nixos
reactormonk[m] has joined #nixos
herzmeister[m] has joined #nixos
florianjacob has joined #nixos
MawKKe[m] has joined #nixos
magnap has joined #nixos
thematter[m] has joined #nixos
sargon[m] has joined #nixos
a123123123[m] has joined #nixos
viaken[m] has joined #nixos
dpc has joined #nixos
offlinehacker[m] has joined #nixos
Wysteriary[m] has joined #nixos
spawnthink[m] has joined #nixos
hl has joined #nixos
edef[m] has joined #nixos
necronian has joined #nixos
danielrf has joined #nixos
tokudan[m] has joined #nixos
lecorpsnoir[m] has joined #nixos
benkolera has joined #nixos
nocent has joined #nixos
freeman42x has joined #nixos
dtz has joined #nixos
pstn has joined #nixos
Obscurity[m] has joined #nixos
fearlessKim[m] has joined #nixos
WinterFox[m] has joined #nixos
bhipple[m] has joined #nixos
revoltmedia[m] has joined #nixos
wmertens[m] has joined #nixos
aminech[m] has joined #nixos
codyopel has joined #nixos
qrilka[m] has joined #nixos
bennofs[m] has joined #nixos
AmineChikhaoui[m has joined #nixos
pvn[m] has joined #nixos
Sovereign_Bleak has joined #nixos
dkellner[m] has joined #nixos
yochai[m] has joined #nixos
krawiec[m] has joined #nixos
puffnfresh has joined #nixos
jsv[m] has joined #nixos
Phil[m]1 has joined #nixos
onito[m] has joined #nixos
paperdigits[m] has joined #nixos
pierrebeaucamp[m has joined #nixos
aniketd[m] has joined #nixos
equalunique[m] has joined #nixos
sk23[m] has joined #nixos
Yaniel has joined #nixos
Pneumaticat has joined #nixos
Oo[m] has joined #nixos
mpuppe[m] has joined #nixos
regnat[m] has joined #nixos
Dezgeg[m] has joined #nixos
adisbladis[m] has joined #nixos
dash has joined #nixos
voobscout[m] has joined #nixos
stites[m] has joined #nixos
bendlas has joined #nixos
Drakonis[m] has joined #nixos
Singularity[m] has joined #nixos
taohansen has joined #nixos
trevorriles[m] has joined #nixos
jluttine[m] has joined #nixos
musicmatze[m] has joined #nixos
mtncoder[m] has joined #nixos
malteof[m] has joined #nixos
mrdaak[m] has joined #nixos
AdamSlack[m] has joined #nixos
chominist[m] has joined #nixos
seif[m] has joined #nixos
zigschots20[m] has joined #nixos
scott1 has joined #nixos
Ralith has joined #nixos
DIzFer[m] has joined #nixos
Vincenzo[m] has joined #nixos
noctuid has joined #nixos
Barnabas[m] has joined #nixos
M-berdario has joined #nixos
kainospur[m] has joined #nixos
ycy[m] has joined #nixos
dibblego[m] has joined #nixos
tommyangelo[m] has joined #nixos
hedning[m] has joined #nixos
Leo[m]2 has joined #nixos
cifra[m] has joined #nixos
thomad[m] has joined #nixos
demyan[m] has joined #nixos
jack[m] has joined #nixos
r3mfKm[m] has joined #nixos
EuAndreh[m] has joined #nixos
dylanjust[m] has joined #nixos
dalaing has joined #nixos
rnhmjoj[m] has joined #nixos
wizzup[m] has joined #nixos
StuK[m] has joined #nixos
randomenduser[m] has joined #nixos
Deleh[m] has joined #nixos
EB[m] has joined #nixos
icetan has joined #nixos
M-fishy has joined #nixos
Khorne[m] has joined #nixos
xurxo[m] has joined #nixos
corngood has joined #nixos
tobim[m] has joined #nixos
etcinit[m] has joined #nixos
guest521[m] has joined #nixos
gudea[m] has joined #nixos
eqyiel[m] has joined #nixos
ninegua[m] has joined #nixos
AllanDaemon[m] has joined #nixos
mhsjlw[m] has joined #nixos
AsherGottlieb[m] has joined #nixos
sziszi[m] has joined #nixos
jlle[m] has joined #nixos
akavel[m] has joined #nixos
JameySharp[m] has joined #nixos
retrry[m] has joined #nixos
Manish[m] has joined #nixos
smbarte2[m] has joined #nixos
admin[m]1 has joined #nixos
shanemikel has quit [(Ping timeout: 248 seconds)]
civodul has quit [(Quit: ERC (IRC client for Emacs 25.3.1))]
<aanderse>
anyone here ever use steam in home streaming on a nixos server and client? when i do this sort of streaming my gamepad doesn't work, but the game pad works running steam games locally on either the client or server
<NixOS_GitHub>
nixpkgs/master a3f5010 Renaud: Merge pull request #31633 from InfernalKnight/viber...
NixOS_GitHub has left #nixos []
jb55 has quit [(Ping timeout: 248 seconds)]
<steveeJ>
Dezgeg: the buildroot zlib package has so many variables that aren't obvious, there could be anything in there for configure, even CROSS_PREFIX
c0bw3b has left #nixos []
ambro718 has quit [(Ping timeout: 248 seconds)]
theseriousadult has joined #nixos
<Dezgeg>
I git grepped the repo
matthewbauer has joined #nixos
<steveeJ>
Dezgeg: OK, that's good to know. I'm quite clueless at this point what could be missing
throwaway_name has joined #nixos
<steveeJ>
the annoying thing is that when I change zlib it has to rebuild lots of stuff for my cross environment
pie_ has quit [(Ping timeout: 240 seconds)]
<Dezgeg>
on master I get: Compiler error reporting is too harsh for ./configure (perhaps remove -Werror).
<Dezgeg>
where the cause is apparently gcc: command not found and/or cc: command not found
<sphalerite>
steveeJ: yes that's my plan but the question is how to get it into the nixos config
ssmike1 has joined #nixos
<sphalerite>
steveeJ: nix already generates drop-in files, but the question is how to get the empty ExecStart
<steveeJ>
sphalerite: oh, well nevermind :-D
<sphalerite>
s/nix/nixos/
ssmike has quit [(Ping timeout: 240 seconds)]
ssmike1 is now known as ssmike
erictapen has joined #nixos
matthewbauer has joined #nixos
hydraz is now known as sigint
<steveeJ>
Dezgeg: it seems like a huge change considering that zlib seems to be my only issue at this point
<bgamari>
steveeJ, correction: zlib is your only issue so far ;)
<steveeJ>
bgamari: haha, fair point. although the environment I need is quite small. it's just supposed to set up a cross compiler which has basic libraries for cross-compiling the linux kernel, dropbear and busybox
<Dezgeg>
which one of those needs zlib?
<steveeJ>
Dezgeg: dropbear
cement has quit [(Ping timeout: 248 seconds)]
<steveeJ>
(by default)
<Dezgeg>
ah
hellrazo1 has quit [(Ping timeout: 248 seconds)]
matthewbauer has quit [(Ping timeout: 248 seconds)]
<steveeJ>
Dezgeg: any idea how to just set CC to the cross compiler in the zlib expressions?
<Dezgeg>
git grep gives me CC=${stdenv.cc.prefix}gcc in busybox
sigint is now known as hydraz
hellrazo1 has joined #nixos
<Sonarpulse>
bgamari: haskellPackages.pretty-show
<bgamari>
eh?'
<steveeJ>
Dezgeg: how about adding stdenv.cc to buildInputs?
<Sonarpulse>
will make diffing drvs worthwhile
<bgamari>
ahh
<Sonarpulse>
steveeJ: just set CC and friend by hand
<Sonarpulse>
the setup hook won't work right currently
<Sonarpulse>
g2g
<steveeJ>
Sonarpulse: is there a way to set it for all phases?
<Dezgeg>
you can set it in the derivation attribute
<Dezgeg>
i.e. pass an argument named "CC" to mkDerivation
<steveeJ>
Dezgeg: got it, thanks, I'll try that
jb55 has joined #nixos
<dhess>
wow, it would be so huge if cross compiling worked generally
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
hoverbear has joined #nixos
throwaway_name has joined #nixos
<steveeJ>
Dezgeg: how did you figure out CC wasn't set? I also made the build fail by adding "exit 1" to the postInstall phase but couldn't investigate the build files
joehh has joined #nixos
<Dezgeg>
nix-build -K
<joehh>
hi there, what package contains nixos-rebuild?
<Dezgeg>
and I did 'echo $CC' pin postPatch ;-)
<joehh>
wanting to use it in a systemd service script and need to be able to add it to the path
astsmtl has joined #nixos
astsmtl has quit [(Changing host)]
astsmtl has joined #nixos
MP2E has joined #nixos
<Orbstheorem>
Hi, I'm trying to use my bluetooth mouse: I paired, trusted and connected it; I can see in dmesg that it was added as an hid input device, but when I run xinput, I can't see it. NixOS 17.09