<supersandro2000>
be carefull! copies on stackoverflow are now limited!
thc202 has quit [Ping timeout: 245 seconds]
<hexa->
uh, meh. I didn't get that portion of js :/
Mindavi1 has quit [Read error: Connection reset by peer]
Mindavi1 has joined #nixos
rajivr has joined #nixos
Guest55480 has quit [Ping timeout: 246 seconds]
bitmapper has quit [Quit: Connection closed for inactivity]
ahmedelgabri has joined #nixos
ahmedelgabri has quit [Ping timeout: 258 seconds]
stree has quit [Ping timeout: 252 seconds]
h0m2 has quit [Ping timeout: 245 seconds]
Mindavi1 has quit [Read error: Connection reset by peer]
h0m2 has joined #nixos
Mindavi1 has joined #nixos
proofofkeags has joined #nixos
<sumner>
I'm having a weird issue with python3Packages.mpv. It uses "postPatch" to fix the sofile variable in the mpv.py file. This works if I create a shell with pkgs.python3Packages.mpv as a propagatedBuildInput. But, when I try and use it inside of a buildPythonApplication, it doesn't seem to apply the patch. Any ideas for how to debug this issue?
stree has joined #nixos
SumnerEvans[m] has joined #nixos
Jackneill has quit [Ping timeout: 240 seconds]
haritz has joined #nixos
haritz has joined #nixos
haritz has quit [Changing host]
Robozman[m] has joined #nixos
Jackneill has joined #nixos
cjb has quit []
MightyJoe has quit [Quit: I'm out!]
dotdotok has quit [Ping timeout: 268 seconds]
Mindavi1 has quit [Read error: Connection reset by peer]
<disposabled[m]>
I have the itch to try once more to figure out the world of nixos
<disposabled[m]>
So I go to nixos.org and it tells me I just have to download nix
lord| has joined #nixos
<disposabled[m]>
I already have nix
<aaronjanse>
Try scrolling down a little for the NixOS download :-)
<aaronjanse>
But
<disposabled[m]>
And that's where the hand-holding ends
<aaronjanse>
For most people, I recommend just using Nix, not NixOS
<disposabled[m]>
I want to just use nix
<aaronjanse>
Specifically, I recommend Nix alongside another package manager that you're comfortable with
<disposabled[m]>
for now
<aaronjanse>
Ah got it
<aaronjanse>
Which OS are you using?
<disposabled[m]>
I have fedora right now
<disposabled[m]>
so I nix search for a random package and it finds one, but doesn't tell me anything like version, etc. to help me know if I want this package
<disposabled[m]>
and there is no man page for nix
<aaronjanse>
Hmm, are you using `nix search`?
<aaronjanse>
Like `nix search htop`?
<disposabled[m]>
yes
<aaronjanse>
That's weird
<disposabled[m]>
it does give me the description
Mindavi1 has quit [Read error: Connection reset by peer]
<disposabled[m]>
So that's nice, but I want more
Mindavi1 has joined #nixos
<disposabled[m]>
-v doesn't help
AcademyLearnFore has joined #nixos
waleee-cl has quit [Quit: Connection closed for inactivity]
<disposabled[m]>
nix-env does better
<disposabled[m]>
As I understand it, nix lets me have two different versions of the same app
<disposabled[m]>
so if I already have it installed with my current package manager, is it safe to install it again with nix?
<abathur>
sure
AcademyLearnFore has quit [Remote host closed the connection]
<abathur>
(the nix version may or may not take precedence, when it comes to PATH resolution, but it won't otherwise clobber it)
<disposabled[m]>
ok. cool
AcademyLearnFore has joined #nixos
<disposabled[m]>
I remember when I tried this previously it seemed confusing that there as nix and nix-env, and when and how to use each
<abathur>
yeah, a little
<disposabled[m]>
* I remember when I tried this previously it seemed confusing that there is nix and nix-env, and when and how to use each
<abathur>
there's some next-gen CLI work going on under the nix <subcommand> banner
<AcademyLearnFore>
hello everybody...good day. How are u?
proofofkeags has quit [Ping timeout: 265 seconds]
erasmas has joined #nixos
<disposabled[m]>
abathur: that sounds like a bear of a project
<aaronjanse>
Hello AcademyLearnFore
<disposabled[m]>
I'm trying to nix-shell -p but seem to be stuck copying path
<abathur>
the new commands are mostly nice I think, but it is a little confusing without a little perspective on how and why
stephank7 has joined #nixos
<abathur>
how long? it may just be a big copy
<disposabled[m]>
I don't know how to tell if it's just a huge copy or if it is actually "stuck"
<disposabled[m]>
stalled for about 10 minutes
pacc6[m] has joined #nixos
<disposabled[m]>
oh. that might be ok.
<disposabled[m]>
It's a large download
<pacc6[m]>
Where can I find the options or man page for home-configuration.nix online
<disposabled[m]>
time stamps, progress bars, etc. might be helpful
erasmas has quit [Ping timeout: 252 seconds]
stephank has quit [Ping timeout: 240 seconds]
stephank7 is now known as stephank
<disposabled[m]>
(funny how total newbs think they know where other people should put their energies)
iceypoi has quit [Ping timeout: 258 seconds]
iceypoi has joined #nixos
nbren12 has quit [Ping timeout: 260 seconds]
nbren12 has joined #nixos
<disposabled[m]>
oh boy. thousands of errors trying to build after download
<disposabled[m]>
does nix generally have to compile packages locally?
Mindavi1 has quit [Read error: Connection reset by peer]
Mindavi1 has joined #nixos
<abathur>
disposabled[m]: not a terribly helpful answer, but it depends on what you're doing
<abathur>
if you're sticking to the main channels without overrides, not generally
<disposabled[m]>
I just nix-shell -p'd something to kick the tires
<abathur>
if you override a common package, or work from master, then it can be very common
<disposabled[m]>
I don't understand channels yet
<disposabled[m]>
I guess I better figure that out
nbren12 has quit [Ping timeout: 240 seconds]
<abathur>
what isn't working? what had thousands of failures?
<abathur>
*errors
Wizek has quit [Quit: Connection closed for inactivity]
<abathur>
as long as it's the same derivation, yes
<abathur>
maybe better said: as long as none of the inputs change
<abathur>
if you update your channel, and the package's source or any of its dependencies changed, then it'll want to rebuild; that wouldn't really apply if you used something in nix-shell and immediately installed it
<disposabled[m]>
abathur: ok. so you seem to have been able to grab pull request numbers from somewhere pretty quickly.
<disposabled[m]>
and {^_^} seems to be a bot that responds to # with pr info
<disposabled[m]>
from those two things, am I right to think that I should try to find ryantm for some help on this?
<cole-h>
not necessarily. ryantm is just one of our many committers
<disposabled[m]>
or is ryan just the poor fellow who merged somebody else's pr?
<ryantm>
What's up?
<disposabled[m]>
just trying to track down help on the zeroad package
grenewode has quit [Quit: Connection closed]
grenewode has joined #nixos
<ryantm>
I've never run it before, but I'll try to run it now and see what happens.
<ryantm>
Well it's a bad sign that I'm compiling it instead of getting it from a cache.
<grenewode>
By any chance has anyone every seen this error before? `Authentication refused: bad ownership or modes for directory /`? Getting this with a / on tmpfs & impermanence setup
stree has quit [Ping timeout: 265 seconds]
<disposabled[m]>
ryantm: I wasn't thrilled about the compile either
<ryantm>
disposabled: it's a good test of my new 5800X :) maxing out all 16 cores.
<disposabled[m]>
show off
* disposabled[m]
prices a 5800X
venue has joined #nixos
<ryantm>
It's done compiling and seems to work.
<ryantm>
I did `nix build nixpkgs#zeroad` for reference.
<ryantm>
disposabled: I killed a chicken.
<Ke>
grenewode: is your mode option 0755?
<disposabled[m]>
that's not cool. It shouldn't compile that fast. Life isn't fair
AcademyLearnFore has quit [Ping timeout: 252 seconds]
<disposabled[m]>
ryantm: I did a `nix-shell -p zeroad` just as a way to kick the tires on nix
<ryantm>
disposabled: I gathered wood and built a house, definitely seems to be working.
<ryantm>
disposabled: Are you running NixOS?
<disposabled[m]>
I really don't know nix at all
<disposabled[m]>
I am not running nixos. just dipping my toe into nix
<Reventlov>
hello, I would like to know if someone was using the mediawiki package from nixos with the visual editor enabled. I'm having trouble making it work here, and would like a hand
xantoz has quit [Read error: Connection reset by peer]
<{^_^}>
[nixpkgs] @lheckemann merged pull request #116639 → nixos/privacyidea: use envsubst to avoid leaking secrets to the store → https://github.com/NixOS/nixpkgs/pull/116639
novafacing has quit [Read error: Connection reset by peer]
novafacing has joined #nixos
<jdelStrother>
Anyone experienced in autoconf debugging? I'm trying to fix libtheora compilation on m1 macs, which works if I try `preConfigure = "sh autoconf.sh"`. If I try and use autoreconfHook though, I get obtuse errors that I can't figure out (https://github.com/NixOS/nixpkgs/pull/118132#discussion_r605083030)
civodul has joined #nixos
<jdelStrother>
I'm struggling to figure out what the difference is between the two approaches
<jdelStrother>
supersandro2000 ok, thanks - slight improvement. Now I have a new error, "configure.ac:469: error: possibly undefined macro: AS_AC_EXPAND". That line is `AS_AC_EXPAND(LIBDIR, ${libdir})`
<supersandro2000>
jdelStrother: there is probably an error above
<supersandro2000>
I think it tries to expand libdir but that is unset
nbren12 has joined #nixos
<jdelStrother>
(and as an aside, why isn't SDL needed if I just use autogen.sh ? 😕 )
<jdelStrother>
Yeah, but AFAICT that change never made it to a released version - 1.1.1 still uses their custom autoconf.sh script. So maybe autoreconfHook isn't the way to go here & we should just use autoconf.sh directly?
<jdelStrother>
(sorry, I mean autogen.sh, not autoconf.sh)
<jdelStrother>
And sorry, I'm confusing things by interleaving messages. That AC_CONFIG_MACRO_DIR change looks promising
civodul has quit [Quit: Rebooting into Emacs 27.2.]
dramforever has quit [Quit: Leaving]
BenjiProd has joined #nixos
stree has joined #nixos
<supersandro2000>
the last release is 12 years old
ArdaXi_ has quit [Ping timeout: 245 seconds]
Mindavi1 has quit [Read error: Connection reset by peer]
<jdelStrother>
supersandro2000: Actually... I'm not sure that SDL is even needed for libtheora. If I apply the AC_CONFIG_MACRO_DIR patch, it appears to build fine without it. There's some warnings about "Unable to find SDL -- Not compiling example players", but it doesn't seem like that should matter.
eoli3n__ has quit [Remote host closed the connection]
<beertoagunfight>
Hi. I'm trying to get my first nixpkgs PR merged and I was wondering if someone could give me some more context around how I'd go about solving for a failing test on this PR? It looks like a flaky golang GC related test from what the logs indicate - https://github.com/NixOS/nixpkgs/pull/117511
<beertoagunfight>
I'm actually a bit confused that I need to patch golang to get tests to pass. This package depends on fzf which uses go - I think that's a pretty commonly used package.
<lukegb>
Yeah, I just retriggered ofborg, let's see what happens
<beertoagunfight>
lukegb - I'd have never realized that it was unhappy if it wasn't for supersandro2000 mentioning it. The tests on the Github PR looked like they were passing. Is there anywhere else I need to be looking?
<devhell>
damn, just tried to update `illum` (the service crashes at boot but will restart when done manually), but when I try to build from nixpkgs git, I get: "fatal: git cat-file: could not get object info"
ToxicFrog has quit [Read error: Connection reset by peer]
ToxicFrog has joined #nixos
<devhell>
I should clarify, it goes to fetch illum's git, then the above error happens
<cyris212>
Are there any tricks to get completion working for bash aliases?
<exarkun>
Given something like configuration.nix, is there already a way to build a JSON (or some other simple structured format) string containing a representation of the complete system configuration?
aexoxea has quit [Quit: Goodbye!]
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<kunrooted[m]>
someone might find my dotfiles useful:
<exarkun>
The main thing that changed is that I switched from a pinned revision of nixpkgs + a bunch of overlays (boring application code, nothing to do with the kernel) to a fork of nixpkgs with the overlays rewritten as changesets to nixpkgs itself
<exarkun>
Far from obvious to me why this would cause system test harness to become unable to find the VM root fs device?
wallacer has joined #nixos
zalaare has quit [Remote host closed the connection]
Jd007 has joined #nixos
zebrag has quit [Quit: Konversation terminated!]
zebrag has joined #nixos
jonringer has quit [Remote host closed the connection]
<rmcgibbo[m]>
What's the error message? It does kind of work on non-nixpkgs but they do need to be organized in a certain way.
<rmcgibbo[m]>
For the top-level package, they need to be able to take an overlay, for example.
proofofkeags has joined #nixos
<rmcgibbo[m]>
(The particular tool that finds unused arguments is actually a rust binary that runs against a single .nix package, and for that you can probably fish it out and run it easily on a non-nixpkgs file. But it's not exposed as a top-level binary in the package, so it's not a major supported use-case.)
<{^_^}>
[nixpkgs] @marsam pushed to master « mailutils: make nettools optional on darwin »: https://git.io/JYrul
<rmcgibbo[m]>
maralorn: Right. I think that's expected. The test suite: https://github.com/jtojnar/nixpkgs-hammering/blob/master/tests/default.nix is an example of how the top-level default.nix needs to be organized for nixpkgs-hammering to be able to process it (i.e. <path>/default.nix needs to be a function that accepts an overlays argument for `nixpkgs-hammer -f <path> attrset.attribute` to work)
<BitchardGnollman>
Being young and stupid, I was too hypnotized by Stallman's communist ideas and wasted my precious time contributing to numerous GPL projects. But then I've grown up, and my parents perished in a car accident. That is when I have discovered that free software doesn't pay my bills. Now I'm homeless and unemployed. Guess that is what being "free as in freedom" means. Thank you, dear comrade Stallman.
<kiyengar>
Hi. Not sure if this is gc/store optimizaion related, but since a couple of days ago, the systemd services defined in my configuration.nix seem to have disappeared. `systemctl list-units --user --state not-found` confirms that they're not-found. Is this expected and is there any way I can regenerate them?
n-osborne has joined #nixos
n-osborne has quit [Remote host closed the connection]
n-osborne has joined #nixos
n-osborne has quit [Remote host closed the connection]
n-osborne has joined #nixos
n-osborne has quit [Remote host closed the connection]
<f0x>
but that leaves it in a weird state after boot, because it will no longer be mounted in the used filesystem, but can't mount it elsewhere either because it's "already mounted or mount point busy"
<pie_>
ok so you dont know if the error has anything to do with the version
<exarkun>
Wah. morph broken. again.
<Reventlov>
it has to do with mismatch, probably, in the version provided by nixos (1.35.1 ish, from january) and the plugins I can download now
<pie_>
i mean, i can think of two ways to go about this 1) try to reduce to a config that works and continue from there 2) try to figure out where that error is coming from
<Reventlov>
which is why I'm trying to use the latest 1.35.1 version
<Reventlov>
which brings me to this error right there
<pie_>
if you cant find any information about the error by googling it, or by searching the nixpkgs issue tracker, i dont find it likely anyone here will immediately know and youll have to get your hands dirts
novafacing has quit [Read error: Connection reset by peer]
<pie_>
dirty
_novafacing has joined #nixos
<Reventlov>
well i'm writing an overlay, it's already dirt :p
<pie_>
ok so can you get 1.35.1 working in its default state and then start adding your config?
<Reventlov>
the problème is getting the plugins I want.
<pie_>
ok thats already more specific than "hi lol thing broken wat do" :P (no offense intended)
n-osborne has quit [Remote host closed the connection]
<pie_>
so _which_ plugin is breaking it
<Reventlov>
"hi lol thing broken wat do"
grenewode has quit [Quit: Connection closed]
sangoma has quit [Ping timeout: 260 seconds]
<pie_>
because once you know which plugin is breaking it that isolates things a lot
<Baughn>
How would I override an attribute in a systemd serviceConfig?
<Reventlov>
it's not the plugin that breaks it.
<Baughn>
systemd.services.caddy sets ProtectHome to true, but I need it to be false.
<pie_>
Reventlov: you said adding the plugins breaks it
<Reventlov>
adding the plugins breaks the current mediawiki, because the version of the plugins have a mismatch with the version in nixpkgs.
<Reventlov>
Which leads to the error on the phabricator.
n-osborne has joined #nixos
zhaofeng has quit [Quit: Bridge terminating on SIGTERM]
<Reventlov>
In which someone asks me to use an up-to-date version for mediawiki
<Reventlov>
which is why… I'm using an overlay, as written 20 minutes ago.
zhaofeng has joined #nixos
<pie_>
ok but you said you have a config which does nondefault stuff
<Reventlov>
but this overlay has some problems, as said 19 minutes ago, which I'm trying to understand.
<pie_>
and im saying its easier to get it working at all first and then start adding things back
<Reventlov>
yes, the config which does nondefault stuff is the overlay
<Reventlov>
sigh
<pie_>
xD
<pie_>
maybe im asking this wrong
__monty__ has joined #nixos
<exarkun>
morph and amazon-image.nix both set `networking.hostName` to some `mkDefault` value. How do I resolve their conflict?
<pie_>
is there _anything_ other than the updated mediawiki, are you using any old databases, any changed wiki settings, did you add any plugins yet, etc
<jarkad>
<exarkun> morph and amazon-image.nix both set `networking.hostName` to some `mkDefault` value. How do I resolve their conflict?
<Reventlov>
I define the passwordfile, the mysql database, and the virtualHost.
<pie_>
id check what values nixos-option says you have for that skins setting
<pie_>
if monobook isnt in there that might be the problem
<pie_>
if it is then gotta dig deeper why the directory still ends up empty. and i thin i saw in that file that it might be loading skins from a different directory anyway
<pie_>
so you have to check where its trying to load them from
<pie_>
Reventlov: maybe im going about it wrong but my train of thought was something like: 1) does the error happen with a minimal config mediawiki? if it does then we know its not something else that we did 2) if the error happens with a minimal config, we need to find out why those files are missing
<pie_>
2) generally means google/checking the nix expression
<pie_>
in our case that seems to have yielded something
<pie_>
namely, either the files should come with the original source, or get added by something, and either its looking for it in the wrong place, or its looking for it in the right place 2) if the error happens with a minimal config, we need to find out why those files are missing
<exarkun>
Any attempt fails with: The option `networking.hostName' has conflicting definitions, in `/nix/store/...-nixpkgs/nixos/modules/virtualisation/amazon-image.nix' and `<unknown-file>'.
<pie_>
time to start bisecting which file? :<
<pie_>
oh wait i see you already did that
sangoma has joined #nixos
Lord_of_Life_ has joined #nixos
Lord_of_Life has quit [Ping timeout: 268 seconds]
<Yawn>
which directory would fit best for a simple terminal calculator in the nixpkgs repo?
<pie_>
Yawn: find where other such terminal calculators are?
<pie_>
we probably have a few?
Lord_of_Life_ is now known as Lord_of_Life
<Yawn>
yeah, but theyre all over the place seemingly
n-osborne has quit [Remote host closed the connection]
<exarkun>
I see that morph changed from `networking.hostName = mkOverride 900 ...` to `networking.hostName = mkDefault ...`
<exarkun>
But those seem like pretty similar things to me. Why is it broken? Is it because it's fine to have any number of *different* override priorities but as soon as you have two or more with equal priority it breaks?
Mindavi1 has quit [Read error: Connection reset by peer]
Mindavi1 has joined #nixos
nckx is now known as Thunderbi
<Magic_RB>
hello again. I'm writing what's basically a generator for ApacheHttpd's config file, I've got the generator working by using an attrs set containing the directives, with each directive containing either a string, a list of strings or another attrset (VirtualHost for example), issues is that Nix orders attributes alphabetically so `LoadModule` ends
<Magic_RB>
up somewhere in the middle and while im not certain, there must be a reason why it's customary to put all the `LoadModule` directives at the top. tl;dr I need to somehow keep the ordering of a attrset. Thanks in advance for any help :D
Mindavi1 has quit [Read error: Connection reset by peer]
alexherbo2 has quit [Remote host closed the connection]
<maralorn>
sterni: I never do patching for stuff like that. That will drive us crazy. We pin everything that progresses to fast and then reset the pins on the next hls release.
<maralorn>
It would not even really be a downgrade since we have never published the upgrade.
<sterni>
maralorn: yeah patching is a nightmare because it takes some serious hoop jumping to get the patch filtered for hls-plugin-api and even then it doesn't apply
<sterni>
so I guess we'll have to add an 0.13.0.0 version for lsp-test and lsp < 1.2 manually
<maralorn>
If other people really rely on a bleeding edge lsp version we can do something with overrideScope for hls, but that would be super verbose for a tiny benefit.
<sterni>
I don't think it's a good idea, just was wondering if we may be able to get it to work it looked good initially, but doesn't really work out unfortunately
<sterni>
maralorn: if you have time it'd be neat if you could do the hls fixing, otherwise I can do it as well, but I don't really use hls so testing is a different story for me :)
<maralorn>
sterni: Yeah, I do stuff like that quite often. I did just not notice the issue this time because the eval error on hydra prevented the job from even running so I didn‘t get notified about the build error.
ahmedelgabri has joined #nixos
gustavderdrache has quit [Quit: Leaving.]
<sterni>
yeah I think the eval error was introduced last night or something I think
civodul has quit [Ping timeout: 246 seconds]
S0rin has joined #nixos
ddellaco_ has quit [Remote host closed the connection]