<{^_^}>
[nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JU82v
jb55 has joined #nixos
jb55 has quit [Remote host closed the connection]
jb55 has joined #nixos
<{^_^}>
[nixpkgs] @happysalada opened pull request #97943 → nushell: fix darwin build → https://git.io/JU82k
jb55 has quit [Remote host closed the connection]
jb55 has joined #nixos
teto has quit [Quit: WeeChat 2.9]
jb55 has quit [Ping timeout: 240 seconds]
<energizer>
does anybody have a unicode character picker they like? i'm looking at https://git.teknik.io/matf/rofiemoji-rofiunicode since i use rofi, but maybe another one is already packaged?
<ToxicFrog>
I just use amp-what.com in a browser window
seku has quit [Quit: Connection closed]
mariatsji has joined #nixos
lotharn has joined #nixos
dermetfan has quit [Ping timeout: 240 seconds]
jb55 has joined #nixos
lotharn has quit [Max SendQ exceeded]
omnipotententity has joined #nixos
omnipotententity has joined #nixos
omnipotententity has quit [Changing host]
lotharn has joined #nixos
omneh has quit [Ping timeout: 264 seconds]
mariatsji has quit [Ping timeout: 244 seconds]
alexherbo2 has quit [Ping timeout: 244 seconds]
oida has quit [Remote host closed the connection]
ydlr has joined #nixos
oida has joined #nixos
CyberManifest has joined #nixos
sigmundv_ has quit [Ping timeout: 240 seconds]
ydlr_ has joined #nixos
<xensky>
rofi unicode works well
ydlr has quit [Quit: Leaving]
<iwq>
does anyone know if there exists a tool that can take a dynamically linked executable and return me a list of buildInputs?
<iwq>
basically I wanna automate a part of writing a derivation by feeding some program an already built executable and hoping it prints me the package names from <nixpkgs> that it requires
<iwq>
so I can just copy-paste the result to buildInputs = [ ... ]
h0m1 has joined #nixos
alp has quit [Ping timeout: 244 seconds]
CyberManifest has joined #nixos
<clever>
iwq: nix-locate can also be used to figure out the library -> package names
<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
omneh has joined #nixos
omneh has joined #nixos
omneh has quit [Changing host]
ris has quit [Ping timeout: 240 seconds]
vmandela has joined #nixos
ransom has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ransom has joined #nixos
henri has quit [Remote host closed the connection]
<joehh1>
ahhhhh - I had always wondered why lib was passed in as an argument - it seemed redundant
<bbigras>
it's useful to know the date when I deployed a lot of bad configs in a day and I need to get to yesterday
<cole-h>
bbigras: Could `cat /boot/loader/entries/nixos-generation-###.conf`, if you can afford to boot into it
<cole-h>
(tbh, "bad configs" sound like a prime use-case for `nixos-rebuild test`...)
<bbigras>
cole-h: thanks. yeah maybe I could use `nixos-rebuild test`. I was testing pipewire and wanted to make sure I restarted everything. But I guess `nixos-rebuild test` would have worked. sometimes I also do multiple deploy in the same day before I realize that something is broken and want to rollback to yesterday.
<bbigras>
also I had a bad overlay. I wasn't able to nixos-rebuild with it. I think I had to rollback to remove it.
<cole-h>
Fair enough. In that case, I would just use an earlier commit (though, maybe this is easier for me cuz I use flakes, which makes me commit more often)
<{^_^}>
[nixpkgs] @fgaz opened pull request #97956 → [20.09] drawpile: fix build by adding libsecret → https://git.io/JU8Pe
<bbigras>
I pin everything using niv. but I think I really had to rollback to get rid of the bad overlay and then I could apply any commit.
<cole-h>
Sorry I can't be of any help... is there any reason you can't just boot into one and `cat` the conf to see when it was built? Or is this for the future (in which case, you could try consoleMode and see if that works...)
king007 has joined #nixos
<{^_^}>
[nixpkgs] @samuela opened pull request #97957 → Update vscode to 1.49.0 → https://git.io/JU8Pt
<bbigras>
cole-h: oh yeah I can do that. but instead I was just picking a random old one. but I would kinda prefer to see the date.
<{^_^}>
[nixpkgs] @petabyteboy pushed commit from @marsam to master « rclone: 1.53.0 -> 1.53.1 (#97953) »: https://git.io/JU8M1
<GolDDranks>
Next, I'm trying to bridge the ethernet interface and wifi interfaces. However, that seems to work, but it makes it impossible to connect to the desktop PC itself via SSH
<{^_^}>
[nixpkgs] @NobbZ opened pull request #97963 → lefthook: use go 1.14 to build (backport to 20.09) → https://git.io/JU8MH
<GolDDranks>
I'm able to connect through the bridge (connecting to the wifi endoint and accessing internet with a laptop and connecting to that laptop from ethernet lan), but not to the desktop PC itself that works as a bridge. It even says "network is unreachable" when trying to ping anything from the desktop.
<GolDDranks>
IP route on the desktop shows empty routing table
<GolDDranks>
And I don't know why
<{^_^}>
[nixpkgs] @NobbZ opened pull request #97964 → lefthook: use go 1.14 to build (backport to 20.03) → https://git.io/JU8MF
<GolDDranks>
In arch wiki it says "It may help to remove all IP addresses and routes from the interface (e.g. eth0) that was added to the bridge and configure these parameters for the bridge instead. " So, is the key message that the bridge interface should be the new default interface on the desktop PC?
<Ke>
if you need a brdge, sure
GolDDranks has quit [Remote host closed the connection]
wfranzini has joined #nixos
CyberManifest has quit [Remote host closed the connection]
thc202 has joined #nixos
tobeportable has joined #nixos
thc202 has quit [Excess Flood]
thc202 has joined #nixos
GolDDranks has joined #nixos
wfranzini has quit [Quit: wfranzini]
<{^_^}>
[nixpkgs] @elohmeier opened pull request #97965 → [20.09] qtstyleplugins: Fix build with qt>=5.15 → https://git.io/JU8y4
Khetzal has quit [Quit: \o/]
Khetzal has joined #nixos
<GolDDranks>
Ahhh so another clue
<GolDDranks>
The bridge interface has a different MAC address than the ethernet interface
<GolDDranks>
So my DHCP static lease didn't consider them same
justanotheruser has quit [Ping timeout: 244 seconds]
<GolDDranks>
So my desktop has now different local IP than it used to have
<GolDDranks>
Mystery solved
stiell has quit [Ping timeout: 244 seconds]
<GolDDranks>
I have absolutely no experience in bridging. Should I just consider the bridge MAC address as THE MAC address of the host from here on.
<GolDDranks>
If the DHCP client runs on that interface, maybe that's the correct thing to do, so I just change the static lease
<GolDDranks>
So, as a one final step in my bridging setup, the Arch wiki suggests I do this to speed up traffict destined to the bridge itself (accepting directly frames that are directed to the physical interface MAC port addresses, instead of rewriting them to go towards the bridge MAC address?)
<GolDDranks>
ebtables -t broute -A BROUTING -d $MAC_OF_BR0 -p ipv4 -j redirect --redirect-target DROP
tobeportable has quit [Quit: Leaving]
<GolDDranks>
But the ebtables command makes me suspicious: 1) is this a persistent setting? 2) is this compatible with the NixOS way of doing this? Doesn't seem so
<GolDDranks>
Any hot takes?
<{^_^}>
[nixos-homepage] @garbas pushed to use-cachix-to-speedup-builds « add cachix to gh action steps »: https://git.io/JU8SO
<{^_^}>
[nixos-homepage] @garbas opened pull request #527 → add cachix to gh action steps → https://git.io/JU8S3
lopsided98 has quit [Quit: No Ping reply in 180 seconds.]
lopsided98 has joined #nixos
_d0t has joined #nixos
<Ke>
GolDDranks: ebtables is not persistent and maybe there is something on nixos to configure that, but you can always just add custom commands in a proper way
<Ke>
basically it's like iptables for bridges, which is not persistent either, unless your distro persists it as a service
vikingman has joined #nixos
<Ke>
but linux does not
<GolDDranks>
I see, thanks!
<Ke>
many distros do that persistence though
<Ke>
I am fairly sure nixos would not do it like that, since it could be easily configured the nixos way, if someone wrote the module
<GolDDranks>
The nixos way is to do persistence via the configuration.nix, right ;)
<{^_^}>
[nixpkgs] @vcunat pushed 17 commits to release-20.03: https://git.io/JU8QF
hiro99 has joined #nixos
<GolDDranks>
Ughh, I can't get the heads or tails of this brouting thing
cfricke has quit [Quit: WeeChat 2.9]
<GolDDranks>
I have the impression that iptables / ebtables are just utility tools to manage the netfilter stuff in kernel, but it seems that there is a new thing called nftables but NixOS doesn't use that by default; however, it has some compatibility interfaces so that you can use iptables or ebtables like before, but it uses nftables as a backend. But I have
<GolDDranks>
no clue which package corresponds to which version of the thing
<GolDDranks>
And whether the compatiblity stuff actually works; it seems that it is only best effort
<GolDDranks>
Like, with ebtables there used to be a table (are tables managed by the tool? I thought that they are kernel features at first,) called brouting, but there isn't one now that I check one
<GolDDranks>
And I don't know if this brouting thing is just deprecated or replaced by something else
<GolDDranks>
The nftables wiki doesn't have even a single mention of the word
Qubasa has quit [Ping timeout: 240 seconds]
palo has quit [Quit: WeeChat 2.7.1]
sangoma has quit [Read error: Connection reset by peer]
Khetzal has quit [Quit: \o/]
Khetzal has joined #nixos
sangoma has joined #nixos
palo has joined #nixos
evck_ has quit [Ping timeout: 244 seconds]
kalbasit has quit [Ping timeout: 244 seconds]
pittma has quit [Ping timeout: 244 seconds]
Mateon1 has quit [Remote host closed the connection]
evck_ has joined #nixos
Mateon1 has joined #nixos
oida has joined #nixos
lally has quit [Ping timeout: 244 seconds]
patrickod has quit [Ping timeout: 244 seconds]
johs has quit [Ping timeout: 244 seconds]
andymandias has quit [Ping timeout: 240 seconds]
buggymcbugfix has quit [Ping timeout: 240 seconds]
<simonpe^^>
I have three machines, one with nixos and two with ubuntu. Building the same derivation produces different store paths (hashes). How would I go about figuring out why?
<simonpe^^>
The exact procedure I do is that I have a niv repo with nixpkgs @ a specific revision, then I run nix-build -E '(import (import nix/sources.nix {}).nixpkgs {}).docker'
alexherbo2 has quit [Ping timeout: 256 seconds]
<simonpe^^>
One of the ubuntu machines and my nixos machine produces the same store path, the 2nd ubuntu machine produce another
<{^_^}>
[nix] @regnat opened pull request #4011 → Document store options → https://git.io/JU8hc
alexherbo2 has joined #nixos
alexherbo2 has quit [Ping timeout: 244 seconds]
<{^_^}>
[nixpkgs] @raboof opened pull request #97971 → inkcut: fix by using the standard qt5 version → https://git.io/JU8hE
<eyJhb>
I keep getting this error from nixos, when I try to build home
<{^_^}>
[nixpkgs] @mvnetbiz opened pull request #97972 → Power profiles daemon → https://git.io/JU8hg
<{^_^}>
[nix] @edolstra merged pull request #4005 → Fix auto argument passing for more auto arguments than formals → https://git.io/JUW5J
<eyJhb>
switch to a new version, when I test home-manager. I am usig the latest nixos-unstable from the github channels, and the latest home-manager. It seems to be a issue with nixpkgs, but I cannot seem to find it - https://termbin.com/fdjq
xd1le has quit [Read error: Connection reset by peer]
xd1le has joined #nixos
alp has quit [Ping timeout: 240 seconds]
waleee-cl has joined #nixos
<{^_^}>
[nixos-homepage] @github-actions[bot] pushed commit from GitHub Actions to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/JU4eS
rprije has quit [Ping timeout: 258 seconds]
<urkk_>
What is the proper pattern to select the MPI implementation being used in other derivations? I would like to be able to define multiple pkgs sets each with a different mpi implementation being used in all packages that require mpi
<GolDDranks>
This was pretty hard to set up too, because my Intel Wifi card insisted on not yielding to the linux kernel settings, but by restarting the wifi driver module with modprobe iwlwifi lar_disable=1, it yielded...
joesventek has joined #nixos
<GolDDranks>
But the iw list command persistently shows the no IR flag on 5Ghz channels :(
<GolDDranks>
dmesg shows this kind of error: Conflict between TLV & NVM regarding enabling LAR (TLV = enabled NVM =disabled)
<GolDDranks>
So apparently there is tlv_lar and nvm_lar, but I have no clue what do those abbreviations even mean. (LAR means Location Aware Regulatory, which has to do the radio frequencies that are allowed in different countries)
<{^_^}>
[nixpkgs] @Flakebi opened pull request #97976 → amdvlk: 2020.Q3.4 -> 2020.Q3.5 and add 32-bit build → https://git.io/JU4vR
<GolDDranks>
Ke, I'm trying to set up my own access point
<GolDDranks>
Not connect to one
<GolDDranks>
With hostapd
xd1le has quit [Read error: Connection reset by peer]
sangoma has joined #nixos
<Ke>
ah right
ManiacOfMadness has quit [Ping timeout: 244 seconds]
<codygman>
I just booted into a nixos box that had working internet 2 weeks ago and doesn't now. It is ethernet. In the logs I see eth0 renamed, but it becomes ready in journalctl -xe
<codygman>
I'm not sure how to debug further
xd1le has joined #nixos
<GolDDranks>
codygman what do ip link, ip a and ip route say?
<Ke>
codygman: what are your network settings, just defaults with plain dhcp?
<codygman>
Yes
<codygman>
They are per interface but I tried the global networking.useDHCP too
<exarkun>
how do multiple overlays with overlapping definitions interact?
omnipotententity has joined #nixos
omnipotententity has quit [Changing host]
omnipotententity has joined #nixos
omneh has quit [Ping timeout: 240 seconds]
<regnat>
exarkun: The overlays are an ordered list, so the second one will shadow the first
<immae>
it will not exactly "shadow", since the super will contain the previous iteration. No?
mmohammadi9812 has quit [Quit: I quit (╯°□°)╯︵ ┻━┻]
<exarkun>
assuming their definitions don't relate to each other though
<immae>
ok, if you don’t use super in your definitions then indeed only the last one will win
<exarkun>
eg some simple case where you have two overlays, each only defining a different version of one particular package (and not basing that definition on the one in super, if there is one)
omnipotententity has quit [Ping timeout: 246 seconds]
superherointj has joined #nixos
<exarkun>
just trying to figure out how to override a dependency of a package I'm trying to consume
<exarkun>
where that dependency is specified in an overlay of the package I'm trying to consume
<codygman>
Lol I think ipv6 is causing me issues but to disable it you need internet because it downloads packages
captn3m0 has quit [Ping timeout: 264 seconds]
<immae>
what is it trying to download?
<immae>
You should be able to disable it by just putting a 1 in some part of /sys tree
<immae>
namely /proc/sys/net/ipv6/conf/all/disable_ipv6 and /proc/sys/net/ipv6/conf/default/disable_ipv6
omnipotententity has joined #nixos
<Dagger>
but better would be to investigate and see what the actual problem is, and then fix it rather than disabling an entire protocol just because you're unfamiliar with it
<{^_^}>
[nixpkgs] @AndersonTorres merged pull request #95409 → dockerTools.streamLayeredImage: Store the customisation layer as a tarball → https://git.io/JJ76U
<{^_^}>
[nixpkgs] @AndersonTorres pushed 2 commits to master: https://git.io/JU4IJ
<{^_^}>
[nixpkgs] @lsix pushed commit from @sikmir to release-20.09 « pythonPackages.timezonefinder: fix build »: https://git.io/JU4Gq
<Anton64>
Does someone here have experience with adding external dependencies to Obelisk?
<Anton64>
In particular, I am trying to add `nixos.eprover` to a haskell library on my server
<Anton64>
I have already added it as an `extra-libraries` in my cabal file, but `nix-build` can't find it
arjen-jonathan has joined #nixos
<drewr>
nix-store can delete explicit paths, but is there a way to express that you want to delete all paths related to a particular package? Something like a gc but limited in scope
<unclechu>
i’m trying to add a vim plugin by running `pkgs/misc/vim-plugins/update.py` with `--add owner/repo` arguments
<unclechu>
but i’m getting a lot of http 429 too many requests errors from github
<unclechu>
can i limit amount of the requests somehow?
sangoma has joined #nixos
<unclechu>
anyway, why does it have to make a request for each plugin in the list whilst i’m adding only single one?
<srhb>
unclechu: get a token and set GITHUB_API_TOKEN
<GolDDranks>
I'm using fetchGit to get the latest revision, but then mkDerivation tries to determine the build version using git commands; and it fails with "fatal: not a git repository (or any of the parent directories): .git"
<GolDDranks>
Any guesses why?
<Yaniel>
mkDerivation does not do that
<GolDDranks>
Hmm
<GolDDranks>
I wonder what does, then
<Yaniel>
the makefile of the project
<Yaniel>
see the version.h rule
<unclechu>
srhb: it did help, thanks
<srhb>
unclechu: Sure!
<GolDDranks>
Ah, indeed
<Yaniel>
you could work around that by generating your own version.h in postUnpackPhase
<Yaniel>
I think that should be enough to convince make that it does not need to bother
<Yaniel>
if it's not, you can either patch the makefile or let it go with the fallback path that's there
<{^_^}>
[nix] @edolstra merged pull request #4012 → Escape `${` in strings when printing Nix expressions → https://git.io/JU4Ok
<GolDDranks>
Yaniel you are right, I didn't look the errors past to the "fatal: not a git repository repository" line. So it actually fails finding /lib/modules/5.4.64/build. I would think that /nix/store/jr1hhvpa8ymly16x04vjcyxn17n7njll-kernel-modules/lib/modules/5.4.61/build would be the NixOS equivalent, and it exists up to the kernel version number, but no
<GolDDranks>
"build" in there.
<superherointj>
simpson, what is next step then? I want to see if it will work just fine without the patches. :)
kleisli__ has joined #nixos
<simpson>
superherointj: Sorry, I don't understand; I thought that the patches were necessary?
<superherointj>
They are.
cyraxjoe has joined #nixos
<{^_^}>
[nixpkgs] @berbiche opened pull request #97984 → build-erlang-mk: add support for buildFlags → https://git.io/JU4Z9
<GolDDranks>
I struggle with mkDerivation. I haven't still managed to find a good documentation for it
<{^_^}>
[nixpkgs] @unclechu opened pull request #97985 → Change owner of and update vimPlugins.nerdtree-git-plugin: init at 2020-09-11 → https://git.io/JU4n2
<astro>
I'm also trouble with "fatal: not a git repository", and using postUnpackPhase doesn't seem to work in nix flakes (which is what I'm trying to use)
hiro98 has quit [Remote host closed the connection]
chloekek has joined #nixos
<GolDDranks>
astro: I also read that fetchGit fetches the repo eagerly (during building of the derivation, not the actual build), and stores the source code. I wonder if they get rid of .git already at that phase
hiro98 has joined #nixos
<srhb>
GolDDranks: It's postUnpack (a hook called at the end of the unpack phase)
<chloekek>
Hi, is it possible to add additional gems to a Nixpkgs-provided Ruby program built with bundlerApp? It doesn’t seem so easy to “override” the Gemfile.
<GolDDranks>
srhb thanks. So, postUnpack = ''ls .git''; leads to "ls: cannot access '.git': No such file or directory". Same thing for ls source/.git
waleee-cl has joined #nixos
<clever>
GolDDranks: which fetcher are you using?
<GolDDranks>
fetchGit
<clever>
fetchGit doesnt keep the .git by default
<srhb>
GolDDranks: Trying to reuse .git is probably not what you want if you can avoid it
<srhb>
GolDDranks: It's pretty difficult to purify.
<astro>
is there any way to use info from git log in the build?
<GolDDranks>
@srhb I see. Well, in my case I'm fine with the git accessing steps of Make failing, I don't know about astro's case
<srhb>
Oh sorry.
alexherbo2 has joined #nixos
<srhb>
astro: There are ways, yes, but if you can get by without, it's usually easier.
<srhb>
astro: You might already have the information you need from the flake.
<astro>
where is this information?
sangoma has joined #nixos
<srhb>
astro: I mean, I'm just guessing. What do you need exactly?
<astro>
specifically, the kinds of things I want are the date of the last commit and the name of the committer
<srhb>
name, I don't think so. date should be there iirc
<srhb>
self.lastModifiedDate iirc
orivej has quit [Ping timeout: 260 seconds]
ixxie has quit [Quit: Lost terminal]
boredom101 has quit [Remote host closed the connection]
ixxie has joined #nixos
<astro>
ah, I don't suppose there's a way to get the last modified date for an individual file?
<srhb>
astro: Not unless it happens to be the last modified file in the entire source.
<GolDDranks>
How do I get a path of a package? I'm not getting anywhere with my blurb makeFlags = [ ("KBUILD=" ++ linux.dev ++ "/build") ];
<GolDDranks>
I'm trying to set KBUILD to /nix/store/vl6sasgap8392i9xsq6y1ik87d34v4qw-linux-5.4.64-dev/lib/modules/5.4.64/build
<GolDDranks>
But so that it's generic
<cole-h>
"KBUILD=${linux.dev}/lib/modules/5.4.64/build" is probably what you want
<astro>
srhb: and the alternative is manual bookkeeping?
<GolDDranks>
cole-h Is there a way to also replace the kernel version?
<cole-h>
`linux.version`
<srhb>
astro: Yes, or preserving .git and jumping through hoops to purify afterwards.
<cole-h>
"KBUILD=${linux.dev}/lib/modules/${linux.version}/build", then
ixxie has joined #nixos
<astro>
srhb: preserving .git?
<GolDDranks>
What mechanism expands packages to paths? is it the ${ ... } interpolation? At nix source code level, linux.dev is still a package (a function), right?
<cole-h>
Using a package in a string converts it to the store path
<srhb>
astro: Yes, some fetchers allow you to keep it around after unpack (though you should remove it as soon as you have gotten the necessary information from it)
<srhb>
astro: It usually ends up being a pain.
<GolDDranks>
Nice.
<srhb>
astro: turns out .git is not very deterministic :)
<cole-h>
I wish it was :(
<srhb>
Same.
<srhb>
Or at least easily normalizable.
<cole-h>
So that we wouldn't need to fetch an entire XX MB tarball every channel update
<srhb>
... which I guess is the same thing
ixxie has quit [Client Quit]
ixxie has joined #nixos
<astro>
srhb: can this be done in a nix flake?
<srhb>
astro: I don't believe so.
<astro>
very well, I guess I'll have to write horrible scripts to ease the bookkeeping
<cole-h>
srhb: Do you happen to know where the nondeterminism tends to come from?
<srhb>
cole-h: Afraid I don't remember.
<cole-h>
I wonder if darcs or pijul will fare better in this regard
<srhb>
cole-h: Given that the author of pijul is inclined towards Nix, I can make some guesses :P
<cole-h>
Heh
<cole-h>
I think Pijul is in the middle of a rewrite or something, since there hasn't been any movement in the repo since 2019.
mariatsji has quit [Remote host closed the connection]
<srhb>
Or just dead because we insist on using bad things with traction to maximize pain!
<cole-h>
:'(
<srhb>
Sorry, sorry. :P
<srhb>
(I don't think it's dead, actually ;))
arjen-jonathan has quit [Ping timeout: 240 seconds]
<amanjeev>
thank you cole-h and srhb. I went there from https://status.nixos.org/ where unstable shows build problem.
<amanjeev>
I wonder if we can link the build problem label to the problem
endformationage has joined #nixos
<cole-h>
Well, the problem is that it was cancelled
<cole-h>
And the most recent one timed out.
<cole-h>
srhb++ btw thanks for that link, glad to see it's still being worked on.
<{^_^}>
srhb's karma got increased to 122, it's a crit!
<srhb>
woo, crit.
stiell has joined #nixos
<cole-h>
:D
rajivr has quit [Quit: Connection closed for inactivity]
codygman has quit [Ping timeout: 258 seconds]
codygman has joined #nixos
<GolDDranks>
How do I ensure that a command is in $PATH? The Makefile calls depmod, which, I think is in kmod package. I brought kmod to scope, but no avail.
<NieDzejkob>
rnhmjoj: perhaps check which of the parents of the merge commit fail the test
mariatsji has joined #nixos
D_ has quit [Ping timeout: 240 seconds]
D_ has joined #nixos
<rnhmjoj>
NieDzejkob: i've bisected the staging branch and i received a more puzzling result. something like "the merge base is bad: this means the bug has been fixed between A and [B]"
heywoodlh1 has joined #nixos
ransom has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Ankhers>
I'm attempting to cross compile sqlite3. But it seems like my glibc does not include stubs-32.h, only stubs-64.h. Does anyone know how I could be able to get a version of glibc that includes the 32bit headers?
puck has quit [Ping timeout: 265 seconds]
<Ankhers>
It used to be there. This worked a month or so ago.
puck has joined #nixos
<{^_^}>
[nixpkgs] @hotlineguy opened pull request #97995 → melody: init at 2.2.1 → https://git.io/JU4Bv
<clever>
Ankhers: how are you doing the cross-compile? to which arch?
<Ankhers>
It is actually being done through cargo (rust's package manager). I am trying to build to i686-linux-android
<clever>
Ankhers: did you tell nix to give a cross compiler?
<clever>
Ankhers: pkgsi686Linux.stdenv would give you a 32bit env
<NieDzejkob>
how can I use nix-shell -p to get a shell with python and its z3 module? I believe I need to use an attribute path to specify the latter...
sigmundv_ has quit [Read error: Connection reset by peer]
<Ankhers>
Would it be possible to just have it in my env? I need to build for a handful of archs.
<Ankhers>
And no, I haven't told nix specifically about a cross compiler, because this just worked a month or so ago.
sigmundv_ has joined #nixos
<clever>
Ankhers: the compilers in nix arent meant to really work like that, you need to load into a nix-shell for the target you want to build for
<NieDzejkob>
clever: thanks, that worked!
DAUS has joined #nixos
knupfer has quit [Quit: knupfer]
knupfer1 has joined #nixos
kleisli__ has quit [Ping timeout: 244 seconds]
knupfer has joined #nixos
DAUS has quit [Max SendQ exceeded]
DAUS has joined #nixos
<vifon>
I'm trying to run a 32-bit Steam game. I've followed the wiki instructions for Steam but the game cannot start with the following output:
<vifon>
> The file './Shadowrun' does not exist or could not be executed.
<{^_^}>
error: syntax error, unexpected $undefined, expecting ')', at (string):323:10
<clever>
vifon: you have to patchelf it, like any other binary you get from outside of nixos
knupfer1 has quit [Ping timeout: 244 seconds]
<vifon>
I guess it was a bad idea to try NixOS and this "gaming on Linux" thing at the same time. :)
gustavderdrache has quit [Quit: Leaving.]
<vifon>
It's hard to reason what causes what.
<clever>
vifon: i have been running steam on nixos without too many issues
<clever>
it uses a chroot env to avoid the need to patchelf
<vifon>
Do you mean steam-run or something more?
ransom has joined #nixos
sangoma has quit [Ping timeout: 246 seconds]
<clever>
vifon: just `steam` and nothing more
<vifon>
So… it should work?
<clever>
then i get the whole steam gui and things just work
<vifon>
The Steam GUI, and Darkest Dungeon too, works.
<vifon>
But Shadowrun Returns doesn't.
<clever>
does it show errors in the terminal when you try to run it from steam?
noudle has joined #nixos
<vifon>
Would running Steam from the terminal and then launching the game as usual suffice?
<clever>
yeah
romildo has joined #nixos
<vifon>
Nothing unusual there.
romildo has left #nixos [#nixos]
<{^_^}>
[nixpkgs] @mvnetbiz opened pull request #97996 → pythonPackages.bcrypt: use 3.1.x for python older than 3.6 → https://git.io/JU4BA
<vifon>
ERROR: ld.so: object '/home/vifon/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
<vifon>
…apart from that…
<clever>
thats normal
boxscape has joined #nixos
<vifon>
Thought so.
<mmcar>
Hi, are newbie questions allowed here? I haven't tried NixOS yet (or guix) but I've read guix has a really really powerful emacs interface. I was wondering if Nix has something close to that or if it's even something that would make sense given the differences between nix and guile?
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<clever>
vifon: if you want to run it without the gui, youll either need steam-run or patchelf
xd1le has quit [Remote host closed the connection]
<vifon>
I'm fun with the GUI. The game "flashes" but doesn't run.
<vifon>
*fine
zupo has joined #nixos
<vifon>
I was trying to run it manually to debug it. Apparently not well enough as I didn't expect all the shenanigans Steam itself adds.
<clever>
vifon: ive had trouble debugigng things too, because the steam DRM stops you from running the game outside of steam
<ixxie>
It seems the package krita is at 4.3 on unstable, but that isn't on nixos-unstable yet?
<ixxie>
How can I double check this?
tobeportable has quit [Ping timeout: 244 seconds]
<vifon>
I guess I'll check with Proton now. :/
<ddellacosta>
hey folks, I'm trying to install VCV Rack and getting a 404 error when it tries to download a bitbucket dependency. It looks like the fetchFromBitbucket helper tries to pull a tar.gz by default, but for whatever reason I'm only seeing a zip file in the bitbucket repo. https://bitbucket.org/jpommier/pffft/downloads/?tab=downloads
<ddellacosta>
anyways, that's the diagnosis, but I'm wondering if anyone can suggest a workaround?
<{^_^}>
[nixpkgs] @romildo opened pull request #97997 → enlightenment.evisum: init at 0.5.5 → https://git.io/JU4RC
alp has joined #nixos
<evils>
ixxie: i'm not sure what search.nixos.org's "unstable" uses, i suspect nixos-unstable rather than nixpkgs-unstable; checking the nixos-unstable branch of the repo shows it's 4.3.0 there too
<ddellacosta>
like, I'm assuming I can swap the tarball for the zip download, but I'm not good enough at nix to know how to intervene manually just for that step
<ddellacosta>
zip <-> tarball
<ixxie>
evils: wonder why I am getting 4.2.7 then... :/
<evils>
ixxie: updated your channel?
<ixxie>
evils: aaah
<ixxie>
is there a way to autoupdate my channel?
<Anton64>
How would I add some latex functionality to a Haskell package?
<Anton64>
I mean, I can't just add `nix-env -iA nixpkgs.texlive.combined.scheme-basic` as a cabal extra library, can I?
<Anton64>
`texlive.combined.scheme-basic` I mean
davidv7 has quit [Ping timeout: 240 seconds]
mmohammadi98124 has joined #nixos
mmohammadi9812 has quit [Read error: Connection reset by peer]
mmohammadi98124 is now known as mmohammadi9812
<{^_^}>
[nixpkgs] @bennofs merged pull request #97478 → nixos/shadowsocks: add test without plugin → https://git.io/JUnjp
<aleph->
Hmm, stupid question ryantm. I have a fork of home-manager I'm trying to include in my nixOS config. I import yours via `["${builtins.fetchTarball ...}"]` however it seems just subbing out yours for my git url doesn't seem to work, is there an easy way for me to ensure home-manager is uninstalled from the store first and then reinstall from my repo?
<{^_^}>
[nixpkgs] @risicle opened pull request #98016 → pythonPackages.sievelib: fix build by adding patch → https://git.io/JU42u
<ryantm>
aleph-: I have to leave soon, but can you post your code, so I can see it later?