<ariutta>
dhess: anyway, it now works, at least on my machine. Do you think it's ready for me to make a pull request?
<ariutta>
dhess: does it make sense to only add clang to the build inputs for darwin, like this? buildInputs = [ ... ] ++ stdenv.lib.optionals stdenv.isDarwin [ clang ];
<mhsjlw[m]>
Ok, so I've seen this issue somewhere else (can't remember where). Anyway, `nix-shell` is pretty broken and I'm trying to fix an issue inside of nixops right now and this is just pissing me off: `nix-shell`'s arrow keys don't work, the characters aren't escaped properly, and I can't use my tab key to autocomplete. Here's an exact copy-paste of the text: `\[\][nix-shell:~/Documents/nixops]$\[\]`
<mhsjlw[m]>
I'm sure someone is familiar, if they could point me to the issue ID I'd be thankful! :D
jrolfs has joined #nixos
rvolosatovs has quit [(Ping timeout: 256 seconds)]
otherjrolfs has joined #nixos
<jtojnar>
puffnfresh: how are you indenting the derivation? cat /nix/store/qbi9xkjbf5qxrvq3xjdx3nzwx6mq1y7j-ghc-8.0.2-with-packages.drv | indent only seems to indent it partially
<samueldr>
I have that when I nix-shell inside a nix-shell
erasmas has quit [(Quit: leaving)]
nallar has joined #nixos
Ross has quit [(Ping timeout: 240 seconds)]
nallar is now known as Ross
rogue_koder has quit [(Ping timeout: 265 seconds)]
<yegortimoshenko>
Ankhers: do you like Erlang (w/o Elixir)?
<Ankhers>
yegortimoshenko: I work with Elixir. Most of the time, I would prefer to be writing Erlang.
<Ankhers>
(I have no professional experience with Erlang though).
<yegortimoshenko>
i also prefer Erlang
<puffnfresh>
jtojnar: so the only difference must be at runtime
hotfuzz_ has quit [(Ping timeout: 240 seconds)]
<gchristensen>
Ankhers, samueldr that list is very out of date, because the checking isn't in PHP anymore. but there is an issue where you can request access :) I'm going to do a batch tonight
hotfuzz_ has joined #nixos
<samueldr>
(yeah, found the new code a bit after)
<gchristensen>
:)
<gchristensen>
todo: delete the dead code
<samueldr>
:)
<samueldr>
I'm looking into the issue I'm having with nix and debian, but my first re-build (not using the reproduce script) doesn't show the same issue, now trying the reproduce script...
<Ankhers>
Gotcha. I don't really need access. I just tried triggering a build on a PR and was wondering why there was no output from the bot. I wasn't sure if it was a bug, or maybe it doesn't output anything on successful builds or something.
<samueldr>
how likely is it that the .deb built from hydra is... broken?
<gchristensen>
samueldr: somewhat-to-very? we don't link to them anymore
notdaniel has joined #nixos
<samueldr>
I mean, the same code, same nixpkgs, but a "wrong" build
<samueldr>
(it's moments like these I hate having only 15mbps)
jrolfs has quit [(Ping timeout: 272 seconds)]
otherjrolfs has quit [(Ping timeout: 265 seconds)]
<dhess>
Anyone here running Hydra with non-root remote build users?
<dhess>
i.e., where sshUser != "root" in nix.buildMachines
<fpletz>
dhess: the build user has to be in nix.trustedUsers on the build machine
<dhess>
I've been running remote builds without Hydra using a dedicated, unprivileged "nix" user on my buildMachines and it has been working fine. But with Hydra, it seems to close the SSH connection as soon as it's successful
<dhess>
fpletz: oh ok maybe that's it
<mhsjlw[m]>
teh: hey, I want to fix your DigitalOcean pull request
<gchristensen>
dhess: watch `sudo journalctl -f` on the remote builder for some potentially helpful logs
<dhess>
gchristensen: ok, what I'm getting on the master is this: possibly transient failure building ‘/nix/store/46j5vdc3x9ri2gxrd59hy30yrpp542nj-libfastcgi-v1.0-7-g19533f6pre19533f67da4c74b34679859bb38b2623eb9bf79f.drv’ on ‘nix@localhost’: unexpected end-of-file
<dhess>
anyway let me try to deploy this new config with "nix" in trustedUsers
<dhess>
of course I've now broken my regular remote builders :\
orivej_ has joined #nixos
orivej has quit [(Ping timeout: 272 seconds)]
<dhess>
ohhh I think it's working
<ariutta>
Is it preferred to make a pull request from a patch branch onto the master branch of NixOS/nixpkgs? Or can I make a pull request to the nixpkgs-unstable branch?
<dhess>
wahoo! Thanks fpletz!
<dhess>
of course now I just need to fix my broken remotes :)
<fpletz>
background: hydra will basically do nix-copy-closure to put arbitrary store paths into the nix store
<fpletz>
that should only be done by trusted users :)
<pkill9>
there's a bunch of duplicate youtbe-dl packages in nixpkgs
<dhess>
fpletz: ok. What's interesting is that remote building via NixOps did not require that the user mentioned in sshUser was in trustedUsers
<fpletz>
ariutta: yeah, please do a PR on the master branch of NixOS/nixpkgs, the NixOS/nixpkgs-channels repository is automatically updated and read-only
<fpletz>
dhess: remote build via nixops? how is that possible? %)
<fpletz>
if nix files are transferrend to other machine and evaluated to drv files there, it is no problem
<fpletz>
but to put arbitrary drv files into the nix store is prohibited by regular users
<dhess>
fpletz: sorry, I meant that remote builds kicked off by 'nixops deploy' , using nix.distributedBuilds = true and nix.buildMachines defined the same way, worked fine on remote hosts but did not require that this unprivileged "nix" user was defined in trustedUsers.
<fpletz>
s/by/for/
<fpletz>
dhess: hmm
<jtojnar>
puffnfresh: any ideas?
otherjrolfs has joined #nixos
jrolfs has joined #nixos
<fpletz>
dhess: maybe I mixed something up and its actually related to subsitutes
<fpletz>
so if the dependencies are fetched from a binary cache or nix-copy-closure'ed to the build machine
<puffnfresh>
jtojnar: what does "ghc-pkg field text id" give you?
<bgamari>
How does one deal with impure dependencies?
<bgamari>
e.g. I have some binaries that aren't produced by nix that I use to built some artifacts
<bgamari>
Ideally I would like nix to track their hashes and rebuild things when they change
<gchristensen>
yegortimoshenko: and elsewhere in russia? I'm surprised s3 would be blocked but not cloudfront
<yegortimoshenko>
gchristensen: i can't check anywhere else. russian government maintains a domain blacklist, and only one s3 subdomain was blocked (s3-eu-west-2.amazonaws.com). it has been unblocked since, but seemingly, changes in the blacklist take time to propagate
<gchristensen>
ah I see
<gchristensen>
frustrating :(
<yegortimoshenko>
gchristensen: also, they don't put much thought into blocking something, they just block some resource, and if it isn't immediately deleted, they block the entire domain. it's also rarely systematic.
<gchristensen>
aye
MP2E has quit [(Remote host closed the connection)]
<gchristensen>
orivej: the aarch64 builder supports building Go now with that hardlink test :)
hellrazor has joined #nixos
hellrazo1 has quit [(Ping timeout: 268 seconds)]
MP2E has joined #nixos
mbrgm has quit [(Ping timeout: 264 seconds)]
mbrgm has joined #nixos
lambdamu has joined #nixos
lambdamu_ has quit [(Ping timeout: 240 seconds)]
nuncanada has quit [(Ping timeout: 240 seconds)]
Supersonic112 has quit [(Disconnected by services)]
shdzzl has joined #nixos
pkill9 has quit [(Quit: WeeChat 2.0)]
Supersonic112_ has joined #nixos
Supersonic112_ is now known as Supersonic112
atrx has joined #nixos
notdaniel is now known as notdaniel_
notdaniel has joined #nixos
notdaniel_ has quit [(Quit: Leaving)]
otherjrolfs has quit [(Ping timeout: 272 seconds)]
jrolfs has quit [(Ping timeout: 264 seconds)]
nix-build has joined #nixos
nix-build has quit [(Changing host)]
nix-build has joined #nixos
{^_^} is now known as Guest63354
Guest63354 has quit [(Read error: Connection reset by peer)]
sigmundv__ has quit [(Ping timeout: 248 seconds)]
sigmundv has quit [(Ping timeout: 256 seconds)]
mahalel_ has left #nixos []
sigmundv has joined #nixos
rogue_koder has quit [(Ping timeout: 265 seconds)]
astronavt has joined #nixos
rogue_koder has joined #nixos
notdaniel has quit [(Remote host closed the connection)]
ylwghst has quit [(Remote host closed the connection)]
spietz has quit [(Ping timeout: 264 seconds)]
proteusguy has quit [(Remote host closed the connection)]
<ajmccluskey[m]>
Hey, is anyone here able to point me to a simple example of cross compilation? My attempts at cross compiling `hello` after reading the manual and poking around seem to be stalled.
<Ralith>
switch, reinstert the key, and it should Just Work
<Ralith>
reinsert*
andersk has joined #nixos
ma27 has joined #nixos
<Lisanna>
ugh... I screwed up my nix.extraOptions, and now I can't fix it, because nixos-rebuild switch is trying to parse the screwed up nix.conf file
<Lisanna>
it's not immediately obvious what to do here
sary has quit [(Ping timeout: 240 seconds)]
otherjrolfs has joined #nixos
jrolfs has joined #nixos
j0 has quit [(Ping timeout: 260 seconds)]
sary has joined #nixos
<Lisanna>
Okay... I copied the config to a new directory, fixed the mistake, and set NIX_CONF_DIR for the nixos-rebuild switch command, and now everything is back to normal :)
<Lisanna>
it just kind of sucks that nixos can modify the stateful data that it also depends on to build... makes it really easy to get yourself "stuck"
endformationage has quit [(Quit: WeeChat 1.9.1)]
ma27 has quit [(Ping timeout: 272 seconds)]
<Lisanna>
and it also means that two subsequent nixos-rebuilds can do different things
sary has quit [(Ping timeout: 248 seconds)]
<Lisanna>
with identical configuration.nix
<andersk>
Ideally it seems like nix should at least try to parse its new nix.conf at build time to protect against that footgun.
justbeingglad has joined #nixos
justbeingglad has left #nixos []
sigmundv has quit [(Ping timeout: 248 seconds)]
sigmundv has joined #nixos
<clever>
Lisanna: another trick, cd /etc/nix ; cat nix.conf > nix.conf.new ; rm nix.conf ; mv nix.conf.new nix.conf ; vi nix.conf
<clever>
Lisanna: aka, replace the symlink with a normal file, and edit away
<clever>
nixos will overwrite it with a symlink next time you switch or boot
<clever>
that can be done with almost anything in /etc
* clever
heads to bed
jonasschnelli has left #nixos []
brekekoax has joined #nixos
rct has quit [(Quit: WeeChat 1.9.1)]
j0 has joined #nixos
otherjrolfs has quit [(Ping timeout: 240 seconds)]
jrolfs has quit [(Ping timeout: 256 seconds)]
j0 has quit [(Client Quit)]
MercurialAlchemi has joined #nixos
Itkovian has joined #nixos
periklis has joined #nixos
jsgrant has quit [(Remote host closed the connection)]
j0 has joined #nixos
<sphalerite>
I don't think the rm there is necessary?
leat has quit [(Quit: WeeChat 1.9.1)]
asuryawanshi has joined #nixos
<j0>
hi, so I tried adding the line udev.packages = [ pkgs.libu2f-host ]; to my configuration.nix, but yubikey still doesn't work without root
periklis has quit [(Ping timeout: 255 seconds)]
asuryawanshi has quit [(Remote host closed the connection)]
otherjrolfs has quit [(Ping timeout: 240 seconds)]
verite has quit [(Ping timeout: 248 seconds)]
j0 has quit [(Ping timeout: 260 seconds)]
taktoa has joined #nixos
freusque has joined #nixos
jrolfs has joined #nixos
sary has joined #nixos
jrolfs has quit [(Ping timeout: 248 seconds)]
rogue_koder has joined #nixos
siel has joined #nixos
otherjrolfs has joined #nixos
jrolfs has joined #nixos
woffs has joined #nixos
rogue_koder__ has quit [(Ping timeout: 272 seconds)]
otherjrolfs has quit [(Ping timeout: 248 seconds)]
sary has quit [(Ping timeout: 240 seconds)]
jrolfs has quit [(Ping timeout: 240 seconds)]
ssmike has joined #nixos
Itkovian has quit [(Read error: Connection reset by peer)]
a6a3uh has joined #nixos
otherjrolfs has joined #nixos
sary has joined #nixos
otherjrolfs has quit [(Ping timeout: 265 seconds)]
leat has joined #nixos
sary has quit [(Ping timeout: 255 seconds)]
notdaniel has quit [(Quit: Leaving)]
sary has joined #nixos
<Lisanna>
clever: oh, I guess that would work too
<Lisanna>
thanks
Itkovian_ has joined #nixos
sary has quit [(Remote host closed the connection)]
sary has joined #nixos
<Lisanna>
So, I've got a derivation which builds a bunch of other derivations which are dependencies. But if one of the derivations fails, other derivations unrelated to it don't get cached, they get rebuilt from scratch each time. Is there a way to fix this?
asuryawanshi has quit [(Ping timeout: 240 seconds)]
ertes has quit [(Ping timeout: 256 seconds)]
<Lisanna>
oh, this might be fixable with "-k"
dywedir has joined #nixos
a6a3uh_ has joined #nixos
a6a3uh has quit [(Ping timeout: 255 seconds)]
hmensch has joined #nixos
phreedom has joined #nixos
sary has quit [(Ping timeout: 272 seconds)]
vcunat has joined #nixos
asuryawanshi has joined #nixos
<hmensch>
Has anyone had any luck with the rpi3 audio port on aarch64? Also anyone experiencing intermittent crashes at u-boot's "Starting kernel ..."? i have the latest mainline kernel on dezgegs image and have checked the power adapter as mentioned in a github thread
otherjrolfs has joined #nixos
jrolfs has joined #nixos
otherjrolfs has quit [(Ping timeout: 240 seconds)]
jrolfs has quit [(Ping timeout: 240 seconds)]
hmensch2 has joined #nixos
a6a3uh_ has quit [(Quit: Bye)]
asuryawanshi has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] orivej pushed 1 new commit to master: https://git.io/vbMZT
<NixOS_GitHub>
nixpkgs/master b693f98 Orivej Desh: keepassxc: support macOS...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] orivej closed pull request #32879: Add macOS support for KeePassXC package (master...keepassxc-macos) https://git.io/vb1ps
NixOS_GitHub has left #nixos []
asuryawanshi has joined #nixos
zzamboni has joined #nixos
Lisanna has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] peti pushed 1 new commit to master: https://git.io/vbMZE
<NixOS_GitHub>
nixpkgs/master c9bed89 Peter Simons: sane-backends: enable support for PNG
NixOS_GitHub has left #nixos []
ThatDocsLady has joined #nixos
taktoa_ is now known as taktoa
dan_b has joined #nixos
taktoa has quit [(Remote host closed the connection)]
asseadinho has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] peti pushed 38 new commits to master: https://git.io/vbMZd
<NixOS_GitHub>
nixpkgs/master c13330c Peter Simons: LTS Haskell 10.0
<NixOS_GitHub>
nixpkgs/master f1736d1 Peter Simons: hackage2nix: downgrade llvm-hs to avoid bug in cabal-install...
<NixOS_GitHub>
nixpkgs/master 9f30660 Peter Simons: hackage-packages.nix: automatic Haskell package set update...
NixOS_GitHub has left #nixos []
Tucky has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] peti closed pull request #32854: Switch Haskell package set to LTS-10.x / GHC 8.2.2 (master...haskell-updates) https://git.io/vbXb7
NixOS_GitHub has left #nixos []
asuryawanshi has quit [(Ping timeout: 248 seconds)]
pie_ has quit [(Ping timeout: 256 seconds)]
otherjrolfs has joined #nixos
jrolfs has joined #nixos
asuryawanshi has joined #nixos
ssmike has quit [(Remote host closed the connection)]
ssmike has joined #nixos
supercynic is now known as ertes-w
otherjrolfs has quit [(Ping timeout: 248 seconds)]
<fearlessKim[m]>
is it possible that someone hit this bug in nixos ? https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1734147 . 2 days after receiving my laptop and after installing nixos 17.09, I got the bios bricked and DELL couldn't find anything so they just changed the motherboard.
jrolfs has quit [(Ping timeout: 260 seconds)]
otherjrolfs has quit [(Ping timeout: 256 seconds)]
<gchristensen>
ouch, fearlessKim[m]
asseadinho has joined #nixos
ssmike has quit [(Ping timeout: 272 seconds)]
ssmike1 is now known as ssmike
<gchristensen>
when I grep the repo for intel-spi it doesn't show up, anything else to look for?
<fearlessKim[m]>
I thought this was a dell bug but maybe it was the kernel and as nixos tends to enable everything in the kernel. The issue doesn't list my laptop (Dell 9365) but I guess I should check out if my hardware could have loaded this driver
dieggsy has joined #nixos
dieggsy has quit [(Remote host closed the connection)]
<Alling>
Trying to install NixOS (AArch64) on a RPi 3. Thought it was gonna be easy but apparently not ...
vidbina has quit [(Ping timeout: 264 seconds)]
<Alling>
The first problem is that it gets stuck at "Starting kernel ..." when booting. Only thing that helps (but only sometimes) is spamming keys on the keyboard.
<Alling>
And I cannot get nixos-rebuild to build at all.
<Alling>
warning: Nix search path entry '/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs' does not exist, ignoring
<Alling>
warning: Nix search path entry '/nix/var/nix/profiles/per-user/root/channels' does not exist, ignoring
<Alling>
error: file 'nixpkgs/nixos' was not found in the Nix search path (add it using $NIX_PATH or -I)
vidbina has joined #nixos
<Alling>
And then another one with 'nixpkgs' instead of 'nixpkgs/nixos'.
<Alling>
So ... how do I install NixOS on an RPi 3?
asuryawanshi has quit [(Remote host closed the connection)]
<myguidingstar>
vcunat I looked inside /nix/store/gxv958p7zrqa57df4ic0bgsb1fdl3pf7-libressl-2.4.5-dev but there are only .h files, not any .a or .so file
<vcunat>
myguidingstar: these are not in -dev
otherjrolfs has quit [(Ping timeout: 265 seconds)]
<vcunat>
they are typically in the suffix-less outputs
<vcunat>
(or -lib sometimes, but not in this case)
<vcunat>
I meant *.so
<vcunat>
(*.a typically aren't anywhere in the default builds - you have to override them)
<myguidingstar>
I see
ma27 has quit [(Quit: WeeChat 1.9.1)]
alexteves has joined #nixos
ma27 has joined #nixos
jrolfs has joined #nixos
otherjrolfs has joined #nixos
ssmike has joined #nixos
yegortimoshenko has joined #nixos
aarvar has quit [(Ping timeout: 256 seconds)]
hmensch has joined #nixos
otherjrolfs has quit [(Ping timeout: 248 seconds)]
jrolfs has quit [(Ping timeout: 268 seconds)]
hmensch has quit [(Ping timeout: 240 seconds)]
asuryawanshi has quit [(Ping timeout: 272 seconds)]
ssmike has quit [(Remote host closed the connection)]
ssmike has joined #nixos
jcbrand_ has left #nixos ["Disconnected: closed"]
coot_ has joined #nixos
Tucky has quit [(Quit: WeeChat 2.0)]
otherjrolfs has joined #nixos
jrolfs has joined #nixos
pkill9 has quit [(Quit: WeeChat 2.0)]
Tucky has joined #nixos
jrolfs has quit [(Ping timeout: 260 seconds)]
otherjrolfs has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] sopvop opened pull request #32895: nixpkgs/manual: fix build with new pandoc (master...master) https://git.io/vbMND
NixOS_GitHub has left #nixos []
<lonokhov>
I think it's my first PR to nixpkgs
<gchristensen>
w00t! that one, from sopvop?
myguidingstar has quit [(Ping timeout: 272 seconds)]
<lonokhov>
Oh yeah, forgot I've changed my nick here :)
peacememories has joined #nixos
dan_b has joined #nixos
ssmike has quit [(Remote host closed the connection)]
<catern>
does anyone know anything about this Fedora modularity initiative?
<catern>
it sounds kind of like they are moving towards a more Nixy way of doing things, where they rebuild packages from source much more often... but I'm surprised to hear that they are rarely rebuilding things from source at the moment, or something
<dan_b`>
but I am also sad because the runtime closure for gnu hello has 22 derivations in it including multple copies of gcc and glibc
<dan_b`>
which is ~ 120MB and a bit big for the target hardware
<contrapumpkin>
that surprises me
a6a3uh has joined #nixos
<contrapumpkin>
I'd file an issue about the unnecessarily large closure
<vcunat>
that's some cross-compilation?
<dan_b`>
it is most likely something I've done wrong
<dan_b`>
(understatement of the week)
<contrapumpkin>
I'd file the issue and find out :)
<gchristensen>
yeah it is not too hard to accidentally get multiple stdenvs when doing cross-arch building
<dan_b`>
but I'm not replete with ideas for where to start digging
leat has quit [(Quit: WeeChat 1.9.1)]
<dan_b`>
as you say, maybe if I open the issue someone will tell me
<duncan^>
I feel like this is potentially a stupid question, but, does there exist an equivalent of the "build-essential" packages on Debian-derived systems, that would enable us to pull in a toolchain for building C programs?
<lonokhov>
dan_b`: I tried to make a cross compiled nixpkgs for mipsel, had to edit system/parse.nix for it. Still can't figure out how to feed my config to linuxHeaders without breaking host :(
* duncan^
has lost Google-fu skills
<catern>
dan_b`: how are you checking what the runtime closure is? when I nix-store --query --requisites $(which hello) I just get glibc and hello
freusque has quit [(Quit: WeeChat 1.9.1)]
grumble has joined #nixos
<dan_b`>
[dan@loaclhost:~/src/nixwrt]$ nix-build nixwrt.nix -A hello -o hello-result
<NixOS_GitHub>
[nixpkgs] edolstra closed pull request #32827: CODEOWNERS: Add me, @Ericson2314, to a few things please (master...codeowners) https://git.io/vbPwT
NixOS_GitHub has left #nixos []
Itkovian_ has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
rihards has quit [(Ping timeout: 260 seconds)]
rihards_ is now known as rihards
<Alling>
gchristensen: I tried again, this time with ARMv7 instead of AArch64 (RPi 3). Now it gets stuck at "Started Rebuild Journal Catalog" after building for a while. What am I doing wrong?
<gchristensen>
I have no idea, I barely know things about aarch64, and even less about armv7. however, you'll have better support probably with aarch64 from upstream (ie: nixos officially)
erasmas has joined #nixos
<Dezgeg>
usually weird raspi hangs are due to insufficient power supplies, it's *really* power hungry
<Dezgeg>
and someone reported of a upstream bug in 4.14.x which is not yet fixed in mainline, I think
<dan_b`>
ok, well, I think I may have found part of the problem with closure size, my hello executable was not stripped
<dan_b`>
rookie error
<samueldr>
Alling: if using a 2.5A+ power supply with a random USB cable, use the shortest you can find, I've had issues with cheaper (and long) cables
<Dezgeg>
it might be that cross stripping is not being done (or implemented incorrectly)
<samueldr>
though, when using hdmi, it outputs on the display when there isn't enough power
<dan_b`>
considering the microusb connector is typically only rated to 1.8A
<dan_b`>
it's probably no surprise that the cables aren't always designed to deliver more
<Dezgeg>
the lightning bolt on the display is actually a problem since it conflicts with the kernel display driver
<samueldr>
:)
<samueldr>
exactly Dezgeg
grumble has quit [(Quit: Every way you look at it, you lose.)]
<Dezgeg>
actually it might "explain" the hang as well
<yegortimoshenko>
copumpkin: could you allow me to push to your fetchurl-user-agent branch? want to rebase against master and fix stuff suggested by eelco: https://github.com/NixOS/nixpkgs/pull/17757
<samueldr>
when it happens, it might show u-boot stuff again, switching VT after the lightning bolt and back *should* fix it IF there's enough power
<Dezgeg>
yes
<copumpkin>
yegortimoshenko: sure! please do :) just watch out for the .drv churn he was concerned about
MercurialAlchemi has joined #nixos
the-kenny has joined #nixos
<gchristensen>
and please don't merge it without a thumb from eelco :)
<yegortimoshenko>
copumpkin, gchristensen: sure!
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] dezgeg pushed 1 new commit to release-17.09: https://git.io/vbDtU
<NixOS_GitHub>
nixpkgs/release-17.09 a7664a6 Tuomas Tynkkynen: make-disk-image.nix: Really fix write permissions in the store...
NixOS_GitHub has left #nixos []
grumble has joined #nixos
<infinisil>
Is there no function in Nix to check whether a string contains another string??
<yegortimoshenko>
copumpkin: i'll need to have "Allow edits from maintainers" checkbox set on the pull request (it's in the right sidebar at the bottom)
<copumpkin>
yegortimoshenko: whoops, checked now!
<yegortimoshenko>
this was probably opened before it became the default
otherjrolfs has joined #nixos
<yegortimoshenko>
thanks!
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
jrolfs has joined #nixos
<infinisil>
Ohh, I guess the match function can do that
dieggsy has joined #nixos
jmeredith has joined #nixos
MercurialAlchemi has quit [(Ping timeout: 272 seconds)]
dieggsy has quit [(Client Quit)]
jrolfs has quit [(Ping timeout: 264 seconds)]
otherjrolfs has quit [(Ping timeout: 265 seconds)]
dieggsy has joined #nixos
nevermind has joined #nixos
nevermind is now known as Guest76296
Guest76296 is now known as nevermind
leat has joined #nixos
dieggsy has quit [(Remote host closed the connection)]
jrolfs has joined #nixos
astrofog has joined #nixos
nevermind has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
alexteves has joined #nixos
ma27 has quit [(Quit: WeeChat 1.9.1)]
jrolfs has quit [(Ping timeout: 240 seconds)]
MercurialAlchemi has joined #nixos
ma27 has joined #nixos
hotfuzz_ has joined #nixos
nevermind has joined #nixos
nevermind is now known as Guest34054
hotfuzz has quit [(Ping timeout: 248 seconds)]
dan_b_ has joined #nixos
szicari has quit [(Read error: Connection reset by peer)]
szicari_ has joined #nixos
Itkovian has joined #nixos
otherjrolfs has joined #nixos
dan_b has quit [(Ping timeout: 248 seconds)]
benzrf has joined #nixos
<benzrf>
hi
<benzrf>
i just overrode all-cabal-hashes in my config.nix to use the latest commit in the commercial-haskell repo
<benzrf>
but it seems that the format for it is incompatible with the callHackage helper i have?
<benzrf>
whats going on
rogue_koder has joined #nixos
dieggsy has joined #nixos
otherjrolfs has quit [(Ping timeout: 264 seconds)]
Itkovian has quit [(Read error: Connection reset by peer)]
Itkovian has joined #nixos
<benzrf>
oh wait crud im using fetchFromGithub and it expects a tar heuh
<Dezgeg>
but it shouldn't affect nixStable, I think
otherjrolfs has joined #nixos
propumpkin has joined #nixos
Mercuria1Alchemi has joined #nixos
lonokhov has quit [(Quit: leaving)]
contrapumpkin has quit [(Ping timeout: 240 seconds)]
pkill9 has joined #nixos
<FRidh>
This is with Nix master
astrofog has quit [(Quit: Quite)]
<FRidh>
ah that issue indeed
MercurialAlchemi has quit [(Ping timeout: 268 seconds)]
typetetris has quit [(Ping timeout: 265 seconds)]
propumpkin is now known as contrapumpkin
FRidh has quit [(Quit: Konversation terminated!)]
sirkha has joined #nixos
FRidh has joined #nixos
roberth has quit [(Ping timeout: 240 seconds)]
FRidh has quit [(Client Quit)]
asuryawanshi has joined #nixos
FRidh has joined #nixos
Mic92 has joined #nixos
asuryawanshi has quit [(Remote host closed the connection)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
otherjrolfs has quit [(Ping timeout: 260 seconds)]
jrolfs has quit [(Ping timeout: 256 seconds)]
Tucky has quit [(Ping timeout: 256 seconds)]
asuryawanshi has joined #nixos
otherjrolfs has joined #nixos
jrolfs has joined #nixos
etu has quit [(Quit: WeeChat 2.0)]
samvher has quit [(Ping timeout: 248 seconds)]
otherjrolfs has quit [(Ping timeout: 240 seconds)]
jrolfs has quit [(Ping timeout: 248 seconds)]
<Ankhers>
gleber_, (anyone interested in BEAM and nix): What are your thoughts on requiring running of `mix deps.get` / `rebar3 get-deps` in order to have the projects dependencies local and then be able run `rebar3 2nix` or whatever that command turns out to be. Or should we support pulling directly from hex, github, etc?
erictapen has joined #nixos
<Ankhers>
yegortimoshenko: I believe you mentioned you like Erlang, maybe you have thoughts on this?
<contrapumpkin>
bgamari: do you have an example of how you want to use toPath? you can append strings to paths and the result will be a path, so sometimes the answer is to do something like /. + foo
etu has joined #nixos
Mercuria1Alchemi has quit [(Ping timeout: 256 seconds)]
<bgamari>
ahh
<yegortimoshenko>
i don't like nix2whatever tools unless it's importing whole namespace (like Nixpkgs imports emacs ELPA and MELPA, or like quicklisp is imported)
<bgamari>
contrapumpkin, I didn't realize that
<bgamari>
contrapumpkin, thanks!
<contrapumpkin>
I do think toPath should probably do the right thing
<contrapumpkin>
the issue is with changing semantics of an existing function
<bgamari>
sure
<Alling>
OK, I seriously don't understand what I'm doing wrong. HOW do I install NixOS on a RPi 3?
<contrapumpkin>
mysql_Real_toPath2
otherjrolfs has quit [(Ping timeout: 240 seconds)]
<contrapumpkin>
:P
<Ankhers>
yegortimoshenko: I will take a look at that.
jrolfs has quit [(Ping timeout: 264 seconds)]
<Alling>
AArch64 gets stuck at whatever it was, some "Nix search path not found".
FRidh has quit [(Quit: Konversation terminated!)]
__Sander__ has quit [(Quit: Konversation terminated!)]
<Alling>
ARMv7 gets stuck at "Started Rebuild Journal Catalog" after building, and the rebuild does not seem to be "activated" (still autologin as root etc).
FRidh has joined #nixos
FRidh has quit [(Client Quit)]
FRidh has joined #nixos
<Ankhers>
yegortimoshenko: Apparently we already have a fetchHex. I just need to see if it actually works.
MercurialAlchemi has quit [(Ping timeout: 248 seconds)]
<yegortimoshenko>
Ankhers: fetchHex only handles one dependency at a time, and it still leaves for you to resolve dependencies, you'll need something else probably
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] NeQuissimus pushed 3 new commits to master: https://git.io/vbDl1
<NixOS_GitHub>
nixpkgs/master f95ba8e Tim Steinbach: linux: 4.9.70 -> 4.9.71
<NixOS_GitHub>
nixpkgs/master a4c9327 Tim Steinbach: linux: 4.14.7 -> 4.14.8
<NixOS_GitHub>
nixpkgs/master 26fb53a Tim Steinbach: linux: 4.4.106 -> 4.4.107
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] NeQuissimus pushed 1 new commit to release-17.09: https://git.io/vbDlM
<NixOS_GitHub>
nixpkgs/release-17.09 c9d9f86 Tim Steinbach: linux: 4.9.70 -> 4.9.71...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] NeQuissimus pushed 1 new commit to release-17.09: https://git.io/vbDlS
<NixOS_GitHub>
nixpkgs/release-17.09 76ad2a5 Tim Steinbach: linux: 4.4.106 -> 4.4.107...
NixOS_GitHub has left #nixos []
jrolfs has joined #nixos
otherjrolfs has joined #nixos
ertes has joined #nixos
dieggsy has quit [(Quit: ERC (IRC client for Emacs 27.0.50))]
pie_ has quit [(Ping timeout: 263 seconds)]
jrolfs has quit [(Ping timeout: 260 seconds)]
otherjrolfs has quit [(Ping timeout: 272 seconds)]
dieggsy has joined #nixos
FRidh has quit [(Quit: Konversation terminated!)]
ertes has quit [(Ping timeout: 248 seconds)]
FRidh has joined #nixos
endformationage has joined #nixos
jrolfs has joined #nixos
otherjrolfs has joined #nixos
coot_ has quit [(Quit: coot_)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] asymmetric opened pull request #32906: libbitcoin-protocol: init at 3.4.0 (master...asymmetric/libbitcoin-protocol) https://git.io/vbDB2
NixOS_GitHub has left #nixos []
asuryawanshi has quit [(Remote host closed the connection)]
<gchristensen>
peel[m] said: "Can anyone point me out how to properly build uboot for aarch64 on nixos. I've tried a custom drv for orange pi zero plus 2 from my overlay and the ubootRaspberryPi3_64bit with pretty much the same result:"
anon997 has joined #nixos
<anon997>
hello
<anon997>
in gdm, the user i configured via configuration.nix doesn't appear on the login screen, homever when i add an user with useradd he appears, what could be the reason?
<pkill9>
is there a way to 'disable' a channel, i.e. `nix-env -i package` not look in that channel?
<pkill9>
unless explicitely requested via `nix-env '<disabledchannel>' -i package`
otherjrolfs has quit [(Ping timeout: 256 seconds)]
Ross has quit [(Ping timeout: 256 seconds)]
jrolfs has quit [(Ping timeout: 268 seconds)]
Ross has joined #nixos
tmaekawa has joined #nixos
myguidingstar has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nix] shlevy pushed 2 new commits to master: https://git.io/vbDEc
<NixOS_GitHub>
nix/master 71987b1 Will Dietz: linenoise.cpp: allow completions from empty input...
<NixOS_GitHub>
nix/master 62e214f Shea Levy: Merge branch 'fix/issue-1742-empty-completions' of git://github.com/dtzWill/nix
<samueldr>
AFAIK, Arm Trusted Firmware **will** be needed
anon997 has quit [(Ping timeout: 260 seconds)]
FRidh has quit [(Remote host closed the connection)]
FRidh has joined #nixos
jb55 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] NeQuissimus pushed 1 new commit to master: https://git.io/vbDEi
<NixOS_GitHub>
nixpkgs/master cbf0b68 Tim Steinbach: linux-copperhead: 4.14.7.a -> 4.14.8.b
NixOS_GitHub has left #nixos []
<myguidingstar>
when writing a derivative it's as straightforward as ${gcc}/bin/gcc (for input derivaties). How do i get similar result in my normal daily bash shell?
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] NeQuissimus pushed 1 new commit to release-17.09: https://git.io/vbDEP
<NixOS_GitHub>
nixpkgs/release-17.09 010887e Tim Steinbach: linux-copperhead: 4.14.7.a -> 4.14.8.b...
NixOS_GitHub has left #nixos []
<samueldr>
you're talking about an overlay, can you share a link?
<peel[m]>
samueldr: thanks a bunch. sounds like a good starting point. My yak shaving skills are getting better every day. Duh.
<samueldr>
oh, and u-boot (for now) DOES need to be built on the target architecture, you may need an aarch64 device to build that u-boot
otherjrolfs has joined #nixos
<samueldr>
it doesn't have to be nixos, as long as you can get nix on it
<samueldr>
(alternatively, you can do the usual cross-compilation from the repo, haven't done it for an aarch64 build though)
<samueldr>
(I mean, manual build of u-boot like you'd do from any other distro)
ertes-w has quit [(Quit: Bye!)]
alexteves has quit [(Ping timeout: 268 seconds)]
jrolfs has joined #nixos
ssmike has quit [(Remote host closed the connection)]
ssmike has joined #nixos
myguidingstar has quit [(Ping timeout: 265 seconds)]
zzamboni has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] domenkozar pushed 1 new commit to haskell-outputs-bin-etc-lib: https://git.io/vbDzG
<NixOS_GitHub>
nixpkgs/haskell-outputs-bin-etc-lib 2abe5fe Domen Kožar: ghcWithPackages: allow configuration of extraOutputsToInstall
NixOS_GitHub has left #nixos []
<bgamari>
What is one supposed to do when faced with "error: stack overflow (possible infinite recursion)"
rihards has quit [(Quit: rihards)]
<peel[m]>
yeah. I'm getting a bit of problems with the aarch64 cross-compilation whereas armv7 seems to be building just fine. I'll just get it built on my archlinux arm cluster (which I hope to finally migrate to nixos)
rihards has joined #nixos
jrolfs has quit [(Ping timeout: 264 seconds)]
otherjrolfs has quit [(Ping timeout: 272 seconds)]
<bgamari>
peel[m], are you using Sonarpulse's cross-elegant branch?
<bgamari>
or my cross-ben branch?
<samueldr>
peel[m]: once you have an aarch64 nixos, then it becomes MUCH easier to fiddle around with the builds
simendsjo has joined #nixos
* bgamari
was able to cross-compile a full nixos installation to from amd64 to armv7 for the first time yesterday
<bgamari>
so this isn't a mature feature yet
<samueldr>
:D
<samueldr>
bgamari: cross-compile for real or is there any qemu-user smell?
<bgamari>
there is a bit of qemu-user smell
<bgamari>
but most of it was cross-compiled
<samueldr>
:)
<bgamari>
the qemu bits should be easily fixable
ssmike has quit [(Remote host closed the connection)]
<bgamari>
but my time is rather limited at the moment, so I was more or less on the quickest path to a booting machine
ssmike has joined #nixos
ma27 has joined #nixos
<samueldr>
that's great progress
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] domenkozar pushed 1 new commit to haskell-outputs-bin-etc-lib: https://git.io/vbDgc
<NixOS_GitHub>
nixpkgs/haskell-outputs-bin-etc-lib a0348e7 Domen Kožar: ghcWithPackages: also install bin for bw compatibility
NixOS_GitHub has left #nixos []
<bgamari>
unfortunately something has since broken
<bgamari>
this stack overflow error is awful
<bgamari>
--show-trace offers no help
samvher has joined #nixos
pie_ has quit [(Read error: Connection reset by peer)]
pie_ has joined #nixos
<peel[m]>
I got kinda stuck with my own attempt at the whole mess. then fiddled with the bits from yourself.
<bgamari>
peel[m], yeah, there is still quite a bit of work to be done
<bgamari>
it has been a long road
<bgamari>
Sonarpulse, is responsible for most of the hard parts
<bgamari>
I just did the grunt-work of getting individual packages building
goibhniu has quit [(Ping timeout: 272 seconds)]
hotfuzz_ has quit [(Ping timeout: 248 seconds)]
jrolfs has joined #nixos
otherjrolfs has joined #nixos
<peel[m]>
I had some relatively decent attempts at running the whole thing inside of docker containers. the thing is I gave up after way too many qemu segfault issues.
hotfuzz_ has joined #nixos
pie_ has quit [(Read error: Connection reset by peer)]
pie_ has joined #nixos
<peel[m]>
that was mostly for the previous board that was armv6
otherjrolfs has quit [(Ping timeout: 240 seconds)]
jrolfs has quit [(Ping timeout: 268 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] primeos pushed 1 new commit to master: https://git.io/vbD2F
<NixOS_GitHub>
nixpkgs/master 3ebca3b Michael Weiss: android-studio-preview: 3.1.0.4 -> 3.1.0.5
NixOS_GitHub has left #nixos []
dywedir has quit [(Ping timeout: 260 seconds)]
jb55 has quit [(Ping timeout: 264 seconds)]
jrolfs has joined #nixos
goibhniu has joined #nixos
mahalel_ has joined #nixos
simendsjo has quit [(Remote host closed the connection)]
jrolfs has quit [(Ping timeout: 264 seconds)]
jb55 has joined #nixos
samvher has quit [(Ping timeout: 240 seconds)]
FRidh has quit [(Quit: Konversation terminated!)]
FRidh has joined #nixos
FRidh has quit [(Client Quit)]
FRidh has joined #nixos
otherjrolfs has joined #nixos
dieggsy has quit [(Remote host closed the connection)]
dieggsy has joined #nixos
Guest34054 has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
otherjrolfs has quit [(Ping timeout: 256 seconds)]
jrolfs has joined #nixos
otherjrolfs has joined #nixos
ssmike has quit [(Ping timeout: 240 seconds)]
goibhniu has quit [(Remote host closed the connection)]
otherjrolfs has quit [(Ping timeout: 248 seconds)]
jrolfs has quit [(Ping timeout: 248 seconds)]
ilyaigpetrov has quit [(Quit: Connection closed for inactivity)]
<orivej>
yegortimoshenko: the commit with "move ibus-setup back to dev" in the title says "Move ibus-setup back to out" in its comment
<orivej>
giDiscoverSelf looks strange, how are the packages needing it supposed to be in other distros?
<orivej>
...to be built...
<yegortimoshenko>
orivej: it's to add a search path to GI_TYPELIB_PATH on wrapGAppsHook, in other distros it will just be there or will be pointed to, it's only needed at runtime
<yegortimoshenko>
orivej: something to the effect of giDiscoverSelf is required by any package that includes typelibs that binaries in that same package depend on
FRidh has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] dtzWill opened pull request #32910: vte-ng: don't run configure as part of autogen, since it runs w/o args (master...fix/vte-ng-darwin) https://git.io/vbDi6
<orivej>
he did not argue that gobject-introspection needs a new hook, he just said that he thought that make_gobject_introspection_find_gir_files already handles this case :)
<yegortimoshenko>
true. but i still think it's a proper place for this hook: if it's coupled with wrapGAppsHook, no other wrapper would be able to use the correct value for GI_TYPELIB_PATH
jrolfs has quit [(Ping timeout: 240 seconds)]
FRidh has quit [(Quit: Konversation terminated!)]
FRidh has joined #nixos
<orivej>
yegortimoshenko: it seems that it may work incorrectly with multiple outputs
davidak has joined #nixos
acarrico has quit [(Ping timeout: 265 seconds)]
sigmundv__ has joined #nixos
<pkill9>
bug in virtualbox yo
<gchristensen>
plenty of those, pkill9 :)
<yegortimoshenko>
orivej: moving it to wrapGAppsHook probably won't fix this issue. typelibs are a runtime dependency, so they should probably end up in out, but i don't know how what is the value of $prefix when there are multiple outputs (i'd guess probably the first output).
<pkill9>
gchristensen: oh ok
Guest8671 has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
blahdodo has joined #nixos
<pkill9>
the specific one i have complains of incompatibility because mixed Qt libraries
<samueldr>
issue with qtxcb.so or something similar I presume pkill9
<pkill9>
what do you mean only one source?
<samueldr>
IIRC, others know better for the details, but one channel only
<yegortimoshenko>
orivej: nice catch! i'll iterate through $outputs
<samueldr>
can't have let's say virtualbox installed using the system's channel and then some other QT software installed using the user's channels
<samueldr>
now I'm not entirely sure about one detail: if the two channels match, it should be okay (?)
jcbrand_ has left #nixos ["Disconnected: closed"]
<orivej>
yegortimoshenko: sounds good. even though the outputs are moved in the preFixup hooks as well, we may expect (and later fix if this is not the case) that stdenv preFixup hooks run before preFixup hooks of packages that depend on stdenv (/cc Sonarpulse)
<Sonarpulse>
hi
<orivej>
Sonarpulse: hi, I don't remember the current order in which hooks are run :)
<Sonarpulse>
order of hooks is funny thing
raynold has joined #nixos
<Sonarpulse>
they are appened at the end of the array normally
<Sonarpulse>
and default*Inputs are processed last
<Sonarpulse>
so defaultish ones would go last?
Guest32460 is now known as stqism
<orivej>
hm, that's the opposite of what I expected :)
nevermin_ has joined #nixos
<Sonarpulse>
orivej: the order stuff is gross
<Sonarpulse>
its best when it doesn't matter
stqism is now known as Guest85011
<Sonarpulse>
I've tried to change to a last-priority not first-priority model
<yegortimoshenko>
orivej: i've already changed giDiscoverSelf to run for every output, even if wrapGAppsHook doesn't do it, it's the right thing to do
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] svanderburg pushed 1 new commit to master: https://git.io/vbDDR
<NixOS_GitHub>
nixpkgs/master 9cee2e5 Sander van der Burg: dysnomia module: use postgres as default user and always publish container properties
NixOS_GitHub has left #nixos []
MercurialAlchemi has quit [(Ping timeout: 272 seconds)]
<yegortimoshenko>
orivej: also (what made me think that gi hook is better place for giDiscoverSelf than wrapGAppsHook) wrapGAppsHook doesn't fill in environment variables by itself, it only wraps executables
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] svanderburg pushed 1 new commit to release-17.09: https://git.io/vbDDV
<NixOS_GitHub>
nixpkgs/release-17.09 150e2b5 Sander van der Burg: dysnomia module: use postgres as default user and always publish container properties...
<infinisil>
I finally got around writing a znapzend NixOS module (a ZFS backup daemon using zfs send/recv), it's really nice :D, cc hyper_ch
<orivej>
it does not, you are right
dan_b has joined #nixos
jrolfs has joined #nixos
<yegortimoshenko>
(i am currently rebuilding ibus to see if the updated hook works)
<hyper_ch>
infinisil: doesn't work with encrypted datasets
zzamboni has quit [(Quit: Leaving.)]
<jtojnar>
yegortimoshenko: what's up with the gtk-doc.make? Without autoreconfHook, it gets into the directory during configurePhase; why is it not so with autoreconfHook?
jb55 has quit [(Ping timeout: 255 seconds)]
<infinisil>
hyper_ch: I'm not using encryption yet :)
<yegortimoshenko>
hyper_ch: have encrypted datasets been finally released?
<orivej>
yegortimoshenko: I'd leave a hint somewhere that giDiscoverSelf was made with wrapGAppsHook in mind :)
<yegortimoshenko>
jtojnar: i'm not sure, i've googled the hell out of this problem, but copying it to cwd helps. ibus is not the first package where i have had this problem, but probably the first one that i've committed to nixpkgs
FRidh has joined #nixos
<orivej>
jtojnar: ./autogen.sh often includes additional logic, such as "touch gtk-doc.make"
<infinisil>
hyper_ch: Hmm right, maybe i'll do such a PR then eventually
<infinisil>
Now I'm just happy my znapzend module works nicely
<hyper_ch>
well, I wrote a simple bash script
<yegortimoshenko>
jtojnar: oh, i remember. xfce 4.13 had this problem before i packaged their xfce4-dev-tools, i'll link to it, probably it has explanation
<yegortimoshenko>
orivej: touch gtk-doc.make won't work (it does work for ChangeLog), it needs to be copied, at least typically
asuryawanshi has quit [(Ping timeout: 240 seconds)]
<greglearns>
or, to be more clear (sorry if that sounded like click bate), NixOps cannot launch using the newer EC2 instances. See the last comment on that forum discussion.
hiratara has quit [(Ping timeout: 255 seconds)]
<gchristensen>
ooh I didn't realize aws used nvme these days
<greglearns>
from the discussion: "it looks like the AMI you are launching your instances from is based on NixOS. Reading through their forums, I've noticed a few other users who have had issues with NixOS finding NVMe drives on boot..."
rihards has quit [(Quit: rihards)]
hiratara has joined #nixos
FRidh has quit [(Quit: Konversation terminated!)]
FRidh has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] volth opened pull request #32912: dejavu_fonts: make relative symlink (master...patch-83) https://git.io/vbDdK
NixOS_GitHub has left #nixos []
hamishmack has joined #nixos
duncan^ has quit [(Quit: WeeChat 1.9.1)]
otherjrolfs has joined #nixos
jrolfs has joined #nixos
duncan^ has joined #nixos
jb55 has quit [(Ping timeout: 248 seconds)]
<dhess>
is that just a matter of adding "nvme" to boot.initrd.availableKernelModules ?
<dhess>
I'm running NixOS on NVMe drives on several machines, including an armv7l box
<Mic92>
greglearns: can you diff lsmod on both instance types?
<Dezgeg>
it's been recently fixed I think (by indeed adding nvme)
<Mic92>
We don't do any fancy things with the kernel. It is most likely missing drivers we need to add to our ec2 profile
otherjrolfs has quit [(Ping timeout: 272 seconds)]
<Mic92>
greglearns: you probably need to hit the nixops guys to bump their ami images.
jrolfs has quit [(Ping timeout: 264 seconds)]
<greglearns>
Mic92 any idea how to contact the nixops people?
<dhess>
(actually it's an aarch64 machine that's running on NVMe, not armv7l)
<yegortimoshenko>
orivej: new hook broke ibus, i'm not sure how to iterate through outputs properly (ack doesn't help)
roberth has joined #nixos
sigmundv__ has quit [(Ping timeout: 264 seconds)]
<Dezgeg>
check patchelf hook for instance (I think)
<yegortimoshenko>
Dezgeg: thanks!
jsgrant has quit [(Remote host closed the connection)]
<yegortimoshenko>
Dezgeg: it's a fixupOutputHook... i need to do this at preFixup
<Dezgeg>
I guess you get to look at how fixupOutputHook is implemented then
samvher has quit [(Ping timeout: 240 seconds)]
<yegortimoshenko>
Mic92: i have a pr with a bunch of chrootenv improvements, i've requested your review because you've completed it with proper helpful error message and reviewed it and found a lot of bugs
<Dezgeg>
actually, isn't fixupOutputHook early enough
<Mic92>
yegortimoshenko: Ok. I look into it now
<yegortimoshenko>
Dezgeg: is it before proper fixupPhase?
<Dezgeg>
it's all hooks mostly
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] jtojnar pushed 1 new commit to master: https://git.io/vbDb4
<NixOS_GitHub>
nixpkgs/master 53acbe8 Jan Tojnar: cligh: switch to Python 3
<yegortimoshenko>
Dezgeg: i'll try to switch to fixupOutputHooks then. thanks!
<yegortimoshenko>
(and yet, strange that for `for output in $outputs; do ... done` won't work, i see it in openjdk9 derivation in postHook for example)
stanibanani has joined #nixos
<yegortimoshenko>
s/for//
<Dezgeg>
how doesn't it work?
magnetophon has joined #nixos
orivej has joined #nixos
hotfuzz has joined #nixos
hotfuzz_ has quit [(Ping timeout: 272 seconds)]
<greglearns>
I saw this in the nixops manual: nixops show-option --xml machine boot.initrd.availableKernelModules . is it possible to modify that, or do I really need to get nixops people to rebuild an image?
jrolfs has quit [(Ping timeout: 256 seconds)]
szicari_ has quit [(Quit: szicari_)]
otherjrolfs has quit [(Ping timeout: 268 seconds)]
<Dezgeg>
here $output is e.g. out, bin, doc an so on
CodeWarrior has quit [(Ping timeout: 268 seconds)]
<Dezgeg>
so it needs to be ${!output} or something to use variable variable names
<yegortimoshenko>
Dezgeg: oh, i see. thanks!
leothrix has quit [(Ping timeout: 248 seconds)]
<Dezgeg>
but you don't nee a loop anyway with the fixupOutputHooks
<magnetophon>
orivej: I seem to have issue #32676 again: ardour won't build on the latest unstable, with the same error. your fix is in my nixos-version: f704903 Any ideas.
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] rycee pushed 1 new commit to master: https://git.io/vbDNN
<NixOS_GitHub>
nixpkgs/master d30f5f8 Robert Helgesson: eclipse: version updates...
NixOS_GitHub has left #nixos []
<magnetophon>
orivej: last time I just cherry-picked your fix, and ardour built...
<orivej>
magnetophon: why does it build? for my it downloads from the binary cache.
<orivej>
I'm at cb0b1423ad273943363bfbbea018d1507b144fc0
<magnetophon>
orivej: that surprized me too. any ideas how I can findout?
<orivej>
magnetophon: f704903 is not in Nixpkgs. can you try building from unmodified nixpkgs first?
magnetophon has quit [(Remote host closed the connection)]
jrolfs has joined #nixos
<greglearns>
In trying to fix the nixops issue on AWS newer NVMe instances, I notice that my nixops is pinned to ttps://github.com/NixOS/nixpkgs-channels/archive/19879836d10f64a10658d1e2a84fc54b090e2087.tar.gz . How do I find a newer tarball url to pin to?
<yegortimoshenko>
Mic92: i don't mind free(), valgrind can check if there are problems with that, there are none
stanibanani has quit [(Ping timeout: 260 seconds)]
hotfuzz has quit [(Ping timeout: 265 seconds)]
<yegortimoshenko>
but i understand. still though, this is interfacing with the kernel, and the best language for that is that of the kernel
<Dezgeg>
c++ is just as fine
pkill9 has quit [(Ping timeout: 240 seconds)]
<yegortimoshenko>
come on...
<Dezgeg>
with RAII to not need manual free()s
<gchristensen>
yegortimoshenko: I don't like null pointers
<Mic92>
yegortimoshenko: in the error case there still several ressource leaks
<gchristensen>
s/ pointers//
<Mic92>
yegortimoshenko: they probably don't ever matter for this short living program.
<Mic92>
though
<yegortimoshenko>
Mic92: yes, i've only recently learned that malloc() can fail
<gchristensen>
also I see enough `if err != nil` during work to not do it at home
<Dezgeg>
another reason for c++ ;)
<yegortimoshenko>
Dezgeg: c++ is an abomination
<Dezgeg>
nah
<yegortimoshenko>
its complexity is astounding
spietz has quit [(Ping timeout: 240 seconds)]
<yegortimoshenko>
how one can program in a language that can't be entirely understood or reasoned about?
<yegortimoshenko>
i'm sorry for highly opinionated talk
hotfuzz has joined #nixos
<Mic92>
I guess we should stop here
<gchristensen>
:)
<greglearns>
NixOps cannot deploy to newest AWS EC2 instance types (m5, c5) can be fixed by explicitly setting deployment.ec2.ami = "ami-2bd87953" in your nixops files.
<Mic92>
yegortimoshenko: it is a bit late here in my timezone. I have left you some stuff and do the actual code review later.
<yegortimoshenko>
Mic92: this is literally my first c program, i was just going through the issues and wanted to drop ruby from closure, sorry about missing checks.
<yegortimoshenko>
Mic92: thanks!
<Mic92>
yegortimoshenko: I learned a lot about system programming in c by contributing to systemd
hotfuzz_ has quit [(Ping timeout: 256 seconds)]
FRidh has quit [(Quit: Konversation terminated!)]
FRidh has joined #nixos
<dtzWill>
so I know nox-review is unmaintained and in a number of ways being replaced^H^H^H^H^H^H^H^Hassimilated by the borg
<dtzWill>
BUT
<Mic92>
I have still a rust rewrite of the same program that I never finished and started writing shortly after the issue for rewriting chrootenv was opened.
coot_ has quit [(Quit: coot_)]
<dtzWill>
I've found nox-review is dying on large rebuilds, of all things due to memory usage of nix-build (!). I have a proposed fix, if a bit messily introduced, that I'd like to get a few eyes on briefly if folks would be so kind: https://github.com/madjar/nox/issues/84
rogue_koder_ has joined #nixos
hotfuzz_ has joined #nixos
drakonis has joined #nixos
<dtzWill>
basically don't do "nix-build -A attr1 -A attr2 -A attr3 ...." and instead "nix-build -E "with ./default.nix; [ attr1 attr2 attr3 ]"
<dtzWill>
Mic92: hmm, interesting :D
hotfuzz has quit [(Ping timeout: 248 seconds)]
<Mic92>
dtzWill: this was not meant for your problem :)
<dtzWill>
Mic92: does it use libnixstore or does it invokke nix-build?
<dtzWill>
Mic92: haha yeah s'all good, but rust is \o/ and maintained tool is probably >> unmaintained tool O:)
<Mic92>
dtzWill: I was talking about build-fhs-userenv
<dtzWill>
Mic92: oh you weren't talking to me in /any/ capacity haha I see :D
<dtzWill>
my bad, thanks for the clarification O:)
rogue_koder has quit [(Ping timeout: 265 seconds)]
<Mic92>
basically a build() function would be missing
<dtzWill>
hmmmmm
<dtzWill>
not sure, will revisit after refreshing brain power. Burned out a bit chasing down /why/ nix-build om nom nom's memory when given multiple attributes
<Mic92>
I only need a good regression test before I make this library part of critical infrastructure in case of breaking changes in nix itself
<dtzWill>
brain still stuck deep in my understandings of nix implementation details lol
<dtzWill>
great!
hotfuzz_ has quit [(Ping timeout: 264 seconds)]
cmiles74 has quit [(Quit: WeeChat 2.0)]
erasmas has quit [(Quit: leaving)]
hotfuzz_ has joined #nixos
cmiles74 has joined #nixos
infinisil has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
<infinisil>
Well, hyper_ch is in bed now, but this is my PR that adds the znapzend options ^^. It adds a ton of options and I'm actually kinda proud of it :P
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] orivej pushed 2 new commits to master: https://git.io/vbyUs