<gchristensen>
you, why would you want to make holes?
<la_putin>
cus im trying to figure out how to move the address 0x400000 down so if it is occupied already it is free'd but in a way that allows the application itself to still run
<la_putin>
at runtime
<la_putin>
but i have no idea how i would do so
alunduil_ has joined #nixos-dev
<la_putin>
as there is almost nothing about self-relocation on the internet
<gchristensen>
I don't know much about this level of how things work, unfortunately, but reading the help page of patchelf it doesn't seem to do that
<la_putin>
or at least nothing specifying exactly how to do so with a working example
alunduil has quit [Ping timeout: 276 seconds]
_rvl has joined #nixos-dev
yegortimoshenko has quit [Ping timeout: 255 seconds]
orivej has joined #nixos-dev
yegortimoshenko has joined #nixos-dev
yegortimoshenko has quit [Remote host closed the connection]
yegortimoshenko has joined #nixos-dev
el_putin has joined #nixos-dev
la_putin has quit [Read error: Connection reset by peer]
la_putin has joined #nixos-dev
ma27 has joined #nixos-dev
el_putin has quit [Ping timeout: 276 seconds]
el_putin has joined #nixos-dev
la_putin has quit [Read error: Connection reset by peer]
el_putin has quit [Read error: Connection reset by peer]
ma27 has quit [Ping timeout: 256 seconds]
orivej has quit [Ping timeout: 240 seconds]
ma27 has joined #nixos-dev
ma27 has quit [Ping timeout: 256 seconds]
moredread[m] has quit [Ping timeout: 248 seconds]
MichaelRaskin has quit [Quit: MichaelRaskin]
moredread[m] has joined #nixos-dev
FRidh has quit [Ping timeout: 276 seconds]
FRidh has joined #nixos-dev
simpson has quit [Ping timeout: 246 seconds]
goibhniu has joined #nixos-dev
simpson has joined #nixos-dev
FRidh has quit [Ping timeout: 260 seconds]
FRidh has joined #nixos-dev
vcunat has joined #nixos-dev
vcunat has quit [Client Quit]
la_putin has joined #nixos-dev
orivej has joined #nixos-dev
FRidh has quit [Ping timeout: 240 seconds]
FRidh has joined #nixos-dev
FRidh has quit [Ping timeout: 248 seconds]
FRidh has joined #nixos-dev
kgz has quit [Quit: WeeChat 1.9.1]
ma27 has joined #nixos-dev
kragniz has joined #nixos-dev
kragniz is now known as kgz
tv has quit [Ping timeout: 248 seconds]
tv has joined #nixos-dev
la_putin has quit [Read error: Connection reset by peer]
<jtojnar>
also would it be okay to make the "2.status: work in progress" label stand out more?
<jtojnar>
IMHO the important labels should use more vibrant colors (#FF9800 would be nice here)
<jtojnar>
and the "8.has" could probably be desaturated a bit
pie__ has quit [Ping timeout: 256 seconds]
<WilliButz>
:q
el_putin has quit [Quit: Konversation terminated!]
orivej has quit [Ping timeout: 240 seconds]
jtojnar has quit [Read error: Connection reset by peer]
<copumpkin>
anyone on linux want to try this for me?
<copumpkin>
nix-build -K --check '<nixpkgs>' -A pythonPackages.netaddr.patches.0
<gchristensen>
output path ‘/nix/store/cwq2b915rlsmnvpjx7gmc78g3mz6q8bf-2ab73f10be7069c9412e853d2d0caf29bd624012.patch’ has sha256 hash ‘0s1cdn9v5alpviabhcjmzc0m2pnpq9dh2fnnk2x96dnry1pshg39’ when ‘08rn1s3w9424jhandy4j9sksy852ny00088zh15nirw5ajqg1dn7’ was expected
<copumpkin>
okay
<copumpkin>
thanks!
<gchristensen>
yep!
<copumpkin>
I get the same thing
<copumpkin>
on Darwin, the hashes match...
<gchristensen>
neat ...
<copumpkin>
and...
<LnL>
hfs normalisation?
<copumpkin>
I think the only difference is whitespace
<copumpkin>
no idea why
<gchristensen>
is it using fetchpatch?
<copumpkin>
it's using fetchpatch
<copumpkin>
LnL: no file paths involved at all
<copumpkin>
it's a file hash, not a directory hash
<LnL>
oh right
FRidh has quit [Remote host closed the connection]
<LnL>
sounds like a bug then
<LnL>
one of the tools used in fetchpatch must be giving slightly different output
<octe>
should be able to diff the outputs?
<copumpkin>
yeah, I did that and it only seems to differ in whitespace from what I can tell
<copumpkin>
I'm assuming the temporary build directory has the final file
<copumpkin>
that might not be true
<Dezgeg>
how about a diff -u?
<Dezgeg>
I can't read those legacy diffs :)
<copumpkin>
yessir!
<LnL>
:p
<copumpkin>
it's updated on the ticket
<copumpkin>
still not sure if the file I found in the -K directory is the final thing
<gchristensen>
copumpkin: not to be annoying, but can you make the ``` block a ```diff block?
<copumpkin>
BAM
<gchristensen>
ah, now I can read it!
<copumpkin>
oh so that's incorrect
<copumpkin>
judging by the fetchpatch source, we filterdiff directly into $out
<copumpkin>
so nothing in the temporary directory will show the final form
<copumpkin>
but the filterdiff doesn't add the diff --git back
<niksnut>
copumpkin: ok, I've pushed a slightly different fix for the --check issue
<copumpkin>
omg I'm your biggest fanboi
<copumpkin>
:P
<copumpkin>
niksnut: hah, that's a cute fix :) I thought you meant to do so far more broadly
<niksnut>
however, I fail to see how --check helps
<copumpkin>
?
FRidh has joined #nixos-dev
orivej has joined #nixos-dev
jtojnar has joined #nixos-dev
<niksnut>
the solutions I see are: 1) remove fixed-output derivations entirely; or 2) include the "url" in the output path calculation, and remove mirroring support in fetchurl
<gchristensen>
what does #1 practically mean? #2 seems ... :$
<niksnut>
it means that the output path of (say) a fetchurl call is computed like any other derivation
<niksnut>
so any change to an input attribute would change the output path
<niksnut>
they would still be allowed to access the network
<niksnut>
and Nix would still check the output hash
<gchristensen>
so it'd still pre-declare its hash?
<niksnut>
yes
jtojnar_ has joined #nixos-dev
<niksnut>
approach 1) implies 2) btw
<niksnut>
we can't have a list of mirrors anymore, because adding any mirror would cause a world rebuild
jtojnar has quit [Read error: Connection reset by peer]
jtojnar_ is now known as jtojnar
<gchristensen>
right, ouch
<copumpkin>
what do you dislike about what I was suggesting with --check?
<copumpkin>
it's sort of "out of band", which obviously I'd prefer not to be the case
<niksnut>
we'd constantly be fetching thousands of tarballs
<niksnut>
and it would be a post check, so you only discover after the fact that you may have been pwned
<copumpkin>
well, it would only be as constantly as we'd be doing it if we removed FO altogether, right?
<copumpkin>
so it seems like strictly less, if we can come up with a good UX
<gchristensen>
I wonder if we can come up with a nicer solution here which includes the provided URL in the FO hash calculation instead
<gchristensen>
so in the mirror case the hashed URL would be mirror://gentoo/distfiles/beast-0.7.1-guile-1.8.diff.bz2 that was hashed
<copumpkin>
for that to work, URL would need to become some sort of primitive notion
<copumpkin>
I think?
<gchristensen>
I'm going to go ahead and put on my "I have no idea what I'm doing" hat :$
<copumpkin>
so on the specific fetchpatch invocation
<copumpkin>
it's weird that I can't reproduce it, even on macOS
<copumpkin>
when it was 4 lines, it was fine in all-packages
<copumpkin>
I also dislike the fallback to fetchGit, FWIW
<copumpkin>
but the private support seems simple enough
FRidh2 has joined #nixos-dev
<LnL>
I kind of agree with the fetchgit fallback, I’ve seen a lot of people confused about that
<copumpkin>
when I originally proposed a fetchSubmodules for fetchFromGitHub, I was thinking of a recursive github tarball fetcher that would barf on other submodule sources
<Sonarpulse>
all this sounds good, lets just try to use PRs :) at the very least, get that ofborg check!
<Sonarpulse>
copumpkin: I was just thinking of that now +1
orivej has quit [Ping timeout: 260 seconds]
jtojnar has joined #nixos-dev
<Sonarpulse>
niksnut: 6060a6dd220bc62dcf48eece8e8f201b93cfeb52 can i nominate orivej to join me as *-wrapper codeowner?
<niksnut>
Sonarpulse: go ahead
<Sonarpulse>
niksnut: thank you
jtojnar has quit [Ping timeout: 240 seconds]
ckauhaus has quit [Remote host closed the connection]
goibhniu has joined #nixos-dev
ma27 has quit [Ping timeout: 276 seconds]
pie__ has joined #nixos-dev
jtojnar has joined #nixos-dev
orivej has joined #nixos-dev
goibhniu has quit [Ping timeout: 248 seconds]
michaelpj_ has joined #nixos-dev
<catern>
woah woah woah what is this issue that requires one of "1) remove fixed-output derivations entirely; or 2) include the "url" in the output path calculation, and remove mirroring support in fetchurl"
<catern>
I like fixed-output derivations as they are and was planning on major new features for them :(
MichaelRaskin has joined #nixos-dev
jtojnar has quit [Quit: jtojnar]
jtojnar has joined #nixos-dev
nixer has joined #nixos-dev
<copumpkin>
it's a long story, I'll probably write up a github issue eventually about it
<catern>
is there any github issue or email or anything about it? I don't see anything in the backlog
<catern>
I have a different way to implement fixed-output derivations that could allow them to work even through whatever issue is happening
<copumpkin>
not yet
<copumpkin>
curious what your different way to implement them is though
<copumpkin>
I'll try to write something up this weekend
<catern>
Essentially it's just handling fixout derivations immediately at the user level, in the user's environment, outside the sandbox, instead of inside the nix-daemon with a sandbox. that can be done several ways, I think I've settled on having a proxy for the nix-daemon which intercepts requests to build fixed-output derivations and directly builds them and calls addToStore
<catern>
and I'm implementing that now (implementing the nix-daemon protocol in Python...)
<gchristensen>
that is very cool, catern
<copumpkin>
catern: what's the goal of doing it that way?
<gchristensen>
it _sounds_ like it'd allow for fetchgitPrivate but not scary
nixer has quit [Quit: Page closed]
<copumpkin>
something about multi-user nix on darwin completely screws up my download progress reporting
<copumpkin>
anyone else seen that?
<catern>
gchristensen: right
<LnL>
copumpkin: howso?
<copumpkin>
it just gets completely mangled, presumably because it's trying to use terminal control characters to hop around and update things in place
<catern>
copumpkin: fetchGitPrivate is one benefit, also my concrete benefit is that it would allow using user-specific proxies (like I have at my work)
<catern>
I might fix that build output mangling thing soon as a side-effect of my investigations into nix-daemon stuff, so don't feel obliged to debug it
<copumpkin>
oh, never mind, it's just a broken test I think
<LnL>
weird, I've only seen that in a hydra log
zarel has joined #nixos-dev
jtojnar has quit [Read error: Connection reset by peer]
FRidh2 has quit [Quit: Konversation terminated!]
jtojnar has joined #nixos-dev
jtojnar_ has joined #nixos-dev
jtojnar has quit [Ping timeout: 260 seconds]
jtojnar_ is now known as jtojnar
jtojnar has quit [Read error: Connection reset by peer]
jtojnar has joined #nixos-dev
jtojnar_ has joined #nixos-dev
jtojnar has quit [Ping timeout: 276 seconds]
jtojnar_ is now known as jtojnar
zarel has quit [Quit: Leaving]
ckauhaus has joined #nixos-dev
gchristensen is now known as the
la_putin has joined #nixos-dev
ckauhaus has quit []
the is now known as gchristensen
michaelpj_ has quit [Ping timeout: 240 seconds]
Sonarpulse has quit [Ping timeout: 256 seconds]
michaelpj_ has joined #nixos-dev
<LnL>
does import <nix/config.nix> work in hydra?
<LnL>
do we?
michaelpj_ has quit [Ping timeout: 240 seconds]
<clever>
LnL: i think it does
<clever>
LnL: i'm using it on some hydra supported projects
<LnL>
hmm no, what I was thinking of doing is probably a bad idea
<gchristensen>
how're you doing, clever?
<clever>
gchristensen: good, currently in lisbon, heading home on monday
<gchristensen>
ahh is that why you've not been on much?
<clever>
yeah
<clever>
company wide meetup
<gchristensen>
cool :) how is lisbon?
<clever>
much warmer then NB canada
<gchristensen>
:D
<clever>
14-15c on the average day, in the middle of winter
<gchristensen>
a man can dream...
<clever>
back home, the snow in the driveway was past my knees