<{^_^}>
[nixpkgs] @jonringer pushed commit from @risicle to master « pythonPackages.git-annex-adapter: 0.2.1 -> 0.2.2, fix build »: https://git.io/JUoJ8
beaky_ has joined #nixos
skomorokh has joined #nixos
<colecf>
Hi, is it possible to specify that some packages should be symlinked to /bin or /usr/bin so that they're available for scripts with #! lines? And then is it possible to do this in a nix-shell?
sbetrium has quit [Quit: sbetrium]
alexherbo2 has quit [Ping timeout: 264 seconds]
sonercirit[m] has quit [*.net *.split]
fatjedi[m] has quit [*.net *.split]
ptotter[m]1 has quit [*.net *.split]
alexarice[m] has quit [*.net *.split]
Hirmes[m]1 has quit [*.net *.split]
cyberwolf[m]1 has quit [*.net *.split]
ThaEwat has quit [*.net *.split]
trepetti[m]1 has quit [*.net *.split]
tristan[m] has quit [*.net *.split]
Amit[m] has quit [*.net *.split]
stu_[m] has quit [*.net *.split]
AmitLevy[m] has quit [*.net *.split]
Stphan[m] has quit [*.net *.split]
surf76[m] has quit [*.net *.split]
M0-[m] has quit [*.net *.split]
pheoxy has quit [*.net *.split]
GuillaumeChrel[m has quit [*.net *.split]
sernop[m] has quit [*.net *.split]
unrooted[m] has quit [*.net *.split]
srasu[m] has quit [*.net *.split]
worldofpeace has quit [*.net *.split]
georgyo[m] has quit [*.net *.split]
billsun has quit [*.net *.split]
bennofs[m] has quit [*.net *.split]
l-as has quit [*.net *.split]
leons has quit [*.net *.split]
yurb has quit [*.net *.split]
arcnmx has quit [*.net *.split]
Ox4A6F has quit [*.net *.split]
bbigras has quit [*.net *.split]
MilkManzJourDadd has quit [*.net *.split]
unclechu has quit [*.net *.split]
mkg20001 has quit [*.net *.split]
mog has quit [*.net *.split]
fl0_id has quit [*.net *.split]
skomorokh_ has quit [*.net *.split]
beaky has quit [*.net *.split]
greizgh has quit [*.net *.split]
barrucadu has quit [*.net *.split]
lindi- has quit [*.net *.split]
fadenb has quit [*.net *.split]
uwap has quit [*.net *.split]
sszark has joined #nixos
thoughtpolice has quit [Ping timeout: 246 seconds]
<sszark>
why does the output of metadata and image have the same name for nixos-generate? not confusing at all.
<radvendii>
well folks, I am once again trying to tackle the cross-compilation to windows bear. Somehow a lot of the progress I made on my last go got reverted from the directory I was working on :/
<radvendii>
Has anyone successfully gotten CMAKE to build for windows recently?
<radvendii>
My current issue is a "windows.h: no such file or directory" error
<radvendii>
ooooh. I remember the solution was to move cmake from buildInputs to nativeBuildInputs, because I don't actually want the windows version of that.
rajivr has joined #nixos
<samueldr>
yeah, generally with cross-compilation things that run *natively* on the builder is in nativeBuildInputs
<{^_^}>
[nixpkgs] @ghuntley opened pull request #98914 → physlock: expose option to mute kernel messages when locked → https://git.io/JUoar
<radvendii>
I remember that just putting cmake in nativeBuildInputs fails for some reason though. It has to be somethingOrOther.cmake
<radvendii>
But now I'm not rememebering what the somethingOrOther is
<samueldr>
the answer is a bit more subtle
orivej has quit [Ping timeout: 265 seconds]
<samueldr>
if you're using `callPackage`, a thing that is called "splicing" happens
<samueldr>
and then it's done for you
ddellacosta has quit [Ping timeout: 240 seconds]
<radvendii>
ah. but what if I'm not? for now this is just from a default.nix file
<samueldr>
then there's no splicing, and then what you said applies
<samueldr>
you can use `callPackage` without an external file IIRC
<samueldr>
since you want to rely on splicing, it's likely you want to use callPackage
<samueldr>
well, I assume you want, as it makes things easier to deal with :)
alexbakker has quit [Quit: Dikke doei]
<samueldr>
though, prefer splitting the package in a file if you're using callPackage, it makes things easier to grok with regards to the scope
alexbakker has joined #nixos
<radvendii>
ah. hm. so I just wrap the stdenv.mkDerivation thing in callPackage (stdenv.mkDerivation ...) {}?
<samueldr>
,callPackage
<{^_^}>
If you're updating a file in nixpkgs that starts with something like `{ stdenv, cmake }:`, use `nix-build -A` in the nixpkgs root with the corresponding package attribute to build it. If it's not in nixpkgs, try `nix-build -E 'with import <nixpkgs> {}; callPackage ./file.nix { }'. The mapping from package attributes to package files is in pkgs/top-level/all-packages.nix.
<samueldr>
eh, not as useful as I'd hoped
<samueldr>
callPackage takes in as arguments either a path to a file containing, or directly a function for the "callPackage pattern", and a set of overrides
<samueldr>
so the parameter has to be something like ({stdenv}: stdenv.mkDerivation {})
<samueldr>
a function (set pattern function)
Orbstheorem has quit [Ping timeout: 246 seconds]
waleee-cl has quit [Quit: Connection closed for inactivity]
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
endformationage has quit [Quit: WeeChat 2.9]
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
<radvendii>
oh gotcha. this actually seems like a better way to do things. it means I don't have to have a separate default.nix and file that I send off to nixpkgs
<radvendii>
i can just have default.nix be a small wrapper around it using callPackage()
<ikwildrpepper>
ghuntley: runCommand is called differently, and is not exactly what you think (I think). It is called with runCommand "derivation-name" { ... some derivation attributes } '' ... script to make $out''
<ikwildrpepper>
ghuntley: if your command works inside a nix build, you could generate a nix expression in that derivation and import that
lejonet has quit [Ping timeout: 240 seconds]
<ikwildrpepper>
ghuntley: that's called import from derivation, and depends on your use-case if that is workable or not, as it needs building at evaluation time. We typically don't allow that as part of nixpkgs.
sangoma has quit [Read error: Connection reset by peer]
zakame has quit [Ping timeout: 246 seconds]
<felschr1[m]>
Does anyone here know how best to import `/nixos/modules/installer/cd-dvd/sd-image-raspberrypi4.nix` in a flake?
cvlad- has quit [Ping timeout: 256 seconds]
zakame has joined #nixos
TheNumb has quit [Ping timeout: 256 seconds]
digitalgrease has quit [Ping timeout: 272 seconds]
cvlad- has joined #nixos
<felschr1[m]>
`/nixos/modules/installer/scan/not-detected.nix` has a flake output called `nixosModules.notDetected`. But there aren't any other `nixosModules` outputs.
vdemeester has quit [Ping timeout: 256 seconds]
digitalgrease has joined #nixos
s1341 has quit [Ping timeout: 258 seconds]
vdemeester has joined #nixos
TheNumb has joined #nixos
knupfer has joined #nixos
cvlad- has quit [Ping timeout: 272 seconds]
cvlad- has joined #nixos
davidtwco has quit [Ping timeout: 272 seconds]
crvi has joined #nixos
<grobi>
hello, can somone recommend me a nice nixos config, to use with i3wm ?
<{^_^}>
[nixpkgs] @thall opened pull request #98939 → python3Packages.pybase64: Upgrade to python 3 → https://git.io/JUKri
lsix has joined #nixos
mthst has joined #nixos
__monty__ has joined #nixos
cr4y1 has joined #nixos
<bqv>
hey y'all
<rawtaz>
hi there
<rawtaz>
nice to see you bqv
<bqv>
likewise
<bqv>
it's been a while, but i've had an error message
<bqv>
468| else warn "The type `types.${opt.type.name}' of option `${showOption loc}' defined in ${showFiles opt.declarations} is deprecated. ${opt.type.deprecationMessage}";
<itshaydendev>
Trying to make my Neovim config into a package over here. Currently it's just an override of `nvim` from nixpkgs. But I need some extra dependencies
<itshaydendev>
So I need to make it into a package
<infinisil>
bqv: Well, it's kind of your problem then that you have a weird setup that doesn't use the same lib version for eval and within modules :P
<{^_^}>
[nixpkgs] @bjornfor pushed commit from @sikmir to master « gpxsee: 7.31 -> 7.32 »: https://git.io/JUKX3
<bqv>
infinisil: i guessed it would be that, but that's why i was wondering what changed so fundamentally to cause an error message as ridiculous as that
<simpson>
itshaydendev: Perhaps you could `overrideAttrs` on your overridden package in order to add to propagatedBuildInputs? I'm not sure if that will actually solve your problem.
<bqv>
infinisil: could i interest you in that PR, by any chance :p
<infinisil>
It feels like you're still wanting to blame someone else for that error message
<bqv>
i mean, i'm not complaining with the intention of preventing that happening again, or undoing it, but i am complaining because it's an inconvenience for my weird unsupported usecase. it would be weird if i was happy about inconveniences, wouldn't it?
<itshaydendev>
simpson: how would I do that? `pkgs.neovim.overrideAttrs (old: { <my configuration and propagatedBuildInputs> })` ?
Darkmatter66 has quit [Ping timeout: 240 seconds]
<bqv>
(also, i take that as a no)
<infinisil>
I mean I could help you fix that error
<bqv>
I don't particularly need to fix the error itself, it'll not be a problem once that PR's in
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
<simpson>
itshaydendev: Something like that, yeah.
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
<bqv>
it's just at this point i have to choose between ditching that PR, sticking with that PR and losing any changes from the last month, or doing some freaky monkeypatch
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
<bqv>
guess i'll go with option A...
<infinisil>
Wait which Pr?
chvp has left #nixos ["User left"]
<bqv>
bqv: is there anyone around to look at #93457
<itshaydendev>
simpson: while evaluating the attribute 'configure' of the derivation 'neovim-0.4.4'
<itshaydendev>
cannot coerce a set to a string
<simpson>
itshaydendev: I don't know anything about neovim, sorry; you'll have to read the derivation to see what they do and how they expect to be extended.
<infinisil>
bqv: Oh, I wasn't sure how this was related to the error
<infinisil>
But I guess you need that PR to update nixpkgs in general
<bqv>
yeah, i've been using it for a good while now, but it's been so long i don't blame ju1m for not rebasing it constantly
<infinisil>
bqv: Btw, does the error come from nixus? Because I feel like it could, and that might be a nixus problem worth looking into
<bqv>
nono, it's an eval issue
<bqv>
oh, but the source of the eval trace is nixus, yes (but isn't it always?)
<infinisil>
Well i mean, are you evaluating nixus configs for it to occur
<bqv>
a deploy script
<bqv>
well, the deploy script
<infinisil>
Yeah actually that's probably a nixus problem
<infinisil>
And updating nixpkgs shouldn't fix it
<bqv>
interesting
<bqv>
ok
<infinisil>
Because nixus uses a pinned lib it evaluates pretty much everything with
<MichaelRaskin>
Feel free to @-mention me for a PR that adds some NixOS tests for AppArmor (like this is allowed, this is blocked, now we reconfigure it in the opposite order and the changes do indeed get applied)
<MichaelRaskin>
Preferably a week after all maintainers get mentioned
<humancalico[m]>
How can I install the GNU ar program in NixOS?
alexherbo2 has quit [Ping timeout: 246 seconds]
<ar>
you can usually lure me with pizza
<ar>
humancalico[m]: "installing ar" is probably not the solution you seek.
<simpson>
humancalico[m]: binutils/coreutils will work, *but* as ar says, folks usually don't want to invoke it directly. What are you working on?
<humancalico[m]>
Hehe
<MichaelRaskin>
binutils-unwrapped is the package where ar can be found, but if you want a build to run without running it as a Nix build, this is not the only hurdle
<julm>
bqv: thanks for caring about this PR, I was not aware that it was no longer mergeable. I'll upgrade my system and see what I can do to rebase it with current master
<simpson>
humancalico[m]: I don't know much about the Rust subsystem, but have you read through the suggestions at https://nixos.org/manual/nixpkgs/stable/#rust for using Nix to manage crates?
<bqv>
julm: you've been sniped!
<humancalico[m]>
simpson: I did not download Rust from this method I installed `rustup` from nixpkgs first and then installed Rust through it. But I don't think that would make a difference
cosarara has quit [Quit: ZNC - 1.6.0 - http://znc.in]
cosarara has joined #nixos
<humancalico[m]>
> this is not the only hurdle
<humancalico[m]>
MichaelRaskin Can you explain a bit more about this?
<{^_^}>
undefined variable 'this' at (string):324:1
<julm>
bqv: oh, so it got merged \o/
<MichaelRaskin>
Well, there is ar, but there is also a general question of dependency libraries existing and stuff
<{^_^}>
[nixpkgs] @risicle pushed 3 commits to release-20.09: https://git.io/JUKda
<MichaelRaskin>
julm: just the general problem of people knowing how the hell Nix works and how the hell AppArmor works having too small of an intersection (I am not in it, BTW)
<bqv>
julm: not currently, i was having problems because i was trying to use that PR while keeping nixpkgs up to date
<bqv>
yeah, AppArmor needs some work before it's comfortable on nixos, but that PR went a long way down that route
<MichaelRaskin>
I think the problems you had were way more related to Nixus + Nixpkgs update, and this PR just made sure you have and extra patch to pay attention while already having enough to debug
<bqv>
yeah
d4rkshad0w has joined #nixos
randolizer has joined #nixos
<MichaelRaskin>
AppArmor on NixOS becoming comfortable will not per se fix the problem that typical people with merge rights will still have no clue how a working AppArmor setup is different from a single glance from a broken one
<randolizer>
Hello, is anyone using ansible to manage his dotfiles with nixos?
<lordcirth>
randolizer, why would you do that?
<randolizer>
I like the declarativ approach of creating users in configuration.nix, but have had my dotfiles managed by ansible for years. I would like to execute a ansible playbook from my configuration.nix when creating/changing a user
<pinage404[m]>
Hi, i have a 5.1 audio speakers and i use PulseAudio, but there is too much bass, how can i adjust frequencies ?
<bqv>
MichaelRaskin: it may at least increase the number of apparmor users, which will go some way, but i see your point
<randolizer>
lordcirth why would I not? Both are declarative, wouldn't that be a good match?
lunik1 has quit [Quit: :x]
<lordcirth>
Ansible is barely declarative, and I just don't like it in general
<julm>
MichaelRaskin: I'm glad it got merged because now I'll be able to do PR adding new AppArmor profiles. AFAIK with Github one cannot make PR that depend on other PRs, right?
<randolizer>
lordcirth how do you manage your dotfiles then?
<humancalico[m]>
btw Thanks MichaelRaskin installing `binutils` package worked for me.
<lordcirth>
randolizer, home-manager
<MichaelRaskin>
I believe I have seen PRs with intersecting commit sets, but yes, if you ask about an advanced feature, GitHub does not support it well, in general
<d4rkshad0w>
Hi. Is it possible to change the process priority of build processes spawned by the nix daemon. I want to build a lot of stuff at nice 20 but I am not sure how to do this.
<randolizer>
I'll look at home-manager, but that would have the downsides of a) only work on nix systems and b) I'd have to rewrite my complete dotfiles which have gotten quite complex (roles, templates, variables...)
lunik1 has joined #nixos
zaeph has quit [Remote host closed the connection]
<randolizer>
at the moment I just run the playbook after logging in as users, which works perfectly. I'd just have to automate that step
<MichaelRaskin>
randolizer: note that Nix systems is a larger class than NixOS systems
<randolizer>
MichaelRaskin yeah, the nix package manager would have to be installed, guess that is the dependency?
<MichaelRaskin>
d4rkshad0w: did you try just renice-ing the daemon?
<MichaelRaskin>
Yes
<d4rkshad0w>
Ohh. Thank you. For some reason I did not find this option.
sbetrium has joined #nixos
<d4rkshad0w>
<MichaelRaskin "fabian: did you try just renice-"> Nope. But I want it to be persistent anyway...
<MichaelRaskin>
I guess you could play with the launcher of nix-daemon
<MichaelRaskin>
Be it the systemd unit or whatever you use if not on NixOS
<d4rkshad0w>
well @pinage404 's soltions seems to be the "correct" one (on nixos)
<randolizer>
@michaelra
<randolizer>
MichaelRaskin Still, even if possible, my two downsides still hold
<MichaelRaskin>
d4rkshad0w: ah indeed
alexherbo2 has joined #nixos
<MichaelRaskin>
Yeah, doesn't look like update-users-groups.pl supports any hooks
Rusty1 has joined #nixos
d4rkshad0w has left #nixos ["User left"]
andreas303 has quit [Remote host closed the connection]
randolizer2 has joined #nixos
andreas303 has joined #nixos
random has joined #nixos
random has quit [Client Quit]
<{^_^}>
[nixpkgs] @jappeace closed pull request #96453 → nixos/redis Add connection wait script to ensure connections can be made to redis → https://git.io/JUkbH
<{^_^}>
[nixpkgs] @hugolgst opened pull request #98946 → paco: init at 1.0 → https://git.io/JUKjj
randolizer2 has quit [Remote host closed the connection]
orivej has joined #nixos
tyrion-mx has joined #nixos
hl_ has joined #nixos
<hl_>
good evening guys
<{^_^}>
[nixpkgs] @risicle opened pull request #98947 → pythonPackages.chameleon: fix tests by switching to github source → https://git.io/JU6vC
<tyrion-mx>
Hello, I am trying to compile an old version of palemoon by slightly modifying the derivation on nixpkgs. However, I get some errors but I cannot understand what is wrong. Could anyone please have a look? https://pastebin.com/NvLdTyLM
<tyrion-mx>
I am not even sure I understand what is the exact error here
Qubasa has quit [Quit: WeeChat 2.7.1]
aforemny has quit [Ping timeout: 240 seconds]
kapil_ has joined #nixos
aforemny has joined #nixos
ericsagnes has quit [Ping timeout: 260 seconds]
ManiacOfMadness has quit [Ping timeout: 246 seconds]
sbetrium has joined #nixos
Qubasa has joined #nixos
cosimone has joined #nixos
siel has quit [Ping timeout: 244 seconds]
noudle has joined #nixos
sangoma has joined #nixos
ericsagnes has joined #nixos
mthst has joined #nixos
ramen_master has joined #nixos
s1341 has quit [Quit: Connection closed for inactivity]
flythief_ has joined #nixos
<flythief_>
hi, I try to install zlib by this ` nix-env -i zlib --option binary-caches $ONE_CHANNEL`. But I get a mismatch in fixed-output derivation when installing dependency lib "emascripten 1.39.1". Have some ideas for this? thanks firstly. :)
<Yaniel>
if you are installing libraries with nix-env you are doing it wrong
<flythief_>
you mean how to install libraries?
<clever>
flythief_: you dont
<clever>
,libraries flythief_
<{^_^}>
flythief_: Don't install libraries through nix-env or systemPackages, use nix-shell instead. See https://nixos.wiki/wiki/FAQ/Libraries for details.
<Yaniel>
if you need the library for development, use nix-shell
<Yaniel>
if you need it as a dependency for some application, just install that application
<flythief_>
well, I'll check that. thanks. then it's philosophy of nix or functional package management ? I start to understand that...
<{^_^}>
[nixpkgs] @vcunat pushed 3 commits to release-20.03: https://git.io/JU6Iw
ramen_master has quit [Ping timeout: 256 seconds]
<{^_^}>
[nixpkgs] @tfmoraes opened pull request #98951 → wxGTK31: 3.1.3 -> 3.1.4 + python3Packages.wxpython_4_1: init at 4.1.0 → https://git.io/JU6Le
<mthst>
samueldr: have you tried building EDK II for the Raspberry Pi 3 from the tianocore/edk2-platforms repository?
hl_ has quit [Ping timeout: 256 seconds]
<mthst>
samueldr: i got it to compile, but my nix is a bit sloppy
<mthst>
samueldr: you probably don't remember this, but some time ago before it was merged into the official repos you helped me set up https://github.com/pbatard/RaspberryPiPkg
<{^_^}>
[nixpkgs] @Infinisil opened pull request #98952 → Allow submodules to use custom `lib`/`evalModules` → https://git.io/JU6L6
<{^_^}>
attribute 'qtbase' missing, at (string):324:1
<bqv>
> pkgs.qt5.qtbase.version
<{^_^}>
"5.15.0"
zakame has joined #nixos
zaeph has joined #nixos
knupfer has quit [Ping timeout: 260 seconds]
mir100 has joined #nixos
sbetrium has quit [Quit: sbetrium]
knupfer has joined #nixos
the_rajsun[m] has quit [Quit: Idle for 30+ days]
<randolizer>
How do you fetch a file in from the internet in your configuration.nix? I would like to have my authorized_keys for a users pulled from a url
<randolizer>
Can anyone show me an example of how this is done?
<{^_^}>
[docker] @milnet2 opened pull request #25 → Use user 1000 from within the image → https://git.io/JU6O6
<bqv>
randolizer: pkgs.fetchurl
<infinisil>
randolizer: Probably best to use `services.openssh.authorizedKeysFiles` for that
<bqv>
also, yes
<bqv>
also, woohoo, finally got my system building
<neonfuz21>
So I want to use a few unstable packages declarativly on my stable nixos
<bqv>
infinisil: looking at that error message i had, would it not be sensible to check if deprecatedMessage exists before trying to read it? i know mixing nixpkgs isn't a common use case, but it hardly hurts
<{^_^}>
randolizer: Try it and see! (then tell us what you saw)
<randolizer>
oh ok.
gustavderdrache has left #nixos [#nixos]
<randolizer>
infinisil `/nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/config/users-groups.nix' is not of type `string'.
davidv7 has quit [Quit: Konversation terminated!]
<randolizer>
infinisil does pkg.fetchurl not return a string?
<randolizer>
Sorry for the nooby questions, still new to the language
<infinisil>
randolizer: Indeed it doesn't, it returns a file path
<infinisil>
randolizer: You actually want to use authorizedKeys.keyFiles instead
<bqv>
Otherwise you'd r eadFile
<randolizer>
The option `users.users.pinpox.openssh.authorizedKeysFiles' defined in `/nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/config/users-groups.nix'
<randolizer>
does not exist
<randolizer>
huh?
philr has quit [Ping timeout: 272 seconds]
<infinisil>
randolizer: Read my last message again..
mthst has joined #nixos
domogled has joined #nixos
<randolizer>
oh sorry, I misread the name. But now I get a different error:
<randolizer>
The option value `users.users.pinpox.openssh.authorizedKeys.keyFiles.[definition 1-entry 1]' in `/nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/config/users-groups.nix' is not of type `path'.
<infinisil>
> [ fetchurl {} ]
<{^_^}>
[ <CODE> <CODE> ]
<infinisil>
randolizer: Note how there's two elements in this list ^
<infinisil>
You need () to prevent that
<infinisil>
The option tells you that `fetchurl` (the function) is not a path
<flythief_>
hello, I use my clang (custom compiled) compile one hello world program. but when I run it, my zsh just shows that no such file. I use "file " command to see that its ld loader path is /lib64/ld-linux-x86-64.so.2. I try to use one system ld.so to run this program. And then it works. So how can I fix this?
growpotkin has joined #nixos
<flythief_>
`/nix/store/*ld.so ./hello_world` is ok. but ` ./hello_world` will get "no such file".
sbetrium has joined #nixos
<cole-h>
Well, that's because /lib64 doesn't exist on NixOS.
<simpson>
flythief_: What's your end goal? Why not use Nix to build stuff?
<{^_^}>
[nixpkgs] @veprbl pushed to release-20.09 « pythonPackages.fastparquet: disable broken test »: https://git.io/JU6Ww
zaeph has joined #nixos
<flythief_>
thanks, I'll check that. @simpson my goal is using my custom clang to build program.
<flythief_>
maybe my clang should build just like other system application. It should install at /nix/store ?
<simpson>
Yes. I'm looking up how to do that.
siel has joined #nixos
siel has joined #nixos
siel has quit [Changing host]
davidv7 has joined #nixos
zaeph has quit [Quit: zaeph]
zaeph has joined #nixos
<flythief_>
hmmm, I think really it will be so elegant if I do it like that...until today, I feel that direnv is so convenient.
<simpson>
I suspect that you can override either `llvmPackages` or `clang` somehow, and then use `clangStdenv` at the top-level in order to get your Clang everywhere.
dxtr has quit [Quit: leaving]
grobi has joined #nixos
<flythief_>
I also think it should work. but I really should learn nix at first... : )
<noonien>
i'm trying to cross-compile an application from nixos to windows, and nixpkgs isn't too happy to build the dependencies i need. so i got the pre-built dlls from msys2, however, i now need to copy all the dlls from the dependencies to the output of my derivation
<{^_^}>
[nixpkgs] @jonringer merged pull request #98961 → [20.09] pythonPackages.chameleon: fix tests by switching to github source → https://git.io/JU66Y
<{^_^}>
[nixpkgs] @jonringer pushed commit from @risicle to release-20.09 « pythonPackages.chameleon: fix tests by switching to github source »: https://git.io/JU66d
<clever>
mthst: the .nix file that made that output is in the same dir, with the same name
<clever>
mthst: ah, it will just run unpackFile on each thing in $srcs, and then try to guess the $sourceRoot by seeing what dir it created
<clever>
and fail if it created multiple dirs
xelxebar has quit [Remote host closed the connection]
cosimone has joined #nixos
xelxebar has joined #nixos
<mthst>
thanks! so if i want to unpack multiple archives next to each other i could set $sourceRoot to "." ?
<{^_^}>
[nixpkgs] @Zopieux opened pull request #98962 → Snapcast: v0.20.0 → v0.21.0, including various fixes to nixos/snapserver → https://git.io/JU6ia
<clever>
mthst: that would probably not do what you want
<clever>
mthst: what are you trying to get done?
<mthst>
clever: i need a directory containing ./extracted-src-1 ./extracted-src-2 and ./extracted-src-3 next to each other
<clever>
and if you run `tar -tvf` on each tar, what do the paths start with?
<mthst>
umm, i don't know. i have srcs = [ (pkgs.fetchgit { ... }) (pkgs.fetchgit { ... }) ]
<clever>
ah, that would be giving it directories rather then tars
<clever>
all of them will be named source then, so youll just get each repo mashed together, all in source/
noudle has quit []
<clever>
and the default sourceRoot will then be source
<{^_^}>
[nixpkgs] @risicle merged pull request #98960 → projectm: fix build on darwin → https://git.io/JU6rF
zakame has quit [Remote host closed the connection]
<MichaelRaskin>
It clearly says 7.70.0 (and there are paste services that would allow pasting it as text, not image)
o1lo01ol1o has quit [Ping timeout: 240 seconds]
<nooba>
strange spotify is asking for it and it wont work without it
zakame has joined #nixos
brano543 has joined #nixos
vidbina has quit [Ping timeout: 256 seconds]
<brano543>
Hello guys, I am trying to use Mingw-w64 compiler from nix-shell for Conan build (as nix doesn't support windows). The build almost works fine, but at the end mcfgthreadmingw32 and crt2.o can not be found. Could you tell me which packages provide it? I have used pkgsCross.mingwW64.gccStdenv.cc.cc for compiler and
<brano543>
pkgsCross.mingwW64.gccStdenv.cc.bintools.bintools for bintools.
ManiacOfMadness has joined #nixos
abathur has joined #nixos
sputny has joined #nixos
alexherbo2 has quit [Ping timeout: 240 seconds]
tazjin has quit [Remote host closed the connection]
sputny has quit [Remote host closed the connection]
jtle has quit [Quit: Client update]
tazjin has joined #nixos
zakame_ has joined #nixos
jtle has joined #nixos
jtle has left #nixos [#nixos]
jtle has joined #nixos
<nooba>
strange error turns out i had issues with curl-config
<__red__>
So, I've had a nixpkgs committer provide lots of direct feedback, we've done many revisions. Does that mean they can commit it now or does another reviewer / committer need to also touch it? (It's not a minor version rev, but there are no downstream deps)
<{^_^}>
[nix] @zimbatm pushed commit from @Ma27 to master « doc/manual: update hacking docs (#4078) »: https://git.io/JU678
fendor has quit [Remote host closed the connection]
<maralorn>
__red__: In general yeah, the person is allowed to merge. But they should only do so if they consider themselfes qualified. Also sometimes it's good practice to wait a bit to see if someone else sees anything …
<unclechu>
hey, can i somehow make some overrides for `<nixpkgs>` by using overlays for instance?
<unclechu>
i mean like if i do `import <nixpkgs> {}` it would get my global system overrides?
<__red__>
maralorn: Thank you.
<__red__>
Any chance I could petition for someone to take a peek at PR#9858 please? :-) <3
<__red__>
oop
<__red__>
s
<__red__>
Any chance I could petition for someone to take a peek at PR#98598 please? :-) <3
<unclechu>
i set `nixpkgs.overrides` in `configuration.nix` and it works for system build but when i import `pkgs = import <nixpkgs> {}` it doesn’t inherit my overrides
<__red__>
I have to say, the review that veprbl gave me was awesome - learned a few more tricks - like being able to patch a patch before the patch it applied
<__red__>
in order to avoid having to hard-code nix-store
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
mounty has quit [Ping timeout: 258 seconds]
<{^_^}>
[nixpkgs] @charvp opened pull request #98968 → greenfoot: init at 3.6.1 → https://git.io/JU65C
<{^_^}>
[nixpkgs] @xwvvvvwx opened pull request #98969 → lndconnect: init at 0.2.0 → https://git.io/JU6dO
<{^_^}>
[nixos-homepage] @github-actions[bot] pushed commit from GitHub Actions to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/JU6bc
aforemny has quit [Ping timeout: 240 seconds]
leungbk has joined #nixos
ManiacOfMadness has quit [Ping timeout: 260 seconds]
<leungbk>
When updating from early-last-week's nixos/unstable branch to yesterday's nixos/unstable branch, I found that my audio has stopped working. I have set sound.enable, sound.mediaKeys.enable, and hardware.pulseaudio.enable all equal to true. Is there anything else I could put into a GitHub issue that might help diagnose the cause?
<{^_^}>
[nixpkgs] @risicle merged pull request #98963 → [20.09] projectm: fix build on darwin → https://git.io/JU6X7
<{^_^}>
[nixpkgs] @risicle pushed 2 commits to release-20.09: https://git.io/JU6bd
<{^_^}>
[nixpkgs] @risicle merged pull request #98965 → sshping: fix build on darwin → https://git.io/JU69E
<worldofpeace>
leungbk: what's the status of the pulseaudio user service
<worldofpeace>
?
maljub01 has joined #nixos
<jlv>
Somehow, the latest 20.03 managed to completely break my computer. I can't even rollback. Fonts are all boxes and I can't open a terminal or any application. I tried to rollback. I tried to pin a working nixpkgs and update. Still broken. First time I've seen anything like this on NixOS.
mananamenos has quit [Ping timeout: 258 seconds]
<jlv>
To clarify. I can rollback, but it's broken on the rollback as well. It may be an issue with home-manager.
<leungbk>
worldofpeace: I do not see any mention of pulseaudio in the output of `systemctl list-units`.
<{^_^}>
[nixpkgs] @r-burns opened pull request #98971 → sshping: fix build on darwin → https://git.io/JU6Np
<worldofpeace>
leungbk: that's because it's a user unit `--user`
sbetrium has quit [Quit: sbetrium]
<worldofpeace>
jlv: maybe your fontconfig cache is corrupted? rolling back will not change this because it's stateful in /home
<worldofpeace>
could remove ~/.cache/fontconfig
<leungbk>
worldofpeace: My bad. Now I see that pulseaudio.service and pulseaudio.socket are both loaded+active+running.
<worldofpeace>
leungbk: output of unit status?
<jlv>
worldofpeace: that was it!
<jlv>
worldofpeace++
<{^_^}>
worldofpeace's karma got increased to 192
<worldofpeace>
jlv: was it possible you were using an app from unstable?
HeN has quit [Quit: Connection closed for inactivity]
__monty__ has quit [Quit: leaving]
sbetrium has joined #nixos
<jlv>
worldofpeace: I was testing an app that I was adding to nixpkgs, and I ran it, compiled from master, so yes in a sense.
<{^_^}>
[nixpkgs] @zimbatm merged pull request #97590 → terraform-providers: add version to patchGoModVendor providers → https://git.io/JUcFn
<{^_^}>
[nixpkgs] @zimbatm pushed commit from @Myhlamaeus to master « terraform-providers: add version to patchGoModVendor providers (#97590) »: https://git.io/JU6hu
polarfire has quit [Quit: WeeChat 2.7.1]
sbetrium has joined #nixos
<worldofpeace>
roconnor: there's IN_NIX_SHELL being set in nix develop from what I can see in my local system. But I don't think nix run works like a shell so there isn't a prompt
<clever>
[clever@amd-nixos:~]$ echo $SHLVL
<clever>
2
<clever>
there is also this var, that gets incremented each time you launch a shell in a shell
<clever>
if that was in the prompt, you would at least know when your nesting things
<{^_^}>
[nixpkgs] @risicle merged pull request #98971 → [20.09] sshping: fix build on darwin → https://git.io/JU6Np
<{^_^}>
[nixpkgs] @risicle pushed 2 commits to release-20.09: https://git.io/JUifJ
stree has quit [Quit: Caught exception]
stree has joined #nixos
cosimone_ has quit [Quit: Quit.]
philr has joined #nixos
<jlv>
worldofpeace : thank you for a very fast an thorough code review :)
<worldofpeace>
jlv: no problem, you're welcome and good thinking mentioning it to me ✨
__red__ has joined #nixos
<__red__>
Okay - so I have to say I was surprised and impressed by something
<__red__>
I swicthed all the clangStdenvs in my package definition to stdenv and then put the overload in top-level/all-packages... and it didn't cause a rebuild
<__red__>
I'm genuinely surprised and impressed
ehmry has quit [Ping timeout: 272 seconds]
sbetrium has quit [Quit: sbetrium]
ehmry has joined #nixos
mbrgm has quit [Ping timeout: 260 seconds]
mbrgm has joined #nixos
mmohammadi98129 has quit [Ping timeout: 258 seconds]
gustavderdrache has quit [Quit: Leaving.]
sbetrium has joined #nixos
Fare has quit [Ping timeout: 240 seconds]
wnklmnn has quit [Quit: Leaving]
<__red__>
Question regarding zero hydra failures issue...
<__red__>
What (if anything) do we do about things that are marked as failing due to nonfree
Orbstheorem has joined #nixos
<__red__>
if they're marked as broken do we still fix them?
<__red__>
if they're python modules that now report that they don't work in 2.7, even though they live in python27Packages?