<{^_^}>
[nixpkgs] @worldofpeace pushed 2 commits to release-19.03: https://git.io/fjeXX
pie__ has quit [Ping timeout: 244 seconds]
thetet has joined #nixos
stepcut has quit [Ping timeout: 246 seconds]
erasmas has joined #nixos
evanm has joined #nixos
erasmas has quit [Ping timeout: 245 seconds]
stepcut has joined #nixos
stepcut has quit [Remote host closed the connection]
Erasmus has quit [Ping timeout: 246 seconds]
stepcut has joined #nixos
stepcut has quit [Read error: Connection reset by peer]
stepcut_ has joined #nixos
Irenes has quit [Ping timeout: 245 seconds]
ym555 has quit [Quit: leaving...]
<evanm>
I am having trouble compiling a haskell project. I have defined servant-client-core with jailbreak and no-check in my release but it does not seem to be applied. The gist is at:
reallymemorable has quit [Ping timeout: 250 seconds]
Irenes has joined #nixos
jluttine has quit [Ping timeout: 246 seconds]
ma27 has quit [Quit: WeeChat 2.4]
jackdk has quit [Ping timeout: 255 seconds]
stepcut_ has quit [Ping timeout: 255 seconds]
alex`` has quit [Ping timeout: 246 seconds]
troydm has quit [Ping timeout: 246 seconds]
evanm has quit [Ping timeout: 256 seconds]
peacememories has joined #nixos
<{^_^}>
[nix] @andir opened pull request #2726 → [2.2] docs: fix typo in AllowDirectReads → https://git.io/fjeXp
stepcut has joined #nixos
thetet has quit [Quit: Leaving.]
reallymemorable has joined #nixos
Ralith_ has quit [Remote host closed the connection]
hakujin has joined #nixos
jluttine has joined #nixos
reallymemorable has quit [Ping timeout: 246 seconds]
<hakujin>
I compiled a c library and want to reference it within a nix shell via another tool (`c2hs`). how do I point `c2hs` to the library's include path?
Erasmus has joined #nixos
<infinisil>
hakujin: it will happen automatically if you add it to buildInputs
<hakujin>
infinisil: hmm. I do have it as part of `buildInputs` but the tool can't seem to find the library.
drakonis has quit [Quit: WeeChat 2.3]
<hakujin>
so I started down the path of "maybe I need to manually point the tool at the include directory"
boogiewoogie has quit [Quit: Leaving]
<clever>
hakujin: can you pastebin the nix files and the error msg?
<hakujin>
sure thing
o1lo01ol1o has joined #nixos
jluttine has quit [Ping timeout: 245 seconds]
josiah_sama has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}>
[nixpkgs] @dotlambda pushed 2 commits to release-19.03: https://git.io/fje9I
<chaker>
Hey guys, Is there a way to use particular nix binary to do the build instead of nix version that being run in the nix-daemon? For more context. I'm working on a path to Nix. And I was able to build it inside of a nix-shell, and I want to test my new build without the need to change my nixos-configuration. However if I run the binary I just built it will communicate the action to the daemon instead of doing
<chaker>
the work itself which of course will another version of Nix.
Guest93128 has quit [Read error: Connection reset by peer]
sinner has joined #nixos
sinner is now known as Guest27800
erasmas has joined #nixos
alex`` has quit [Ping timeout: 244 seconds]
justbeingglad has joined #nixos
justbeingglad has left #nixos [#nixos]
justbeingglad has joined #nixos
erasmas has quit [Ping timeout: 246 seconds]
Xal has quit [Ping timeout: 250 seconds]
growpotkin has quit [Remote host closed the connection]
Xal has joined #nixos
<LnL>
nix-shell also talks to the daemon
<chaker>
LnL: Yep, I'm aware of that. I just want to use the nix that I just built without going through the daemon.
ixxie has joined #nixos
<aminechikhaoui>
I think chaker wants to test a different version of the daemon. I guess maybe disable the daemon, not sure what value of NIX_REMOTE does that
<{^_^}>
[nixpkgs] @jacereda opened pull request #57687 → libcaca: make x11 optional, disabled on darwin → https://git.io/fje92
<LnL>
as long as the schema didn't change you can use your local store directly, but a diverted store is much safer
<LnL>
nix-build --store $(pwd)/prefix ...
johanot has quit [Quit: WeeChat 2.4]
<chaker>
Thanks LnL, yep I didn't change the schema but I need to use /nix/store. The reason is that the patch I work on is for the downloading of paths from s3.
<LnL>
no a diverted store will work just fine for that
<chaker>
So if I understand you correctly, I just need to stop the daemon service (and the socket ) and run `nix-store -r .....`. Because I tried that yesterday but it didn't work. Probably I did something wrong.
<LnL>
and makes it even easier to test since you can just nuke it :)
periklis has joined #nixos
<chaker>
That's super cool. Testing it, right now.
<chaker>
Thanks LnL
glebiuskv has joined #nixos
<jasongrossman>
LnL++
<{^_^}>
LnL's karma got increased to 10
<LnL>
not sure if there's a difference between --store "$(pwd)/foo" and --store "local?root=$(pwd)/foo"
<LnL>
but I think the second one definitively won't talk to the daemon
ixxie has quit [Ping timeout: 250 seconds]
_kwstas has joined #nixos
_kwstas has quit [Remote host closed the connection]
<LnL>
yep, no new connections in the nix-daemon log
__monty__ has joined #nixos
warbo has joined #nixos
<warbo>
hello, I'm trying to build a python package ("lifelines") but it's giving 'ImportError: /nix/store/...-python3.6-scipy-1.1.0/.../_sparsetools.cpython-36m-i386-linux-gnu.so: undefined symbol: __divmoddi4'
<warbo>
I've hit a similar problem on i686 before, and the standard workaround seems to be overriding stdenv to use GCC6 instead of 7
<warbo>
but that hasn't helped in this situation
<warbo>
(I've checked the .drv files and they reference 'gcc6.4-wrapper')
<warbo>
is there anything else I could try (e.g. patchelf)?
<johanot>
Is it possible to set StrictHostKeyChecking=No for "nix copy ssh://" ?
<srhb>
johanot: There's an env var that sets arbitrary ssh options
<srhb>
I forget what it's called
<srhb>
johanot: NIX_SSHOPTS maybe
<johanot>
will try.. what can possibly go wrong :P
<srhb>
johanot: Yeah, looks like NIX_SSHOPS="-o StrictHostKeyChecking=No" does the trick
<srhb>
Without the typo...
teser has joined #nixos
<teser>
hi, when doing system upgrade, I'm getting the following error:
<teser>
error: The option value `warnings` in `/nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/virtualisation/virtualbox-host.nix` is not a list.
<teser>
Does anybody know why, has something changes in regards to virtualbox?
<{^_^}>
[nixpkgs] @worldofpeace pushed commit from @dtzWill to master « font-manager: 0.7.4.2 -> 0.7.4.3 »: https://git.io/fjeHt
<johanot>
srhb++
<{^_^}>
srhb's karma got increased to 34
<teser>
warnings = mkIf (config.nixpkgs.config.virtualbox.enableExtensionPack or false)
<teser>
"'nixpkgs.virtualbox.enableExtensionPack' has no effect, please use 'virtualisation.virtualbox.host.enableExtensionPack'";
<johanot>
stuff works! :P happy friday!
<teser>
This appears to not be a list?
<xantoz>
is nixos.org down for anyone else?
martinb has quit [Read error: Connection reset by peer]
<warbo>
xantoz: not for me
martinb has joined #nixos
<xantoz>
ah. maybe it just doesn't respond to ping
<srhb>
johanot: Happy friday ;)
<xantoz>
I had a machine on which I couldn't access it for an upgrade, but I guess that's just a problem with the routing on there then
<warbo>
xantoz: doesn't respond to ping for me
<xantoz>
I tried with http again, and it works on my local machine, but not on the nixos one
ng0_ is now known as ng0
alex`` has quit [Ping timeout: 246 seconds]
equivrel has joined #nixos
<xantoz>
so likely something is broken on that machine. I'm not surprised, as it's running both NAT64 and 6to4
<teser>
Is anybody having issues with enabling virtualbox: "virtualisation.virtualbox.host.enable = true;" giving the "The option value `warnings` in `/virtualbox-host.nix` is not a list." error?
vk3wtf has quit [Ping timeout: 240 seconds]
<{^_^}>
[nixpkgs] @worldofpeace pushed to master « font-manager: no aliases »: https://git.io/fjeH3
<bkchr>
Hey, does someone know how I can enable a device tree blob overlay with nixos?
simukis has joined #nixos
martinb has quit [Remote host closed the connection]
martinb has joined #nixos
<linarcx>
Hi guys. i have a simple question. What is difference between generations and derivations?
glebiuskv has quit [Remote host closed the connection]
agander has quit [Ping timeout: 246 seconds]
<warbo>
linarcx: a "derivation" is essentially a build script
<warbo>
they're written to files like /nix/store/...-foo.drv
<linarcx>
warbo: And what is generations?
<warbo>
a "generation" refers to a particular set of installed packages
<linarcx>
Oh , nice.
<linarcx>
Thank you so much.
<xantoz>
yeah. it was the NAT64
<xantoz>
maybe I should try version bumping jool, since the latest version doesn't have this problem for me
<warbo>
e.g. "the set of packages that were installed by an upgrade on 2019-03-14"
johanot has quit [Ping timeout: 255 seconds]
<warbo>
Nix(OS) keeps track of generations to make rollbacks easier
<{^_^}>
[hydra] @basvandijk opened pull request #641 → Fix Linux build on Darwin → https://git.io/fjeH4
johanot has joined #nixos
silver has joined #nixos
ma27 has joined #nixos
<warbo>
looking through the dependencies of my broken scipy package, I can see gfortran-7.3.0-lib
martinb has quit [Read error: Connection reset by peer]
<gchristensen>
you need to override the src and name
<WilliamHamilton[>
it doesn't work in the sense that if I try to do `nix-env -iA nixos.zlibOld` the current 1.2.11 version is installed, and if I explore in `nix repl <nixpkgs>` pkgs.zlibOld.version I get 1.2.11 also
<gchristensen>
by the time you override `version`, src and name have already included the version
<{^_^}>
[nixpkgs] @fehrenbach opened pull request #57690 → chell: remove obsolete workaround that breaks 0.5 → https://git.io/fje7I
linarcx has quit [Ping timeout: 246 seconds]
<infinisil>
ivegotasthma: No way
linarcx has joined #nixos
<ivegotasthma>
just curious, because purity and functional approach are highly valued in nix
<srhb>
.oO(import ./pkgs/top-level/impure.nix)
reallymemorable has quit [Ping timeout: 255 seconds]
<infinisil>
Yeah, but we won't ever switch to hnix unless: It gets support for everything Nix has, it implements the exact same Nix language, it has the same performance and memory usage as normal Nix
agander has joined #nixos
<infinisil>
Maybe in 10 years or so :)
mariel__ has joined #nixos
ThatDocsLady_ has quit [Read error: Connection reset by peer]
<gchristensen>
+ the tooling built around Nix, in C++
<srhb>
That probably matters less and is more store-related anyway.
reallymemorable has joined #nixos
<srhb>
(which, at least currently, is outside the scope of hnix)
<warbo>
ivegotasthma: hnix also has a worse bootstrapping problem than nix
<warbo>
building hnix requires a Haskell implementation, which is presumably GHC built by another GHC
polman has joined #nixos
<ivegotasthma>
warbo: bootstrapping problem?
<gchristensen>
srhb: well hydras pretty important, but i see your point
<warbo>
Nix needs a C++ compiler, like GCC which is built by GCC
<srhb>
gchristensen: Sure! Just talking about possible "cuts" that seem more likely.
<gchristensen>
yea
<ivegotasthma>
yes, I get that, but it's the same issue
<warbo>
but pretty much everything in nixpkgs relies on GCC at some point, so it's less of a problem
reallymemorable has quit [Client Quit]
jtojnar has joined #nixos
<ivegotasthma>
I'd assume that a typed lambda calc is easier to bootstrap than c++
<srhb>
hnix is bootstrappable with nix.
<srhb>
nix is bootstrappable with nix.
<srhb>
NEither are easily built without nix.
<ivegotasthma>
bootstrappable is nix with bootstrappable
<warbo>
:P
<srhb>
:-P Yes..
zupo has joined #nixos
<warbo>
ivegotasthma: there are indeed a bunch of Haskell implementations ( https://wiki.haskell.org/Implementations ) but they're pretty much all dead except GHC
<warbo>
and GHC is a beast, so it's hard to make a Haskell implementation which is simultaneously minimal and able to bootstrap GHC
<linarcx>
Gyus. i have a questino. How to generate .config files in user home directory via nix? Imaging instead of copy i3.conf for each computer i want to write a nix module and when i build it, it create those dot files in my home directory. how do this?
<__monty__>
Look into home-manager.
<srhb>
,home-manager linarcx
<{^_^}>
linarcx: home-manager allows you to manage your per-user configuration similarly to NixOS's configuration.nix: https://nixos.wiki/wiki/Home_Manager
rauno has quit [Ping timeout: 240 seconds]
<linarcx>
Ah, thank you very much.
alex`` has joined #nixos
<danbst>
afaiu srhb isn't guys
ym555 has joined #nixos
o1lo01ol1o has joined #nixos
alex`` has quit [Ping timeout: 272 seconds]
rauno has joined #nixos
<srhb>
At least only in the very general collective sense. :-P
alex`` has joined #nixos
<__monty__>
They didn't say guys though. They said Gyus, or generally young and useful somebodies.
<betaboon>
is there any way to prevent the creation of .nix-defexpr and .nix-profile within a users $HOME ?
erasmas has joined #nixos
johanot has quit [Quit: WeeChat 2.4]
erasmas has quit [Ping timeout: 244 seconds]
alex`` has quit [Ping timeout: 244 seconds]
danbst has quit [Ping timeout: 256 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
jmeredith has quit [Quit: Connection closed for inactivity]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jpaus has joined #nixos
<warbo>
nikivi: I bounced around a bit on a project a few years ago, started off as a bunch of shell scripts, then I used Nix to plumb them together, then I moved a bunch of the calculations/logic to Nix, then I went back to putting the calculations/logic in scripts :)
<buffet>
linarcx: not sure if thats the right option, but check the `xsession.windowManager.i3.config.bars` option
<mog>
i want to add a node package to nixpkgs
<mog>
is there a good package i should look at to do so?
<warbo>
I knew I was reaching peak Nix abuse when I'd written floating point operations via 'x: y: import (runCommand "..." { buildInputs = [ bc ]; } ''...'')' ;)
<gchristensen>
good gravy, warbo
erasmas has joined #nixos
<warbo>
gchristensen: heh; it made *some* sense, since it was mostly JSON transformations, and that fits Nix quite well with 'fromJSON' and 'toJSON'; but then I needed to average some arrays...
<infinisil>
I wrote a probably working fnv1a hash implementation in Nix so I can have decent random numbers :)
<infinisil>
> random
<{^_^}>
4100480739
<gchristensen>
dangit infinisil
<gchristensen>
:P
<infinisil>
Very useful!
<warbo>
I made a random number generator once (can't remember what for); I just filtered a-f out of the built in sha256 hash's output
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<warbo>
(well, I filtered out all non-digits; I think the output's not actually in hex)
<cransom>
since when has `random = 4` not been good enough?
<ryantm_>
gchristensen: Lately, I've noticed that the aarch64 OfBorg builds have been finishing faster than x86_64, is that expected based on the hardware being used?
reinhardt has quit [Quit: Leaving]
AdamSpitz has left #nixos [#nixos]
<gchristensen>
it might be worker availability or hardware
<gchristensen>
maybe check out historical data on monitoring.nix.ci ?
timor has joined #nixos
zupo has joined #nixos
<Izorkin>
infinisil: should I fix something else, before you accept this PR #56423 ?
<{^_^}>
access to path '/dev/stdout' is forbidden in restricted mode
<infinisil>
danbst: Feel free to spam the bot as much as you want in #bottest :)
<danbst>
infinisil: :bow:
<gchristensen>
danbst: see also my PM :)
everybodyHertz has joined #nixos
<danbst>
gchristensen: last message from you is ":)"
<gchristensen>
I was waiting for a reply to see you were alive :)
<danbst>
alive )
<everybodyHertz>
hey all- I'm trying to hack onto nixops at the moment and I could use a smidge of guidance
hakujin has quit [Ping timeout: 246 seconds]
vmandela has joined #nixos
stepcut has joined #nixos
zupo_ has joined #nixos
rycwo has joined #nixos
zupo has quit [Ping timeout: 245 seconds]
<angerman>
If I have a submodule defined, how do I refer to the parent module in nix? (The `config` value seems to be local to the submodule)
<danbst>
angerman, no config is about all modules combined
<danbst>
and generally you should try to order modules, or query modules order. Module system is bad here
<danbst>
* shouldn't
<angerman>
danbst: so I have a listOf thing that make sense to be a submodule. but I want to be able to provide global values as well.
<angerman>
some form of annoying inheritence :D
<infinisil>
angerman: If the submodule is defined within the parent module, you can rename the parents config to parentConfig or so, then you can refer to it, or alternatively `myvaluethatIneedInTheSubmodule = config.some.value`
<danbst>
ah
<angerman>
infinisil: well it uses the syntax for the module to be in a different nix file.
<danbst>
just make a separate namespace
<infinisil>
angerman: Then you can prefix your submodule file with `parentConfig: ` and pass it the parent config when importing it
<angerman>
I'll try to see if I can use config.global. or something.
<danbst>
foo and fooList
mmlb97 has joined #nixos
<angerman>
infinisil: got an example for that? The import seems to be implicit. I have `mkOption { type = attrsOf (submodule { imports [./submodule.nix]; _module.args = { ... }; };)};`
endformationage has joined #nixos
mmlb9 has quit [Ping timeout: 255 seconds]
srid1 has quit [Read error: Connection reset by peer]
srid1 has joined #nixos
drakonis has quit [Read error: Connection reset by peer]
<danbst>
oh
<danbst>
what about _module.args.parentConfig = config?
drakonis has joined #nixos
<infinisil>
danbst: No that won't work, _module is not an option in the submodule
<infinisil>
angerman: That's not even valid syntax
<infinisil>
angerman: Use `mkOption { type = attrsOf (submodule (import ./submodule.nix config)); }`
<angerman>
infinisil: sorry, I meant `imports = [./submodule.nix];`
<infinisil>
And submodule.nix should look like `parentConfig: { name, config, ... }: ...`
<angerman>
infinisil: where do I put the _module.args part when I use import directly?
<infinisil>
Why do you want that?
civodul has joined #nixos
<infinisil>
danbst: Ah sorry it is, but that's a weird workaround imo
<angerman>
infinisil: because I want to provide some extra arguments?
o1lo01ol1o has quit [Remote host closed the connection]
<infinisil>
angerman: I guess you could convert these (type-less) extra module arguments into type checked options in the submodule instead
<infinisil>
angerman: Oh and then you could actually set these submodule values from the parent module
<angerman>
infinisil: O_o
<infinisil>
(ah no you can't)
<infinisil>
angerman: Eh this solution is pretty good, ignore me
<angerman>
I'll know if it worked as intended in a few hours. \o/
<danbst>
angerman: still don't understand why not _module.args. Those were created exactly for such usecases, and let modules be modules, and not functions
<angerman>
danbst: the direct (submodule is parametized over something) feels more natural to me than the indirect passing via _module.args
<noonien>
i've got `_module.args.unstable = import <nixos-unstable> { config = config.nixpkgs.config; };` in my config, how can i access unstable from my overlay?
<angerman>
danbst: that is, this is specifically for a parent/child setting. If this was a more loose module coupling, module.args might be a substantially better solution.
<danbst>
angerman: I see. Okay then.
<infinisil>
noonien: Overlays aren't NixOS specific and therefore don't have access to all the NixOS options and such
<clever>
noonien: you would need to instead make an overlay for nixpkgs, that sets unstable=
<clever>
noonien: and then you have a pkgs.unstable
<clever>
or, define the overlay itself within nixos modules
<noonien>
hmm, perhaps i should just add unstable in my overlays? instead of adding to _module.args, this way i can use it anyway
<infinisil>
I'd do that yeah
<noonien>
`unstable = import <nixos-unstable> { config = self.config; };` should do the trick i believee
<noonien>
s/self/super
<infinisil>
I'd think this should be self no?
<noonien>
hmm, adding that to my overlay then doesn't let me use `unstable` as a parameter to packages
<noonien>
s/packages/modules
rcshm has joined #nixos
<infinisil>
Yeah, you can still add the _module thing if you want that
<infinisil>
(but with the unstable overlay you could just use pkgs.unstable in your modules too)
<noonien>
ah, yeah, i'll just use pkgs.unstable
<noonien>
thanks for pointing that out!
o1lo01ol1o has joined #nixos
everybodyHertz has quit [Ping timeout: 256 seconds]
andersea-work has joined #nixos
andersea-work is now known as aanderse-work
<danbst>
infinisil: just check oxij's new creation, I'm somewhat satistfied with it, especially the part where he reimplements overlays via config.packageOverrides and module system
o1lo01ol1o has quit [Ping timeout: 252 seconds]
<rcshm>
hi, i have been trying to start arangodb i installed. what is the simplest way to start it correctly locally? https://github.com/NixOS/nixpkgs/pull/40167 doesn't seem to be worked on anymore.
<{^_^}>
#40167 (by babariviere, 44 weeks ago, open): arangodb: Add arangodb as a NixOS service
<rcshm>
thanks.
_deepfire has quit [Remote host closed the connection]
disasm has quit [Quit: WeeChat 2.0]
disasm has joined #nixos
aanderse has quit [Ping timeout: 252 seconds]
hakujin has joined #nixos
Xal has quit [Ping timeout: 245 seconds]
Xal has joined #nixos
Jetien has joined #nixos
ddellacosta has joined #nixos
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<srhb>
genesis: Sorry, I'm not sure I understand what "wont work" means in this case. Can you elaborate? What did you expect to work, what happened instead?
<{^_^}>
nixos-org-configurations#79 (by grahamc, 3 hours ago, open): Channel updates happen all at once, meaning none at all.
Makaveli7 has joined #nixos
aaronduino[m] has joined #nixos
<Jetien>
Hi! I'm trying to setup a NixOs machine on a cloud provider that doesnt provide a nixos image. I've created a fresh nixos install in a VirtualBox vm and now i'm trying to use the VDI image to create an instance in the cloud provider. The image boots and I get a GRUB, but the boot fails in Stage1 when it tries to mount the root filesystem. I've configured the root system to mount /dev/vda1 but it can't find it. I'm assuming the device is /dev/vda, but i'm not
<Jetien>
sure about it. In GRUB I can browse the my desired root at ls (hd0,msdos1)/ . Does anybody have an idea what might be missing?
<slabity>
An overriden derivation that uses `fetchPypi` is targetting the wrong URL from pythonhosted.org (resulting in 404). Do I need to do anything special when overriding a `fetchPypi` derivation?
<{^_^}>
[nixpkgs] @xeji pushed commit from @r-ryantm to master « fwts: 19.01.00 -> 19.02.00 (#56665) »: https://git.io/fjeN9
linarcx has joined #nixos
<rcshm>
hi, appreciate if anyone can point me to an example of starting a db as a service. i have installed arangodb but there is no howto start it. and it just has init error when i follow arangodb doc. thanks again.
<srhb>
slabity: The closest thing I can find to that is Fabric3-1.14.post1
<slabity>
srhb: The current version is 2.*, but I need 1.* because it breaks compatibility. I looked at the release history of the package and found the latest 1.* release was 1.14.1: https://pypi.org/project/Fabric/2.4.0/#history
<srhb>
Ah, I see
<srhb>
slabity: So do you just need to use Fabric instead of fabric? :)
<slabity>
It works if I set a 2.* version, but not a 1.* version for some reason
<genesis>
srhb : testing with testparm is interesting, guest account = nobody => no mention, with another [global]
<{^_^}>
[nixpkgs] @xeji pushed commit from @r-ryantm to master « hiawatha: 10.8.3 -> 10.9 (#56695) »: https://git.io/fjeAe
<warbo>
finally managed to work around my __divmoddi4 'missing symbol' error with scipy, by patching the build scripts (preCheck, in my case) to add "${gcc.cc.lib}/lib" to the front of LD_LIBRARY_PATH and export it
<slabity>
They even broke name compatibility wtf
<slabity>
srhb: Thanks.
<srhb>
slabity: Funtimes.
<srhb>
slabity: Sure thing.
<slabity>
How did you know the name difference? Where did you see that?
<{^_^}>
[nixpkgs] @dotlambda pushed commit from @r-ryantm to master « python37Packages.stevedore: 1.30.0 -> 1.30.1 (#57459) »: https://git.io/fjeAG
ym555 has joined #nixos
<ddellacosta>
so I've ended up with maybe a somewhat idiosyncractic shell.nix for a specific project--it seems to work, but I'm not sure I've done this in a good way or if there are gotchas to this method. If anyone is willing, I'd love to get a second opinion: https://gist.github.com/ddellacosta/f98ff02058a4d58aaae15aba523bb21c
dashkal has quit [Read error: Connection reset by peer]
<genesis>
srhb : my HP laserjet send scanned document via samba, that's a bit usefull and painfull to config :) i try to ask on #samba but that's a total silence :)
<ddellacosta>
clever: so that is good for cabal2nix, but what about when I need cabal in the context of the shell (and in particular in my case, in emacs dante
<ddellacosta>
)
<srhb>
genesis: Ah, okay. Sorry, I probably can't be of much help there...
<srhb>
ddellacosta: This is why I often use shellFor explicitly, to pass in extras.
<ddellacosta>
clever: ...so it sounds like you're basically proposing I essentially bypass adding something like nativeBuildInputs, and build some substitute for cabal with the ghc I'm baking in, and then re-configure dante and whatever else to use that?
<jomik>
Hoped that I could just use npm2nix - but that gives some issue : `info retry will retry, error on last attempt: Error: unable to get local issuer certificate`
<aanderse-work>
i just ran nix-shell -p pkgsi686Linux.firefox on my laptop and it started compiling firefox
<aanderse-work>
is there a way to get a 32bit firefox without compiling?
<tokudan[m]>
aanderse-work: that one uses the prebuilt binary from mozilla
<ddellacosta>
hmm well, dante is still giving me `Searching for program: No such file or directory, cabal`, but it's working fine otherwise. Back to the (dante) drawing board...
<aanderse-work>
tokudan[m]: hmm dang still compiling something
<aanderse-work>
libbonobo or something currently
<aanderse-work>
maybe it will compile less than the regular "firefox" package
<aanderse-work>
because my laptop ran out of memory and gave up on that
<timor>
When writing a nixos module, and defining an option, can I reference some other module's option types? (e.g. list of systemd service configuration attr-sets...)
<timor>
(I think I meant "declaring" an option)
<slabity>
timor: You should be able to access them with 'options.*'
<{^_^}>
[nixpkgs] @dotlambda pushed commit from @r-ryantm to master « python37Packages.pytest-django: 3.4.7 -> 3.4.8 (#57440) »: https://git.io/fjext
linarcx has joined #nixos
<LnL>
pie_: I think there's an option you can disable if you really need it, but at this point it's probably better to ask what you're actually trying to do :)
knupfer has joined #nixos
ilmu has quit [Ping timeout: 246 seconds]
<pie_>
LnL, trying to install eclipse 3.5.2 :P
<pie_>
LnL, the ghidra dev plugin requires that version (afaict)
<pie_>
case study in "new" program needing really oldass software
<hakujin>
clever: if I manually define `CPATH = "${libical.dev}/include";` in my .env derivation things seem to work correctly re: tools (`c2hs`) finding things in my nix shell session. this feels like one of those things that folks sorted out long before me.
<hakujin>
which makes me think I'm clearly doing something wrong
<hakujin>
you mentioned `buildInputs = [ libical.dev ];` should sort this out automatically
<hakujin>
I'm not having luck with that ^, at least in the context of a nix shell
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
<clever>
hakujin: can you pastebin the version with buildInputs?
wfranzini has quit [Remote host closed the connection]
<hakujin>
sure. one sec.
rcshm has quit [Remote host closed the connection]
<ddellacosta>
I have a working haskell environment using dante in Nix and I'm very excited! Thanks to clever, srhb, infinisil and all the other patient people who answered my stupid questions and reviewed my nix code over and over. That is all
<{^_^}>
[nixpkgs] @terlar opened pull request #57705 → pythonPackages.google-auth-oauthlib: init at 0.2.0 → https://git.io/fjepU
<cheeserific>
I messed up. My system is on an lvm drive, I accidentally used fdisk to overwrite the partition table, delete partitions, and create a new one thinking it was a usb drive. Luckily, it looks like the new partition failed, but the partition table is messed up still and I can't boot into the system. I'm on the NixOS live usb right now. Can I recover the system or at least find some way to get my configuration.nix?
<{^_^}>
[nix] @catern opened pull request #2728 → nix-shell: don't use XDG_RUNTIME_DIR if TMPDIR is unset → https://git.io/fjepw
technoidX has quit [Read error: Connection reset by peer]
technoidX has joined #nixos
rcshm_ has quit [Read error: Connection reset by peer]
<pie_>
unrelated, is there a way to find users of a derivation?
stepcut has joined #nixos
petrkr has joined #nixos
rcshm has joined #nixos
drakonis_ has joined #nixos
rcshm has quit [Read error: Connection reset by peer]
Myhlamaeus has joined #nixos
rcshm has joined #nixos
stepcut_ has quit [Ping timeout: 246 seconds]
<vaibhavsagar>
pie_: grep :)?
drewr has quit [Ping timeout: 252 seconds]
rcshm has quit [Read error: Connection reset by peer]
<vaibhavsagar>
if you mean on a running system, I think nix-store has something for that
drakonis1 has joined #nixos
<slack1256>
user environments are derivations too, you could check the references on it
drakonis has quit [Ping timeout: 246 seconds]
rcshm has joined #nixos
<pie_>
vaibhavsagar, ah i forgot about that, -q --refererrers looks like it might be what i want
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
drakonis has joined #nixos
drakonis has quit [Read error: Connection reset by peer]
drakonis2 has joined #nixos
drakonis_ has quit [Ping timeout: 240 seconds]
sigmundv has quit [Ping timeout: 246 seconds]
<pie_>
LnL, if i can poke you with documentation stuff, it might be nice if the breakpointHook description in the manual had the word "debug" in it somewhere? might be easier to find
knupfer has quit [Ping timeout: 240 seconds]
drakonis1 has quit [Ping timeout: 245 seconds]
stepcut has quit [Ping timeout: 255 seconds]
orivej has joined #nixos
Fare has joined #nixos
<Fare>
git bisect'ing nixpkgs is less pain than I feared.
<pie_>
Fare, yay \o/ less pain is good
<pie_>
nix make me feel like a masochist sometimes :V
<pie_>
well i mean, that depends on what youre into
<Fare>
except for the times when you reach commits wherein large libraries are not in cache anymore :-/
drakonis2 has quit [Ping timeout: 240 seconds]
drakonis2 has joined #nixos
drakonis2 has quit [Read error: Connection reset by peer]
rcshm has quit [Read error: Connection reset by peer]
rcshm has joined #nixos
MightyJoe is now known as cyraxjoe
rcshm has quit [Read error: Connection reset by peer]
rcshm has joined #nixos
slack1256 has quit [Remote host closed the connection]
drakonis2 has quit [Read error: Connection reset by peer]
linarcx has quit [Quit: WeeChat 2.4]
drakonis2 has joined #nixos
linarcx has joined #nixos
aanderse-work has quit []
periklis has quit [Ping timeout: 255 seconds]
jevonearth__ has quit [Quit: Leaving]
linarcx has quit [Client Quit]
drakonis2 has quit [Read error: Connection reset by peer]
drakonis2 has joined #nixos
linarcx has joined #nixos
ixxie has joined #nixos
<{^_^}>
[nixpkgs] @kalbasit opened pull request #57711 → [WIP] Go: 1.11.5 -> 1.11.6 and 1.12 -> 1.12.1 → https://git.io/fjehn
<{^_^}>
[nixpkgs] @gnidorah opened pull request #57712 → jack module: init → https://git.io/fjehC
<{^_^}>
[nixpkgs] @deliciouslytyped opened pull request #57713 → Add word `debug(ging)` to breakpointHook description for discoverability → https://git.io/fjehW
<pie_>
is there any way to filter oull requests like "1.11.5 -> 1.11.6"
<vaibhavsagar>
filter them out of what?
<pie_>
*filter out pull requests
<pie_>
-"->" doesnt seem to work :
<pie_>
man so many typos right now, * :P
<vaibhavsagar>
I think I understood that, but what do you want to filter the pull requests out of?
<vaibhavsagar>
the GitHub UI, an RSS feed, this IRC channel?
<catern>
shlevy: I see you briefly exchanged emails with Ludo two years ago about using C_INCLUDE_PATH/LIBRARY_PATH instead of the CC wrapper, is there anything stopping us from doing that?
<vaibhavsagar>
my glib answer of "use a regex" might not work in most of these scenarios
<{^_^}>
#55975 (by colemickens, 3 weeks ago, open): vaapi + i915 is not working
<ivegotasthma>
I'm running `stack build` but I'm getting a resolver error. https://dpaste.de/Et9U/raw if I downgrade the lts resolver in the stack.yaml from 13.12 to 13.10 it works, but it downloads an older version of GHC, which then gets cleaned on nix-collect-garbage -d
rcshm has quit [Remote host closed the connection]
rcshm has joined #nixos
rcshm has quit [Read error: Connection reset by peer]
<{^_^}>
[nixpkgs] @xeji pushed commit from @r-ryantm to master « qtractor: 0.9.4 -> 0.9.5 (#57473) »: https://git.io/fjehA
waleee has quit [Quit: WeeChat 2.4]
<{^_^}>
[nixpkgs] @matthewbauer merged pull request #57632 → nodejs: fix gyp errors when building scuttlebot on Darwin → https://git.io/fjeR9
<{^_^}>
[nixpkgs] @matthewbauer pushed commit from @jacereda to master « nodejs: fix gyp errors when building scuttlebot on Darwin (#57632) »: https://git.io/fjehp
<noonien>
but the python package i'm trying to override is a py3 package, and this does not seem to work
hakujin has joined #nixos
<noonien>
so, how does one override python3Packages.pywal for example
drakonis has joined #nixos
das-g[m] has joined #nixos
<buffet>
hey, im currently using chromium over xwayland, is there a way that i can get it with wayland (and preferably without X) support?
<noonien>
also, in my nixpkg(i'm running nixos-18.09) it seems pywal is in pkgs.pywal, however, i'm installing wpkgtk which is in unstable, and it seems to use python3Packages.pywal as a dependency, not pkgs.pywal, python3Packages.pywal does not exist in my version of nixpkgs
<noonien>
i'm unsure where to even start
<buffet>
noonien: does python3Packages.pywal exist in unstable?
<noonien>
yes, it does, not in nixos-18.09 though, which is the stable branch
<rcshm>
hi, i have installed arangodb and i am looking for a way to start it properly. and i didn't really see any doc and the start as service github is not really updated. thanks for any help.
<jtojnar>
Fare the gdk pixbuf loaders are used by every GTK app to render icons
<jtojnar>
and also by QT apps when trying to blend into GTK system
<Fare>
how come they need an environment variable? Don't their defaults suffice?
<jtojnar>
so basically every graphical app needs it
<Fare>
so if I unset them, lots of things will break?
<Fare>
how come they are out of synch, though? And how do I deal with discrepancy between the base system and the user's nixpkgs ?
<jtojnar>
Fare: on FHS systems the modules load from /usr/lib/gdk-pixbuf
<jtojnar>
since we do not have /usr, we need to tell the apps
<jtojnar>
Fare: we solve it for most GTK 3 apps by setting the environment variable using wrapGAppsHook
<Fare>
wouldn't the "right thing" be to have some kind of wrappers that you update to tell the application where the loader modules are, if not statically known?
<Fare>
ok
<Fare>
so, should qiv use wrapGAppsHook or something?
<jtojnar>
Fare: we did not need it before because the ABI is quite stable so it worked fine with mixed versions for years, until recently
<Fare>
(the wrapper presumably sets precisely those variables?)
psy3497 has joined #nixos
<jtojnar>
Fare: yeah, or ensure the system is consistent
* Fare
greps around and finds the variables being set in /etc/static/set-environment
Rusty1 has joined #nixos
<jtojnar>
yeah, most desktop environments set it by services.gdk-pixbuf.enable = true
<jtojnar>
I dislike it since it breaks purity but some people want it
<Fare>
of course, since I didn't reboot in a while, /etc/static/set-environment and my current environment are quite out of synch.
<Fare>
what does that variable do?
acarrico has quit [Ping timeout: 255 seconds]
<Fare>
So, if I reboot, should qiv and chromium be suddenly more stable?
<jtojnar>
GDK_PIXBUF_MODULE_FILE tells gdk_pixbuf where to find the loaders
<clever>
Fare: when you nixos-rebuild, it updates /etc/static
<jtojnar>
probably
<musicmatze>
Can someone confirm that the riot-web package ships a version that is different than the version hosted on riot.im? ... But upstream did not yet release a new version that is the same as riot.im, as it seems.
<clever>
but you may need to logout and login for some env vars to update
<{^_^}>
[nixpkgs] @xeji pushed commit from @yurrriq to master « kops: 1.11.0 -> 1.11.1 (#57079) »: https://git.io/fjvvd
<Fare>
I didn't realize until now that you need to reboot after a nixos-rebuild switch
<Fare>
looks like you do.
<Fare>
The entire notion of shell environment variable seems bunk to me. The scoping is done wrong.
<jtojnar>
yeah, it is an ugly hack
<Fare>
Not especially nixos' fault. I suppose that's what dbus was trying to fix, but of course bootstrapping dbus has the very same problem.
<rnhmjoj>
i'm trying to find the commit that broke a qt application (monero-gui). it must be between 8cd7b5aab3 (Dec 29) and b48304439b (Jan 4). bisecting is taking forever because there is a lot of interference from failing dependencies that are unrelated. do you have any idea about what it could be?
<jtojnar>
we have a lot of those since apps are not expecting anything else than FHS
Erasmus has quit [Read error: Connection reset by peer]