<sindrip>
I'm having a bit of trouble with using import, if I directly set the attributes in home-manager.users.x = { ... } it works. If however I do home-manager.users.x = import ./home.nix { inherit pkgs; }. It builds but it's like the expression isn't evaluated, and I don't know if I should force it to be strictly evaluated or?
<sindrip>
where ./home.nix is a function returning an attr. set not a module
dbmikus_ has quit [Ping timeout: 240 seconds]
psalm_ has quit [Remote host closed the connection]
jackdk has joined #nixos
erasmas has quit [Ping timeout: 246 seconds]
<{^_^}>
[nixpkgs] @worldofpeace merged pull request #59800 → dleyna-renderer: checkout patch in tree → https://git.io/fjYby
<{^_^}>
[nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjYNH
<manveru>
mishach: Just fyi, that error on start is normal
<manveru>
It's possible steam is already running though, then you wouldn't see anything happen
<{^_^}>
[nixpkgs] @MP2E pushed commit from @ashkitten to master « dolphinEmuMaster: 2019-02-16 -> 5.0-9976 »: https://git.io/fjYAU
lightbulbjim has quit []
lightbulbjim has joined #nixos
jluttine has joined #nixos
<{^_^}>
[nixpkgs] @cdepillabout opened pull request #59801 → stretchly: init at 0.19.1 (backport to 19.03) → https://git.io/fjYAT
<boomshroom>
simpson: I saw there are plans to integrate IPFS into various package managers like Nix.
<gchristensen>
IPFS's developers are wanting to do that, yeah
<simpson>
boomshroom: Plans would be exciting, but so far I've only heard of desires and feelings. Is there concrete action yet, or just that emoji-covered roadmap?
<boomshroom>
Just the roadmap from what I can tell.
<gchristensen>
we build artifacts too rapidly (in terms of bytes per second) too quickly for ipfs' current performance
<boomshroom>
One thing in particular that seems worrying is that `services.ipfs.enable` mentions that it "may cause severe network degredation." Can someone clarify what that means?
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<simpson>
IIUC the IPFS daemon is very greedy about bandwidth by default and can starve out other networking apps.
<gchristensen>
> It means IPFS will exhaust NAT slots and DOS local networks. I went around for week trashing peoples networks and getting complaints until I realized it was because I turned on this service.
<{^_^}>
error: syntax error, unexpected ')', expecting ID or OR_KW or DOLLAR_CURLY or '"', at (string):252:1
<simpson>
Oh wow. That's even worse than I expected.
<boomshroom>
Ah. So I was right to be weary.
<gchristensen>
a major problem ipfs (and all distributed file systems) has is it is difficult to compete with plain HTTPS and a CDN
kvda has joined #nixos
<gchristensen>
there is a holistic benefit to IPFS, but at the expense of a highly scrutinized cost center
<simpson>
Yeah, we need a whole-Internet transformation, and if we're going that path, then something holistic like NDN is going to be even more practical than IPFS.
<simpson>
Heh, holisticmind~
jluttine has quit [Ping timeout: 245 seconds]
<boomshroom>
Named Data Networking (NDN)?
<simpson>
Yeah. Hopefully the next big thing after TCP~
<boomshroom>
Ah yes, the Next Big Thing TM.
<simpson>
I wonder how IPFS could have a higher effective write speed for us. Would sharding Hydra builds be possible?
<simpson>
boomshroom: Hey, "from the author of TCP and That One Patch to TCP" is a pretty good sales pitch~
<gchristensen>
ofborg has a long way to go before it could do something like replace hydra, but yeah there is no totally central, unshardable component
iceypoi has quit [Quit: WeeChat 2.4]
dbmikus_ has joined #nixos
<simpson>
gchristensen: This isn't possible today without NDN, but thought experiment: Is there any way that a build could be done on-demand? AFAICT the nature of Nix makes this impossible for non-fixed-output derivations, so it's not really worth pursuing past the "no".
<gchristensen>
oof
<gchristensen>
you really need the drv to do a build, but a drv can be looked up from the requested path
<boomshroom>
lol, I try to look up a comparision of ndn and ipfs, and in the top 3 results if the wikipedia page for NDN...
<boomshroom>
...hosted by IPFS!
mmlb72 has joined #nixos
Mrmaxmeier7 has joined #nixos
jmeredith_ has joined #nixos
newhoggy__ has joined #nixos
wedens_ has joined #nixos
darkf_ has joined #nixos
manveru_ has joined #nixos
dustinm- has joined #nixos
<simpson>
boomshroom: High-level overviews are hard, but the things that stand out in IPFS for me: federated via DHT, censorable, enumerable, low-level transports, aimed use case is Terra-Luna-Mars networking
dbmikus_ has quit [Ping timeout: 252 seconds]
drvirgilio_ has joined #nixos
<boomshroom>
Well obviously no interplanetary service is a must have! :P
<simpson>
For NDN: systemic protocol, namespacing and hierarchy, request-and-response, high-level composite with encryption/authentication
<boomshroom>
Well obviously no interplanetary service is a deal breaker! :P
<simpson>
Oh, and aimed-at use case is replacing TCP/IP.
joko_ has joined #nixos
commande1 has joined #nixos
magnus1 has joined #nixos
ym555 has quit [Quit: leaving...]
abcrawf_ has joined #nixos
LnL7 has joined #nixos
hexagoxe- has joined #nixos
andrewrk_ has joined #nixos
ar1a_ has joined #nixos
duoi_ghost has joined #nixos
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
pleeplop has quit [*.net *.split]
bricewge has quit [*.net *.split]
domenkozar[m] has quit [*.net *.split]
linarcx[m] has quit [*.net *.split]
benkerry[m] has quit [*.net *.split]
asthma[m] has quit [*.net *.split]
Vskilet has quit [*.net *.split]
IslandUsurper has quit [*.net *.split]
torched[m] has quit [*.net *.split]
timclassic has quit [*.net *.split]
slabity has quit [*.net *.split]
zurdo has quit [*.net *.split]
bbigras has quit [*.net *.split]
rdes[m] has quit [*.net *.split]
M0ddba11[m] has quit [*.net *.split]
hylshols7qui[m] has quit [*.net *.split]
ptotter[m] has quit [*.net *.split]
Dandellion[m] has quit [*.net *.split]
matthewbauer has quit [*.net *.split]
contrun[m] has quit [*.net *.split]
nh2[m] has quit [*.net *.split]
siraben has quit [*.net *.split]
aquarial has quit [*.net *.split]
yangm97 has quit [*.net *.split]
Guest90741 has quit [*.net *.split]
Ralith has quit [*.net *.split]
tet[m] has quit [*.net *.split]
bb010g has quit [*.net *.split]
jmeredith has quit [*.net *.split]
manveru has quit [*.net *.split]
skorpy2009 has quit [*.net *.split]
darkf has quit [*.net *.split]
mmlb7 has quit [*.net *.split]
tshaynik has quit [*.net *.split]
wedens has quit [*.net *.split]
duoi has quit [*.net *.split]
true_bunta has quit [*.net *.split]
dustinm has quit [*.net *.split]
hexagoxel has quit [*.net *.split]
abcrawf has quit [*.net *.split]
newhoggy has quit [*.net *.split]
Mrmaxmeier has quit [*.net *.split]
LnL has quit [*.net *.split]
drvirgilio has quit [*.net *.split]
amfl has quit [*.net *.split]
andrewrk has quit [*.net *.split]
commander has quit [*.net *.split]
ar1a has quit [*.net *.split]
joko has quit [*.net *.split]
clever has quit [*.net *.split]
wedens_ is now known as wedens
manveru_ is now known as manveru
newhoggy__ is now known as newhoggy
darkf_ is now known as darkf
jmeredith_ is now known as jmeredith
hexagoxe- is now known as hexagoxel
clever has joined #nixos
clever has joined #nixos
clever has quit [Changing host]
Synthetica has quit [Quit: Connection closed for inactivity]
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jasongrossman has quit [Ping timeout: 255 seconds]
<{^_^}>
[nixpkgs] @domenkozar pushed 2 commits to release-19.03: https://git.io/fjYxn
kvda has joined #nixos
<arq1>
hello, when i tried to run kbuildsycoca5 to update the package icons i get this error. kf5.kservice.sycoca: Service type not found: "application/x-zstd-compressed-tar".
<arq1>
anybode can help me?
<{^_^}>
[nixpkgs] @veprbl opened pull request #59811 → python: provide hasCxxDistutils attribute for pythonPackages.numpy → https://git.io/fjYxC
justanotheruser has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
kleisli has joined #nixos
dbmikus_ has joined #nixos
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<lightbulbjim>
hyper_ch2: check the speed listed at the end of each line when running `lsusb -t`
jasongrossman has joined #nixos
<hyper_ch2>
lightbulbjim: well, I found out meanwhile that lsusb -D /dev/...... shows it as bcdusb 3.1.... but the tech specs say it's usb 3.0
lovesegfault has quit [Ping timeout: 258 seconds]
<lightbulbjim>
Sounds like your device has negotiated an upgrade!
<Synthetica>
There is some absurdity in the USB naming scheme I believe
<Synthetica>
So USB 3.0 and 3.1 refer to the same thing in some cases
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jasongro` has joined #nixos
lovesegfault has joined #nixos
<Synthetica>
"The USB 3.1 specification takes over the existing USB 3.0's SuperSpeed USB transfer rate, also referred to as USB 3.1 Gen 1, and introduces a faster transfer rate called SuperSpeed USB 10 Gbps, referred to as USB 3.1 Gen 2"
<hyper_ch2>
it doesn't say gen 1 or gen 2 with lsusb
<Synthetica>
(Or maybe your device manufacturer could get a cheap batch of USB 3.1 chips?)
jasongrossman has quit [Ping timeout: 245 seconds]
<Synthetica>
I don't know if lsusb follows the USB Consortium's madness
<Ariakenom>
seems strange that they make different choices there. any reason for either?
Anton-Latukha has joined #nixos
civodul has joined #nixos
mkaito_ has joined #nixos
asymmetric has joined #nixos
mkaito has quit [Ping timeout: 258 seconds]
jasongrossman has quit [Quit: ERC (IRC client for Emacs 26.1)]
LnL7 has joined #nixos
LnL7 has quit [Changing host]
<Synthetica>
Ariakenom: I say storing time in UTC is the only one that makes sense, timezones should be an artifact of presentation only
<Synthetica>
And Windows doesn't, I believe for legacy reasons
linarcx has quit [Ping timeout: 250 seconds]
linarcx has joined #nixos
<Ariakenom>
windows being wrong sounds reasonable. including leap seconds in the hw clock also seems weird. but this is a complicated subject I suppose
jtojnar has quit [Quit: jtojnar]
linarcx has quit [Ping timeout: 246 seconds]
linarcx has joined #nixos
<teto>
I have this store entry that takes 1Gb /nix/store/vixbfdf7xsz67aaj1d05wg9crpz5xn8m-happy-1.19.9/bin/happy . When I look at --referers I just see itself. when I look at roots, it lists my current generations. Yet I have no idea what pulls it in since it lists no referrers but itself and I don't have any "happy" package in my configuration.nix . What am I missing ?
<teto>
(to be clearer, happy + its ghc dependencies take 1Gb)
<mabel>
bah, I wish there were a nix plugin that supported code completion
mexisme has joined #nixos
thc202 has joined #nixos
jasongrossman has joined #nixos
ThatDocsLady has joined #nixos
pi3r has joined #nixos
<xantoz>
Ariakenom: leap seconds are included in the concept of UTC, though
<symphorien>
roots and referers are different things
<symphorien>
referrers are store paths
<symphorien>
roots are symlinks in /nix/var/somthing
<teto>
symphorien: but in this case neither tell me how I can get rid of this dependency: I don't install any "happy" program yet I can't see any program that would pull it either :/
<symphorien>
teto: can you try nix why-depends $(readlink /nix/var/nix/profiles/per-user/teto/profile-497-link) /nix/store/vixbfdf7xsz67aaj1d05wg9crpz5xn8m-happy-1.19.9/
<teto>
symphorien: same result, "does not depend on "
<typetetris>
I try to get the homepage of a vim plugin via nix repl, but vimPlugins."vim-nix".meta doesn't provide sufficient information. Also I can't seem to get the url, where it is downloaded from. (I want to see, what is the difference between "vim-addon-nix" and "vim-nix").
<teto>
typetetris: even with vimPlugins."vim-nix".src.url ?
<LnL7>
I don't think vim plugins have that metadata
<sphalerite>
mthst: if this is a normal consumer home connection, it's obtained by your modem-router using DHCPv6 and may change over time.
<sphalerite>
symphorien: --references is only direct references, maybe it's a transitive dependency? teto: what about nix-store -q --requisites ?
<teto>
symphorien: it just printed "reading the Nix store... checking path existence..." in 1 sec and then finished
<mpickering>
why is the value of my `nix.nixPath` configuration option not reflected in `NIX_PATH` after rebuilding
<qyliss>
Did you log out and back in?
<sphalerite>
mpickering: because running processes' environments are very hard to modify externally. A reboot should result in it being reflected everywhere.
<teto>
symphorien: nix-store -q --requisites /nix/var/nix/profiles/per-user/teto/profile-497-link doesn't list happy either :/
<mpickering>
ah ok
<mthst>
sphalerite: thanks for your help!
pi3r_ has joined #nixos
<sphalerite>
mthst: although I feel the need to ask now — why do you want to assign a static address
pi3r has quit [Ping timeout: 250 seconds]
kaliumxyz has joined #nixos
<kaliumxyz>
>steam updates
alexherbo2 has joined #nixos
<kaliumxyz>
so whats the solution for self updating programs on nix?
<kaliumxyz>
steam just broke itself
<kaliumxyz>
:c
<mthst>
sphalerite: because nixos-upgrade.service failed because of dhcp, with eth0: DHCPv6 lease expired
<sphalerite>
mthst: that seems completely unrelated
<sphalerite>
mthst: I suspect you'll only be causing more problems for yourself by doing that
<sphalerite>
mthst: also I don't see how dhcp lease expiry is supposed to be related to nixos upgrade
<sphalerite>
mthst: I suspect it's a coincidence that the dhcpv6 lease expired around the same time that your upgrade failed. A more complete log section would be helpful for working out why it's not working
orivej has quit [Ping timeout: 255 seconds]
<sphalerite>
kaliumxyz: have you tried running it in a terminal and seeing if any errors show up?
<kaliumxyz>
Yes, many errors show up c:
<sphalerite>
exciting
<sphalerite>
one thing to try: update the steam nix package, which contains the steam runtime. The runtime might have been updated
<sphalerite>
something like nix-env -f channel:nixos-19.03 (or channel:nixos-unstable, depedning on what you're using) -iA steam
<{^_^}>
[nixpkgs] @worldofpeace pushed 2 commits to release-19.03: https://git.io/fjOeu
<teto>
symphorien: any other idea or should I open an issue. I think it's a recent occurence, I noticed because I was lacking disk space even after nix-collect-garbage while it used to be fine.
<mabel>
question re: mkOverride.. is there some sort of 'mkExpression' which computes an expression over an option value?
<mabel>
I have something like a database hostname, and I'm building a connection string out of it
<symphorien>
No I don't really have any other idea
<mabel>
I need to pass that connection string as a 'submodule' to a config value
<mabel>
something like config = { connectionString = ...; }
<teto>
symphorien++
<{^_^}>
symphorien's karma got increased to 18
<teto>
thanks for keeping up :D
<mabel>
and the database name should be the option, rather than the connection string
<srhb>
mabel: Sorry, I really don't understand what mkExpression means in this case.
Makaveli7 has quit [Quit: WeeChat 2.4]
<kaliumxyz>
>.> how do I update the packages that I decalred in configuration.nix?
<srhb>
mabel: From your last messages, it sounds like you want some kind of attrsOf.
<mabel>
so, I'm using Kubenix, which lets you specify Kubernetes with Nix
<srhb>
kaliumxyz: If you're using regular channels, you update the channel and nixos-rebuild switch
<srhb>
kaliumxyz: (That is, if the channel has newer versions..)
<mabel>
it uses the Nix module system, and I'm building a module for Hydra
psyanticy has joined #nixos
<kaliumxyz>
I just realized I need to run nix-channel as root if I want that to work on my setup :joy:
<mabel>
there's an "Env" attribute you can set in the module's config, which lets you specify environment variables for a pod
<mabel>
I want to pass the connection string as an environment variable (HYDRA_DBI.) but I don't want the user to have to specify the whole DBI as an option, just the hostname
<mabel>
so I have my options = { hostname = mkOption { ... }; }, and my config = { xyz.env.hostname.value = <Code goes here>; }
<srhb>
mabel: So, you want a function that given hostname just created the connection string?
<mabel>
like HYDRA_DBI.value = "dbi:Pg:dbname=hydra;host=${dbHostName};user=hydra";, but where dbHostName is an option (made by mkOption), and HYDRA_DBI.value is a submodule
<mabel>
if I pass a raw string to HYDRA_DBI.value, it complains because it was expecting a submodule instead.
<mabel>
more concretely, The option value `kubernetes.api.deployments.hydra.spec.template.spec.containers.hydra-eval.env.HYDRA_DBI' in `/home/mabel/blorg/modules/hydra.nix' is not of type `submodule'.
<srhb>
Missing too many pieces here. It sounds like you want to either feed the whole attribute path (config.foo.bar.hostname) as an argument or in your function use hostname: config.foo.bar.${hostname}.user etc.
<kaliumxyz>
I'm using 19.03 channel, seems that the newer steam package is not on there :c
<kaliumxyz>
time to figure out how to deal with multiple channels
<srhb>
mabel: How about you pastebin your definitions with the missing function undefined, and we can work it out from there.
<ctp>
The idea is, that all the secrets (wifi psk) are on seperate encrypted usb stick, so networking.nix reads from certain directory. name of the file is ssid, content is psk
<ctp>
but depending on if there's such a psk within the file or just a newline, it should set either value.psk to the actual psk or value.key_mgmt to NONE
<sb0>
clever: do you know what the status of your hydra patch "redo the notify events between eval and queue-runner" is?
<fgaz>
Hi. How do I properly add a rust package to nixpkgs? Adding the carnix-generated Cargo.nix (as default.nix) and crates-io.nix works, but I see there's a global crates-io.nix. Should I modify that one? But isn't it autogenerated too?
boogiewoogie has quit [Remote host closed the connection]
<ramses_>
Hi guys. I'm getting all these collision errors on a 19.03 install, is this normal? Anything I should do about it? https://pastebin.com/TfuHKuiZ
<boogiewoogie>
very bizarre that rolling back to a previously working generation and at the same time resetting local user stuff doesn't help, I don't think I encountered such a thing with nixos yet
<Taneb>
I think it's due to a Steam update, which we're not in control of
InFlames has joined #nixos
<infinisil>
Damn you steam
<infinisil>
And damn auto-updates
<boogiewoogie>
yeah, they did mess up some things with updates lately
<Taneb>
And damn closed-source software
<boogiewoogie>
and my trust in nixos isn't budging
<clefru>
the client is indeed entirely bizare. I tired to fix steam in-home streaming hardware decoding by giving it a libva.so.1. that worked except that I couldn't make the chances persist, as steam once to revert stuff pretty hard on each launch
<clefru>
to be fair, I am really happy Steam customer otherwise, because of what they do for Proton/Wine
<boogiewoogie>
for sure, yes
<boogiewoogie>
they're in the process of singlehandedly pushing linux gaming towards being on par with windows
pie__ has joined #nixos
<clefru>
not sure about the singlehandedly, but they deliver the last missing percentages making it go from 70% to 90% okayish
<Taneb>
boogiewoogie: are you in a position to try to see if the PR I linked fixed things?
<AlexRice[m]>
if only nvidia would join them
Luna_ has quit [Quit: Page closed]
<clefru>
AlexRice[m]: screw nvidia. AMD deserves your money for their dedication to open standards
<AlexRice[m]>
clefru: I will next time i can afford a graphics card
<clefru>
AMD has dropped their prices a good amount in the last 2 months. RX570, RX580 and Vega 56 are incredibly cheap in Europe
hyper_ch2 has quit [Quit: Page closed]
pie_ has quit [Ping timeout: 244 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<boogiewoogie>
Taneb: oh yeah, I was pretty much just considering this last push. the overall credit goes to the wine people of course!
<Ashy>
(steam being broken in nixos aside... hehe)
jtojnar has joined #nixos
<Ashy>
no screen tearing with sway is an amazingly nice thing too
[Leary] has joined #nixos
cfricke has quit [Quit: WeeChat 2.4]
<Taneb>
boogiewoogie: clone the repo at that commit, and do "NIX_PATH=[path to your checkout] nix-env -iA nixpkgs.steam", I think that should work? But I haven't tried
Lears has quit [Ping timeout: 245 seconds]
cfricke has joined #nixos
<Philonous_>
I have a statically linked executable file but when I try to run it I get "file not found" errors. How do I fix that?
<infinisil>
Taneb: i think nix-env would still use ~/.nix-defexpr then
<{^_^}>
[nixpkgs] @hedning opened pull request #59829 → More gnome 3.32.1 → https://git.io/fjOfN
<{^_^}>
[nixpkgs] @basvandijk opened pull request #59831 → Backport "nixos/prometheus: refactored & added more missing options" to release 19.03 → https://git.io/fjOfh
<lightbulbjim>
Hi, I have a question about building derivations from a local copy of the nixpkgs tree. I've noticed it tries to build two versions. The first one seems to be either from my system or user profile channel and the second from my local tree.
<lightbulbjim>
Example:
<lightbulbjim>
```$ nix-build '<nixpkgs>' -A gnome3.rygel ~/repos/nixpkgs
<lightbulbjim>
I would expect only the tree specified in the nix-build argument to be used
<lightbulbjim>
Am I using the wrong build command?
<Shouou>
When I try to run `nix-env -i <package>` I get an error: opening lock file '<path>/per-user/root/profile.lock': Permission denied. Why is it trying to use the root profile.lock when I do have one for each of my users? More bizarrely, it works fine on my other user.
<{^_^}>
[nixpkgs] @FRidh pushed commit from @delroth to master « nixos/stage-1: "find-libs" shell script is for the host »: https://git.io/fjOUY
Shouou has joined #nixos
<Shouou>
manveru, using `sudo` does sound like something I've done -- how do I resolve it?
<LnL>
Shouou: I suspect the user profile of that user (~/.nix-profile) is pointing to the root packages instead of his own
<{^_^}>
[nixpkgs] @luispedro opened pull request #59834 → Prodigal: init at 2.6.3 → https://git.io/fjOUW
<{^_^}>
[nixpkgs] @lheckemann pushed commit from @dtzWill to staging-18.09 « libseccomp: 2.3.3 -> 2.4.0 »: https://git.io/fjOUl
aanderse-work has joined #nixos
<Shouou>
LnL, that's it! One question, before I symlinked it to my user profile, I just `rm`ed it and it still had the same behaviour -- where's that coming from?
<LnL>
hmm, if ~/.nix-profile doesn't exist it should get created for your user
<sphalerite>
LnL: nope, it points to default by default…
<sphalerite>
iirc
<LnL>
not for a multi-user install, which I assume is the case here
<LnL>
or do those not get created by nix?
<symphorien>
iirc they are created by /etc/profile
<LnL>
ah, Shouou try starting a new shell after removing it
<b1000101>
hi there, any idea why newer hydra (19.03 and unstable) fails to build tests from nixos-small.nix ? To be precise, boot.biosCdrom, containers-imperative, containers-ipv4, installer.lvm, installer.separateBoot, installer.simple and tested. All are saying Aborted: a 'x86_64-linux' with features {kvm, nixos-test} is required to build '...', but I am a 'x86_64-linux' with features {benchmark, big-parallel, nixos-test}. Hydra from
<b1000101>
18.09 channel works fine though.
<LnL>
big-parallel was added to a bunch of jobs
<b1000101>
I can't put my finger on it
<b1000101>
It basically says I'm missing KVM
<gchristensen>
do you have kvm?
<jomik>
OOOH
cfricke has quit [Quit: WeeChat 2.4]
<jomik>
nixos 19.03 i out?
<jomik>
hurray
ym555 has joined #nixos
Synthetica has quit [Quit: Connection closed for inactivity]
<b1000101>
gchristensen: would it work on hydra built from channel 18.09 if I wouldn't? Or kvm was added later on?
<{^_^}>
[nixpkgs] @worldofpeace merged pull request #59805 → gnome3.gnome-control-center: Add mutter keybindings (backport to release-19.03) → https://git.io/fjYxf
<{^_^}>
[nixpkgs] @worldofpeace pushed 2 commits to release-19.03: https://git.io/fjOUS
<jomik>
Hmm, reading on `stateVersion` in release notes, it does not mention at any time that we sohuld change it to 19.03?
<jomik>
Yah, I read that. Was just pondering where exactly to see if I should or not. I guess since I couldn't find it, I should just assume not - as it says.
<jomik>
Guess I was looking for a "You should not set stateVersion to 19.03" ... Lol
jasongrossman has quit [Ping timeout: 250 seconds]
aanderse has quit [Ping timeout: 240 seconds]
aanderse has joined #nixos
f0i has joined #nixos
reinhardt has quit [Quit: Leaving]
<sphalerite>
could be useful in future release notes
f0i has left #nixos [#nixos]
jasongro` has quit [Client Quit]
<averell>
yes, unlikely to be now :) there's like 4 packages reading that or so?
<b1000101>
gchristensen: does boot.kernelModules = [ "kvm-amd" "kvm-intel" ]; virtualisation.libvirtd.enable = true; suffice or do I need to add something else?
<jomik>
Can anyone help me figure how I get this expression working ? https://git.io/fjOT8 It gives me the error `No matching distribution found for nose (from screepsapi==0.5.1)`
<jomik>
Python package.
<jomik>
Oh... I guess there is some buildinputs, woops :D
<yorick>
worldofpeace: I basically need to switch Xorg confs on demand :/
drakonis has joined #nixos
drakonis has quit [Client Quit]
<yorick>
worldofpeace: but switch-to-config doesn't do the neccesary amount of blacklisting and doesn't restart display-manager, also how do I switch back?
drakonis has joined #nixos
<yorick>
and how do I give it names?
jtojnar has quit [Quit: jtojnar]
m0rph has joined #nixos
m1sosoup has quit [Remote host closed the connection]
domogled has quit [Ping timeout: 245 seconds]
<worldofpeace>
yorick: In that case, I don't think that would suit you usecase? Needing to switch xorg config on the fly sounds like a solution to a specific problem.
iyzsong-x has quit [Ping timeout: 264 seconds]
<yorick>
worldofpeace: the problem is that I want to switch between nvidia optimusprime for using external screens and intel modesetting for battery life
xok has joined #nixos
<exarkun>
I'm probably not allowed to resolve domain names in a nix expression, huh
<yorick>
exarkun: they don't have network
<exarkun>
that would seem to be a relevant constraint
<clefru>
just as I was praising AMD here before.. not the smoothest experience with my southern island GPU :/ [444514.974940] [drm:amdgpu_device_gpu_recover [amdgpu]] *ERROR* VRAM is lost!
* clefru
wonders why the card could lose its VRAM... it's kinda soldered on :)
<exarkun>
Hmm I think I have an old AMD card that lost its VRAM, too.
<exarkun>
oh this seems related to my openssh woes: The option `services.openssh.enable' has conflicting definitions, in `/nix/store/07bfwdypfhjndl0dcspi8jmc6dhrwpxl-f15bd3cca3c4dbc2d24f0bb74dda4a35eac11758.tar.gz/nixos/modules/profiles/installation-device.nix' and `/home/ubuntu/PrivateStorageOps/nix/notification-host/configuration.nix'.
drakonis has quit [Ping timeout: 268 seconds]
<eacameron>
given a source tree, is there a way to get the store path of some derivation *output* without building anything?
<exarkun>
the "build" seems to involve downloading the source and copying a file out of it. seems like it should be pretty safe/correct on any platform.
<gchristensen>
hrmm
<gchristensen>
that is a tricky one, because it would be not good to install that on any other platform
aanderse has quit [Ping timeout: 252 seconds]
<exarkun>
more generally I am getting increasingly curious if I can build a raspberrypi nixos system image (sdImage) on an x86_64 host
<exarkun>
because I am increasingly tired of building it in the cloud and then downloading it
stepcut has joined #nixos
<gchristensen>
you'd need to cross-compile it I think
basvandijk has quit [Ping timeout: 258 seconds]
<exarkun>
yea I'm not falling for that one again
aanderse has joined #nixos
tilpner has joined #nixos
<boxscape>
If I've made a derivation with a bunch of arguments that are packages from nixpkgs, is there a way I can run nix-build and say that it should take all those from <nixpkgs> instead of having to supply each argument individually via --arg?
Ariakenom has joined #nixos
<JonReed>
boxscape: I use aliases for this `alias nbcall='nix-build -E "with import <nixpkgs> {}; callPackage ./default.nix {}"'`
<jomik>
How do I take an `interactive.py` file and wrap it so that I can execute it as a binary? The file has a `#! /usr/bin/env python` which we don't have in NixOS :D
<JonReed>
boxscape: Although, my real `nbcall` alias is a bit more sophisticated. It can optionally accept filename as well, with or without `.nix` extension, because it got annoying after a while that it wasn't smart enough. https://pastebin.com/zuDyJQRR
<boxscape>
I see
<sphalerite>
jomik: if it's just for yourself, you can just always run it in nix-shell -p python or something
<jomik>
sphalerite: It is for my nur, and I'd prefer not having that tbh.
<jomik>
There is a "wrapPythonPrograms" function. But it looks in $out/bin, which is not where this file is.
<sphalerite>
jomik: alternatively, make a simple derivation out of it like… with import <nixpkgs> {}; runCommandNoCC "foo-script" { buildInputs = [ python ]; } '' mkdir -p $out/bin; cp ${./interactive.py} $out/bin ; patchShebangs $out/bin ''
<sphalerite>
well if it's NUR, not using with import <nixpkgs> {}; of course
<sphalerite>
but that basic concept
<jomik>
Tbh, I don't really understand how this works - I get the output in something like `lib/python3.7/site-packages/screeps_console`
<jomik>
There seems to be no difference between using buildPythonApplication and buildPythonPackage.
<sphalerite>
its setup.py doesn't seem to define the entry point
<boxscape>
jomik: looks like you could also write a bash script containing `#!/bin/sh <newline> nix-shell -p python --command ./test.py`, if the only reason for not wanting to use nix-shell is that you don't want to call it manually
<boxscape>
s/test.py/interactive.py
<jomik>
sphalerite: That's true. I just realized that as well. I guess I can add a patch to add the entrypoint. Will try that :D
<sphalerite>
jomik: once that's fixed, buildPythonApplication should be the way to go.
<samrose>
`writeTextFile` appears to write to /nix/store `$out` is there a function for writing files to dir like `/var/lib` etc?
mwilsoncoding has quit [Ping timeout: 256 seconds]
<sphalerite>
samrose: no.
<samrose>
heh, concise thank you :)
hyper_ch2 has quit [Ping timeout: 256 seconds]
<boxscape>
presumably the reason is that that would break the whole purity aspect?
<sphalerite>
yep :)
<samrose>
yes makes sense
<b1000101>
has anyone encountered problems with the new 19.03 graphical installation image? I can't start display-manager for some reason (screens found but none have a usable configuration). It seems as there were no appropriate drivers for nvidia gtx 1080 ?
<samrose>
I have a software that expects to be able to rewrite a .toml file
<samrose>
and dynamically reload it
<samrose>
(not software I've written, but one that I am tasked with supporting)
<sphalerite>
b1000101: did the 18.09 installer work?
vidbina has joined #nixos
ym555 has joined #nixos
<samrose>
looks like it may be doable in installPhase
alexherbo2 has quit [Ping timeout: 245 seconds]
<sphalerite>
no
wfranzini has quit [Ping timeout: 255 seconds]
<sphalerite>
the typical approach for this sort of thing is (on nixos) to have a systemd service that creates the file
<avn>
sphalerite: but it was already in cache (sources), so probably someone other also working on it. So I give few hours to someone who familiar with problem, if not -- try to debug myself
xok has quit [Client Quit]
drakonis has quit [Quit: WeeChat 2.3]
romildo has quit [Ping timeout: 245 seconds]
dbmikus_ has joined #nixos
romildo_ has quit [Ping timeout: 246 seconds]
Cale has joined #nixos
romildo_ has joined #nixos
mwilsoncoding has joined #nixos
arjen-jonathan has quit [Ping timeout: 244 seconds]
drakonis has joined #nixos
romildo has joined #nixos
kleisli has joined #nixos
drakonis_ has quit [Ping timeout: 255 seconds]
romildo__ has quit [Ping timeout: 246 seconds]
linarcx has quit [Ping timeout: 250 seconds]
romildo_ has quit [Ping timeout: 246 seconds]
Neo-- has quit [Ping timeout: 240 seconds]
Lears has joined #nixos
linarcx has joined #nixos
romildo has quit [Ping timeout: 246 seconds]
kisik21 has joined #nixos
[Leary] has quit [Ping timeout: 250 seconds]
everybodyHertz has joined #nixos
drakonis has quit [Ping timeout: 258 seconds]
kleisli has quit [Ping timeout: 246 seconds]
<kisik21>
Install DVD with KDE - no bugs. Install with i3wm - bug with DPMS, screen doesnt refresh propeely if DPMS ever turns off the screen. Restarting lightsm fixes that.
<sphalerite>
kisik21: oh yeah I have that too occasionally, just switching ttys fixes it as well
dbmikus_ has quit [Ping timeout: 252 seconds]
hoijui has joined #nixos
<kisik21>
nope
<kisik21>
sphalerite: switching ttys fixes problem for one single refresh
<kisik21>
single frame
<kisik21>
there are 60 frames in a second
<kisik21>
sadly
<kisik21>
installed plasma
<kisik21>
will teat
<kisik21>
wait
<kisik21>
mizing atomic and non atomic capable gpus
<kisik21>
that's amdgpu speaking
<kisik21>
I have hybrid gpus, may be related?
<{^_^}>
[nixpkgs] @strager opened pull request #59846 → folly: support macOS → https://git.io/fjOt4
<b1000101>
sphalerite sorry, I didn't have the old release anymore so I had to find it and dd it :). It's the same error, so don't worry, it didn't break in the new release then.
boxscape has quit [Remote host closed the connection]
<kisik21>
WHAT THE HELL! It works in Plasma
ramses_ has quit [Quit: Page closed]
linarcx has quit [Ping timeout: 255 seconds]
<{^_^}>
[nixpkgs] @dtzWill merged pull request #59747 → libpam: fix w/musl after update to 1.3.1 → https://git.io/fjYau
IRCsum has quit [Remote host closed the connection]
hoijui has quit [Ping timeout: 258 seconds]
cyphase has quit [Ping timeout: 255 seconds]
zupo has joined #nixos
cyphase has joined #nixos
_kwstas has quit [Quit: _kwstas]
aanderse has joined #nixos
<alj[m]>
Hey everyone! Got a quick question:
<alj[m]>
How would I build a configuration on one machine to be copied via nix-store --export to another machine?
<alj[m]>
The Problem is: I need a *set of packages* to be present on an offline machine which is running debian. Since it's offline and I love nix and everything it stands for, I thought I might copy the closures over, but all I can find is guides to create closures/exports of single programs not a *set* of programs/packages.
npmccallum has joined #nixos
gagbo has joined #nixos
aswanson has quit [Quit: WeeChat 2.4]
<tilpner>
alj[m]: nix-build --no-out-link '<nixpkgs/nixos>' -A system builds the current system
alexherbo2 has joined #nixos
<tilpner>
alj[m]: You can pass a different configuration via the configuration argument, NIXOS_CONFIG or NIX_PATH
hoijui has joined #nixos
<alj[m]>
but i need to nix-store --export this stuff in the manual i can export firefox by `nix-store --export $(nix-store -qR $(type -p firefox)) > firefox.closure`
_kwstas has joined #nixos
cyphase has quit [Ping timeout: 255 seconds]
<alj[m]>
I want that but with my list of packages or whatever
cyphase has joined #nixos
<sphalerite>
alj[m]: if you have everything you want installed in your nix profile, you can for example `nix-store --export $(nix-store -qR ~/.nix-profile)`
bertof has joined #nixos
aanderse has quit [Ping timeout: 255 seconds]
<sphalerite>
alj[m]: alternatively, a flat file binary cache is nicer — then you can do `nix copy --to file:///mnt/usb/nix-cache` and use `--substituters file:///mnt/usb/nix-cache --no-require-sigs` with whatever nix commands on the target machine
aanderse_ has joined #nixos
<alj[m]>
thats to big isnt it?
<jomik>
sphalerite: So I got the entry_point patched in now .. Just forked it for now. I am getting some errors with tests as well. It seems to be unable to find modules, that are part of the package.
genesis has quit [Remote host closed the connection]
<jomik>
I.e. I am getting errors like `ModuleNotFoundError: No module named 'command'`
<jomik>
The `command` module is `command.py` that is right next to the importing file..
<sphalerite>
I don't know that much about python packaging except that it can be quite funky
<sphalerite>
sorry :p
<jomik>
Dammit ! :P
<sphalerite>
I'd say just doCheck = true; #yolo
<sphalerite>
s/true/false/
<jomik>
Well, then it fails when I run the script :D
<sphalerite>
oh
bertof has quit [Remote host closed the connection]
<sphalerite>
oh wait, the script is doing `import command`?
<sphalerite>
changing it to `from . import command` should help
<jomik>
Oh.
<jomik>
I see, thanks, trying that :D
<sphalerite>
I did a bit of python, including professionally, before I started using nix, so I know some python things
<sphalerite>
just not much about the intersection of python and nix :D
<jomik>
What about something like `from autocomplete import Autocomplete`, autocomplete is a local thing.
<jomik>
I know next to nothing about Python.
<sphalerite>
from .autocomplete import Autocomplete
<jomik>
Tho, we did use python to write some linear programming algorithm :D
Thra11 has joined #nixos
<jomik>
Ah, not ./autocomplete? XD
<sphalerite>
no
f0i has joined #nixos
<sphalerite>
want to know the best part? To get a module from a parent package, it's `from .. import autocomplete`, from a grandparent package it's `from ... import autocomplete`
<sphalerite>
or `from ..autocomplete import Autocomplete`
<sphalerite>
got to love python :p
Ariakenom_ has joined #nixos
bertof has joined #nixos
bertof has quit [Remote host closed the connection]
<jomik>
sphalerite++
<{^_^}>
sphalerite's karma got increased to 60
<jomik>
God
<jomik>
xD
bertof has joined #nixos
ninjin has quit [Quit: migration]
ddellacosta has quit [Ping timeout: 268 seconds]
<jomik>
it works now \0/
<jomik>
Back to pondering if I should set up gitlab to just use my own account for updating packages, or if I should make a bot.
<jomik>
I saw that rycee auto updates his firefox addons in his nur-expressions :D
__monty__ has joined #nixos
<eacameron>
Is there an easy way to do something like nix-shell -A drv -p more-things and-more
mwilsoncoding has quit [Ping timeout: 264 seconds]
psalm has quit [Read error: Connection reset by peer]
psalm_ has joined #nixos
dnlkrgr has joined #nixos
genesis has joined #nixos
<nh2[m]>
clever: I solved it, need to set `USE="vtconsole fbconsole"` when building the ChromiumOS kernel. Even if you enable the corresponding kernel `CONFIG_*` options directly to `=y`, if you don't have that USE flag on, it'll turn them off agian.
ym555 has quit [Ping timeout: 250 seconds]
Myhlamaeus has joined #nixos
<jomik>
sphalerite: Odd, now it seems to be trying to import from the `bin` dir, when I run my `interactive.py` wrapper thing
<jomik>
What's the best way to use a package in my nur repo? `yarn2nix = (callPackage ../default.nix {}).pkgs.yarn2nix;` must be something better than...
<simpson>
eeva: Happens. Looks like there's a path forward, by handwriting the dependencies that used to be listed in a text file.
<eeva>
1. the runtime-generated.nix is outdated (file can't be found in cache anymore :(); 2. rebuilding the cache won't work anymore because of an upstream change in steam-runtime repo from valve
<alj[m]>
Pls help me
<simpson>
alj[m]: What have you tried so far?
<eeva>
simpson: I just did that for shits and giggles, it contains now 2 debian metapackages instead of the whole list
<eeva>
but I somehow doubt this will work
<buffet>
what was the patch shebang thing again?
<alj[m]>
simpson: im putting it in a pastebin, wait a moment
<alj[m]>
I wrote this and tried to call `nix-env -p /nix/var/nix/profiles/per-user/user/elmsEnv -f packages.nix -i elmsPackages` and various variations of that line
aanderse-work has quit []
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
<alj[m]>
simpson: this is what i've got. I used various pieces from the manual to get a file that defines my packages and to then install it to a profile
<simpson>
alj[m]: Does it work in a nix-shell? Usually I treat nix-env as a place that I install stuff into only when I am really certain that I want it available constantly.
gamble has joined #nixos
<alj[m]>
okay let me try to call nix-shell with the file
psalm_ has quit [Remote host closed the connection]
<gamble>
hey, daft question- i'm just trying to get a nix-shell with parcel bundler running. how can I inspect `nodePackages` and list available packages?
<simpson>
gamble: I typically use nix-repl to inspect nixpkgs.
ng0 has quit [Quit: Alexa, when is the end of world?]
psalm has joined #nixos
<alj[m]>
simpson: How do I use nix-shell to use my stuff inside the file?
<gamble>
simpson: that's working quite nicely. so parcel is missing. second daft question- what are my options for pulling it in?
psalm has quit [Read error: Connection reset by peer]
<gamble>
easiest/quickest preferable, just to get running :)
<alj[m]>
simpson: ill keep trying thanks
psalm has joined #nixos
<simpson>
gamble: The nixpkgs manual explains the procedure. You'll edit node-packages-v8.json or whatever, regenerate all of nodePackages, and then you're set.
<dsx>
Is it me or dockerTools.buildLayeredImage is a bit weird? I have this https://pastebin.com/GZnn6tk1 as default.nix and this https://pastebin.com/FqZckJdF as hyperkube.nix, and when image is bein built I see that it gets go_1_12, gcc and perl as its layers, which is definitely not something I expect.
<{^_^}>
[nixpkgs] @goodsoft opened pull request #59854 → buildMix: fix bootstrapping packages with hyphens in version → https://git.io/fjOYo
<simpson>
alj[m]: Sorry for not hand-holding; I'm trying to ensure that you'll have reading material for when I go off to afternoon meetings shortly.
<gchristensen>
dsx: that isn't buildLayeredImage' sfault, it is because your build product depends upon go, gcc, and perl for some reason
<gamble>
is that assuming i have pulled the nixpkgs repo locally and use that to source <nixpkgs>?
<simpson>
gamble: Yes. I don't know how to do Node stuff without nixpkgs.
<gchristensen>
dsx: build hyperkube, and do `nix-store -qR ./result` , find the path you are surprised by , and then `nix why-depends ./result the-path-you-aresurprised-by`
<dsx>
gchristensen: hm. I definitely need go to build binaries, but not for running the result
<gchristensen>
yeah, you might need to nuke references or something
<gchristensen>
anyway, do those steps and it'll help you find why you depend on them
<gamble>
simpson: parcel is already in nixpkgs master. - so i can just update my "channel" right?
ixxie has joined #nixos
_kwstas has joined #nixos
<simpson>
gamble: Oh, is it? I hadn't checked. In that case, yeah, you should be able to grab from nixpkgs-unstable.
luciandesozay[m] has joined #nixos
psalm has quit [Ping timeout: 255 seconds]
<luciandesozay[m]>
Hey
<dsx>
gchristensen: oh… I think I see…
<{^_^}>
[nixpkgs] @volth opened pull request #59855 → runInLinuxVM, test-driver: pass host's cpu type to guest vm → https://git.io/fjOY1
<thornAvery>
tried using raco but it failed when it got to the bit about installing docs, i assume because the usual directory structure isnt there
<tilpner>
thornAvery: Did you pass -u to install into the user scope?
<thornAvery>
nope that was probably it
<thornAvery>
ill try that
mthst has quit [Ping timeout: 250 seconds]
<thornAvery>
tilpner: that was it, chur
ATuin has quit [Quit: WeeChat 2.1]
o1lo01ol1o has quit [Remote host closed the connection]
<alj[m]>
simpson: i got it to build and it kinda works. thanks for your help simpson++
<{^_^}>
simpson's karma got increased to 9
mthst has joined #nixos
<simpson>
alj[m]: Glad to hear it. I'm in a meeting, sorry.
jasom has quit [Quit: WeeChat 2.3]
andrewrk_ is now known as andrewrk
o1lo01ol1o has joined #nixos
mthst- has joined #nixos
mthst has quit [Ping timeout: 250 seconds]
kleisli has joined #nixos
gamble has quit [Quit: Page closed]
jasom has joined #nixos
zupo has joined #nixos
AleXoundOS_ has joined #nixos
tdbgamer has joined #nixos
o1lo01ol1o has quit [Ping timeout: 246 seconds]
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
[Leary] has joined #nixos
<iceypoi>
is nix meant to work on FreeBSD these days?
<gchristensen>
I don't think it does, I haven't heard about freebsd suppport in a long time
Lears has quit [Ping timeout: 246 seconds]
meck has quit [Quit: WeeChat 2.4]
<Athas>
Do any statistics exist of how often a Nix derivation is installed? (Realistically an approximation based on snapshot download stats, since I assume there is no telemetry.)
<{^_^}>
nix#2774 (by AleXoundOS, 1 day ago, open): nix copy runs in non-constant memory when destination is file
<gchristensen>
you just want to fetch NARs and keep them locally?
<AleXoundOS_>
Get all NARs for specific channel in order to serve them in offline LAN environment. So that this server replaces cache.nixos.org in the LAN.
<gchristensen>
right. you can just curl the nars from the cache
<AleXoundOS_>
gchristensen, basically you know pretty much from my PMs :)
<AleXoundOS_>
but I need to know all dependencies (closure)
stepcut has quit [Remote host closed the connection]
sindrip has joined #nixos
hedning_ has quit [Read error: Connection reset by peer]
mconstant has quit [Ping timeout: 245 seconds]
dwdr has quit [Ping timeout: 245 seconds]
<shachaf>
I found out some of what was happening with the GHC Unicode issue.
<shachaf>
Previously GHC was opening /nix/store/0fv2lnbr02qzh3l387rvd6vl8443mpq7-glibc-2.27/lib/locale/locale-archive , getting ENOENT, and falling back to Ubuntu's /usr/lib/locale/locale-archive
<shachaf>
After updating it's finding /nix/store/681354n3k44r8z90m35hm8945vsp95h1-glibc-2.27/lib/locale/locale-archive
knupfer has quit [Ping timeout: 250 seconds]
sigmundv_ has quit [Remote host closed the connection]
<nh2>
I'm pretty sure that `nixos/modules/system/activation/top-level.nix` is what builds the entire root file system contents, but I'm not sure what to put into .nix file so that if I nix-build that, the output points to a dir with the entire system inside
<avn>
sphalerite: yup. It builds-and-builds-and-builds....I think till mid of tomorrow ;)
<avn>
ty ;)
<gchristensen>
the "source" bit is intentional
<gchristensen>
pulling up some history on that now
<NemesisD>
hi folks. i'm hoping you can prevent me from doing something possibly very stupid: i'm trying to write a derivation for conda, a python package manager. the installer has a prefix option that installs the bins in the given dir at build time. the problem is that its also the runtime storage for installed packages. this means that the output dir may be modified after build time, which seems impure/a bad idea?
sondr3 has quit [Quit: WeeChat 2.4]
mconstant has joined #nixos
<NemesisD>
because presumably i could use the expression in multiple projects, but they'd be able to see eachother's installed packages
<nh2>
slabity: good, `nix-build '<nixpkgs/nixos>' -A config.system.build.toplevel -I nixos-config=iso.nix` seems to evaluate to the root FS contents, thanks!
galaxie has joined #nixos
<alienpirate5>
Is there any way to compile packages on a different machine? I'm building a NixOS system for a Raspberry Pi 2, with armv7, and it's been rebuilding for days now. Can I shift the build load onto another machine with cross compilation or distcc or something?
<gchristensen>
avn: it doesn't, the hash is the same. the drv and the out path are the same, but the hash is the same
<gchristensen>
avn: it doesn't, the hash is the same. the drv and the out path are changed, but the hash is the same
<nh2>
alienpirate5: yes: `--builders root@othermachine.example.com --max-jobs 0` will build on the other machine (needs to upload all the sources though, so it requires a decent connection)
<nh2>
if you don't want to upload sources, build the expressions on the other machine first ,and then --builders will fetch them
<alienpirate5>
What about cross compilation
<alienpirate5>
This is on a LAN with gigabit networking, so it should be ok
<alienpirate5>
But the device I'm building for has an arm7hf cpu, and the builder has an x86_64 cpu
<alienpirate5>
how do I cross compile?
<nh2>
alienpirate5: What I said works inside the same architecture; I'm not an expert on cross compilation yet, you may want to ask angerman, matthewbauer, Ericson2314 or dtz about that
<nh2>
alienpirate5: I'd make a nixpkgs issue, where this can be discussed, with the eventual goal to add it to the manual. Please tag me on it (@nh2), because in the future I have also planned to put NixOS on a raspi and am eager to learn how to do this