<kcalvinalvin>
Is there a way to grab system information during building a package?
<kcalvinalvin>
I'm trying to grab the computers model name so it could be used during building that package
<etu>
In general: No
<kcalvinalvin>
Not quite sure if that's doable... dmesg needs sudo so it can't work and `cat /sys/devices/virtual/dmi/product_name` during the build told me the directory doesn't exist
<kcalvinalvin>
etu ah I see :(
<etu>
kcalvinalvin: Sandboxed builds etc
<etu>
kcalvinalvin: And the goal for reproducability, to build the same package on two machines should be able to yeild the same output
<kcalvinalvin>
Currently, I'm trying to clean up some stuff for the chromebook touchpad drivers so that users don't have to manually input the codename in configuration.nix (since google is really making things confusing now)
<kcalvinalvin>
The xorg conf files are different for different machines so in essence they *are* different packages
page_ has joined #nixos-dev
manveru has quit [*.net *.split]
johanot has quit [*.net *.split]
kalbasit has quit [*.net *.split]
johnny101 has quit [*.net *.split]
ciil has quit [*.net *.split]
spacekookie has quit [*.net *.split]
nurelin_ has quit [*.net *.split]
page has quit [*.net *.split]
kgz has quit [*.net *.split]
clever has quit [*.net *.split]
johnny101 has joined #nixos-dev
pepesza has quit [Ping timeout: 268 seconds]
page_ is now known as page
pepesza has joined #nixos-dev
kgz has joined #nixos-dev
<jtojnar>
lol, it took me this long to realize the meaning of Eelco's IRC handle
<alienpirate5>
What is it?
kalbasit has joined #nixos-dev
manveru has joined #nixos-dev
clever has joined #nixos-dev
nurelin_ has joined #nixos-dev
spacekookie has joined #nixos-dev
ciil has joined #nixos-dev
johanot has joined #nixos-dev
<makefu>
lets just say the nick implies that he is crazy about nix
__monty__ has joined #nixos-dev
<niksnut>
it's actually a dutch word meaning "good for nothing"
<makefu>
double meaning it is. however your definition is less flattering :)
psyanticy has joined #nixos-dev
page has quit [Ping timeout: 265 seconds]
page has joined #nixos-dev
genesis has joined #nixos-dev
<sphalerite>
kcalvinalvin: putting the model name in the configuration is the right approach, because it's not guaranteed that people will be building their config on the machine it's for.
orivej has joined #nixos-dev
ixxie has joined #nixos-dev
ixxie has quit [Ping timeout: 268 seconds]
ixxie has joined #nixos-dev
ixxie has quit [Ping timeout: 268 seconds]
justanotheruser has quit [Ping timeout: 240 seconds]
justanotheruser has joined #nixos-dev
<clever>
output '/nix/store/mhppjznyl8zlc75s4waq24ls40ksc048-system-path' of '/nix/store/5wbmas901jvq8vg9hd50s2kdka6vmgic-system-path.drv' differs from previous round
<clever>
gchristensen: how is a basic buildEnv failing? heh
<gchristensen>
heh
<gchristensen>
good question
<gchristensen>
what does diffoscope say
<clever>
gchristensen: i dont think it was keeping the alternate copies, but i can look closer...
<gchristensen>
build again with --check --keep-failed
mmlb has quit [Ping timeout: 258 seconds]
<gchristensen>
and turn off your garbage collector
<clever>
derivation '/nix/store/5wbmas901jvq8vg9hd50s2kdka6vmgic-system-path.drv' may not be deterministic: output '/nix/store/mhppjznyl8zlc75s4waq24ls40ksc048-system-path' differs from '/nix/store/mhppjznyl8zlc75s4waq24ls40ksc048-system-path.check'
<clever>
perfect
<clever>
Binary files /nix/store/mhppjznyl8zlc75s4waq24ls40ksc048-system-path/share/icons/hicolor/icon-theme.cache and /nix/store/mhppjznyl8zlc75s4waq24ls40ksc048-system-path.check/share/icons/hicolor/icon-theme.cache differ
* gchristensen
is ignoring work he should be doing, in favor of Nix + OfBorg
justan0theruser has joined #nixos-dev
Jackneill has quit [Remote host closed the connection]
justanotheruser has quit [Ping timeout: 268 seconds]
<ryantm>
Synthetica: No, I haven't put that one up yet.
<ryantm>
And I think the logs are gone, because I was writing them to the systemd service run directory which seems to be deleted with the service stops.
<ryantm>
Synthetica: One issue I noticed was assertNewVersion https://github.com/ryantm/nixpkgs-update/blob/master/src/Nix.hs#L62 was failing on ones where we package it with a date, and your script suggested an actual version. Those are the ones where you were actually checking if the release was later than the old date, right?
<worldofpeace>
Jan Tojnar: huh, are gtk icon caches non-reproducable?
<ryantm>
So I think I need to make an option to nixpkgs-update to trust the source knows the newer version is actually newer.
<jtojnar>
worldofpeace apparently
lovesegfault has quit [Ping timeout: 272 seconds]
ris has joined #nixos-dev
hexa- has quit [Quit: WeeChat 2.7]
lovesegfault has joined #nixos-dev
hexa- has joined #nixos-dev
justan0theruser is now known as justanotheruser
lovesegfault has quit [Ping timeout: 268 seconds]
lovesegfault has joined #nixos-dev
psyanticy has quit [Quit: Connection closed for inactivity]
drakonis has quit [Ping timeout: 260 seconds]
janneke has quit [Quit: janneke quits Mes'sing]
janneke has joined #nixos-dev
janneke_ has joined #nixos-dev
janneke has quit [Read error: Connection reset by peer]