<{^_^}>
[nixpkgs] @cdepillabout pushed 2 commits to haskell-updates: https://git.io/JLN0K
<pushqrdx>
the answer to my question was yes, you can pass multiple pathes to have the same effect of nix-channel but using a local directory
<pushqrdx>
i use -I nixpkgs=/path/to/stable/fork -I nixpkgs-unstable=/path/to/unstable/fork and i can import the unstable one from configuration.nix and either
<pushqrdx>
a) overlay the stable one with packages from unstable
<pushqrdx>
b) use an unstable package directly, like unstable.vim
supersandro2000 has quit [Disconnected by services]
supersandro2000 has joined #nixos
lord| has quit [Ping timeout: 256 seconds]
<{^_^}>
[nixpkgs] @purcell opened pull request #108533 → [hdf4] Fix build on Darwin, which blocked gdal, postgis and more → https://git.io/JLN0D
<pushqrdx>
you just need to declare an expression at the top with let unstable = import <nixpkgs-unstable> in
<sss2>
hi all, is it possible to configure beesd (btrfs deduplication) to start it manually ? i mean set database and server, but not start it automatically
pushqrdx has quit [Remote host closed the connection]
<abathur>
oops :D
mbrgm has quit [Ping timeout: 264 seconds]
mbrgm_ is now known as mbrgm
<abathur>
I'm a little flummoxed by why I can run something like `nix-build . -A spago.passthru.tests` and get a failure that indicates it at least tried to run the tests
mschwaig has quit [Quit: WeeChat 3.0]
<abathur>
while I can add a `passthru.tests = ANYTHING;` to an existing derivation in nixpkgs, and `nix build . -A blah.passthru.tests` just yields something like `attribute 'tests' in selection path '<blah>.passthru.tests' not found`
<donofrio>
ls: /nix/store/xrhz3kqph9yq9bb1zc4n05yih12qvcdi-pianobar-2020.04.05.tar.bz2: No such file or directory
haritz has quit [Ping timeout: 240 seconds]
mschwaig has quit [Quit: WeeChat 3.0]
mschwaig has joined #nixos
haritz has joined #nixos
haritz has quit [Changing host]
haritz has joined #nixos
realrokka has quit [Ping timeout: 268 seconds]
inkbottle has joined #nixos
zebrag has quit [Ping timeout: 240 seconds]
eacameron has quit [Quit: Connection closed for inactivity]
realrokka has joined #nixos
inkbottle is now known as zebrag
troydm has quit [Quit: What is Hope? That all of your wishes and all of your dreams come true? To turn back time because things were not supposed to happen like that (C) Rau Le Creuset]
<{^_^}>
[nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JLNzy
<lukegb>
donofrio: what does, hmm, `nix-build '<nixpkgs>' -A pianobar.src --option substitute false` get you?
<lukegb>
does it just print /nix/store/xrhz3kqph9yq9bb1zc4n05yih12qvcdi-pianobar-2020.04.05.tar.bz2
<iqubic>
It is possible to tell my nix-shell to use a certain version of Haskell when pulling in deps?
<lukegb>
hmm, donofrio, do you have a /nix/store/sbr0zd0ww7mxycl3m7h7q9k2a8v4cd9c-pianobar-2020.04.05.tar.bz2.drv (or more generally a /nix/store/*-pianobar-*.bz2.drv
<veleiro>
does anyone know what this error may be regarding? i cant seem to fix the
<lukegb>
if you `nix-store -r /nix/store/xh4bypkzpd69mh78idi6hgx25gb6cxy7-pianobar-2020.04.05.tar.bz2.drv` does it just print /nix/store/xrhz3kqph9yq9bb1zc4n05yih12qvcdi-pianobar-2020.04.05.tar.bz2 again? :p
<lukegb>
(I'm sure there's something Very Silly I'm overlooking)
<lukegb>
(presumably that still doesn't exist; if you `nix-store --delete /nix/store/xrhz3kqph9yq9bb1zc4n05yih12qvcdi-pianobar-2020.04.05.tar.bz2` and then do `nix-store -r /nix/store/xh4bypkzpd69mh78idi6hgx25gb6cxy7-pianobar-2020.04.05.tar.bz2.drv` does it do anything different?)
iqubic has left #nixos ["ERC (IRC client for Emacs 28.0.50)"]
lordcirth has quit [Remote host closed the connection]
<lukegb>
I would, err, carefully remove the /Users/lewisdonofrio/result* symlinks, and then trying doing `nix-store --delete /nix/store/xrhz3kqph9yq9bb1zc4n05yih12qvcdi-pianobar-2020.04.05.tar.bz2` again
<donofrio>
lukegb, uh what?
<lukegb>
it's weird you ended up in this state though
thibm has joined #nixos
<donofrio>
lukegb, I agree
<lukegb>
So: nix thinks that /nix/store/xrhz3kqph9yq9bb1zc4n05yih12qvcdi-pianobar-2020.04.05.tar.bz2 is alive because it's referenced by something referenced by a result symlink; the carefully is because if you do a Nix GC it'll eat all of your built toolchain bits
<lukegb>
(well, not necessarily a result symlink, but a GC root in general; you get the idea)
<donofrio>
lukegb, hu? what should I try next?
<lukegb>
in /Users/lewisdonofrio/ you have a bunch of symlinks named result, result-dev, result-2-dev, etc.
<lukegb>
if you remove those, then you should be able to `nix-store --delete /nix/store/xrhz3kqph9yq9bb1zc4n05yih12qvcdi-pianobar-2020.04.05.tar.bz2`
red[evilred] has quit [Quit: Idle timeout reached: 10800s]
<lukegb>
donofrio: aight, try the original nix-shell thing again (with the substitute false)?
<lukegb>
(it pulled the source from the nixos cache but it's just the source tarball so it should be alright)
<donofrio>
lukegb, it's making now....
* lukegb
drumrolls
KarlJoad has joined #nixos
<KarlJoad>
Is there a meta attribute for original package maintainer?
<iddt>
i think i've found some firmware i need to install to override the default ath10k wireless kernel module, and it's here, but i'm not sure how to change my configuration.nix to install it. can anyone point me to a tutorial?
<iddt>
lukegb: so you're saying that with the RedistributableFirmware thing, it'll automatically grab the most specific firmware for my devices and use that to override the default?
mkaito has quit [Quit: WeeChat 3.0]
<lukegb>
from the package - if you want to replace it with something (a more recent build?) you'll have to do that yourself
quinn has quit [Ping timeout: 260 seconds]
<iddt>
lukegb: i took a look, and it's got the files i want. you're saying it'll basically know to load those instead of the default driver, ya?
<lukegb>
I mean, they should be being loaded already if your card is working iiuc
<iddt>
lukegb: then what does the enableRedistributableFirmware flag do?
<lukegb>
it enables the firmware (i.e. it makes it available to the kernel to load)
<iddt>
lukegb: k so you're saying that if i was already loading an ath10k driver, and it was working (even though the firmware is crashing with regularity), that it is probably already from that redistributable firmware archive?
<lukegb>
probably? I don't know the specifics of the ath10k driver but I'd be surprised if it worked without any firmware at all
KarlJoad has joined #nixos
<iddt>
lukegb: it "works" without that enableRedistributaleFirmware flag set, but it basically works until it crashes, which is why i'm trying to improve things. :)
<lukegb>
huh, alright
<lukegb>
well, try setting the flag?
<iddt>
yessir, and then just a rebuild switch, and it'll start up w/o having to reboot, because it's a module, ya?
<veleiro>
hmm
<veleiro>
what is it with home-manager and nixos versions
ransom has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<KarlJoad>
bqv: I'm sorry, but I didn't get the chance to see if you responded about a meta.authors possibly existing. Having Internet/router issues. What was your answer?
<bqv>
"no"
<bqv>
(basically)
<KarlJoad>
Gotcha. No worries. I just wanted to give credit to the proper people.
<iddt>
lukegb: do you know given a module name like ath10k_pci how to find out where it was loaded from, just to confirm that i'm using a new version?
<{^_^}>
[nixpkgs] @peterhoeg opened pull request #108546 → clinfo: make it build again → https://git.io/JLNwl
kalbasit has joined #nixos
quinn has joined #nixos
<{^_^}>
[nixpkgs] @cpcloud opened pull request #108547 → podman: add nvidia runtime support → https://git.io/JLNwz
<iddt>
lukegb: thanks for your help!
iddt has quit [Quit: iddt]
<KarlJoad>
For a package with a license of GPLv2+ or later, how would I represent the "later" part in meta.licenses?
zebrag has quit [Quit: Konversation terminated!]
zebrag has joined #nixos
justanotheruser has joined #nixos
<energizer>
KarlJoad: isnt that what the plus means?
jmeredith has quit [Quit: Connection closed for inactivity]
<Wulfsta>
So I want to set up a mail server on a VPS that I'm running NixOS on - this is a pretty big topic and I'm lacking knowledge on it, can anyone give me a jumping off point for this type of thing? More specifically, are there any NixOS projects to make this configuration easier?
veleiro has quit [Read error: Connection reset by peer]
<{^_^}>
[nixpkgs] @jonringer pushed commit from @r-ryantm to master « python37Packages.trimesh: 3.8.19 -> 3.9.1 »: https://git.io/JLNo0
kalbasit has quit [Ping timeout: 240 seconds]
<donofrio>
lukegb, we'll pick this up tomorrow....yes it's crashing python
ghasshee has joined #nixos
<donofrio>
lukegb, I think that is why I started looking how to install pythonfull93 (or whatever is it called) nite and thank you for helping me fix pianobar at least tonight
Volk has quit [Quit: See you next time!]
Jd007 has joined #nixos
Jd007 has quit [Client Quit]
<KarlJoad>
What is the appropriate way to give the meta.license for a package that uses the freebsd license?
Jd007 has joined #nixos
Supersonic112 has joined #nixos
veleiro has joined #nixos
troydm has quit [Quit: What is Hope? That all of your wishes and all of your dreams come true? To turn back time because things were not supposed to happen like that (C) Rau Le Creuset]
troydm has joined #nixos
Supersonic has quit [Ping timeout: 268 seconds]
Supersonic112 is now known as Supersonic
<qyliss>
KarlJoad: is that the two-clause one?
<hexa->
KarlJoad: bsd2 or bsd3
<qyliss>
if so it's licenses.bsd2
<KarlJoad>
qyliss: I don't know which it is, and I don't have any particular interest in `grep`ing around for the answer, but if I need to select between bsd2 or bsd3, then I will.
<{^_^}>
[nixpkgs] @jonringer pushed commit from @r-ryantm to master « python37Packages.pylast: 4.0.0 -> 4.1.0 »: https://git.io/JLNPY
<KarlJoad>
clever: I'm doing this from `nix repl` so that I can try to evaluate the whole attr set at once.
<clever>
KarlJoad: you can still `nix repl --show-trace`
<clever>
it sets a global var, that causes exceptions to also print a stack trace
<KarlJoad>
I... did not know that.
<KarlJoad>
Found it. octave has a library called gsl, which requires pkgs.gsl. I confused them and ended up referring to octave's gsl as a buildInput. Whoops...
<sss2>
hi all, does host for offloading builds for i686 have any specific requirements ?, i am noticed what already few packages wich require huge amount of ram during linking phase failing with not enough ram on machine with 256 gb ram
palo has quit [Ping timeout: 264 seconds]
palo1 is now known as palo
<tpw_rules>
what packages?
<bqv>
on a scale of 1 to DoNotDoThis, how bad is it to just set hydra's evaluator to my user, so it can access my local repo without a load of painful fuss
<bqv>
cause past eval it doesn't matter, but eval needs my files and it's looking to be a pain in the arse
<{^_^}>
[nixpkgs] @marsam opened pull request #108574 → aws-c-cal: fix build on darwin → https://git.io/JLNFA
psy3497 has quit [Ping timeout: 264 seconds]
jboy has left #nixos ["WeeChat 3.0"]
<thibm>
I have a non-python package which uses python for its tests. Since last version, it has a simple python wrapper which is used in the tests instead of subprocess.
stteevveen has joined #nixos
<thibm>
A "pip install ./python/" (which contains the new wrapper) had been added to tox.ini.
<thibm>
I do not use tox in the Nix package for various reasons, but directly use pytest. The problem is that I get an error on the import line for this module in the conftest.py file and I'm not sure how to deal with this use case in Nix.
<thibm>
Do you know if other packages have the same use case or how to fix that
<thibm>
?
stteevveen has quit [Remote host closed the connection]
<{^_^}>
[nix] @edolstra merged pull request #4310 → Add x86_64-darwin and aarch64 to "extra-platforms" automatically when Rosetta2 is detected → https://git.io/JIYt3
<{^_^}>
[nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JLNN3
Darkmatter66 has quit [Quit: ZNC 1.7.5 - https://znc.in]
<kini>
thibm: I don't know if there's a standard pattern for something like that, but how are you running pytest directly in your old Nix expression? Python must be an input of the expression, right? Then maybe you can build a custom Python which has the stuff in ./python/ installed as well, and use that instead?
<adisbladis>
You should probably disregard the wrapper?
<steveeJ>
is it possible to merely do a binary cache lookup for a derivation?
thc202 has joined #nixos
<kini>
thibm: my thought was that maybe you can write a small expression for the python module in ./python/ (similar to the ones in the python-modules directory in nixpkgs), and then insert it into the argument of python.withPackages. I'm not sure how to do that, though, since I'm not sure if python.withPackages plays well with python module expressions that aren't from its built-in set in nixpkgs (?)
<thibm>
adisbladis: the wrapper is used in the test fixture so that seems difficult
<thibm>
kini: I see
<kini>
Directly hacking PYTHONPATH is certainly one way to go. I don't think it's such a big deal - there are definitely packages in nixpkgs which hack PYTHONPATH, and especially if it's just in the check phase I think it would be fine
<adisbladis>
thibm: Couldn't you just remove it and symlink the wrapper path to your python interpreter?
<thibm>
kini: hacking PYTHONPATH actually works. (I thought I had tried that already)
Darkmatter66 has quit [Quit: ZNC 1.7.5 - https://znc.in]
<kini>
ah, when you said "seems wrong" I thought you meant it seemed "morally" wrong, not that it didn't work, haha
<kini>
but if it works, great
<thibm>
adisbladis: The "wrapper" is python module which exposes the package IPC as python function
<thibm>
kini: yeah I thought I had already tried that last week and that I did not work, but apparently not. I still think it's not a good solution though ;)
superherointj has joined #nixos
Darkmatter66 has joined #nixos
<kini>
fair enough :)
<superherointj>
Hello. I'm doing a PR to Nixpkgs. And I want to clarify the commit line: "vscode-extensions: donjayamanne.githistory: init at 0.6.14" is this the way it is expected?
__monty__ has joined #nixos
fendor has joined #nixos
<qyliss>
superherointj: I'd do "vscode-extensions.donjayamanne.githistory: init at 0.6.14"
<thibm>
I think I'll stick to the PYTHONPATH hack for now. It's only for the test phase so I think it's OK. Maybe reviewers will have bette ideas with the code.
<thibm>
next step: make toPythonModule works on the package
<thibm>
Thanks for your help
<superherointj>
qyliss, the name of extension has dot but it is not really a submodule.
<qyliss>
what's the attribute you use to build it?
<qyliss>
because that's what the commit message should start with
<supersandro2000>
thibm: pytestCheckHook please
<superherointj>
qyliss, it is not a derivation. It's a JSON record. So it can't be built the Nix way.
<thibm>
supersandro2000: yes that was on my todo list once I fixed the first issue
<superherointj>
Sorry. It is not JSON.
<superherointj>
I meant to say, it is not a derivation but a set only.
<qyliss>
oh you're saying vscode-extensions is a set
<qyliss>
right, yes, I wasn't disputing that
<attila_lendvai>
i'm wondering what's the preferred way to install packages: add them to my /etc/configuration.nix and nixos-rebuild switch, or "nix-env -iA nixos.nix-review" under my user... e.g. for later reinstalling and moving my environment to a new machine, etc.
<qyliss>
attila_lendvai: former
<qyliss>
superherointj: you are introducing the derivation vscode-extensions.donjayamanne.githistory
daGrevis has quit [Read error: Connection reset by peer]
<qyliss>
you build it with nix-build -A
<qyliss>
* you build it with nix-build -A vscode-extensions.donjayamanne.githistory
<qyliss>
therefore, the commit message should start with "vscode-extensions.donjayamanne.githistory: "
<attila_lendvai>
qyliss, that was my uninformed intuition also, but it's a bit more hassle than the latter. thanks!
<superherointj>
Allright. I'll do this way. Thanks!
JJJollyjim has quit [Quit: Bridge terminating on SIGTERM]
mt[m] has quit [Quit: Bridge terminating on SIGTERM]
maralorn has quit [Quit: Bridge terminating on SIGTERM]
NickHu has quit [Quit: Bridge terminating on SIGTERM]
hiroshi[m] has quit [Quit: Bridge terminating on SIGTERM]
alexfmpe has quit [Quit: Bridge terminating on SIGTERM]
yurb has quit [Quit: Bridge terminating on SIGTERM]
Ericson2314 has quit [Quit: Bridge terminating on SIGTERM]
tcakoi has quit [Quit: Bridge terminating on SIGTERM]
aynish has quit [Quit: Bridge terminating on SIGTERM]
nh2[m] has quit [Quit: Bridge terminating on SIGTERM]
domenkozar[m] has quit [Quit: Bridge terminating on SIGTERM]
mica[m] has quit [Quit: Bridge terminating on SIGTERM]
jschievink has quit [Quit: Bridge terminating on SIGTERM]
nikola[m] has quit [Quit: Bridge terminating on SIGTERM]
jtojnar has quit [Quit: Bridge terminating on SIGTERM]
Dandellion has quit [Quit: Bridge terminating on SIGTERM]
leibniz[m] has quit [Quit: Bridge terminating on SIGTERM]
inquisitiv3 has quit [Quit: Bridge terminating on SIGTERM]
rednaZ[m] has quit [Quit: Bridge terminating on SIGTERM]
jollyrogue[m] has quit [Quit: Bridge terminating on SIGTERM]
fgaz has quit [Quit: Bridge terminating on SIGTERM]
worldofpeace has quit [Quit: Bridge terminating on SIGTERM]
madnat has quit [Quit: Bridge terminating on SIGTERM]
eadwu has quit [Quit: Bridge terminating on SIGTERM]
cyberwolf[m] has quit [Quit: Bridge terminating on SIGTERM]
daemon1024 has quit [Quit: Bridge terminating on SIGTERM]
Notkea[m] has quit [Quit: Bridge terminating on SIGTERM]
ChrisOboe[m] has quit [Quit: Bridge terminating on SIGTERM]
colemickens has quit [Quit: Bridge terminating on SIGTERM]
nasirhm has quit [Quit: Bridge terminating on SIGTERM]
goibhniu has quit [Quit: Bridge terminating on SIGTERM]
as3ii[m] has quit [Quit: Bridge terminating on SIGTERM]
thefloweringash has quit [Quit: Bridge terminating on SIGTERM]
ilya-fedin has quit [Quit: Bridge terminating on SIGTERM]
hsiktas[m] has quit [Quit: Bridge terminating on SIGTERM]
bk1603[m] has quit [Quit: Bridge terminating on SIGTERM]
ThaEwat has quit [Quit: Bridge terminating on SIGTERM]
codebam has quit [Quit: Bridge terminating on SIGTERM]
boogiewoogie[m] has quit [Quit: Bridge terminating on SIGTERM]
madonius[m] has quit [Quit: Bridge terminating on SIGTERM]
nicolas[m] has quit [Quit: Bridge terminating on SIGTERM]
ram19890[m] has quit [Quit: Bridge terminating on SIGTERM]
nikivi[m] has quit [Quit: Bridge terminating on SIGTERM]
aterius has quit [Quit: Bridge terminating on SIGTERM]
qbit[m] has quit [Quit: Bridge terminating on SIGTERM]
timokau[m] has quit [Quit: Bridge terminating on SIGTERM]
pierre_rannou[m] has quit [Quit: Bridge terminating on SIGTERM]
lostnet[m] has quit [Quit: Bridge terminating on SIGTERM]
aveeran[m] has quit [Quit: Bridge terminating on SIGTERM]
mathyouguy has quit [Quit: Bridge terminating on SIGTERM]
neonfuz2 has quit [Quit: Bridge terminating on SIGTERM]
pheoxy has quit [Quit: Bridge terminating on SIGTERM]
crazazy[m] has quit [Quit: Bridge terminating on SIGTERM]
humancalico[m] has quit [Quit: Bridge terminating on SIGTERM]
theduke has quit [Quit: Bridge terminating on SIGTERM]
saigon[m] has quit [Quit: Bridge terminating on SIGTERM]
arcnmx has quit [Quit: Bridge terminating on SIGTERM]
Ke has quit [Quit: Bridge terminating on SIGTERM]
notgne2[m] has quit [Quit: Bridge terminating on SIGTERM]
wenngle[m] has quit [Quit: Bridge terminating on SIGTERM]
critbase[m] has quit [Quit: Bridge terminating on SIGTERM]
musicmatze has quit [Quit: Bridge terminating on SIGTERM]
anna[m] has quit [Quit: Bridge terminating on SIGTERM]
hpfr has quit [Quit: Bridge terminating on SIGTERM]
deoxal[m] has quit [Quit: Bridge terminating on SIGTERM]
ptotter[m] has quit [Quit: Bridge terminating on SIGTERM]
pinage404[m] has quit [Quit: Bridge terminating on SIGTERM]
bohan[m] has quit [Quit: Bridge terminating on SIGTERM]
thomas-matrix[m] has quit [Quit: Bridge terminating on SIGTERM]
berberman[T] has quit [Quit: Bridge terminating on SIGTERM]
Valodim[m] has quit [Quit: Bridge terminating on SIGTERM]
manveru[m] has quit [Quit: Bridge terminating on SIGTERM]
bbigras has quit [Quit: Bridge terminating on SIGTERM]
rnhmjoj has quit [Quit: Bridge terminating on SIGTERM]
trajanus[m] has quit [Quit: Bridge terminating on SIGTERM]
jdnixx[m] has quit [Quit: Bridge terminating on SIGTERM]
bachp has quit [Quit: Bridge terminating on SIGTERM]
helpidentify[m] has quit [Quit: Bridge terminating on SIGTERM]
michaelpj has quit [Quit: Bridge terminating on SIGTERM]
axx has quit [Quit: Bridge terminating on SIGTERM]
cryptkeeper_x[m] has quit [Quit: Bridge terminating on SIGTERM]
elie144[m] has quit [Quit: Bridge terminating on SIGTERM]
yuu[m] has quit [Quit: Bridge terminating on SIGTERM]
f00860[m] has quit [Quit: Bridge terminating on SIGTERM]
Poscat[m] has quit [Quit: Bridge terminating on SIGTERM]
davidak[m] has quit [Quit: Bridge terminating on SIGTERM]
avalenn has quit [Quit: Bridge terminating on SIGTERM]
grin[m] has quit [Quit: Bridge terminating on SIGTERM]
ziguana[m] has quit [Quit: Bridge terminating on SIGTERM]
danielrf[m] has quit [Quit: Bridge terminating on SIGTERM]
dxb[m] has quit [Quit: Bridge terminating on SIGTERM]
guixos[m] has quit [Quit: Bridge terminating on SIGTERM]
BjrnForsman[m] has quit [Quit: Bridge terminating on SIGTERM]
anjoletto[m] has quit [Quit: Bridge terminating on SIGTERM]
edude03 has quit [Quit: Bridge terminating on SIGTERM]
atemu12[m] has quit [Quit: Bridge terminating on SIGTERM]
littlebenlittle[ has quit [Quit: Bridge terminating on SIGTERM]
ydlr[m] has quit [Quit: Bridge terminating on SIGTERM]
bsima[m] has quit [Quit: Bridge terminating on SIGTERM]
lytedev[m] has quit [Quit: Bridge terminating on SIGTERM]
agentofuser has quit [Quit: Bridge terminating on SIGTERM]
nbonfils[m] has quit [Quit: Bridge terminating on SIGTERM]
drozdziak1 has quit [Quit: Bridge terminating on SIGTERM]
chreekat[m] has quit [Quit: Bridge terminating on SIGTERM]
kloenk has quit [Quit: Bridge terminating on SIGTERM]
stalactite[m] has quit [Quit: Bridge terminating on SIGTERM]
Yakulu[m] has quit [Quit: Bridge terminating on SIGTERM]
Hm7000 has quit [Quit: Bridge terminating on SIGTERM]
deselby has quit [Quit: Bridge terminating on SIGTERM]
kraem has quit [Quit: Bridge terminating on SIGTERM]
coolneng[m] has quit [Quit: Bridge terminating on SIGTERM]
scheibenkleister has quit [Quit: Bridge terminating on SIGTERM]
AntonioYang[m] has quit [Quit: Bridge terminating on SIGTERM]
dbirks[m] has quit [Quit: Bridge terminating on SIGTERM]
maximumtix[m] has quit [Quit: Bridge terminating on SIGTERM]
solomon[m] has quit [Quit: Bridge terminating on SIGTERM]
sefu[m] has quit [Quit: Bridge terminating on SIGTERM]
helithumper[m] has quit [Quit: Bridge terminating on SIGTERM]
themalik[m] has quit [Quit: Bridge terminating on SIGTERM]
kcwesley[m] has quit [Quit: Bridge terminating on SIGTERM]
mickbrooks[m] has quit [Quit: Bridge terminating on SIGTERM]
emily has quit [Quit: Bridge terminating on SIGTERM]
mcbits[m] has quit [Quit: Bridge terminating on SIGTERM]
george[m] has quit [Quit: Bridge terminating on SIGTERM]
b1nch0[m] has quit [Quit: Bridge terminating on SIGTERM]
yog[m] has quit [Quit: Bridge terminating on SIGTERM]
tyrion-mx has quit [Quit: Bridge terminating on SIGTERM]
stu_[m] has quit [Quit: Bridge terminating on SIGTERM]
arghzero[m] has quit [Quit: Bridge terminating on SIGTERM]
spinlock[m] has quit [Quit: Bridge terminating on SIGTERM]
vegan_power[m] has quit [Quit: Bridge terminating on SIGTERM]
anonymouserobot[ has quit [Quit: Bridge terminating on SIGTERM]
anzbev[m] has quit [Quit: Bridge terminating on SIGTERM]
mupf[m] has quit [Quit: Bridge terminating on SIGTERM]
albakham[m]1 has quit [Quit: Bridge terminating on SIGTERM]
OJ[m] has quit [Quit: Bridge terminating on SIGTERM]
kunrooted[m]1 has quit [Quit: Bridge terminating on SIGTERM]
felschr[m] has quit [Quit: Bridge terminating on SIGTERM]
SplitFire[m] has quit [Quit: Bridge terminating on SIGTERM]
kaziemazie[m] has quit [Quit: Bridge terminating on SIGTERM]
ragge42[m] has quit [Quit: Bridge terminating on SIGTERM]
codyopel has quit [Quit: Bridge terminating on SIGTERM]
aquarial has quit [Quit: Bridge terminating on SIGTERM]
jbal[m] has quit [Quit: Bridge terminating on SIGTERM]
JonasWouters[m] has quit [Quit: Bridge terminating on SIGTERM]
ejpcmac has quit [Quit: Bridge terminating on SIGTERM]
hazel[m] has quit [Quit: Bridge terminating on SIGTERM]
Bla[m] has quit [Quit: Bridge terminating on SIGTERM]
jakeisnt[m] has quit [Quit: Bridge terminating on SIGTERM]
Hasnep[m] has quit [Quit: Bridge terminating on SIGTERM]
puzzlewolf has quit [Quit: Bridge terminating on SIGTERM]
McSinyx[m] has quit [Quit: Bridge terminating on SIGTERM]
blindidiotgod has quit [Quit: Bridge terminating on SIGTERM]
DanielEbbert[m] has quit [Quit: Bridge terminating on SIGTERM]
psibi[m] has quit [Quit: Bridge terminating on SIGTERM]
winsome[m] has quit [Quit: Bridge terminating on SIGTERM]
Schicko has quit [Quit: Bridge terminating on SIGTERM]
witchof0x20[m] has quit [Quit: Bridge terminating on SIGTERM]
siraben has quit [Quit: Bridge terminating on SIGTERM]
Brio[m] has quit [Quit: Bridge terminating on SIGTERM]
wak-work has quit [Quit: Bridge terminating on SIGTERM]
shu9 has quit [Quit: Bridge terminating on SIGTERM]
fc[m]1 has quit [Quit: Bridge terminating on SIGTERM]
q3k[m] has quit [Quit: Bridge terminating on SIGTERM]
faya01[m] has quit [Quit: Bridge terminating on SIGTERM]
roberth has quit [Quit: Bridge terminating on SIGTERM]
stites[m]1 has quit [Quit: Bridge terminating on SIGTERM]
GabrielVolpe[m] has quit [Quit: Bridge terminating on SIGTERM]
yeongsheng_tan[m has quit [Quit: Bridge terminating on SIGTERM]
demostanis[m] has quit [Quit: Bridge terminating on SIGTERM]
beandipper[m] has quit [Quit: Bridge terminating on SIGTERM]
DavHau[m] has quit [Quit: Bridge terminating on SIGTERM]
aanderse has quit [Quit: Bridge terminating on SIGTERM]
garbas[m] has quit [Quit: Bridge terminating on SIGTERM]
msciabarra[m] has quit [Quit: Bridge terminating on SIGTERM]
slby[m] has quit [Quit: Bridge terminating on SIGTERM]
Nigel[m] has quit [Quit: Bridge terminating on SIGTERM]
noneucat has quit [Quit: Bridge terminating on SIGTERM]
zane has quit [Quit: Bridge terminating on SIGTERM]
s7evink[m] has quit [Quit: Bridge terminating on SIGTERM]
georgyo[m] has quit [Quit: Bridge terminating on SIGTERM]
willghatch has quit [Quit: Bridge terminating on SIGTERM]
qp12[m] has quit [Quit: Bridge terminating on SIGTERM]
sebibek92[m] has quit [Quit: Bridge terminating on SIGTERM]
DamienCassou has quit [Quit: Bridge terminating on SIGTERM]
Sylvain[m] has quit [Quit: Bridge terminating on SIGTERM]
Lurkki[m]1 has quit [Quit: Bridge terminating on SIGTERM]
Vanilla[m] has quit [Quit: Bridge terminating on SIGTERM]
sephi[m] has quit [Quit: Bridge terminating on SIGTERM]
neuronuser1[m] has quit [Quit: Bridge terminating on SIGTERM]
itai33[m] has quit [Quit: Bridge terminating on SIGTERM]
fintohaps[m] has quit [Quit: Bridge terminating on SIGTERM]
anderscs[m] has quit [Quit: Bridge terminating on SIGTERM]
lambdaclan has quit [Quit: Bridge terminating on SIGTERM]
printfn[m] has quit [Quit: Bridge terminating on SIGTERM]
eddyb has quit [Quit: Bridge terminating on SIGTERM]
ElXreno[m] has quit [Quit: Bridge terminating on SIGTERM]
oht[m] has quit [Quit: Bridge terminating on SIGTERM]
kfr[m] has quit [Quit: Bridge terminating on SIGTERM]
davegallant[m] has quit [Quit: Bridge terminating on SIGTERM]
kateskips has quit [Quit: Bridge terminating on SIGTERM]
Wraul[m] has quit [Quit: Bridge terminating on SIGTERM]
nocent has quit [Quit: Bridge terminating on SIGTERM]
awwayaya24hours[ has quit [Quit: Bridge terminating on SIGTERM]
ongy[m] has quit [Quit: Bridge terminating on SIGTERM]
l-as has quit [Quit: Bridge terminating on SIGTERM]
sethmdoty[m] has quit [Quit: Bridge terminating on SIGTERM]
NobbZ[m] has quit [Quit: Bridge terminating on SIGTERM]
us3r[m] has quit [Quit: Bridge terminating on SIGTERM]
mindtree[m] has quit [Quit: Bridge terminating on SIGTERM]
badmutex[m] has quit [Quit: Bridge terminating on SIGTERM]
unclechu has quit [Quit: Bridge terminating on SIGTERM]
Ox4A6F has quit [Quit: Bridge terminating on SIGTERM]
Minijackson has quit [Quit: Bridge terminating on SIGTERM]
ncm[m] has quit [Quit: Bridge terminating on SIGTERM]
sshow[m] has quit [Quit: Bridge terminating on SIGTERM]
gctaylor[m] has quit [Quit: Bridge terminating on SIGTERM]
ronny has quit [Quit: Bridge terminating on SIGTERM]
artturin has quit [Quit: Bridge terminating on SIGTERM]
petrichor has quit [Quit: Bridge terminating on SIGTERM]
ma27[m] has quit [Quit: Bridge terminating on SIGTERM]
andreas303 has quit [Quit: andreas303]
regnat has quit [Quit: Bridge terminating on SIGTERM]
fadenb[m] has quit [Quit: Bridge terminating on SIGTERM]
rschulman has quit [Quit: Bridge terminating on SIGTERM]
matute_1[m] has quit [Quit: Bridge terminating on SIGTERM]
coloneljohnby[m] has quit [Quit: Bridge terminating on SIGTERM]
immae[m] has quit [Quit: Bridge terminating on SIGTERM]
govanify has quit [Quit: Bridge terminating on SIGTERM]
bourbon has quit [Quit: Bridge terminating on SIGTERM]
kevin[m] has quit [Quit: Bridge terminating on SIGTERM]
leonardp has quit [Quit: Bridge terminating on SIGTERM]
ezioauditore[m] has quit [Quit: Bridge terminating on SIGTERM]
ms[m] has quit [Quit: Bridge terminating on SIGTERM]
philipp[m] has quit [Quit: Bridge terminating on SIGTERM]
alienpirate5 has quit [Quit: Bridge terminating on SIGTERM]
NicholasVonWolff has quit [Quit: Bridge terminating on SIGTERM]
omasanori[m] has quit [Quit: Bridge terminating on SIGTERM]
yvt[m] has quit [Quit: Bridge terminating on SIGTERM]
NomisIV[m] has quit [Quit: Bridge terminating on SIGTERM]
M3nternamehere[m has quit [Quit: Bridge terminating on SIGTERM]
ph_0x17[m] has quit [Quit: Bridge terminating on SIGTERM]
ryantm has quit [Quit: Bridge terminating on SIGTERM]
l33[m] has quit [Quit: Bridge terminating on SIGTERM]
chacki[m] has quit [Quit: Bridge terminating on SIGTERM]
Ollie[m] has quit [Quit: Bridge terminating on SIGTERM]
nilsirl[m] has quit [Quit: Bridge terminating on SIGTERM]
leons has quit [Quit: Bridge terminating on SIGTERM]
Sajesajama[m] has quit [Quit: Bridge terminating on SIGTERM]
alexrelis[m] has quit [Quit: Bridge terminating on SIGTERM]
doronbehar has quit [Quit: Bridge terminating on SIGTERM]
matthewkenigsber has quit [Quit: Bridge terminating on SIGTERM]
KaboomShebang[m] has quit [Quit: Bridge terminating on SIGTERM]
diegov_ has quit [Quit: Bridge terminating on SIGTERM]
caffoy[m] has quit [Quit: Bridge terminating on SIGTERM]
botayhard[m] has quit [Quit: Bridge terminating on SIGTERM]
tgys[m] has quit [Quit: Bridge terminating on SIGTERM]
peterhoeg has quit [Quit: Bridge terminating on SIGTERM]
hr[m] has quit [Quit: Bridge terminating on SIGTERM]
rycee has quit [Quit: Bridge terminating on SIGTERM]
srid has quit [Quit: Bridge terminating on SIGTERM]
FreeVariable has quit [Quit: Bridge terminating on SIGTERM]
andreas303 has joined #nixos
donofrio has quit [Ping timeout: 262 seconds]
donofrio 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/JLNxN
etu has quit [Quit: WeeChat 3.0]
etu has joined #nixos
<superherointj>
I plan adding 8 new VSCode extensions. Should I do it in a single PR + each extension having a separate commit message or does it need 8 PRs in separate?
<{^_^}>
[nixpkgs] @andir merged pull request #107936 → hoogle: set the host to bind on → https://git.io/JLHGY
<mananamenos>
hi, i've added nixos stable and unstable channels. Now, in my configuration.nix i want to use `(import <nixos-stable> {}).somepackage` but I can't. $NIX_PATH only contains my unstable channel. Why?
Darkmatter66 has quit [Quit: ZNC 1.7.5 - https://znc.in]
<mananamenos>
im getting libpq: failed (could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/tmp/.s.PGSQL.5432". Can't find any answer to this, never happened before in nixos
<immae>
mananamenos: do you have your socket on /run/postgresql/.s.PGSQL.5432 maybe?
bitmapper_ has joined #nixos
<mananamenos>
immae, i dont know how to check that. I run this basic configuration of postgresql like here: https://nixos.wiki/wiki/PostgreSQL.
<immae>
ls /run/postgresql/.s.PGSQL.5432
<immae>
or ls -a /run/postgresql/
<mananamenos>
immae, yes, ls returns that
<immae>
the default path changed in recent nixos channels, so your libpq is targetting the old /tmp path while postgresql is now listening on /run/postgresql
<immae>
where does your libpq come from?
mschwaig has quit [Quit: WeeChat 3.0]
ericsagnes has quit [Ping timeout: 264 seconds]
<mananamenos>
immae, dont know, how can I find that out?
<immae>
You started something to get that error, right?
superherointj has joined #nixos
<immae>
you should start there and go up until you find libpq
mschwaig has joined #nixos
<mananamenos>
immae, i have the piece of snippet declaring postgre service like in the part of deploying of this page https://nixos.wiki/wiki/PostgreSQL. I have in my configuration.nix
<mananamenos>
so i dont start anything manually
cyphase has joined #nixos
<immae>
so you’re saying that the service is failing is that it?
sss2 has quit [Remote host closed the connection]
bitmapper_ is now known as bitmapper
superherointj has quit [Read error: Connection reset by peer]
superherointj has joined #nixos
<mananamenos>
immae, i suppose
Ultrasauce has quit [Quit: Ultrasauce]
<immae>
You say "im getting libpq: failed (bla bla)", I’m asking *where* you get that error. It must come from something right? Without context I cannot help you
<mananamenos>
immae, i can use psql and I use postgres running in htop but I suddenly get this error while trying to connect programatically
<{^_^}>
[nixpkgs] @superherointj opened pull request #108584 → vscode-extensions.donjayamanne.githistory: init at 0.6.14 → https://git.io/JLATN
<leo60228>
proton logs don't have anything outside of the ordinary except for one line
<leo60228>
32-bit vulkan works in steam-run243669.312:00d0:00d4:err:wgl:X11DRV_WineGL_InitOpenglInfo couldn't initialize OpenGL, expect problems
<leo60228>
roops
<leo60228>
oops
<leo60228>
that's... probably the issue?
<leo60228>
but i'm using vulkan, not opengl, and i can't find any reason as to *why* it couldn't initialize opengl
<leo60228>
opengl in general definitely works, every linux-native game i have is fine
zebrag has joined #nixos
stree has quit [Remote host closed the connection]
<immae>
just out of nowhere, could the issue be with the 32-bit vulkain? Do you linux-native game use 32bit too?
stree has joined #nixos
<leo60228>
enabling dxvk logs it creates a logfile and doesn't write anything to it
<leo60228>
immae: i don't have any linux games that use vulkan
<leo60228>
but steam-run /path/to/i686/vulkaninfo works
stree has quit [Remote host closed the connection]
<immae>
I meant: do you have linux game that are 32bit ? if not, the issue that you see (opengl works fine on linux games and not on vulkan) might come from the fact that one is 64bit where the other one is 32bit
stree has joined #nixos
<immae>
(just a supposition, I have no better clue to give)
stree has quit [Remote host closed the connection]
thibm has quit [Ping timeout: 264 seconds]
<leo60228>
i don't *believe* so
stree has joined #nixos
<leo60228>
oh wait i do
sangoma has joined #nixos
<leo60228>
and it doesn't work
<leo60228>
so that's it, probably
<leo60228>
this worked at some point in the past because i've played this game
<leo60228>
libGL error: MESA-LOADER: failed to open radeonsi (search paths /run/opengl-driver-32/lib/dri)
<immae>
(I cannot help you more debugging that though, sorry :D )
<leo60228>
WHY ARE YOU TRYING TO LOAD radeonsi ON NAVI10
<leo60228>
(well, that isn't the issue, radeonsi is used for more than just southern islands despite the name)
<leo60228>
i've seen a few related issues on nixpkgs that imply mesa being built with glibc 2.30 is the problem
<leo60228>
but someone else would've hit that, right?
<leo60228>
libGL: MESA-LOADER: failed to open /run/opengl-driver-32/lib/dri/radeonsi_dri.so: /home/leo60228/.local/share/Steam/steamapps/common/The Stanley Parable/bin/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by /run/opengl-driver-32/lib/dri/radeonsi_dri.so)
<leo60228>
ugh
<leo60228>
seems to be gcc, not glibc
<leo60228>
and that's gonna be a *pain* to fix
qyliss has quit [Quit: bye]
<Yaniel>
ah one of those games that ship their own libc
m0rphism has joined #nixos
aswanson has joined #nixos
Jd007 has joined #nixos
qyliss has joined #nixos
stree has quit [Remote host closed the connection]
stree has joined #nixos
<{^_^}>
[nixpkgs] @peterhoeg merged pull request #108546 → clinfo: make it build again → https://git.io/JLNwl
<{^_^}>
[nixpkgs] @peterhoeg pushed to master « clinfo: make it build again »: https://git.io/JLALj
<{^_^}>
[nixpkgs] @jonringer pushed commit from @r-ryantm to master « python37Packages.elementpath: 2.0.4 -> 2.1.0 »: https://git.io/JLAte
stree has quit [Remote host closed the connection]
respawn_ has quit [Quit: Leaving]
stree has joined #nixos
olban has quit [Quit: bye]
<{^_^}>
[nixos-search] @garbas pushed to turboMaCk/keyboard-navigation « make sure to inherit from parent element »: https://git.io/JLAtO
Neo---- has joined #nixos
michiel__ has quit [Remote host closed the connection]
Neo--- has quit [Ping timeout: 240 seconds]
<{^_^}>
[nixos-search] @garbas merged pull request #260 → Add semanticaly clickable `button` element to result list → https://git.io/JLNG4
<{^_^}>
[nixos-search] @garbas pushed commit from @turboMaCk to main « Add semanticaly clickable `button` element to result list (#260) »: https://git.io/JLAtC
graf_blutwurst has quit [Read error: Connection reset by peer]
cosimone has joined #nixos
<{^_^}>
[nixos-search] @garbas pushed 0 commits to turboMaCk/keyboard-navigation: https://git.io/JLAtW
<{^_^}>
[nixos-search] @garbas pushed 15 commits to faceted-search: https://git.io/JLAtB
stree has quit [Remote host closed the connection]
stree has joined #nixos
stree has quit [Remote host closed the connection]
stree has joined #nixos
stree has quit [Remote host closed the connection]
<{^_^}>
[nixpkgs] @marsam merged pull request #108574 → nix: fix build on darwin → https://git.io/JLNFA
detran has quit [Read error: Connection reset by peer]
ericsagnes has joined #nixos
<{^_^}>
[nixpkgs] @holymonson opened pull request #108590 → generate apple packages preparing for update macos sdk → https://git.io/JLAYv
rb2k has joined #nixos
<esotericn>
is it possible to get a remote builder to pull from cache.nixos.org and then save it (on the remote box)?
<esotericn>
i've got a remote builder/binary cache setup working, but the remote builder seems to just build everything from scratch
<esotericn>
the remote builder has cache.nixos.org in the substituters, the "client" only has the remote builder (because I want it to get everything from the remote builder)
edwtjo has quit [Read error: Connection reset by peer]
thibm has quit [Quit: WeeChat 2.6]
edwtjo has joined #nixos
edwtjo has joined #nixos
<esotericn>
i have `builders-use-substitutes` enabled fwiw
<lordcirth>
esotericn, why not have cache set up on the client? Why download through the remote? Are they both on the same LAN, so you want to make sure it's downloaded once and cached?
<esotericn>
lordcirth: imagine you have ten machines connected to this one remote builder
TonyTheLion has joined #nixos
<esotericn>
i want the remote builder to build, and then save the contents there, and then you'll (ideally, if dogpiling etc doesn't exist) only ever build something once
<esotericn>
one of the ten will trigger a build, the other nine will just get it from the cache
obadz has quit [Quit: WeeChat 3.0]
<esotericn>
and yeah they're all on the same lan; right now they're both similar in terms of performance but I may upgrade the buildbox
<Lurkki[m]>
why does this give error `attribute 'defaultPackage.x86_64-linux.type' does not exist` ?
zebrag has quit [Quit: Konversation terminated!]
zebrag has joined #nixos
<pushqrdx>
veleiro yeah i know that i can do it like that, and i can also edit NIX_PATH however it might be a lot more convenient to have a channel pointing to my local folder instead
<qyliss>
pushqrdx: what difference in usage would you expect from using a local channel compared to setting NIX_PATH?
<pushqrdx>
qyliss just feeling that it's automatically handled and provided everywhere without me bothering about it
<pushqrdx>
so in nix-shells, in root/user etc
<pushqrdx>
actually not just the feeling but being universal across the nix tools this is what i meant to say more
<qyliss>
pushqrdx: you can set NIX_PATH globally...
<pushqrdx>
qyliss how?
<lordcirth__>
/etc/environment, for one
<qyliss>
yeah, same way you set any environment variable globally
<qyliss>
environment.variables.NIX_PATH on NixOS would do it
asbachb has joined #nixos
<asbachb>
Hi. I wondering how to `nix-shell` in order to have android debugging bridge `adb`
philr has quit [Ping timeout: 265 seconds]
<lordcirth__>
"nix-shell -p adb", I think?
<etu>
I know there's an option for adb: programs.adb.enable
<lordcirth__>
hmm, I don't actually see an adb package, though
<qyliss>
,locate bin adb
<{^_^}>
Found in packages: adbfs-rootless, haskellPackages.adblock2privoxy
<mananamenos>
hi, when trying to use acme service with nginx, im getting this error acme: error: 400 :: POST :: https://acme-v02.api.letsencrypt.org/acme/new-order :: urn:ietf:params:acme:error:malformed :: JWS verification error, url:
astylian has quit [Remote host closed the connection]
<fuzzypixelz>
lordcirth__: yes but how is the config written? how does it differ from configuration.nix? what features are added?
<adisbladis>
fuzzypixelz: HM instantiates your home.nix and builds it. It switches to your new nix user profile which involves setting a profile symlink and running some imperative activation scripts that installs/starts/stops units and installs files & symlinks in your homedir.
<adisbladis>
fuzzypixelz: home-manager is using a module set independent of nixpkgs, nothing is "added" in that sense
<adisbladis>
It's it's own thing
<adisbladis>
It uses the NixOS module system, but not the modules themselves
<matthewcroughan>
we don't want alpine, we don't want ubuntu, we don't want to be reliant on these unpinned monoliths with undocumented build processes for their rootfs
<lordcirth>
matthewcroughan, your nix-shell may only link to nix libs, but it still depends on the container having correct networking, init, etc
<adisbladis>
matthewcroughan: Even with a static Nix you need additional tools
<lordcirth>
lol, 5MB
<qyliss>
You'd still end up with Nix in the docker image as well, which is unncessary.
<matthewcroughan>
yeah, `FROM scratch`
styledash has joined #nixos
<matthewcroughan>
qyliss: no you would not, if done right
<pushqrdx>
can i set number of cores globally for all nix tools, from configuration.nix?
<matthewcroughan>
you would get rid of it in the second stage, meaning all you have is static binaries in the image.
<lordcirth>
pushqrdx, nix.buildCores = 4
<lordcirth>
Pretty sure that sets /etc/nix or equivalent, so global
<adisbladis>
matthewcroughan: You seem to be jumping throuh quite some hoops just to end up with a worse version than what Nix can give you natively
<pushqrdx>
lordcirth sweet :D
<matthewcroughan>
adisbladis: Do you believe Nix should be everywhere, in order to convince people to use it or not?
<matthewcroughan>
I happen to have experience with Docker. What opposition do you have to shoving it everywhere?
<qyliss>
but you have to use Nix here either way
<adisbladis>
This ^
<matthewcroughan>
Don't you think if we do this, it'll make everyone realise how awesome Nix is?
<lordcirth>
matthewcroughan, not if you do it jankily
<matthewcroughan>
Nix is a superpower.
<matthewcroughan>
It is better than apt, it is better than yum, it is better than apk.
<lordcirth>
If, on the other hand, you generate a perfectly reproducible docker container in a short configuration.nix, that would be attractive to many.
<adisbladis>
matthewcroughan: I don't think you'll find many disagreeing with that sentiment here
<matthewcroughan>
lordcirth: how are the dockerfiles reproducible, if they still rely on unreproducible images?
<matthewcroughan>
It may be that you're missing my point.
<lordcirth>
matthewcroughan, doesn't "FROM scratch" mean an empty /?
<matthewcroughan>
The example you've given me is not reproducible. Because the redis image isn't reproducible.
<adisbladis>
But if you're gonna build base images and you're using Nix anyway then involving Docker in the build proces makes it worse in many regards
<matthewcroughan>
The Dockerfile is reproducible, the artifact of running `docker build` on that Dockerfile is not reproducible.
<qyliss>
why do you want to build an image that might be reproducible if you do it right when you're already using a tool that can guarantee it?
<matthewcroughan>
I want to make both reproducible.
<{^_^}>
[nixpkgs] @viric pushed commit from @ttuegel to release-20.09 « Merge pull request #98796 from callahad/qtav »: https://git.io/JLAcB
zebrag has quit [Ping timeout: 256 seconds]
eacameron has joined #nixos
<adisbladis>
You get shitty layering, no build sandboxing, worse cache reuse etc etc
<lordcirth>
matthewcroughan, don't use docker build. Have Nix generate a docker image directly.
pushqrdx has quit [Read error: Connection reset by peer]
<matthewcroughan>
Great, and it's still better than what we have with Ubuntu/Alpine/Debian layers/base images lmfao adisbladis
<matthewcroughan>
Can you not see how this improves things? Why does it not improve things?
<qyliss>
It improves things a tiny little bit, but there's no reason to do that when we already have something much bett.r
<matthewcroughan>
By your own logic, you should hate nixos-generators.
<matthewcroughan>
Because that allows you to output a configuration as an lxc image.
<matthewcroughan>
This is about being able to use Nix in different places.
<qyliss>
By generating a Docker image with Nix, you get better layering, build sandboxing, and guaranteed reproducibility.
<matthewcroughan>
Why not both?
<adisbladis>
You can't have both
<matthewcroughan>
Why?
<adisbladis>
Because the Dockerfile model is not allowing this
<matthewcroughan>
I'm sorry, what are you saying is reproducible?
<qyliss>
Docker images built wiht Nix
<matthewcroughan>
The redis image you sent me is **not** reproducibe.
<adisbladis>
I'm talking about the layering aspect in particular
<matthewcroughan>
Yes, a text file with 10 lines in it is reproducible by nix.
<matthewcroughan>
I don't carel
<matthewcroughan>
I only care about the Dockerfile build with `docker build` being reproducable.
<qyliss>
matthewcroughan: you don't need to have a base image
<{^_^}>
[nixos-homepage] @github-actions[bot] pushed commit from GitHub Actions to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/JLAC6
hyper_ch has quit [Read error: Connection reset by peer]
tobeportable has quit [Ping timeout: 272 seconds]
hyper_ch has joined #nixos
asbachb has quit [Remote host closed the connection]
pushqrdx has joined #nixos
<pushqrdx>
is there a way to use nix-build just as a builder executer? like without creating/copying files to store?
<pushqrdx>
i want it to build in place
aleph- has joined #nixos
<qyliss>
nix-shell is the tool for that
<pushqrdx>
but with nix-shell i have to manually execute the build commands myself, overriding prefixes etc
<pushqrdx>
also it i have to manually wrap stuff to run them with LD_*, etc
<qyliss>
no, you can run individual phases e.g. configurePhase in nix-shell, or even the whole build with genericBuild
<pushqrdx>
wait what :D, how
<pushqrdx>
this is literally what i am after
<gchristensen>
it is literally what nix-shell was designed for :)
<pushqrdx>
i thought it was just to give me a, well, shell
<pushqrdx>
and i am alone afterwards
ransom has joined #nixos
<gchristensen>
yeah that is the 99% use case for most people I'm sure
<pushqrdx>
but the more i moved my build logic to default.nix the more i wish i can just use the phases from inside the shell instead of manually hacking it together myself inside
<pushqrdx>
so for instance the way i build something is by manually overriding --prefix to a local folder, then run the built binaries with LD_LIBRARY_PATH manually configured to point to my install directory
<pushqrdx>
but as you can see this sucks to do by hand
andreas303 has quit [Ping timeout: 240 seconds]
andreas303 has joined #nixos
<pushqrdx>
qyliss i can't find anything about what you said in the nix-shell man page
<qyliss>
that's because those functions are just parts of stdenv
<qyliss>
they're not special things built in to nix-shell
<qyliss>
nix-shell drops you into the build environment for your package
<fuzzypixelz>
so you just use nix repl?
<fuzzypixelz>
and load the expression?
<qyliss>
so all the bash functions and stuff Nix uses to when it's building your package are available in nix-shell
<pushqrdx>
mind explaining how can i use what you're referring your, for instance building a meson or make or cmake package?
<pushqrdx>
referring to*
<qyliss>
okay let's say I want to build, uhh, gnu make
<KarlJoad`>
pushqrdx: The phases are a part of stdenv's shell script which is sourced when you run a nix-build or nix-shell. If you enter the nix-shell and do an `export`, you can see the phases there.
<qyliss>
I go into the gnu make sources, run nix-shell -A gnumake '<nixpkgs>', and then in the shell that gives me I run genericBuild
<qyliss>
and then it builds gnu make!
<qyliss>
and then it tries to install it into /nix/store and obviously that doesn't work
KarlJoad has quit [Ping timeout: 264 seconds]
<qyliss>
I could also have built that by just running patchPhase, configurePhase, buildPhase
<qyliss>
and then it wouldn't have tried to do the whole thing and install it into the store
<pushqrdx>
is there a way to --prefix into a local folder?
<pushqrdx>
so that it installs into a local folder with all the wrappers necessary
<pushqrdx>
cuz the way i manually do it is --prefix=$PWD/install
rb2k has joined #nixos
hyper_ch has joined #nixos
<pushqrdx>
how is this not more documented even on the interwebz :D
<pushqrdx>
it's very painful to have to manually create the nix wrappers in order to execute a local build result, genericBuild seems to be the answer but i need to figure out how can i override it's install path depending on whether i am in a shell or running a build
<fuzzypixelz>
why would someone write `args@{a, b, c}`, i.e with no ellipses?
<HedgeMage>
eacameron: Zoom has screen sharing natively without emulating a camera input from your screen. Was there another use case you had in mind, or do you just need help with Zoom?
<eacameron>
HedgeMage: It doesn't seem to work on Wayland
<gchristensen>
I think it works in gnomebut not sway
<eacameron>
I'm in gnome and wayland.
<HedgeMage>
eacameron: Ahh, gotcha. I haven't tried it with Wayland; I'm still running xorg.
<gchristensen>
huh
<eacameron>
gchristensen: It just throws up a box saying it only works on Ubuntu etc.
<gchristensen>
oh cool cool cool
sangoma has joined #nixos
<maralorn>
eacameron: I have a fix for that. Wait a second.
<gchristensen>
eacameron: you could look at the oldest entries and delete the corresponding kernel, then nix-collect-garbage with `--delete-older-than` to delete some system revisions, then nixos-rebuild switch to clean up the rest of /boot
<gchristensen>
(or nixos-rebuild boot is enough)
lsix has joined #nixos
justanotheruser has joined #nixos
<steveeJ>
Ke: interesting, thanks. so if `loginctl` displays an active session for my user I should be fine?
knupfer1 has joined #nixos
knupfer1 is now known as knupfer
<eacameron>
gchristensen: Thank you! It seems all of files in /boot/EFI/nixos were modified today...
<adisbladis>
eacameron: That's normal
thc202 has quit [Quit: thc202]
<adisbladis>
They get reinstalled on generation switch
<gchristensen>
eacameron: frankly you could look at the bootloader config and find corresponding files, or you could just delete some and they'll be put back when you nixos-rebuild boot
<eacameron>
gchristensen: That second option sounds easy :D
<eacameron>
gchristensen: Oh...but that assumes that I've deleted enough generations that it doesn't put them all back :facepalm: What's the recommended way to delete old nixos generations?
<gchristensen>
nix-collect-garbage with `--delete-older-than` is what I usually do
<pushqrdx>
lukegb why the bizarre rename though
<hyper_ch>
gchristensen: ist it normal for unstable to have packages marked as non-working - hence breaking rebuild?
<eacameron>
gchristensen: Oh I have to run it as root
<lukegb>
pushqrdx: it's more specific
<eyJhb>
gchristensen: I remember a talk you did, where you showed off the awesomeness of NixOS, and you build a nixos vm. Which commands do you use for this? https://nixos.wiki/wiki/Virtualization_in_NixOS looks a bit much, in regards to what I say. Seemed like you just did `build nixos vm conf.nix`
<eacameron>
gchristensen: Aha! That worked. And in fact it seems to have automatically deleted kernels I didn't need so I didn't have to delete anything.
<lukegb>
as pointed out, buildInputs and nativeBuildInputs aren't really generic names
<pushqrdx>
lukegb what is HostHost and HostTarget then, i mean it's specific but to what what host and what target
<eyJhb>
Is there any any cheats you used for that, or is there an easy way to do so?
<cole-h>
So, finally getting around to trying your aarch64-images repo
<cole-h>
Is it possible to boot from USB with the rock64, do you know?
<cole-h>
(Only ask because my luck with SD cards hasn't been the best)
tobeportable has joined #nixos
mconnolly has joined #nixos
<lordcirth__>
cole-h, not natively AFAIK. You have to put a bootloader on the SD or internal storage that will boot the USB
<Mic92>
cole-h: it is possible Samuel also did more stuff in this direction
<Mic92>
I just used the sd card
<Mic92>
But I saw uboot even does tftp
<mconnolly>
Good afternoon folks; I am having an issue getting Nokogiri to install in a Rails project; things were fine previously when it was version 1.10.10, but it got bumped to 1.11.1, which in theory allows for pre-compiled gems to be downloaded rather than having to compile it manually. I'm not sure if bundix allows for this or not, but it doesn't compile for me any longer. My gemset.nix is
<{^_^}>
[nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JLAEs
<viq|w>
Following https://nixos.wiki/wiki/NixOS_on_ZFS and now retracing my steps in a VM because it didn't seem to work on a physical host. Two drives, mdraid mirror for /boot and zpool mirror encrypted for rest. And despite the configuration for it being there in /mnt/etc/nixos/configuration.nix neither does it prompt for zfs password, nor does it start ssh
<fuzzypixelz>
if I try to do that in the repl I get a "value is a function while a set was expected"
evanjs has quit [Read error: Connection reset by peer]
<lordcirth>
fuzzypixelz, the top-level "outputs" is a function that returns an attrset. "outputs {...args...}" is therefore an attrset
<lordcirth>
fuzzypixelz, I think the "outputs" in "// outputs" is referring to the "outputs" defined in the let at L29
<fuzzypixelz>
lordcirth: the last line is ` })) // outputs;` and outputs has no args
rb2k has joined #nixos
jmeredith has joined #nixos
<lordcirth>
it's { outputs {}: let outputs = foo in {bar} // outputs}
<lordcirth>
The shadowed names aren't great
<fuzzypixelz>
lordcirth: oh I see, I had the let in expr collapsed so I didn't see that
evanjs has joined #nixos
<viq|w>
lordcirth: "importing root ZFS pool "zroot"..............." (and more dots), until eventually "cannot import 'zroot': no such pool available" and then goes to "mounting zroot/root/nixos on /..." "mount: mounting zroot/root/nixos on /mnt-root/ failed: No such file or directory, retrying..."
<lordcirth>
viq|w, did you encrypt the whole pool, or just specific datasets?
<viq|w>
whole pool
<fuzzypixelz>
lordcirth: btw, what does the inputs@{args} syntax mean there? inputs here shadows the attr name inputs right?
chin--tastic is now known as chin-tastic
<fuzzypixelz>
if so, (which I think should be the case) why did they add no ellipses?
mkaito has joined #nixos
mkaito has joined #nixos
<bqv>
I have to use legacy mode on hydra and have a wrapper script for my flake, because it doesn't handle secrets well :(
<lordcirth>
fuzzypixelz, ellipses at the end of args means to accept and ignore additional args, IIRC; which they don't want here
veleiro` has joined #nixos
<lordcirth>
fuzzypixelz, as I understand it, the inputs@{} means that the elements of the "inputs" set are available in the scope of the {}:
mkaito has quit [Client Quit]
<veleiro`>
what's the difference between nixpkgs branch nixos-20.09
<veleiro`>
and release-20.09
<{^_^}>
[nixpkgs] @thiagokokada opened pull request #108611 → flutter: refactor derivation and bump → https://git.io/JLAuP
<lordcirth>
Not sure how it differs from "with inputs;" maybe that doesn't work with function args
<fuzzypixelz>
lordcirth: what does `inputs` refer to then?
<lordcirth>
fuzzypixelz, the list of imported flakes above.
<fuzzypixelz>
what? it doesn't shadow it?
evanjs has quit [Ping timeout: 256 seconds]
<energizer>
adisbladis: i've been trying to set up some hardware keys. so far i have yubikey working for sudo, now looking into using it for login. i saw you have some hardware keys in your config and i had a couple questions. do you touch a key for login on your desktop?
KarlJoad has joined #nixos
<fuzzypixelz>
and the attributes of inputs are again specified as arguments of `ouputs`
<fuzzypixelz>
is that redundant?
<Ox4A6F>
viq|w: networkinhg.hostid is set? Does your zpool versions differ?
lordcirth__ has joined #nixos
viq[m] has joined #nixos
lordcirth has quit [Ping timeout: 260 seconds]
evanjs has joined #nixos
<{^_^}>
[nixpkgs] @mfrischknecht opened pull request #108612 → nixos/slimserver: add perlPackages.ArchiveZip as a dependency → https://git.io/JLAzU
<{^_^}>
[nixpkgs] @fabaff opened pull request #108613 → python3Packages.pymodbus: init at 2.4.0 → https://git.io/JLAzm
<lordcirth__>
fuzzypixelz, no, it's not redundant, the arguments have to be explicit
mkaito has joined #nixos
mkaito has joined #nixos
mkaito has quit [Changing host]
dsg has quit [Remote host closed the connection]
euandreh has joined #nixos
<fuzzypixelz>
lordcirth: if the arguments should be explicit, then we're only keeping around the name of the whole set (for whatever reason), right?
<lordcirth__>
viq|w, what NixOS version are your installer and installed system?
<fuzzypixelz>
lordcirth: how is such a function called then?
zebrag has quit [Quit: Konversation terminated!]
<fuzzypixelz>
lordcirth: { args = { c = 1; }; f = args@{x, y, c}: x + y + args.c; }.f { x = 1; y = 2; } doesn't work for example
<fuzzypixelz>
% "test"
<fuzzypixelz>
> "test"
<{^_^}>
"test"
<fuzzypixelz>
> { args = { c = 1; }; f = args@{x, y, c}: x + y + args.c; }.f { x = 1; y = 2; }
<{^_^}>
'f' at (string):460:27 called without required argument 'c', at (string):460:1
dsg has joined #nixos
BlessJah has quit [Remote host closed the connection]
seku has quit [Quit: Connection closed]
zebrag has joined #nixos
zebrag has quit [Client Quit]
Mic92 has quit [Quit: WeeChat 3.0]
<fuzzypixelz>
lordcirth__: apparently I can do:
<fuzzypixelz>
> { args = { c = 1; }; f = args@{x, y, c}: x + y + args.c; }.f { x = 1; y = 2; c = 0;}
<{^_^}>
3
<fuzzypixelz>
lordcirth__: and the `c` in `args` is just ignored?
<fuzzypixelz>
no matter how I look at it, this doesn't make sense. Either I pass the c or I don't
zebrag has joined #nixos
<fuzzypixelz>
lordcirth__: If I don't, it's an error, if I do, the behaviour is not what should be
<lordcirth__>
> { args = { c = 1; }; f = args@{x, y, c}: x + y + c; }.f { x = 1; y = 2; }
<{^_^}>
'f' at (string):460:27 called without required argument 'c', at (string):460:1
<lordcirth__>
inputs@ exposes the set of args as "inputs" inside the function
mallox has quit [Quit: WeeChat 3.0]
<lordcirth__>
So the 3rd "inputs" on L45 is referring to the 2nd mention on L13, which in this case is equivalent to the 1st mention except with "self" added
TonyTheLion has quit [Ping timeout: 246 seconds]
<lordcirth__>
And "nur", whatever that is
fuiltilt has joined #nixos
<fuzzypixelz>
I find this style very confusing
<bqv>
Ok no, so what I want is to have hydra update my flake lock and build it every day or so. I'm understanding that hydra just isn't capable of that, so maybe I should have that part done using another CI that ejects a cow path?
<bqv>
I'm surely not the first person to try/want this?!
justan0theruser has joined #nixos
<fuzzypixelz>
lordcirth__: do you any idea how the `outputs` funtion is actually called? When is`nur` passed in for example? It's the nix-user-repository
<fuzzypixelz>
surely that's can't be something nix-build adds in by itself?
justanotheruser has quit [Ping timeout: 264 seconds]
<lordcirth__>
fuzzypixelz, when nix evals the flake, it reads the set of inputs and supplies them to the function. Not sure about nur getting implicitly added, haven't seen that before.
<bqv>
nur is in probably the global flake registry
<bqv>
It doesn't need an explicit inputs entry, then
TonyTheLion has joined #nixos
<bqv>
eyJhb: you have some build automation, right?
Jackneilll has quit [Ping timeout: 240 seconds]
barthalion has joined #nixos
<eyJhb>
bqv: Ehmmm... Somewhat, in what sense?
lsix has quit [Ping timeout: 264 seconds]
<bqv>
eyJhb: see above
sss2 has joined #nixos
<eyJhb>
Oh, I don't do those kind of things, sorry :/
<bqv>
Hm
wnklmnn has quit [Quit: Leaving]
tokudan has quit [Remote host closed the connection]
<energizer>
when i `nix-store --gc` then `sudo nixos-rebuild switch` then `nix-store --gc --print-dead` three paths are listed: /nix/store/d083bqgdmz2gj2qwwr0l94ij8lp65zc8-source.drv /nix/store/gdp9jlc2ax265ipw360qynns6rsw2grn-source /nix/store/lr16xc1q0r8055wk3yjaj8ldckic3rv8-source.drv
<clever>
`or` is only special if it follows something in the form of `set.key`
<clever>
when it follows anything else, it looks for the `or` variable in the current scope
<clever>
> let or = "boo!"; f = a: b: a+b; in f or "bar"
<{^_^}>
"boo!bar"
<clever>
and then its just normal function application
ransom has joined #nixos
<fuzzypixelz>
clever: thank you for the example
<fuzzypixelz>
it feels like the nix language is filled with these little "gotcha!"'s
gustavderdrache has quit [Quit: Leaving.]
<bqv>
<bqv> Ok no, so what I want is to have hydra update my flake lock and build it every day or so. I'm understanding that hydra just isn't capable of that, so maybe I should have that part done using another CI that ejects a cow path?
<clever>
> foo:bar
<fuzzypixelz>
I bet this feature was added to satisfy a very specific need for nix expressions
<bqv>
Anyone online now have any ideas?
<{^_^}>
"foo:bar"
<clever>
fuzzypixelz: if you forget a space when defining a function, it turns into a string!
<{^_^}>
[nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JLAwQ
nhs_ has joined #nixos
<fuzzypixelz>
I'm not sure what's happening exactly but here's my take: self refers to add, add // { x = 1; } is the same set but with x=1 "added", then when we call inc with 1, it's as if calling __functor { self = 1; x = 1; }
<fuzzypixelz>
I'm not sure about self though
<fuzzypixelz>
> let s = { __functor = self: x: "x = ${x}, self.x = ${self.x}; }; test = s // { x = "foo"; }; in test "bar"
<{^_^}>
error: syntax error, unexpected $end, expecting '"', at (string):460:108
<fuzzypixelz>
> let s = { __functor = self: x: "x = ${x}, self.x = ${self.x}"; }; test = s // { x = "foo"; }; in test "bar"