00:04
dtzWill has quit [(Ping timeout: 260 seconds)]
00:17
orivej has quit [(Ping timeout: 276 seconds)]
00:35
<
gchristensen >
(rust / carnix)
00:36
<
gchristensen >
it may not be perfect but it is a nice big step
00:40
regnat[m] has quit [(Remote host closed the connection)]
00:49
florianjacob has joined joined #nixos-dev
01:02
phreedom has quit [(Remote host closed the connection)]
01:02
Sonarpulse has quit [(Ping timeout: 255 seconds)]
01:03
phreedom has joined joined #nixos-dev
01:16
hedning[m] has joined joined #nixos-dev
01:16
nocent has joined joined #nixos-dev
01:16
pstn has joined joined #nixos-dev
01:16
hl has joined joined #nixos-dev
01:16
olejorgenb[m] has joined joined #nixos-dev
01:16
stites[m] has joined joined #nixos-dev
01:16
sphalerite has joined joined #nixos-dev
01:16
regnat[m] has joined joined #nixos-dev
01:16
copumpkin has joined joined #nixos-dev
01:16
grahamc has joined joined #nixos-dev
01:16
rycee has joined joined #nixos-dev
01:16
adisbladis[m] has joined joined #nixos-dev
01:16
peterhoeg has joined joined #nixos-dev
01:16
FRidh[m] has joined joined #nixos-dev
01:16
moredread[m] has joined joined #nixos-dev
02:01
<
bgamari >
LnL, are you sure that is in fact the package?
02:01
<
bgamari >
LnL, it doesn't actually appear to be exposed in haskellPackages
02:43
mbrgm has quit [(Ping timeout: 240 seconds)]
02:45
mbrgm has joined joined #nixos-dev
02:57
mbrgm has quit [(Ping timeout: 240 seconds)]
02:59
mbrgm has joined joined #nixos-dev
05:32
ris has quit [(Ping timeout: 264 seconds)]
07:08
gleber_ has quit [(Ping timeout: 246 seconds)]
07:08
cbarrett has quit [(Ping timeout: 246 seconds)]
07:09
FRidh[m] has quit [(Ping timeout: 246 seconds)]
07:09
pstn has quit [(Ping timeout: 246 seconds)]
07:14
stites[m] has quit [(Ping timeout: 240 seconds)]
07:14
peterhoeg has quit [(Ping timeout: 255 seconds)]
07:14
nocent has quit [(Ping timeout: 252 seconds)]
07:14
grahamc has quit [(Ping timeout: 252 seconds)]
07:14
copumpkin has quit [(Ping timeout: 240 seconds)]
07:14
sphalerite has quit [(Ping timeout: 240 seconds)]
07:15
adisbladis[m] has quit [(Ping timeout: 248 seconds)]
07:15
regnat[m] has quit [(Ping timeout: 276 seconds)]
07:15
hl has quit [(Ping timeout: 240 seconds)]
07:15
florianjacob has quit [(Ping timeout: 255 seconds)]
07:15
rycee has quit [(Ping timeout: 250 seconds)]
07:15
moredread[m] has quit [(Ping timeout: 276 seconds)]
07:15
hedning[m] has quit [(Ping timeout: 276 seconds)]
07:15
olejorgenb[m] has quit [(Ping timeout: 276 seconds)]
07:30
gleber_ has joined joined #nixos-dev
07:43
orivej has joined joined #nixos-dev
07:53
FRidh has joined joined #nixos-dev
08:17
vcunat has joined joined #nixos-dev
08:52
stqism has joined joined #nixos-dev
08:54
<
stqism >
I know it's only partially related, but how do I go about getting a nix package that's part or Linux built with macos by hydra?
08:58
<
vcunat >
stqism: hydra.nixos.org with nixpkgs? Or your nix/hydra?
08:58
<
stqism >
vcunat like nixpkgs hydra
08:59
<
stqism >
The package is in the actual repo, it just doesn't build for os x
08:59
<
vcunat >
stqism: by meta.platforms
09:00
<
vcunat >
depending what makes sense, it can be e.g. = platforms.unix
09:00
<
vcunat >
or = platforms.linux + platforms.darwin;
09:00
<
stqism >
Okay, wait. All I have to do is test it locally and submit a pr with it set to unix?
09:01
<
stqism >
That doesn't sound bad at all tbh
09:02
goibhniu has joined joined #nixos-dev
09:02
<
stqism >
Hype, I can finally move from brew to nix 100%
09:06
cbarrett has joined joined #nixos-dev
09:07
<
vcunat >
well, yes, it's simple
09:08
<
vcunat >
Mostly. Sometimes the package needs a fix for the different platform.
09:08
<
vcunat >
I must admit that x86_64-linux is in a bit better shape than x86_64-darwin.
09:09
<
stqism >
Yeah, that's a lot of why I want to help there
09:09
<
stqism >
Brew is great
09:09
<
stqism >
At fucking you over with garbage sprinkled everywhere
09:09
<
vcunat >
I think contributors are the main missing part for darwin in nixpkgs.
09:09
<
vcunat >
(in comparison to linux)
09:12
<
stqism >
Yeah, the general difference in contributors from like brew to nix is like 10 fold
09:13
<
stqism >
So brew gets tons of love, but nix is cooler
09:13
<
stqism >
I had to fork archey to add nix support tbh
09:19
vcunat has quit [(Ping timeout: 246 seconds)]
09:20
vcunat has joined joined #nixos-dev
09:21
florianjacob has joined joined #nixos-dev
09:46
__Sander__ has joined joined #nixos-dev
09:47
hedning[m] has joined joined #nixos-dev
09:47
pstn has joined joined #nixos-dev
09:47
hl has joined joined #nixos-dev
09:47
olejorgenb[m] has joined joined #nixos-dev
09:47
stites[m] has joined joined #nixos-dev
09:47
sphalerite has joined joined #nixos-dev
09:47
nocent has joined joined #nixos-dev
09:47
regnat[m] has joined joined #nixos-dev
09:47
grahamc has joined joined #nixos-dev
09:47
copumpkin has joined joined #nixos-dev
09:47
adisbladis[m] has joined joined #nixos-dev
09:47
rycee has joined joined #nixos-dev
09:47
peterhoeg has joined joined #nixos-dev
09:47
FRidh[m] has joined joined #nixos-dev
09:47
moredread[m] has joined joined #nixos-dev
10:06
FRidh has quit [(Remote host closed the connection)]
10:57
jtojnar has quit [(Quit: jtojnar)]
11:47
<
gchristensen >
vcunat: do you think the platform check changing from abort to throw is disputable
11:49
<
vcunat >
no reason in particular
11:49
<
vcunat >
maybe I just miss some reason why people used abort in that many cases
11:50
<
vcunat >
And I meant it (also) as comparison to the typo changes where it's clear.
11:50
<
gchristensen >
right
11:50
<
vcunat >
gchristensen: you merged the typo fixes to master but haven't backported to 17.09, right?
11:51
<
gchristensen >
well I have both commits backported, trying to decide if I push the backport of the abort -> throw :)
11:51
<
vcunat >
oh, that part is in master as well?
11:52
<
gchristensen >
no it isn't
11:52
<
gchristensen >
so I guess that is my answer
11:52
<
vcunat >
master first in any case
11:53
<
vcunat >
abort -> throw can probably wait for the rest of the PR
11:54
<
vcunat >
it doesn't seem to get more attention, so I'll probably finish and merge it by the end of this week
11:58
<
gchristensen >
being able to run borg locally would be nice
12:11
vcunat has quit [(Ping timeout: 246 seconds)]
12:11
<
gchristensen >
vcunat: I think you'll need to rebase p/check-meta for the diff to stop showing the meta changes in the PR
12:11
<
gchristensen >
and should probably delete treewide: checkMeta fixes for x86_64-linux / fixup! treewide: checkMeta fixes for x86_64-linux
12:19
<
gchristensen >
niksnut: I'm coming up with a whole laundry list of patches for you :$
12:23
makefu has quit [(Ping timeout: 250 seconds)]
12:24
vcunat has joined joined #nixos-dev
12:27
makefu has joined joined #nixos-dev
12:42
ma27 has joined joined #nixos-dev
12:52
JosW has joined joined #nixos-dev
13:00
ma27 has quit [(Quit: WeeChat 1.9.1)]
13:20
ckauhaus has joined joined #nixos-dev
13:27
ma27 has joined joined #nixos-dev
13:28
ma27 has quit [(Client Quit)]
13:52
vcunat1 has joined joined #nixos-dev
13:53
<
vcunat1 >
sphalerite: you use some kernel override, right?
13:53
vcunat has quit [(Ping timeout: 246 seconds)]
13:53
<
vcunat1 >
on 281e979da I can build linuxPackages_4_14.nvidia_x11
13:53
<
vcunat1 >
/nix/store/lv5hlapivfdwcg2fb65jkh3z47j3dm33-nvidia-x11-384.98-4.14.3
13:54
vcunat1 is now known as vcunat
13:54
vcunat has quit [(Client Quit)]
13:54
vcunat has joined joined #nixos-dev
13:55
<
sphalerite >
i don't think so…
13:55
<
vcunat >
is the derivation the same?
13:55
<
vcunat >
/nix/store/gws9lk3j9m1289xc6bpdabx3cwrs51vj-nvidia-x11-384.98-4.14.3.drv
13:56
* vcunat
lost the log from before
13:56
<
vcunat >
(the IRC log)
14:08
dtzWill has joined joined #nixos-dev
14:11
<
sphalerite >
nixpkgs 17.09.2281.b4a0c011e81; build log
http://sprunge.us/EFQg ; derivation is /nix/store/4v1axb2dv9c0vbri9h8jhypvwxd99c7p-nvidia-x11-384.90-4.14.3.drv
14:11
<
sphalerite >
vcunat: ^
14:13
<
vcunat >
sphalerite: I see
14:14
<
vcunat >
I tested bad commit
14:14
<
vcunat >
but the thing has been fixed by me on 17.09
14:14
<
sphalerite >
yeah I was just about to say, I don't have tht commit in my nixpkgs repo
14:14
<
vcunat >
nixos-17.09-small contains it already
14:16
<
sphalerite >
I just fetched from the nixpkgs-channels repo and still don't have it…
14:19
<
sphalerite >
nixos-17.09-small is still on 68a8b335c860fe72a8b401a7d40cba147fa0ac2b as far as I can see
14:19
<
vcunat >
the first 17.09 commit with the fixes is 00b92751f6
14:19
<
vcunat >
sphalerite: ^^
14:19
<
sphalerite >
but yeah release-17.09 is on the commit you mentioned
14:19
<
sphalerite >
ah ok, thanks!
14:28
<
aminechikhaoui >
niksnut: nix bump ? :)
14:28
<
aminechikhaoui >
in 17.09 if possible
14:31
ma27 has joined joined #nixos-dev
14:34
<
niksnut >
aminechikhaoui: ok
14:40
ma27 has quit [(Ping timeout: 255 seconds)]
14:41
ma27 has joined joined #nixos-dev
14:47
ma27 has quit [(Ping timeout: 258 seconds)]
14:47
ma27 has joined joined #nixos-dev
14:56
ma27 has quit [(Ping timeout: 246 seconds)]
14:57
ma27 has joined joined #nixos-dev
15:30
taktoa has quit [(Remote host closed the connection)]
15:47
ma27 has quit [(Ping timeout: 246 seconds)]
15:48
ma27 has joined joined #nixos-dev
16:03
goibhniu has quit [(Ping timeout: 246 seconds)]
16:19
FRidh has joined joined #nixos-dev
16:22
orivej has quit [(Ping timeout: 246 seconds)]
16:34
<
gchristensen >
when using the nixos test driver, where all does it store state?
16:48
<
vcunat >
FRidh: there's something strange around this on my machine
16:48
<
vcunat >
(apparently)
16:48
<
vcunat >
now I'm also getting the same error when I put nix.package = nixUnstable in my configuration.nix
16:49
<
vcunat >
(and it disappears when I delete that override)
16:54
ma27 has quit [(Ping timeout: 246 seconds)]
16:55
ma27 has joined joined #nixos-dev
16:57
<
FRidh >
vcunat: cache of nix?
16:58
<
vcunat >
FRidh: what do you mean?
17:00
<
FRidh >
vcunat: If I am correct Nix caches results of an evaluation. Could it be related to that?
17:00
<
vcunat >
cache from previous runs?
17:00
<
vcunat >
I don't think nix does that for
*evaluation*
17:01
<
gchristensen >
I think not
17:01
<
gchristensen >
otherwise it wouldn't use 19,000,000 GB of RAM to eval multiple machines
17:04
<
vcunat >
so many zeros?
17:05
<
vcunat >
Where do you get a machine with that much RAM?
17:05
<
FRidh >
What else could be causing the kind of "state" you were experiencing?
17:06
<
vcunat >
allowUnfree = true; ?
17:07
<
vcunat >
no, disabling that didn't help
17:08
makefu has quit [(Quit: WeeChat 1.9.1)]
17:08
<
vcunat >
nuking whole config.nix didn't help either
17:09
__Sander__ has quit [(Quit: Konversation terminated!)]
17:13
makefu has joined joined #nixos-dev
17:22
<
stqism >
9:06 AM <vcunat> haveUnlimitedRam = true; ?
17:23
<
vcunat >
How could I've missed that option :-)
17:26
<
vcunat >
gchristensen: it doesn't work
17:26
<
vcunat >
> The uploader has not made this video available in your country.
17:26
* gchristensen
didn't even bother to close the quote
17:27
<
vcunat >
I really hate geo-sensitive stuff.
17:27
<
vcunat >
Maybe it's related to trying to implement EDNS client subnet...
17:32
<
domenkozar >
gchristensen: what's the problem with two projects pinning nixpkgs?
17:33
<
gchristensen >
well it is a bit of a nightmare
17:33
<
gchristensen >
I should have probably solved this ages ago with overlays
17:34
<
domenkozar >
if you use pinning solution as per nixconf, each project just imports local nixpkgs
17:34
<
gchristensen >
yeah but so
17:34
<
gchristensen >
I'm using one project to add dependencies and things to the NixOS test framework code used in the other, and in some cases override dependencies in the other one. it is a real pickle and not elegant
17:35
<
domenkozar >
seems like a separation of concerns issue
17:35
<
gchristensen >
there are lots of concerning issues tbh
17:35
<
domenkozar >
but hard to point fingers without seeing code :)
17:36
<
domenkozar >
gchristensen: like any software that is used :)
17:53
<
gchristensen >
I suspect biting the bullet and moving to overlays will be the right thing
18:04
ma27 has quit [(Ping timeout: 240 seconds)]
18:05
ma27 has joined joined #nixos-dev
18:06
ma27 has quit [(Client Quit)]
18:09
ma27 has joined joined #nixos-dev
18:09
jtojnar has joined joined #nixos-dev
18:31
orivej has joined joined #nixos-dev
18:32
goibhniu has joined joined #nixos-dev
18:46
Sonarpulse has joined joined #nixos-dev
18:47
FRidh has quit [(Quit: Konversation terminated!)]
18:50
ris has joined joined #nixos-dev
19:21
romildo has joined joined #nixos-dev
19:53
romildo has quit [(Quit: Leaving)]
20:01
JosW has quit [(Quit: Konversation terminated!)]
20:05
<
vcunat >
lately I sometimes receieved notification about several months old builds
20:06
<
vcunat >
jtojnar: no idea why that happens
20:23
vcunat has quit [(Quit: Leaving.)]
20:45
makefu has quit [(Ping timeout: 250 seconds)]
20:56
goibhniu has quit [(Ping timeout: 268 seconds)]
21:06
makefu has joined joined #nixos-dev
22:21
ckauhaus has quit [(Quit: Leaving.)]
22:23
<
bgamari >
Sonarpulse, Do you see how this could happen?
22:24
<
Sonarpulse >
I hope I didn't fuck up my _FOR_BUILD pr
22:25
<
bgamari >
Sonarpulse, you mean 43e113739786ed51de7e829637493a58273cdf02
22:26
<
bgamari >
looks reasonable to me
22:26
<
Sonarpulse >
what is your rebased branch?
22:28
<
Sonarpulse >
bgamari: ^
22:28
<
bgamari >
just force pushed to ben-cross
22:28
<
bgamari >
Sonarpulse, ^]
22:30
<
Sonarpulse >
bgamari: oh you got rid of cross-elegant
22:30
<
Sonarpulse >
yeah it's gonna be fucked up
22:30
<
Sonarpulse >
without that
22:31
<
Sonarpulse >
I want to move the goalpost on my GCC pr :D
22:31
* bgamari
still somehow hasn't quite developed a sense for the dependency tree of these PRs
22:31
<
Sonarpulse >
hehe yeah it sucks sorry
22:31
<
bgamari >
naw, just hard
22:31
<
Sonarpulse >
left to right, bottom to top is a valid toposort
22:32
<
bgamari >
so I guess the question is where does the line between "essential" and "nice to have" fall?
22:32
<
bgamari >
up to and including The Big PR?
22:32
<
Sonarpulse >
bintools wrapper actually might be more nice to have
22:32
<
Sonarpulse >
but I've rebased so many things on it
22:32
<
Sonarpulse >
that one there ^
22:33
<
Sonarpulse >
I know its "safe" in that it keeps the good commit working
22:33
<
Sonarpulse >
but it doesn't fix the bad commit either
22:33
<
Sonarpulse >
I
*think* it is all good changes, the remaining badness of the bad commit is unrelated stuff like --rpath vs --rpath-link
22:33
<
Sonarpulse >
and mingw stuff
22:34
<
Sonarpulse >
but I feel bad merging a mass rebuild that only
*seems* like an improvement
22:34
* bgamari
doesn't mind depending upon a mass rebuild
22:34
<
bgamari >
since it's just me
22:35
<
Sonarpulse >
well i have no qualms rebasing my own stuff
22:35
<
Sonarpulse >
since i already did
22:35
<
Sonarpulse >
...but i like merging things
22:35
<
Sonarpulse >
so I don't need to think about rebasing them
22:35
<
bgamari >
understandable
22:36
<
Sonarpulse >
and I'd give it like a 70% chance my builder.sh changes there
22:36
<
Sonarpulse >
actually are sufficient
22:36
<
bgamari >
those are good odds :)
22:36
<
Sonarpulse >
--rpath fix and whatnot being orthogonal
22:36
<
Sonarpulse >
I'll merge :)
22:36
<
Sonarpulse >
to hell with it
22:38
<
bgamari >
so I guess I should give rebasing cross-elegant another shot?
22:38
<
bgamari >
and then rebase on top of that?
22:40
<
bgamari >
Sonarpulse, note that there's no need to hurry on my account; I'm just wondering whether there is a way I can make progress on my cross branch
22:40
<
Sonarpulse >
bgamari: I did do a rebase
22:40
<
bgamari >
since I am rapidly approaching the point in the project where I will be blocked on it
22:40
<
Sonarpulse >
of much of this
22:40
<
Sonarpulse >
including my old rotted rebased-to-death ben-cross
22:41
<
bgamari >
Sonarpulse, you mean you rebased cross-elegant?
22:41
<
Sonarpulse >
over my old gcc change
22:41
<
bgamari >
GitHub seems to think the that the last commits were added on Aug 28
22:42
<
bgamari >
so you did
22:42
<
bgamari >
it even rebased onto recent master clealy
22:50
<
gchristensen >
niksnut: is there a reason you didn't merge my backport of the H.S. fixes to nix 1.1?
23:00
<
bgamari >
Sonarpulse, rebased and building
23:00
<
bgamari >
let's see how this goes
23:00
<
Sonarpulse >
bgamari: oh rebased cross-elegant?
23:00
<
Sonarpulse >
I just did that lol
23:06
<
bgamari >
and my branch on top
23:11
<
Sonarpulse >
bgamari: well just rebased everything on my end
23:11
<
Sonarpulse >
and push
23:11
<
Sonarpulse >
*pushed
23:11
<
Sonarpulse >
heh I wonder if we got the same thing
23:18
<
bgamari >
Sonarpulse, hmmm, with just plain rebased cross-elegant I get an assertion failure from
23:18
<
bgamari >
gccCrossStageStatic = assert targetPlatform != buildPlatform; let
23:18
<
bgamari >
in all-packages.nix
23:20
<
bgamari >
strangely enough with my branch on top I don't get this assertion
23:20
<
Sonarpulse >
plain rebased cross-elevant being what I just pushed?
23:21
<
bgamari >
but it fails for other reasons and I don't know what I would have done to fix this
23:21
<
Sonarpulse >
not the attribute for me to instantiate?
23:21
<
Sonarpulse >
note at niksnut's request I removed some __ pefixes
23:21
<
Sonarpulse >
so not more __targetPackages
23:21
<
Sonarpulse >
or __deps*
23:21
<
Sonarpulse >
just targetPackages
23:21
<
Sonarpulse >
and deps*
23:22
clever has joined joined #nixos-dev
23:22
<
bgamari >
Sonarpulse, I get the same assertion failure with your cross-elegant branch
23:23
<
Sonarpulse >
bgamari: sorry meant "got" not "not"
23:24
<
Sonarpulse >
i.e. how can I reproduce?
23:24
<
bgamari >
let me try to extract something
23:25
<
Sonarpulse >
bgamari: ok
23:28
<
Sonarpulse >
got to add mips LDEMULATION
23:28
<
Sonarpulse >
that's the only issue
23:29
<
bgamari >
Sonarpulse, git@github.com:bgamari/nix-cross-test.git
23:31
<
bgamari >
nix-build . -A knownGoodCrossed
23:31
<
bgamari >
after checking out nix-pkgs in the parent directory
23:31
<
Sonarpulse >
you can get from the lib
23:31
<
bgamari >
or change `nix` to taste
23:45
<
Sonarpulse >
bgamari: weird
23:45
<
Sonarpulse >
nix-instantiate --arg crossSystem '(import ./lib).systems.examples.armv7l-hf-multiplatform' -A shadow
23:45
<
Sonarpulse >
nix-instantiate --arg crossSystem '(import ./lib).systems.examples.armv7l-hf-multiplatform' -A glibcCross.bin succeeds
23:46
<
bgamari >
that is indeed odd
23:46
<
Sonarpulse >
maybe my splicing is fucked up?
23:48
* bgamari
is trying to work out how we are supposedly ensuring that gccCrossStageStatic isn't called during cross compilation
23:48
<
Sonarpulse >
bgamari: gccCrossStageStatic
23:48
<
bgamari >
afterall crossLibcStdenv relies on it
23:49
<
Sonarpulse >
should be rarely refered to at all
23:49
* Sonarpulse
checks
23:50
<
bgamari >
right above gccCrossStageStatic
23:50
<
bgamari >
glibcCross indeed relies on crossLibcStdenv
23:50
<
Sonarpulse >
indeed
23:51
<
Sonarpulse >
bgamari: but shadow has a run-time dep on glibcCross
23:51
<
Sonarpulse >
so if it uses glibcCross when build != host
23:51
<
bgamari >
that might be why my branch works around this
23:51
<
Sonarpulse >
then the assert should succeed
23:51
ma27 has quit [(Ping timeout: 246 seconds)]
23:52
<
bgamari >
IIRC I removed the dependency of shadow on glibc
23:55
<
Sonarpulse >
bgamari: I did in a repl
23:55
<
Sonarpulse >
`callPackage ({ glibcCross }: glibcCross) {}`
23:55
<
Sonarpulse >
which fails
23:55
<
Sonarpulse >
so there's some weird splicing thing happenign
23:57
<
bgamari >
that will be exciting to track down ;)
23:58
<
Sonarpulse >
indeed, sigh