<{^_^}>
[nixpkgs] @Ma27 pushed to master « nixos/python-test-driver: allow single char as hostName and fix misleading error-message »: https://git.io/Jv6P4
<{^_^}>
[nixpkgs] @Ma27 pushed to release-20.03 « nixos/python-test-driver: allow single char as hostName and fix misleading error-message »: https://git.io/Jv6PR
iqubic` has joined #nixos
iqubic` has quit [Read error: Connection reset by peer]
iqubic has quit [Ping timeout: 240 seconds]
mbrgm_ has joined #nixos
jgeerds has quit [Ping timeout: 255 seconds]
o1lo01ol1o has joined #nixos
mbrgm has quit [Ping timeout: 260 seconds]
mbrgm_ is now known as mbrgm
eacameron has quit [Quit: Connection closed for inactivity]
tsrt^ has quit []
<{^_^}>
[nixpkgs] @adisbladis opened pull request #82453 → Python: introduce NIX_PYTHONPREFIX in order to set site.PREFIXES → https://git.io/Jv6Pr
<infinisil>
All you need to do is run this command, which will fetch the commit from the PR, build the i3ipc package, and run some basic code (taken from the i3ipc repo):
<cole-h>
Btw, anybody here that... ahem... uploads and downloads Linux ISOs, what do you use? Currently using rtorrent+rutorrent, but seeing as rutorrent isn't packaged...
<cole-h>
infinisil: I saw that in -dev :D
<iqubic>
what is IPC? Inter-Process Communitaction?
<cole-h>
Correct
<iqubic>
Nice.
<infinisil>
cole-h: I previously used deluge, but since switched to transmission. I can recommend both, but transmission seems better for the future.
<cole-h>
Main reason I switched to rtorrent was because I got really slow speeds on deluge after a while for seemingly no reason
<cole-h>
Happened with qbt on Windows as well
<cole-h>
infinisil: Does it have a decent web UI? That's another thing I'd like, if possible
<infinisil>
It's not too bad
bhipple has joined #nixos
rogue_koder_ has joined #nixos
<infinisil>
Could be better though :P
<cole-h>
And final question: why do you say transmission seems better for the future? More actively developed? Less PITA?
<infinisil>
There's multiple clients though, I haven't checked out any other graphical one besides the web one
<infinisil>
Hm yeah I think transmission is more active
<infinisil>
This is a bit silly, but deluge's website makes me think of it as outdated
ddellacosta has quit [Ping timeout: 256 seconds]
<infinisil>
Oh also I think I've had trouble multiple times finding docs for deluge
<colemickens>
Oh crate2nix, definitely too fancy for me.
<qyliss>
openssl-sys should work out of the box, though.
<lovesegfault>
thread 'main' panicked at 'OpenSSL include directory does not exist: /nix/store/hpx4npwq2hmnkyhz74l58g0h7bv0drq5-openssl-1.1.1d/include', build/main.rs:58:9
<colemickens>
I guess I still expected to see buildInputs = [ openssl ]; somewhere?
* colemickens
should go read up on cargo2nix before guessing
<qyliss>
No, it's set in defaultCrateOverrides
<qyliss>
In Nixpkgs
<lovesegfault>
Oh
<lovesegfault>
I see
<lovesegfault>
I fixed it
<mlatus>
Hi every, do you know what is the release plan for flakes?
<{^_^}>
anonymous function at /var/lib/nixbot/nixpkgs/master/repo/pkgs/build-support/fetchurl/boot.nix:5:1 called with unexpected argument 'hash', at /var/lib/nixbot/nixpkgs/master/repo/pkgs/development/inter...
endformationage has quit [Ping timeout: 260 seconds]
<colemickens>
if I ever get far enough in a rust project to package/containerize it (or even just for CI eventually, really) I definitely want to use it.
ruim has joined #nixos
<lovesegfault>
colemickens: I see, you're the kind of person who writes the actual thing
<qyliss>
Its replacement is going to be even cooler :)
<iqubic>
lovesegfault: I love how the first paragraph there gives 5 different initialisms for 5 different things.
<lovesegfault>
Real winners like me do all the packaging work and then give up and go do something else
<colemickens>
lovesegfault: I day dream of being one, but I appreciate your generosity, ha
<bgamari>
unfortunately the rustc build system appears to be non-hermetic and doesn't document what it attempts to download so I quickly gave up trying to write such a derivation myself
<{^_^}>
[nixpkgs] @bjornfor pushed commit from @Mindavi to master « rtl-sdr: fix cross compilation »: https://git.io/Jv6Dp
<lovesegfault>
qyliss: still around?
<qyliss>
yes
<immae>
infinisil: ah, that would explain why the average age of mergeable prs was so high...
<lovesegfault>
qyliss: do you know how to create a nix-shell with crate2nix? like nix-shell -A mypkg works great, but idk what to do if I want to have a shell.nix with that + other deps such as niv
<cole-h>
lovesegfault: Is there a reason you opted for crate2nix over naersk?
<lovesegfault>
we use crate2nix internally and I want to learn
<cole-h>
Ah
rardiol has quit [Ping timeout: 240 seconds]
<qyliss>
I don't really use it that way, I'm afraid.
<qyliss>
The code I work with needs some other build steps to work right on NixOS anyway, so I can't just use e.g. cargo run
<qyliss>
So I just nix-build it every time
* lovesegfault
weeps
<qyliss>
But this is a very atypical program.
<qyliss>
You will almost certainly not have to do that.
<cole-h>
Maybe to you it isn't. But the people that run it on their desktops for a while now would probably disagre...
<NobbZ[m]>
I do not have any comfortability issues. The contrary is the case… `nix run` gives me possibilites I miss on other distros… Specify a package and run a single command, remove that package (from scope).
<cole-h>
s/disagre/disagree
<NobbZ[m]>
Also, as it is necessary to specify all dependencies explicitely, it is a lot easier to specify dependency list for customers, rather than having to say "works on my machine" without really knowing what the differences in setup are. Sadly nixOS isn't used by our customers, so I need to "translate" from `buildInputs` to DEB or RPM eco system packages, but it is still a lot of help…
<cole-h>
That's the best part about Nix IMO: in most cases, you can give somebody your *.nix file to help troubleshoot and it's almost guaranteed it will have the same problem as you have
<mlatus>
comfortable or not is a very subjective ecaluation IMHO
<colemickens>
I do it because I believe in the philosophy and I'd rather spend 10x maintaining nixpkgs than I used to spend keeping machines the same/in sync or spent re-installing them, etc, etc.
<computator>
In production is better writing program in docker than get mindbrackes with NixOS.
<cole-h>
colemickens++
<{^_^}>
colemickens's karma got increased to 16
inkbottle has joined #nixos
<lovesegfault>
computator: I use Nix in production and disagree :)
zebrag has quit [Ping timeout: 260 seconds]
<colemickens>
I've had enough Docker for one life. And waiting on Docker builds.
<lovesegfault>
colemickens: any news on ff vaapi?
<computator>
Maybe it's just individual
<lovesegfault>
definitely :)
<colemickens>
lovesegfault: AFAICT something about GL doesn't work on the -bin builds (aka, beta/nightly). And it hasn't hit stable yet...
<lovesegfault>
dingit
<colemickens>
lovesegfault: it would be fun to get a beta tarball and give it to the stable derivation and see what pops up
<lovesegfault>
I was so pumped
never_released_ has joined #nixos
<colemickens>
lovesegfault but I think firefox major ver bumps usually come with other extra work :)
never_released has quit [Ping timeout: 256 seconds]
<lovesegfault>
yes, andi- knows well
<NobbZ[m]>
computator: Docker (and other containers) are much more of a friction for me than nix. I can not rely on them.
<NobbZ[m]>
They change over time
<computator>
Anyone have experience in use Nix package manager in another distro?
<lovesegfault>
computator: I've used it on Ubuntu and Gentoo
<NobbZ[m]>
I used it for a while on Arch before moving to nixOS.
lovesegfault has quit [Quit: WeeChat 2.7.1]
<monsieurp>
computator: used it on Gentoo as well
<cole-h>
I'm using it on Arch right now
<cole-h>
Very pleasant experience
<computator>
I've trying to move on NixOS, but don't satisfied in setup of OS. Configuration.nix to me seemed some bloated.
<srhb>
computator: How so?
<computator>
Agree that it's better than Portage
palo1 has joined #nixos
<mlatus>
Can we have channels for different architecture? So the test failures on one arch will not block other channels from updating
<colemickens>
Ah, I don't disagree with that feeling sometimes, but I split up my configuration.nix and I don't feel that way so much. Plus, I've come to appreciate that there's just a lot that you (can) configure in Linux.
<ar>
computator: i've found nix/nixos to be much more predictable/reproducible than any normal configuration management system. not to mention gentoo, where, despite having nearly identical (sans wifi support) kernel config and /etc/portage, some packages would build on my desktop and wouldn't on my laptop, and vice versa
<ar>
colemickens: and at the same time, NixOS offers much more flexibility than gentoo ever did
palo has quit [Ping timeout: 258 seconds]
palo1 is now known as palo
lovesegfault has joined #nixos
<NobbZ[m]>
nixOS basically saved my life at work... My arch VM burned due to the disk beeing corrupted, I was able to pull in nixOS image, boot it, apply some home manager config from my home machine and was productive in less than 30 minutes. Setting up an arch VM again had cost me a day or two...
boeg has left #nixos [#nixos]
<ar>
also, i no longer bother backuping whole systems, which is a good thing
<computator>
Maybe I will try it sometimes again, but with writhing configuration.nix in virtual machine
<computator>
ar: agree
Ultrasauce has joined #nixos
<lovesegfault>
colemickens: I enabled dma-buf stuff in the b2
<lovesegfault>
let's see
<colemickens>
b2? is that firefox-beta-bin?
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
<lovesegfault>
yes
<lovesegfault>
beta 2
<lovesegfault>
on nixos-unstable-small
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
<danderson>
how do I compute the sha256 for a github patch myself? I tried `sha256sum` on the downloaded file, but nix-build disagrees with me on the hash value
<danderson>
(this is a github .patch fetches with `fetchpatch`)
<cole-h>
Fetchpatch with the sha256 = all zeroes (52 of them to be precise)
doyougnu has quit [Ping timeout: 240 seconds]
<cole-h>
When you try to build, nix will tell you what it should be
<danderson>
I ended up doing that accidentally, by computing the wrong sha256 and having nix-build shout at me. But I'm curious what goes into that sha, it's not just the contents of the file obviously
<cole-h>
There's also `nix-prefetch-url`
<lovesegfault>
colemickens: not sure how to tell whether this worked :P
<colemickens>
I just click on the h264 videos there. one of them triggers the vaapi path if you meet other conditions
<colemickens>
check about:support and see if you have failures preventing WebGL from starting, or further down, errors that will cause Firefox to opt-out of the HWaccel path entirely
malSet has quit [Read error: Connection reset by peer]
cole-h has quit [Ping timeout: 260 seconds]
<lovesegfault>
yeah I don't see "va" in the logs
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
malSet has quit [Read error: Connection reset by peer]
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
<tnks>
LnL: I'm close to upgrading to Catalina, but not sure about the steps. Do I run `creat-darwin-volume.sh` before the upgrade? Or after it? I would prefer to try to salvage my current Nix installation rather than uninstall everything first.
c0c0 has quit [Ping timeout: 240 seconds]
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
fusion809 has quit [Quit: Leaving]
ruim has left #nixos [#nixos]
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
<LnL>
tnks: either should work, but after is probably the more common path
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
malSet has joined #nixos
<tnks>
LnL: okay, so I upgrade. And then /nix/store will be moved, right?
<LnL>
tnks: and your original store will be relocated, once you have the install setup again you can import all your existing paths again
<{^_^}>
[nixpkgs] @vcunat pushed to master « gcc: minimal hacky fixup for our pkgsi686Linux.nix »: https://git.io/Jv6Sj
<Athas>
Okay, next question. How do I make Nix stop messing with clang's command line options? It is passing in -Wunused-command-line-argument and it is breaking packages that use -Werror.
<Athas>
Er, I mean it adds -fno-strict-overflow.
<LnL>
tnks: you can also only create the volume and move it yourself, but depending on your install you'll also need to recover bashrc, etc. manually
<simpson>
As usual, it's the sort of thing that is easy to find, but only once one suspects it.
<Athas>
Ah, thanks, it seems to do the trick.
ghasshee has quit [Ping timeout: 255 seconds]
<steveeJ>
do we have a way to declare the equivalent to `xinput set-prop 12 "libinput Natural Scrolling Enabled" 0` somewhere? this disables natural scrolling for a specific device
ghasshee has joined #nixos
<steveeJ>
I'll just put it into my xsession's `initExtra`
<mlatus>
what's the python3-gi equivalent in nixpkgs?
<simpson>
> python3Packages.pygobject3 # doi mlatus
<simpson>
It seems, reading some examples, that you may also need pkgs.gobject-introspection although I'm not sure when/why.
mexisme_ has joined #nixos
<eyJhb>
Jesus christ, trying to use vim-plug instead of VAM, but when I put `plug.plugins = with pkgs.vimPlugins; [ youcompleteme ];`, I just get undefiend variable
<jluttine>
can i test building for darwin on a linux machine?
mrCyborg has joined #nixos
<eyJhb>
Any ideas why?
<jluttine>
i would need to test if this would fix the darwin build: `__darwinAllowLocalNetworking = true;`
<mlatus>
thanks simpson :)
Tucky has quit [Quit: WeeChat 2.7.1]
alexherbo2 has quit [Quit: Ping timeout (120 seconds)]
philr has quit [Ping timeout: 260 seconds]
<simpson>
mlatus: Good luck; GI can be frustrating.
alexherbo2 has joined #nixos
mrCyborg has quit [Ping timeout: 272 seconds]
kleisli has quit [Remote host closed the connection]
jgeerds has joined #nixos
LnL has joined #nixos
LnL has joined #nixos
LnL has quit [Changing host]
kleisli has joined #nixos
karantan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
karantan has joined #nixos
<{^_^}>
[nixpkgs] @Mindavi opened pull request #82470 → afl: Fix afl-qemu build by applying new patches → https://git.io/Jv6HG
<{^_^}>
[nixpkgs] @danderson opened pull request #82471 → vorbis-tools: bump debian patchseries from -6 to -11. → https://git.io/Jv6HZ
<{^_^}>
[nixpkgs] @rnhmjoj merged pull request #81241 → nixos/activation: propagate system to nested configurations → https://git.io/Jvz1e
<RRedcroft>
Trying to change the privatebuildplan for iosevka but not sure how, would someone mind walking me through it please?
logzet has joined #nixos
<boogiewoogie[m]>
hey, is anyone here successfully using both dnssec and DoT? stubby doesn't do dnssec and I can't get DoT to work with resolved. is there another way?
<RRedcroft>
(iosevka.override { privateBuildPlan = { family = "Iosevka Term"; design = [ "term" "ss08" ]; }; set = "term-ss08"; }) doesnt work
<{^_^}>
[nix] @basvandijk opened pull request #3408 → fetchGit: allow fetching revs which are not ancestors of HEAD without specifying a ref → https://git.io/Jv672
ash__ has quit [Quit: ash__]
werner291 has joined #nixos
RRedcroft has quit [Remote host closed the connection]
<{^_^}>
systemd/systemd#15012 (by Mic92, 1 week ago, merged): systemd-resolved: use hostname for certificate validation in DoT
<{^_^}>
[nix] @domenkozar pushed to github-actions « Add CI with github actions »: https://git.io/Jv65l
<cjpbirkbeck>
is it possible to use the 5.4 kernel on 19.09? I've been reading about the problem it's having with Intel iGPUs and I would like to test it out before switching to 20.03, when it comes out.
<{^_^}>
[nixpkgs] @matt-snider opened pull request #82480 → nixos/home-assistant: fix bug causing config file not to be written (including `http.server_port`) → https://git.io/Jv650
<boogiewoogie[m]>
makefu: thanks! yep, I've found `services.kresd` and was happy to see it work so well. :)
veske2 has quit [Quit: This computer has gone to sleep]
veske has quit [Quit: This computer has gone to sleep]
<LinuxHackerman>
cjpbirkbeck: though that might update you to 5.5 without warning in the near future
<{^_^}>
[nix] @domenkozar pushed to github-actions « Add CI with github actions »: https://git.io/Jv65u
<boogiewoogie[m]>
Mic92: oh, nice! that'd be my preferred solution, too! do you have any idea when the change may hit nixos? I assume it'll be a bit since we're on systemd 243?
<Mic92>
boogiewoogie[m] it will be part of systemd 246, not yet released.
<cjpbirkbeck>
woffs, LinuxHackerman: hmm, okay, thanks. i'll try and see if i run into any issues, i would imagine I could just write out if it goes terribly wrong.
lukash|away has joined #nixos
<boogiewoogie[m]>
Mic92: alright, thanks. :)
<Mic92>
boogiewoogie[m]: you can use stubby for the time beeing.
rardiol has joined #nixos
Neo-- has joined #nixos
<{^_^}>
[nix] @domenkozar pushed to github-actions « Add CI with github actions »: https://git.io/Jv65o
cjpbirkbeck has quit [Quit: cjpbirkbeck]
<boogiewoogie[m]>
Mic92: oh, i'm using kresd right now, which is working well. stubby didn't do dnssec validation for me. :/
<Mic92>
I do the dnssec on my own upstream resolver.
<Mic92>
It is faster this way.
veske2 has joined #nixos
veske has joined #nixos
c0c0 has quit [Ping timeout: 265 seconds]
<avn>
Folks, anyone familiar with nix-gitignore? Need advice/help.
<{^_^}>
[nix] @domenkozar opened pull request #3409 → Add CI with github actions → https://git.io/Jv65X
<avn>
I try to make something like `src = nix-gitignore.gitignoreSource ["/this_subdir\n"] ../.;` And it complains on invalid regexp
<ottidmes>
avn: but it does regex conversions too, so might fail on the same
<avn>
I discuss with collegues to just drop problem lines ;)
<ottidmes>
avn: you could probably read the .gitignore manually, filter those those lines, give it to the function, and the manually add those source filters
<ottidmes>
avn: that would be the easiest
<avn>
I am only one guy, who use emacs, and my tmpfiles named differently ;)
<{^_^}>
[nixpkgs] @peti pushed to master « ndi: update from version 4.0 to 4.1.6 to fix the build »: https://git.io/Jv6dR
<{^_^}>
[nixpkgs] @peti pushed to haskell-updates « git-annex: update sha256 hash for new version 8.20200309 »: https://git.io/Jv6dE
<yourfate>
anyone using nixos as a container OS for automated builds? specifically FPGA toolchains?
malSet has quit [Read error: Connection reset by peer]
chloekek has joined #nixos
<{^_^}>
[nixpkgs] @peti pushed to haskell-updates « haskellPackages: update default compiler from GHC version 8.8.2 to 8.8.3 »: https://git.io/Jv6dM
<gchristensen>
yourfate: definitely 1,000x yes for the first half. and I know of a few co's using it for the second.
malSet has joined #nixos
flodeskum has joined #nixos
<yourfate>
we want to build a setup of foss tools, tried and true, we have requirements like, in 20 years time we need to be able to build a binary identical image to one created today
<yourfate>
so we want to use containers and archive those on release buids
<gchristensen>
nice
<yourfate>
probably on kvm / qemu
vyorkin has quit [Remote host closed the connection]
<yourfate>
no docker
<gchristensen>
cool
<yourfate>
so we're looking at operating systems to run inside those containers
<gchristensen>
I think you're at the right place!
<yourfate>
and nixos seems like a candidate
<yourfate>
others are LTS debians
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
abathur has joined #nixos
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
<{^_^}>
[nixpkgs] @dasJ opened pull request #82485 → [20.03] libksi: Bump openssl dependency for rsyslogd → https://git.io/Jv6d7
<gchristensen>
yourfate: how can we help? :)
<yourfate>
rn I'm mostly looking at stuff
<yourfate>
we might start an exploration phase soon
<gchristensen>
cool
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
flodeskum has quit [Ping timeout: 260 seconds]
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
<NobbZ[m]>
You'd need to keep the used base images forever with Debians. A nixOS could be recreated from scratch from a configuration file. Including to the very last version of transient dependencies. You won't get this in a debian without a lot of manual work
<yourfate>
basically we'll look at possibilities and paint pictures
<yourfate>
NobbZ[m]: that would require us to be able to create 20 year old nixos versions with 20 year old config files
<yourfate>
we will probably actually archive the image
<NobbZ[m]>
(Though this recreation could then of course take forever, depending on what is still available in binary caches and what needs to be recompiled)
<gchristensen>
well, presumably, that is completely feasible without much work. but, yes, also that -- keeping the image itself would be smart :)
<yourfate>
like a qcow2 thing
<adisbladis>
yourfate: You may also want to look into operating your own binary cache
<gchristensen>
NobbZ[m]'s point is a good one, though. using NixOS you know exactly how it was built -- even 20 years later -- down to every little configuration file and obscure compilation step.
malSet has joined #nixos
<adisbladis>
In fact, maybe even `nix copy --all` in a post build hook
<yourfate>
yes, If we decide on a distro we will probably build our own in-house package repo mirror
<yourfate>
we have that for several distros already
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
<adisbladis>
It doesn't have to be much more fancy than something like s3 (minio for self-hosted)
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
<yourfate>
that's something the infrastructure IT dept will handle
<NobbZ[m]>
A "repo" mirror, is not much more than a git repository with build recipes, we are talking about binary caches, which serves cached built artifacts and derivations.
<gchristensen>
I'm sure that if they get to the point of using it, they'll be setting up a proper binary cache :)
<yourfate>
NobbZ[m]: I'm not yet too familiar with how the package management of nixos is structured, but yes, if we use this OS we will in some form cache the binaries for faster installs without external network access
o1lo01ol1o has joined #nixos
<simpson>
It'd be worth spending some time with Nix, then. Packages aren't really delineated as such; intuition about versioning usually doesn't carry over.
<simpson>
(Also I'd be wary of signing up Somebody Else's Department to run something like Hydra!)
<yourfate>
ye, we will start an exploration phase once we have talked the general architecture over
<gchristensen>
yourfate: fwiw based on where you are in your project, the take-away is probably that Nix and NixOS is likely a very good fit -- worth taking to the exploration phase.
<NobbZ[m]>
90% of my local emacs builds are not because emacs sources had changed…
<gchristensen>
and you ca learn the details later
<yourfate>
so we'd then actually spin up a few instances, see how / if the toolchains work in this etc
<yourfate>
also how much pain it would be to write packages (or whatever) so our toolchain install automatically inside nixos
<yourfate>
or if we install it manually once and use that container
<simpson>
You may eventually find that rewriting parts of your toolchain to directly use Nix is easier.
<yourfate>
the important part is xilinx vivado
<gchristensen>
don't scare them, now :P bring them with hone
<yourfate>
which we have no control over
<gchristensen>
y
<yourfate>
which is a pain to install
pistache has joined #nixos
<NobbZ[m]>
From my so far only brief experience… Do you have source access to your toolchain? If its binary only, you might need to do a lot of workarounds
<yourfate>
no source code, it's binary only
<yourfate>
and designed to run on redhat
<yourfate>
which we don't really plan to use
<gchristensen>
that might be a bit of a project :)
<yourfate>
yes
<atemu12[m]>
What specific things make it a pain to install? Could you run it into a RHSL/CentOS container if it doesn't work on NixOS natively?
<gchristensen>
vivado is .... a real thing.
<yourfate>
graphic installer :P
<atemu12[m]>
Oh.
<NobbZ[m]>
You'll probably need to use `patchelf` a lot, or use `runSteam` (or some tool extracted from it) to get that up and running…
<gchristensen>
yourfate: I have a friend at xilinx. I'll reach out and ask some questions :)
<NobbZ[m]>
Ouch, interactive installer… Graphical or terminal sounds always like a pain…
<yourfate>
a separate dept is working on a python wrapper that installs it silently
<yourfate>
so we might use that
<gchristensen>
nice!
mexisme_ has joined #nixos
<yourfate>
oh, it has an unattended install mode
<yourfate>
where you run it in a config generation mode once, interactively, and it gives you an install config
<yourfate>
which it can ten follow unattended
<gchristensen>
nice
<NobbZ[m]>
It will probably still do a lot of assumptions that simply do not hold on nixOS, like FHS.
<yourfate>
hmm
<atemu12[m]>
Does it need an internet connection while installing?
<yourfate>
we already have offline installers
<yourfate>
of it
<yourfate>
and the required licenses
<gchristensen>
nice
<gentauro>
by using `nix-shell --pure`, I can use the `clear` command in the terminal
<gentauro>
anybody know which `buildInputs` I need to add to my `default.nix`?
<yourfate>
NobbZ[m]: fhs?
<NobbZ[m]>
File Hirarchy Standard.
<adisbladis>
gentauro: Iirc clear is in ncurses
Rusty1 has joined #nixos
<yourfate>
aah, the standard layout of the rootfs?
<clever>
,locate bin clear
<atemu12[m]>
<yourfate "NobbZ: fhs?"> gentauro: Yeah, Nix doesn't have its system in /bin/ or /usr/
mexisme_ has quit [Ping timeout: 256 seconds]
<{^_^}>
Found in packages: toybox, busybox, ncurses, ncurses5
<NobbZ[m]>
It will probably expect to find things were they are on a regular linux, though nixOS doesn't have some of thise locations
<clever>
adisbladis: yep, clear is in ncurses
<yourfate>
kk that does seem like it might be a bit of work
mexisme_ has joined #nixos
RRedcroft has quit [Remote host closed the connection]
<atemu12[m]>
<clever ",locate bin clear"> Can you do that without the IRC bot locally somehow?
linarcx has quit [Read error: Connection reset by peer]
<gentauro>
clever: thx
<gentauro>
yes, it's in `ncurses`
<gentauro>
:)
<clever>
,locate
<{^_^}>
Use ,locate <filename> to find packages containing such a file. Powered by nix-index (local installation recommended) https://github.com/bennofs/nix-index
<clever>
atemu12[m]: ^^
<gchristensen>
yourfate: there will be a bit of work, but I believe it will be possible and worth it
linarcx has joined #nixos
<atemu12[m]>
clever: Oh neat, thanks!
<atemu12[m]>
gchristensen: I noticed there's a hydra jobset for armv7l now but it has 20000 queued jobs and the armv7 machine is idle. What's the status on that?
<atemu12[m]>
I'm not too familiar with hydra yet
<gchristensen>
let's see.
<gentauro>
,locate clear
<gchristensen>
atemu12[m]: the one with the strike-through?
<{^_^}>
Found in packages: irssi, gitlab, keymon, moodle, toybox, busybox, ncurses, ncurses5, libreswan, silc_client, nodePackages.hueadm
mexisme_ has quit [Ping timeout: 240 seconds]
<atemu12[m]>
<gchristensen "atemu12: the one with the strike"> Yeah
<gchristensen>
struck-through means that machine is not available anymore
<gchristensen>
another box should come around again. the armv7l machine will not always be available
Rusty1 has quit [Remote host closed the connection]
eacameron has joined #nixos
<gchristensen>
on a related note, the system which brings those new machines up from time to time sort of broke a couple days ago, and I need to do a thing so it'll keep doing that .....
<atemu12[m]>
Oh, so the available processing power is a pool shared between all jobsets, even across architectures?
dingenskirchen has quit [Ping timeout: 240 seconds]
<gchristensen>
no, but the armv7l builder is an armv7l VM running on an aarch64 machine. but we often need all the aarch64 builders we can get, so there is a random chance that an aarch64 builder when it boots will specialise to become an armv7l builder
<gchristensen>
those builders reboot every day, so each day there is a new chance
<gchristensen>
there are smarter ways to do this, but I don't have the time to make it happen like that :)
<atemu12[m]>
Oh, so that's how that's done, interesting!
<atemu12[m]>
Thanks for your work on this btw!
<gchristensen>
you're welcome! it is fun to put tools out there and have people do the hard stuff of making it work :D
<ash__>
Is there anyone who knows how to get the latest unstable channel down to local (I mean the new jobs are failing for 7 days and I could not get updates anymore, which is annoying).
<{^_^}>
[nixpkgs] @kevincox pushed to kevincox-mesos-maintainer « mesos: Remove kevincox as maintainer. »: https://git.io/Jv6F5
<ash__>
I am not familiar with cherry-pick or something like that. Should I host a local channel with the snapshot of the latest hydra product? Or is there an easier way?
abathur has quit [Ping timeout: 268 seconds]
<symphorien>
not sure I understand what you want, but if you have a checkout of nixpkgs at your preferred revision, you can use it with nixos-rebuild -I nixpkgs=/path/to/checkout
<{^_^}>
[nixpkgs] @kevincox pushed 0 commits to kevincox-mesos-maintainer: https://git.io/Jv6FF
alexherbo24 has joined #nixos
ash__ is now known as ash_braker
alexherbo2 has quit [Ping timeout: 258 seconds]
alexherbo24 is now known as alexherbo2
<lucus16>
Weird, why does cabal2nix keep trying to fetch nixfmt.cabal from hackage instead of using the one in the repo?
drakonis has joined #nixos
<{^_^}>
[nixpkgs] @orivej-nixos pushed commit from @orivej to master « lilypond-with-fonts: fix adding fonts »: https://git.io/Jv6bq
<evanjs>
Digging into the libwebsockets (2.4.2) not cross-compiling on armv7l (bah maybe I need to open an issue ...) it looks like it's looking for some pem files in share/libwebsockets-test-server that don't existy
bvdw has quit [Read error: Connection reset by peer]
<evanjs>
the other files in the directory do, but the pem files do not. Unsure if they're supposed to be generated during cross compilation (in this case, via nixpkgs.pkgsCross.armv7l-hf-multiplatform) or not
<{^_^}>
[nixpkgs] @dasJ opened pull request #82486 → nixos/atlassian-jira: Drop postgres requirement and fix capitalization → https://git.io/Jv6bR
<ash_braker>
symphorien: OK. So when the blocking issue ultimately could be resolved, I could just remove the `-I` para to use the ordinary way to update?
<NobbZ[m]>
drag0nius from README it looks as if `darwin-rebuild switch` should do.
<drag0nius>
i don't see darwin-rebuild anywhere after installing
<Ankhers>
I have a shell.nix in which I am trying to import a custom derivation. I am just using `let foo = ./foo.nix'. When I invoke `nix-shell', I get an error simply saying '{stdenv,: command not found'. Any ideas what I could be doing wrong?
iceypoi has quit [Ping timeout: 265 seconds]
<ottidmes>
Ankhers: I think it is the thing I ran into yesterday, that if you put a plain file in buildInputs (which nix-shell --packages are too AFAIK), it will be run, rather than taken as an input
melling has quit [Quit: WeeChat 2.7.1]
<Ankhers>
ottidmes: I'm not really sure what you mean by "a plain file".
<{^_^}>
[nix] @edolstra opened pull request #3410 → Remove the tarball job → https://git.io/Jv6NL
<{^_^}>
#66953 (by Izorkin, 29 weeks ago, merged): Enable work variant firewall with iptables-compat
<misuzu>
but docker and similar will have issues
<AWizzArd>
I have a multiuser installation of nix under Ubuntu. It seems to not care about entries in /etc/nix/nix.conf – I put a binary cache link there, yet an installation via nix-env compiles everything and runs for hours, vs minutes.
<AWizzArd>
Is there anything that needs to get configured in a multi-user installation, so that binary caches are used? Before I had the multi-user install I had the single-user one. There everything worked nicely.
<{^_^}>
[nixops] @grahamc pushed to start-with-types-merge « Merge remote-tracking branch 'origin/start-with-types' into start-with-types-merge »: https://git.io/Jv6AD
<{^_^}>
[nix] @domenkozar pushed to github-actions « Add CI with github actions »: https://git.io/Jv6Ay
<{^_^}>
[nixops] @grahamc pushed commit from @aaronchall to start-with-types-merge « More mypy, fix a couple of return types (#1253) »: https://git.io/Jv6AS
flodeskum has quit [Ping timeout: 260 seconds]
gdh has joined #nixos
<{^_^}>
[nixops] @grahamc opened pull request #1254 → More mypy, fix a couple of return types (#1253) → https://git.io/Jv6AH
<boogiewoogie[m]>
misuzu: ah, but this still uses iptables in the back, right? I've read about increased performance of nftables and mainly wanted to test and experiment a little due to that. :)
<NobbZ[m]>
AWizzArd: I didn't had any problems on my old Arch Systems with the binary cache, but but what channel are you on?
<AWizzArd>
NobbZ[m]: I am just starting to use Nix and am not sure about how to know what channel I am on.
<{^_^}>
[nixops] @grahamc closed pull request #1254 → More mypy, fix a couple of return types (#1253) → https://git.io/Jv6AH
<{^_^}>
[nixops] @grahamc reopened pull request #1254 → More mypy, fix a couple of return types (#1253) → https://git.io/Jv6AH
<{^_^}>
[nixops] @grahamc merged pull request #1254 → More mypy, fix a couple of return types (#1253) → https://git.io/Jv6AH
<{^_^}>
[nixops] @grahamc pushed commit from @aaronchall to master « More mypy, fix a couple of return types (#1253) »: https://git.io/Jv6xY
<AWizzArd>
Are there instructions on how to completly uninstall a multi-user installation of Nix? I would like to revert back to a single-user install.
<{^_^}>
#81172 (by misuzu, 2 weeks ago, open): iptables: switch from iptables-legacy to iptables-nftables-compat
<boogiewoogie[m]>
misuzu: gotcha. thanks!
<misuzu>
ar: nft is just an api, it's using bpfilter under the hood afaik
<{^_^}>
[nixops] @grahamc pushed 0 commits to start-with-types-merge: https://git.io/Jv6xO
<{^_^}>
[nix] @edolstra pushed to github-actions « Remove build and binaryTarball since they're included in installerScript »: https://git.io/Jv6x3
<Izorkin>
misuzu: with this config - https://pastebin.com/jPqGGuFk libvirt and docker building with package iptables-nftables-compat (mass packages rebuilding)
<misuzu>
Izorkin: yes
<misuzu>
that should be working fine
werner291 has quit [Quit: werner291]
<Izorkin>
me use this variant
<misuzu>
i meant when using networking.firewall.package = pkgs.iptables-compat;
<{^_^}>
#81172 (by misuzu, 2 weeks ago, open): iptables: switch from iptables-legacy to iptables-nftables-compat
ixxie has joined #nixos
<misuzu>
that's basically what you are using
<NobbZ[m]>
AWizzArd: Usually no need to uninstall, you are probably on a very old default nixpkgs, which is good enough to build something, but not binary cached. Try `nix-channel --add https://nixos.org/channels/nixos-19.09 nixpkgs` or whatever channel you like.
kaliumxyz has joined #nixos
<kaliumxyz>
getting a lot of " kernel: refused connection: " messages for some reason, found out while trying to figure out why my system has been hanging every now and then lately.
<clever>
kaliumxyz: the nixos firewall prints that by default, and it blocks all incoming by default
<kaliumxyz>
thats good but why isn't random traffic stopped at the router?
flodeskum has quit [Ping timeout: 255 seconds]
<kaliumxyz>
it seems to be the same few IP addresses (though switches every now and then) maybe just other things on the network?
<Yaniel>
because the router is not configured to act as a firewall?
<ottidmes>
Yaniel: guess I will keep it in a private (gitignored) file for now, thanks, better safe than sorry. I see some others just make them public though, but guess it can't hurt to just keep them to myself
<gdh>
NobbZ[m], thank you.
edwtjo has quit [Quit: WeeChat 2.7.1]
<Yaniel>
they are supposed to be unique to the physical device so
<Yaniel>
keeping them separate will make the config more reusable IMHO
<NobbZ[m]>
Totally depends on what exactly you want to replace…
<eyJhb>
For some reason I get "attribute ... missing", when trying to use any vam.PluginDictionaries...
<gdh>
I am the author of the second, and I intend to write a package for it.
<eyJhb>
They do exists when using nix search. Any ideas?
<gdh>
Would love to convince nixpkgs to make mine the default, but one thing at a time.
<NobbZ[m]>
So you want to replace the original `bc` in nixOS? Or only on your local box?
<gdh>
NobbZ[m], I would ultimately like to do the former, but I am just trying to do the latter right now.
<lovesegfault>
gchristensen: ping
<gdh>
Also, I am just trying NixOS right now. My current distro is not ideal for me, so I am fishing, and I have been curious about NixOS for a long time.
<NobbZ[m]>
I don't think the former will be much of success, though providing and contributing a derivation which can be used as a drop in replacement might be a good start.
<lovesegfault>
gchristensen: no worries, just ping me when you have some time?
<gchristensen>
I will try :)
dingenskirchen has quit [Read error: Connection reset by peer]
dingenskirchen1 has joined #nixos
<lovesegfault>
👍
mexisme_ has quit [Ping timeout: 272 seconds]
<eyJhb>
Using this config - https://termbin.com/a468, I cannot get neovim to use the vim-go plugin, basically `error: assertion failed at /nix/store/l52irfh18r1qwb4wklk9q70y4cvyjyq3-nixos-19.09/nixos/pkgs/misc/vim-plugins/vim-utils.nix:261:10`
<lovesegfault>
Does anyone know whether I should be using vaapiIntel or intel-media-driver in my opengl.extraPackages?
<eyJhb>
Any ideas?
<eyJhb>
Using this https://termbin.com/7i59 I get `error: attribute 'coc-nvim' missing, at /nix/store/l52irfh18r1qwb4wklk9q70y4cvyjyq3-nixos-19.09/nixos/pkgs/misc/vim-plugins/vim-utils.nix:164:11`...
<gdh>
NobbZ[m], when I get a package written, can I just open a PR? Or do I need permission?
<gchristensen>
open a PR!
<AWizzArd>
I did `nix-env -i nix-prefetch-git` and saw this warning: Nix search path entry '/nix/var/nix/profiles/per-user/root/channels' does not exist, ignoring
<AWizzArd>
Where did Nix get this search path from?
<NobbZ[m]>
From your `NIX_PATH`
<lovesegfault>
Good ole NIX_PATH
<AWizzArd>
ah, thx
<NobbZ[m]>
Though, you probably want to get rid of `nix-env` in the long term.
<AWizzArd>
Yes?
<symphorien>
,declarative AWizzArd
<{^_^}>
AWizzArd: There are multiple ways of managing declarative profiles. 1) Attrset, compatible with imperative use of nix-env https://git.io/fAQHW ; 2) buildEnv, providing more control over the paths that are linked into the profile https://git.io/fp0aU ; 3) home-manager, providing nixos-like config for your ~ https://github.com/rycee/home-manager
<AWizzArd>
Isn’t this the main tool of the package manager?
<NobbZ[m]>
Yes.
<NobbZ[m]>
You could stick to `apt` if you just use imperative installations…
<philipp[m]>
Is there a way to get the linux network stack to dynamically add ipv6 addresses to an interface when an application calls bind() on an address in a subnet?
<philipp[m]>
So what I want to do is have nginx liston on different IPs for different vhosts with minimal setup.
ixxie has quit [Ping timeout: 258 seconds]
cr4y1 has quit [Ping timeout: 260 seconds]
stites has joined #nixos
bhipple has quit [Ping timeout: 256 seconds]
ddellacosta has joined #nixos
bhipple has joined #nixos
<rnhmjoj>
anyone using fprintd here?
cr4y1 has joined #nixos
stites has quit [Remote host closed the connection]
<{^_^}>
[nix] @edolstra pushed to flakes « Do a deep fetch »: https://git.io/Jv6hM
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
malSet has joined #nixos
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
lovesegfault has quit [Ping timeout: 240 seconds]
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
lovesegfault has joined #nixos
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
Lears has quit [Remote host closed the connection]
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
<{^_^}>
[nixops] @lovesegfault opened pull request #1255 → ci: move back to hand-written yaml → https://git.io/Jv6hA
malSet has joined #nixos
justanotheruser has quit [Ping timeout: 240 seconds]
veske2 has quit [Quit: This computer has gone to sleep]
veske has quit [Quit: This computer has gone to sleep]
malSet has quit [Read error: Connection reset by peer]
<cole-h>
lovesegfault: We don't have a yaml generator that could be used for this? :(
<lovesegfault>
cole-h: We do, but it's easier to maintain the yaml
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
ottidmes has joined #nixos
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
opthomasprime has joined #nixos
malSet has joined #nixos
rogue_koder has quit [Ping timeout: 268 seconds]
malSet has quit [Read error: Connection reset by peer]
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
rogue_koder has joined #nixos
chloekek has quit [Quit: WeeChat 2.7]
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
organixpear has joined #nixos
<organixpear>
hi i am installing Nix on a distribution other than nixos. I can successfully add the channel but when I try to nix-channel --update the sandbox reports that it cannot find /bin/bash
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
<NobbZ[m]>
organixpear:
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
<NobbZ[m]>
Which sandbox? And what host OS are you using?
<organixpear>
My host is lfs. I will get you an exact error message in just a minute
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
jaeckel has joined #nixos
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
<organixpear>
nix-channel --update : while setting up the build environment: executing '/bin/bash': No such file or directory
gagbo_ has quit [Quit: I'm out !]
<NobbZ[m]>
Never heard of LFS, had to search for it.
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
malSet has quit [Read error: Connection reset by peer]
jgeerds has joined #nixos
<judson_>
Having trouble with a buildGoModule expression. It fetches, but then, while it's downloading the modules, I get errors like go: github.com/olekukonko/tablewriter@v0.0.3: open /nix/store/b3sl50m0kw4j0qvkj82k3sjvywcjbf1b-go-jira-1.0.23-go-modules/github.com/olekukonko/tablewriter
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
<NobbZ[m]>
Though that it doesn't find `/bin/bash` is funny… I do not have that problem, despite the fact, that there is no `/bin/bash` on my system…
<judson_>
Then go: error loading module requirements
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
<organixpear>
yeah I have read some stuff on github about this same problem
<organixpear>
either im not making sense of it or there isnt a solution
flodeskum has quit [Remote host closed the connection]
<NobbZ[m]>
organixpear: I'm sad, but I think I can't you help with that one :(
<NobbZ[m]>
judson_: Can you share the expression?
siiky has joined #nixos
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
<{^_^}>
[nixpkgs] @jtojnar pushed 10 commits to gnome-3.36: https://git.io/Jv6ji
noudle has joined #nixos
flodeskum has joined #nixos
<cole-h>
organixpear: Does bash exist at `/bin/bash`? If not, what happens if you try to symlink wherever it is installed to (`/usr/bin/bash` would be my guess) to `/bin/bash` and try again?
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
<organixpear>
cole-h: it exists as the actual binary in /bin/bash with a symlink to /bin/sh
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
<organixpear>
tilpner: strace -fP /bin/bash doesnt work. strace says must have PROG [ARGS] or -p PID
<tilpner>
organixpear: Yes, that command is incomplete
slack1256 has joined #nixos
<ivegotasthma>
I just moved to the unstable channel and I'm seeing an error from systemd-timesyncd about not being able to create special execution folder /var/lib
<ivegotasthma>
is this a known issue?
rogue_koder has joined #nixos
opthomasprime has quit [Quit: Leaving.]
<{^_^}>
[nix] @edolstra pushed to master « Remove the 'release' job »: https://git.io/JvieC
<zalaare>
I'm new to Nix and I'm struggling on creating a simple cron-esque service that runs busybox run-parts. I get arcane (to me) messages that do not make logical sense. I've pastebinned the current mess at it stands. Maybe someone with more experience could glance at it and give me pointers? Thanks anyone who would look! https://pastebin.com/6JUn4J2r
<misuzu>
zalaare: try using ${pkgs.busybox}/bin/busybox instead of nix-shell
<zalaare>
NobbZ[m] I am also using systemd.timers. this is the catchall/legacy service that runs Debian's run-parts for regular scripts in a directory [/etc/cron.d/hourly] in this case.
<zalaare>
misuzu I'll give it a quick go. thanks!
<ivegotasthma>
nvm, found the issue on the tracker and commented on the fix
<misuzu>
zalaare: "${pkgs.busybox}/bin/run-parts /etc/cron.d/hourly" <- this should work
<{^_^}>
[nix] @edolstra pushed to master « README.md: Remove reference to OpenSSL »: https://git.io/JvieV
<cole-h>
ivegotasthma: You should link it here for others ;)
dingenskirchen has quit [Remote host closed the connection]
dingenskirchen has joined #nixos
<zalaare>
misuzu: that worked! thank you. oddly "${pkgs.busybox}/bin/busybox run-parts ..." reports as unknown applet. Now I just have to make sure that whatever scripts go in the folder, their expected binary calls must be included in the path = [ pkgs.<pkg> ]; I think.
<{^_^}>
[nixpkgs] @mcwitt opened pull request #82504 → r-mvtnorm: add libiconv to buildInputs → https://git.io/Jviei
opthomasprime has joined #nixos
opthomasprime has left #nixos [#nixos]
MichaelRaskin has quit [Ping timeout: 255 seconds]
MichaelRaskin has joined #nixos
<Ankhers>
I am creating a derivation that needs libstdc++.so.6. I have tried including gcc and android-studio (because I am trying to get Android's NDK working), but neither of them fixed the issue I am seeing with being unable to find libstdc++.so.6. It appears to be related to autoPatchelfHook, because if I take it out of my buildInputs, it builds but is unable to work correctly because the binaries have the incorrect interpreter. Would anyone
<Ankhers>
know what I could do to fix this?
rogue_koder has quit [Ping timeout: 256 seconds]
emilis has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<Ankhers>
Or better yet, if anyone has experience with Android's NDK on NixOS, I would love to hear it.
<infinisil>
MichaelRaskin: I think because when Nix tries to look up some identifier, with `with with` it first checks the first one, then the second one in ~constant time
<infinisil>
However if its `with a // b`, it first needs to calculate the combined attribute set, which can be very expensive
<infinisil>
Before it can get any attribute of it
<MichaelRaskin>
Wait, // is not lazy?
<infinisil>
Only in values, not keys
<MichaelRaskin>
pity
<infinisil>
Although I'm not sure actually
<infinisil>
I know attribute sets are strict in keys
<infinisil>
But not sure about how // interacts with that
reallymemorable has joined #nixos
<{^_^}>
[nix] @edolstra merged pull request #3380 → display attr-path only when queried available → https://git.io/JvgNC
<organixpear>
well this is probably the tenth time ive reworked the configure switches for nix and compiled and still i am getting: "while setting up the build environment: executing '/bin/bash': no such file or directory." which causes nix-channel update to fail.
jjakob has quit [Ping timeout: 272 seconds]
<organixpear>
the binary release works fine.
abathur has quit [Ping timeout: 255 seconds]
jjakob has joined #nixos
<organixpear>
by the way that is not a compile time error or message. everything compiles and installs, but when i actually try to use nix i have this problem with updating the channel which renders nix useless
<cole-h>
Did you strace your nix-channel invocation?
<organixpear>
can you guide me through doing that?
<cole-h>
`strace <nix-channel invocation>` and look at what it says when it errors
<organixpear>
nothing interesting
<organixpear>
here is a good question
<organixpear>
does nix need its own nix copy of bash in the store to function
mexisme_ has joined #nixos
abathur has joined #nixos
fresheyeball has joined #nixos
<fresheyeball>
can I ask nix to evaluate an arbitrary configuration.nix?
<fresheyeball>
I have a repo where I store muliple configuration.nix files for various computers I manage
zupo has joined #nixos
<fresheyeball>
and would like a sanity check in CI that just evals the expression
<fresheyeball>
ideally I would like to have a nix expression that aggregates all my computer's configuration.nix files and just dry-run evals them so if I make a mistake that screws up one of the configs, its a build error
<{^_^}>
[nixpkgs] @orivej-nixos pushed commit from @taku0 to master « flashplayer: 32.0.0.330 -> 32.0.0.344 (#82322) »: https://git.io/Jvivd
<infinisil>
fresheyeball: Yeah, single config with `nix-instantiate '<nixpkgs/nixos>' --arg configuration /path/to/configuration.nix -A system`
<infinisil>
Or as a Nix expression: `(import <nixpkgs/nixos> { configuration = /path/to/configuration.nix; }).system`
<infinisil>
You can use e.g. `pkgs.linkFarm "systems" [ { name = "system1"; path = (import ...).system; } { name = "system2"; path = (import ...).system; } ]` to combine multiple
rogue_koder has quit [Read error: No route to host]
rogue_koder_ has joined #nixos
<fresheyeball>
infinisil: I am getting called without required argument 'config',
<fresheyeball>
oh wait I see
flodeskum has quit [Ping timeout: 260 seconds]
<fresheyeball>
infinisil: <nixpkgs/nixos> is not always the right channel
<fresheyeball>
can I specific a channel per system?
mexisme_ has quit [Ping timeout: 268 seconds]
<infinisil>
Um, maybe with <nixos-unstable/nixos>
<evanjs>
having some issues deploying software to an embedded system. I successfully cross compiled it with gcc 49 for an armv7l system... but the local GLIBC version reports 2_4, while the deployed program is looking for 2_25 and 2_28. Any suggestions on how I might handle this?
rogue_koder_ has quit [Remote host closed the connection]
rogue_koder_ has joined #nixos
<{^_^}>
[nixpkgs] @FRidh opened pull request #82507 → hydra: wrap executables with hydra env vars → https://git.io/Jvifk
drakonis has joined #nixos
domogled has joined #nixos
flodeskum has joined #nixos
<{^_^}>
[nixos-homepage] @edolstra pushed to redirect-hydra « Redirect /hydra to the GitHub project »: https://git.io/Jvif8
<{^_^}>
[nixos-homepage] @edolstra opened pull request #338 → Redirect /hydra to the Hydra GitHub project → https://git.io/JvifE
hoijui has quit [Quit: Leaving]
flodeskum has quit [Ping timeout: 268 seconds]
<{^_^}>
[nixpkgs] @peti pushed to haskell-updates « hackage2nix: update list of broken packages to fix evaluation »: https://git.io/Jvifw
<{^_^}>
[nixpkgs] @jonringer pushed commit from @vanschelven to master « pythonPackages.bravado-core: init at 5.16.1 »: https://git.io/JviJN
<{^_^}>
[nixos-homepage] @edolstra merged pull request #335 → include nix install script in the website and remove the redirect (fo… → https://git.io/Jv6IA
<{^_^}>
[nixos-homepage] @edolstra pushed 3 commits to master: https://git.io/JviJA
bhipple has joined #nixos
<{^_^}>
[nixos-homepage] @edolstra pushed to redirect-hydra « Redirect /hydra to the GitHub project »: https://git.io/JviJp
<gchristensen>
niksnut: for nixops, too? seems good
bhipple has joined #nixos
<niksnut>
yes
shibboleth has quit [Quit: shibboleth]
<gchristensen>
niksnut: though maybe RST would be better for nixops, being python
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}>
[nixpkgs] @Izorkin opened pull request #82509 → samba: build with profiling enabled → https://git.io/JviU2
<evanjs>
Anybody know if there's an easy way to get e.g. gcc49Stdenv wrapped with glibc 2.4? Old as heck, and unsure if it's the best option, but it's what the target system seems to be using, so ...
<{^_^}>
[nixpkgs] @Ma27 pushed commit from @Mindavi to master « afl: Fix afl-qemu build by applying new patches »: https://git.io/JviUr
fendor_ has quit [Remote host closed the connection]
<{^_^}>
[nixos-homepage] @edolstra pushed to redirect-nixops « Redirect /nixops to the NixOps project on GitHub »: https://git.io/JviU6
<{^_^}>
[nixos-homepage] @edolstra opened pull request #339 → Redirect /nixops to the NixOps project on GitHub → https://git.io/JviUi
<{^_^}>
[cabal2nix] @peti pushed 0 commits to refs/tags/v2.15.1: https://git.io/JviTY
zupo has joined #nixos
flodeskum has quit [Remote host closed the connection]
<OmnipotentEntity>
ok neat. gogui 1.4.9 looks like it's not maintained anymore on sourceforge, but has a github fork, and I was wondering would it be OK with you to move to the maintained fork?
flodeskum has joined #nixos
<OmnipotentEntity>
I would have just done it and submitted it as a PR, but it looks like it's going to be a little bit non-trivial
malSet has quit [Read error: Connection reset by peer]
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
cosimone has quit [Ping timeout: 258 seconds]
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
linarcx has quit [Quit: WeeChat 2.7.1]
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
<cole-h>
gchristensen: :D
chloekek has joined #nixos
gustavderdrache has quit [Quit: Leaving.]
<kalbasit>
Using nix modules, is there a way to write an entire config attrsets to a `file.nix` to be used by another module system?
kai_w has joined #nixos
mexisme_ has quit [Ping timeout: 272 seconds]
<kalbasit>
I have a modules system that sets the attrset `docker-compose`, I need to extract out into a file to be used by arion. I have a workaround of defining noop attrset as needed in both modules but was wondering if there's a better way
zupo has quit [Ping timeout: 256 seconds]
<ottidmes>
kalbasit: pkgs.writeTextFile should work in that case just fine, I think
<ottidmes>
meant writeText
<{^_^}>
[nixpkgs] @alyssais opened pull request #82511 → rust_1_38, rust_1_42: drop patch version from attr → https://git.io/JviTX
<jeaye>
Can I somehow declaratively check the platform in a shell.nix to include some packages for one platform and some for another?
<cole-h>
Conditional on `pkgs.system` I think?
zupo has joined #nixos
<ottidmes>
kalbasit: not quite sure what you are doing, but you can probably just define an option and set that instead and then use it in both modules, should be plenty ways
<{^_^}>
[nixpkgs] @vbgl merged pull request #82064 → OCaml: default to version 4.08 → https://git.io/JvrAn
flodeskum has quit [Read error: Connection reset by peer]
<jeaye>
cole-h: I've failed to find any examples of that, so far. Do you have any reference?
<ottidmes>
jeaye: could you not use stdenv.isDarwin and kind?
<jeaye>
I'm about as good with Nix exprs as I am riding a unicycle while juggling knifes. Probably better at the latter, since it all makes sense to me.
<jeaye>
ottidmes: I probably can! I've just been trying to find what to use.
<cole-h>
jeaye: `whateverYourPackagesListIsNamed = [ somePackages ] ++ lib.optionals (pkgs.system == "x86_64-linux") [ pkg1 pkg2 pkg3 ]` is how I'd do it
<jeaye>
My shell.nix installs mono, but that apparently doesn't build on macOS, so I wanted to disable it there.
<{^_^}>
[nixpkgs] @Ericson2314 pushed 217 commits to staging: https://git.io/Jvike
Rusty1 has quit [Remote host closed the connection]
c0c0 has quit [Ping timeout: 265 seconds]
<{^_^}>
[nixpkgs] @vbgl pushed to release-20.03 « ocamlPackages.sedlex_2: fix build with OCaml ≥ 4.08 »: https://git.io/Jvikf
o1lo01ol1o has joined #nixos
c0c0 has joined #nixos
<kalbasit>
ottidmes: I guess my question is: how to get a text representation of a Nix attribute set assuming that all values are strings, list of strings or another set (simple, no derivations)
<{^_^}>
[nixpkgs] @vbgl pushed to release-20.03 « unison: move out of ocamlPackages »: https://git.io/JvikU
<ottidmes>
kalbasit: probably through JSON
<kalbasit>
ottidmes: I'm trying to make use of arion with --file pointing to Nix file that define our stuff as well as arion stuff: https://github.com/hercules-ci/arion
mrCyborg has joined #nixos
<kalbasit>
maybe it'll work just using the modules I have
<ottidmes>
kalbasit: I would probably look at some runtime way (i.e. put the reusable structure in option you define and use that), but if you really need to have it in a file, you could use pkgs.runCommand together with nix eval/nix-instantiate and use builtins.fromJSON/toJSON
<kalbasit>
I'm trying to figure out the runtime way that would work for this
<kai_w>
Is there any way to have multiple binaries inside a FHS user env? If there is no recommended way to do this I am happy to contribute it, just wondering if there is an existing way.
<kai_w>
Specifically, I want to expose the various CLI helper utilities provided by quartus in addition to the main GUI executable.
o1lo01ol_ has quit [Remote host closed the connection]
rogue_koder_ has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
rogue_koder_ has joined #nixos
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
<{^_^}>
[nixos-homepage] @edolstra merged pull request #340 → Try a 200 redirect for install scripts → https://git.io/JviIc
<{^_^}>
[nixos-homepage] @edolstra pushed 4 commits to master: https://git.io/JviLf
<gchristensen>
niksnut: fancy!
mexisme_ has joined #nixos
o1lo01ol1o has quit [Ping timeout: 260 seconds]
o1lo01ol1o has joined #nixos
maddo has quit [Quit: See ya]
mexisme_ has quit [Ping timeout: 240 seconds]
Derek_S has joined #nixos
growpotkin has joined #nixos
nuncanada3 has joined #nixos
nuncanada2 has quit [Read error: Connection reset by peer]
<Cadey>
is there anything I can do to help get NixOS 20.03 shipped?
<Derek_S>
i have a quick question folks, is there a way to theme grub through NixOS configuration? - some way to define a theme file for grub to use, similar to /etc/default/grub?
<ldlework>
Cadey: :D
lsix has quit [Quit: WeeChat 2.7.1]
<{^_^}>
[nixpkgs] @orivej-nixos pushed commit from @orivej to master « lilypond: 2.18.2 -> 2.20.0 »: https://git.io/JviLt
<adisbladis>
Cadey: Have you looked at the ZHF issue?
<{^_^}>
[nixpkgs] @marsam pushed 2 commits to staging-20.03: https://git.io/JviLc
justanotheruser has quit [Ping timeout: 240 seconds]
<Cadey>
how do i nix-build something in the nixpkgs repo?
<evils>
clone the repo, cd to the repo, nix-build -A something
<Cadey>
in /home/cadey/code/nixpkgs/pkgs/tools/security/b3sum i am getting error: cannot auto-call a function that has an argument without a default value ('lib')
<evils>
go to the root directory of the repo (/home/cadey/code/nixpkgs)