Izorkin has quit [Read error: Network is unreachable]
Izorkin has joined #nixos
acarrico has joined #nixos
kyren has joined #nixos
<Myrl-saki>
Is there a function that takes traverses through propagatedBuildInputs?
<Myrl-saki>
Okay, crap, I feel stupid now. That's all implemented in BASh, IIRC.
pjan_ has quit [Quit: さようなら]
Izorkin has quit [Read error: Connection reset by peer]
rprije has joined #nixos
Izorkin has joined #nixos
graphene has quit [Remote host closed the connection]
<{^_^}>
[nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fN4qu
Izorkin has quit [Read error: Network is unreachable]
graphene has joined #nixos
<Myrl-saki>
/buffer 36
Izorkin has joined #nixos
<elvishjerricco>
Hm. Trying to use github prs feature of hydra, I'm getting this: `access to path '/nix/store/v4cjv3z8f7xzjwmbjaf0ihny2ayiz38p-github-pulls-sorted.json' is forbidden in restricted mode`
<elvishjerricco>
Anyone know what that's about?
Izorkin has quit [Read error: Network is unreachable]
<{^_^}>
[nixpkgs] @endgame opened pull request #44039 → haskellPackages.blank-canvas: Move fixes to configuration-common.nix → https://git.io/fN4qw
alexteves has quit [Remote host closed the connection]
Izorkin has joined #nixos
andreabedini has joined #nixos
Izorkin has quit [Read error: Network is unreachable]
Izorkin has joined #nixos
<Myrl-saki>
holy crap, python is killing me.
Anton-Latukha has quit [Quit: Leaving.]
<Myrl-saki>
A lot of python programs rely on PYTHONPATH for extensibility. I can't even test them on environment.systemPackages, and need to use wrapper scripts and whatnots.
Izorkin has quit [Read error: Connection reset by peer]
<Myrl-saki>
tertle||eltret: I guess I technically can, by nix-shelling the drv instead.
<tertle||eltret>
idk, i dont do much programming, but i just learned about nix shell last night :D
<tertle||eltret>
i would ask the other guys what they do
<tertle||eltret>
samueldr: what u thimlk
<samueldr>
not sure what the question is
andreabedini has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<samueldr>
but for development purposes, most users use nix-shell
Izorkin has quit [Read error: Connection reset by peer]
andreabedini has joined #nixos
Izorkin has joined #nixos
<tertle||eltret>
what about for production?
<samueldr>
ideally, no, since it will bring a bit of overhead, and forces some behaviour
<samueldr>
but I'm no expert here
<samueldr>
I mean, there are worse things in prod everywhere in the world I'm sure :)
<elvishjerricco>
Uh. So I tried updating my hydra version to something from master and got `/nix/store/mspgzdfmlxjs8pcbnhkhyfkz42wq8yj2-hydra-2018-07-07/bin/.nix-prefetch-git-wrapped: line 160: cd: too many arguments`
<tertle||eltret>
samueldr: thats for sure...u should see whats in production at my job
Izorkin has quit [Read error: Connection reset by peer]
<bongsun>
i just copied how darcs was defined in all-packages.nix but nixos-rebuild fails
Izorkin has joined #nixos
markus1199 has quit [Ping timeout: 244 seconds]
Izorkin_ has quit [Ping timeout: 256 seconds]
jperras has joined #nixos
Izorkin has quit [Ping timeout: 256 seconds]
sam__ has joined #nixos
jperras has quit [Ping timeout: 240 seconds]
hakujin1 has joined #nixos
Fare has joined #nixos
<Fare>
borodust, sorry, I don't think I did foreign libraries in CL on NixOS, but others might have done it.
<Fare>
On the other hand, I did do foreign libraries for Gerbil Scheme on NixOS, so it's possible.
Jason_Gr` has quit [Ping timeout: 260 seconds]
<elvishjerricco>
Is it safe to delete Hydra's `scm` directory? I think mine might be corrupted in some way...
<elvishjerricco>
Nope, that was not the problem...
hakujin1 has quit [Ping timeout: 256 seconds]
<elvishjerricco>
Has something to do with git submodules though. Hydra was doing my submodules happily before I tried to update it :/ But the script that's failing seems completely unchanged.
endformationage has joined #nixos
silver has quit [Read error: Connection reset by peer]
<osa>
Just a quick question. I'm thinking about installing nixos as I am getting bored of Arch and want more control over my system (like with source-based distributions). Currently deciding between NixOS (unstable channel) and Gentoo (unstable ~amd64 branch). Are packages updated at about the same rate in both distributions? I like bleeding edge, but hopefully with infrequent breakages :)
<tenten8401[m]>
osa: from my experience in unstable they're usually pretty quick to bring updates, although that's subjective and based on which packages get attention obviously
<tenten8401[m]>
however as of recent they've been having some breakages in the master nixpkgs and it's gone ~10 daysish without updates
d1rewolf____ has joined #nixos
<tenten8401[m]>
however, that can also be viewed as a good thing since the packages are being built and tested before they're released
<tenten8401[m]>
unstable has a lot less testing than stable though
<osa>
I don't run anything too crazy, just Gnome 3, Firefox, kdenlive, etc. I was looking at the latest GNOME discussion and saw that Wayland might be arriving soon too (without extra commands). Do you think NixOS is reasonable to learn without much experience with nix? Is it configurable like Gentoo?
<osa>
And yes, that is good that they're being tested. I
<osa>
I'd rather have less updates for stability than absolutely bleeding edge.
<tenten8401[m]>
I started with no experience with Nix and found it pretty easy as long as you're not making packages with no nix experience
<samueldr>
be clear, when saying "breakage", it's that there are no updates available, not that it breaks systems
<tenten8401[m]>
^^
<tenten8401[m]>
I will say, Kdenlive is currently broken in unstable though (at least, the rendering part is)
<tenten8401[m]>
broken as in installs fine and works fine but you try to render and it doesn't work
<tenten8401[m]>
I think samueldr was messing with it some
<samueldr>
tenten8401[m]: I might actually have something of a fix
nathyong_ has joined #nixos
<samueldr>
tenten8401[m]: want to heat up your CPU?
<osa>
Thanks samuel for clearing that up. Hmm, I'll track news for kdenlive.
<tenten8401[m]>
samueldr: sure thing
<tenten8401[m]>
I've got a Ryzen 5 1600 so I doubt it'll be that bad, does nix.maxJobs allow for multi-threaded compiling?
<samueldr>
hmm, wait, no, that won't do it right now :)
<samueldr>
I forgot I targetted willfully an *old* commit to increase the chances of Qt breakage :D
<tenten8401[m]>
rip, let me know when it's ready
<samueldr>
(but with a nix-shell --pure WITHOUT environment, it worked fine!)
<osa>
Will the appimage version of Kdenlive work on NixOS?
<samueldr>
tenten8401[m]: actually, I'm waiting for this cleanup to finish building, and then I'm rebasing on unstable
<tenten8401[m]>
osa: it's an issue with the nix packaging I'm pretty sure, not kdenlive itself. I have not had much luck with appimages at all
<nathyong_>
How can I use `buildFHSUserEnv` with gcc5? I've added it to my `targetPkgs` but there seem to be conflicts with different libraries when I pull in binutils
<osa>
tenten8401[m]: Ok, thanks. I'll watch for updates! Wish me luck with the install
<elvishjerricco>
Where foo has no dependency on `bar`
<elvishjerricco>
I didn't test that this exactly gives infinite recursion, but my config is much too complicated to gist :P
Mateon3 has joined #nixos
Mateon1 has quit [Ping timeout: 276 seconds]
Mateon3 is now known as Mateon1
<clever>
elvishjerricco: why do you want to refer to another machines nixpkgs config?
<elvishjerricco>
clever: Ok, yea that yields infinite recursion with `foo = {}`
d1rewolf____ is now known as direwolf____
direwolf____ is now known as direwolf___
<elvishjerricco>
clever: Because that machine's config is a mess of `imports`, and tracking down all the things that set `nixpkgs` to factor them out would be hard. So since I want this machine to have the same overlays, this was the easiest way
<clever>
elvishjerricco: note that this will also copy nixpkgs.pkgs, which is likely going to cause more problems
<elvishjerricco>
clever: Ah. Ok so I'll try with just `overlays`
<clever>
elvishjerricco: any config you set on defaults, applies to every machine in the cluster
<clever>
so you only have to define options and set global stuff in one place
<elvishjerricco>
clever: Oh that's intriguing
<elvishjerricco>
clever: Yea that'll probably be the end-game
<tenten8401[m]>
is there a way to make NixOps configurations portable? as in I don't have to create a new deployment every time?
<elvishjerricco>
tenten8401[m]: What would you do instead?
<tenten8401[m]>
I was thinking just cd into a directory and run nixops deploy
direwolf___ has quit [Remote host closed the connection]
<tenten8401[m]>
and like if I was deploying to digitalocean, I'd probably run into issues when using on multiple computers since it'd try and deploy a new VM every time
<ldlework>
yo johnw
direwolf___ has joined #nixos
direwolf___ is now known as d1rewolf___
baconicsynergy has quit [Read error: Connection reset by peer]
<tenten8401[m]>
I just feel like nixops data shouldn't be stored in ~/.nixops, but rather the folder the deployment is in
jperras has joined #nixos
sellout-1 has joined #nixos
jperras has quit [Ping timeout: 260 seconds]
d1rewolf___ has quit [Ping timeout: 256 seconds]
sellout- has quit [Ping timeout: 256 seconds]
erratic has quit [Quit: this server has gone to sleep]
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
tertle||eltret has joined #nixos
<tertle||eltret>
gn all
<tenten8401[m]>
'nite
DeltaEvo has quit [Ping timeout: 256 seconds]
erratic has joined #nixos
* samueldr
waits for build to complete
<samueldr>
just rebased to 18.03, next to unstable
<elvishjerricco>
Hm. With a nixops machine of `targetEnv = "container"`, is it possible to enable `nix-build`-ing in the container?
drakonis has quit [Read error: Connection reset by peer]
sam__ has joined #nixos
sam__ has quit [Client Quit]
orivej has joined #nixos
Fare has quit [Ping timeout: 256 seconds]
jmeredith has joined #nixos
dbmikus has quit [Ping timeout: 256 seconds]
<kalbasit>
is there a way to customize the location of the system build `/nix/store/05bzz2fc39w202gzkc9bvr31f2zmlvxd-nixos-system-hades-18.09.git.7ffed91faf7`? I'm trying to figure out how to customize the label of the entry in `systemd-boot` to include the sha of my own git-repo where nixpkgs actually live as a submodule and I traced it to
<samueldr>
with that much text, I'm sure nobody will review the PR :)
<tenten8401[m]>
Sweet, I'll have to try it tommorow
<samueldr>
to test, you can: checkout that commit inside a folder, nix-shell -p kdenlive when cd-ed into that directory, and it... hopefully will work?
jperras has quit [Ping timeout: 248 seconds]
<tenten8401[m]>
I'll get back to you tommorow and test it
<samueldr>
do note that you will have to build A BUNCH of things...
<samueldr>
no worries, do test, though I just tested -p kdenlive and... nothing was rebuilding? so I need to verify whether it uses qt 5.6
<tenten8401[m]>
Should be fine as long as it's relatively easy
srl295 has quit [Quit: Connection closed for inactivity]
<clever>
samueldr: if you install package X with nix-env, it will silently also include qtbase in your ~/.nix-profile/
<clever>
samueldr: and if X and Y want different versions of qtbase, it silently gives only 1
<samueldr>
great, I wanted to do this initially, found no documentation, so I went with what I did
<clever>
then things break hard
<samueldr>
glad I didn't find that :)
<samueldr>
technically, with this, nothing needs to be linked from qt plugins
<clever>
samueldr: i have even seen this break the entire desktop environment (you cant login at all) twice
<samueldr>
clever: any comments about my approach?
<clever>
because an old qt app was in the profile, and the new qt from plasma looked in ~/.nix-profile and exploded
<clever>
havent read over yours yet
j448 has joined #nixos
<samueldr>
I'm definitely not surprised about what you're saying, after sleuthing and finding out how things work
<clever>
one thing that could be improved on the issue i saw
<clever>
qt uses $out/lib/qt-5.9
<clever>
but then the libs break when you mix 5.9.0 and 5.9.1!
<clever>
why not just use $out/lib/qt-5.9.1 ??
<clever>
then they wont collide, and both will be available and working
nly has joined #nixos
<samueldr>
clever: it definitely would be an improvement
<samueldr>
100% possible to implement separately AFAICT
<samueldr>
whatever I did will work the same way whether that change is made or not, without even changing code I think
nly has quit [Read error: Connection reset by peer]
<clever>
but i feel that propagated-user-env-packages sort of breaks the entire point of using nix
<clever>
and it feels like QT is using that, so that you can nix-env -i a plugin and then all apps find it
<clever>
but does any such plugin even exist in nixpkgs?
<samueldr>
clever: then I feel like you feel
nly has joined #nixos
<samueldr>
I feel this doesn't make "nix sense" to allow that
<clever>
just remove support for dynamic plugin loading, and wrapProgram the plugin paths, or patch the search logic directly
<samueldr>
patched the search logic
<samueldr>
does running wrapProgram again on an already wrapped program work?
<clever>
you can probably now delete the propagated-user-env-packages and not loose anything (other then machine-breaking bugs)
<samueldr>
didn't try, but I have (wrong?) memories it doesn't
<clever>
samueldr: currently, it makes a mess of ...foo-wrapped-wrapped-wrapped i think
<clever>
but it does technicaly "work"
<samueldr>
technically working is fine :)
<clever>
there has been talk of having it improved to parse the old wrapper, and add to it
<samueldr>
but yeah, I strived to *not* wrapProgram because... I had no way to know in a generic fashio what was or wasn't a qt program
<clever>
yeah, that can be a problem
<samueldr>
I was thinking also about libexec things
nlyy has joined #nixos
ThatOtherGuy has quit [Ping timeout: 256 seconds]
LogicAside is now known as ThatOtherGuy
sir_guy_carleton has quit [Quit: WeeChat 2.0]
LogicAside has joined #nixos
j448 has quit [Quit: Quit]
<elvishjerricco>
What exactly does `networking.nat.forwardPorts` do? I don't really know much about NAT, but my guess was that it would reroute any connections to "localhost:${sourcePort}` to "${destination}". However, this appears not to be the case. `curl localhost:3000` does not curl my destination instead.
<clever>
elvishjerricco: it wont include connects to localhost, or from the nat'd box itself
<clever>
elvishjerricco: only connects to its external ip, coming in over the external interface
<elvishjerricco>
clever: Ahh. So `networking.nat.externalIP` and `networking.nat.forwardPorts.*.loopbackIPs` can influence this?
<elvishjerricco>
clever: Yea, the problem was that I don't really understand the vernacular of these options' descriptions :P
<clever>
it sometimes helps to skip the description and go to the implementation
<clever>
line 51 loops over every forwardPorts entry
<clever>
and line 57 looks over every loopbackIPs
<elvishjerricco>
clever: Well, being relatively unfamiliar with networking details, that wasn't much help either :P
<clever>
so for every combination of both of those options, it will run 58-78
<clever>
for each combination, it will generate 3 iptables commands
<clever>
the first will match all outbound packets targeting the loopback ip, forwarded port/protocool, and use DNAT to redirect it to the destination of the forwarding
<clever>
the 2nd will i believe apply to all patches coming into the wan interface, before routing has been applied, and check that its targeting a loopback ip, port, and proto, then DNAT it again
<clever>
and the 3rd will check all packets after routing has been computed, and will apply an SNAT
<clever>
also, this looks different from how i remember it a few months ago...
<clever>
ah, nixos didnt have a .loopbackIPs option when i had setup my router
<clever>
elvishjerricco: it was MUCH simpler back then, and didnt support connections from itself
nlyy has quit [Remote host closed the connection]
Xal has quit [Ping timeout: 276 seconds]
<elvishjerricco>
clever: Hm... Yea this is all a bit over my head still :P How would I go about binding my local 3000 port to a destination such that I can curl localhost:3000, or curl <external ip>:3000 from outside?
<clever>
elvishjerricco: this is the bulk of the config for my router at home
<clever>
if you know my public ip, you can connect to any of those sourcePort's, and it will forward you to the destination in my LAN
<elvishjerricco>
clever: Oh I see
<clever>
i hadnt seen the loopbackip changes, but they appear to be backwards compat, and the old config still works
graphene has quit [Remote host closed the connection]
<elvishjerricco>
Ok, yea this seems to work. In all, my setup is a desktop with a nixos container running hydra in it and an EC2 server. The EC2 server runs an openvpn server that my desktop connects to and an nginx server that proxies the desktop's 3000 port to force HTTPS.
nschoe has joined #nixos
graphene has joined #nixos
<elvishjerricco>
it's convoluted, but I didn't want my hydra state on my local system; I wanted it nice and contained
<typetetris>
Ah `nix-build --substituters "" .` is what I need.
nschoe has quit [Client Quit]
<elvishjerricco>
Anyway, now I'm back to this error in Hydra
<{^_^}>
hydra#570 (by kquick, open): Fix nix-prefetch-git for syntax variations.
Jason_Grossman has joined #nixos
<etu>
Any ideas how to get rid of this warning: "warning: Nix search path entry '/home/etu/.nix-defexpr/channels' does not exist, ignoring" it started happening when I switched from using my nixpkgs checkout as my channel
<etu>
And insert questionmark somewhere there
<clever>
etu: use `sudo -i` and then `nixos-rebuild ..` not `sudo nixos-rebuild`
<etu>
clever: It shows up when I use nix-shell as my own user :/
<clever>
etu: what if you run `nix-channel --update` as your own user?
<etu>
Oh, good idea, now it went away. I didn't think of that since I don't have any channels added to my own user.
<clever>
etu: since you have no channels, it made an empty channels profile
<etu>
clever: Thanks :)
<elvishjerricco>
clever: Ah there we go. Hydra seems to be happy now. Thanks :)
nly has quit [Read error: Connection reset by peer]
nly has joined #nixos
FRidh has joined #nixos
reinzelmann has joined #nixos
jtojnar has quit [Remote host closed the connection]
Coyin has joined #nixos
periklis` has joined #nixos
Tucky has joined #nixos
<periklis`>
Does anyone know why default parameter values referring to preceding parameter in the same list don't work with ellipsis? (e.g. https://github.com/NixOS/nixpkgs/issues/44049)
<{^_^}>
#44049 (by periklis, open): emacs-package updates: No propagation of pname as default to ename for self-declared packages
<{^_^}>
[nixpkgs] @dotlambda pushed 2 commits to python-unstable: https://git.io/fN4gH
jperras has joined #nixos
<clever>
elvishjerricco: any difference if you run ping-store with -vvvv ?
betaboon has quit [Remote host closed the connection]
betaboon has joined #nixos
<clever>
elvishjerricco: ive also got a .aws/config file, that sets the region
<clever>
[default]
<clever>
region = eu-central-1
<elvishjerricco>
clever: The first thing in the -vvvv output that looks like an error is: `CurlHttpClient [...] Returned http response code 403`
<elvishjerricco>
I have that too
<clever>
elvishjerricco: when i ping-store with -vvvvv, i can see paths to the credentials file, and the keyid
<elvishjerricco>
clever: Whoops, I used one too few vs
<clever>
can you pastebin a censored copy of the log output?
<clever>
i'm never sure how many v's are needed, so i just spam them, lol
<clever>
most programs silently accept too many, and just go to the max log level
<clever>
as silently as max logging can be, lol
<elvishjerricco>
clever: When I strace'd it, I saw `openat(AT_FDCWD, "/var/lib/hydra/queue-runner//.aws/credentials", O_RDONLY) = 3`
<elvishjerricco>
Not sure if 3 means anything
<clever>
3 is the file handle for the file it just opened
jperras has quit [Ping timeout: 240 seconds]
<elvishjerricco>
with that 5th v, I see more stuff, including the credentials path
<clever>
it will then do a read against 3
<clever>
can you pastebin the output with 5 v's and i can diff things?, feel free to censor out the keyid
<clever>
elvishjerricco: what kind of ACL does that accesskey have?
<elvishjerricco>
clever: The last line of this bit is where it diverges from another machine I have where my personal user is able to do this https://www.irccloud.com/pastebin/G6unm9X3/
<elvishjerricco>
I'm getting "Failed to reload configuration." here, but on my other machine it starts spitting out "found profile default" and the secret key it found
<clever>
AWS: [DEBUG] 2018-07-24 09:25:43 Aws::Config::ConfigFileProfileFSM [140549153786816] found profile default
<clever>
AWS: [DEBUG] 2018-07-24 09:25:43 Aws::Config::ConfigFileProfileFSM [140549153786816] found access key
<clever>
same on this end
<elvishjerricco>
clever: Holy crap
<elvishjerricco>
it's a typo
<elvishjerricco>
in my credentials file
<elvishjerricco>
-_-
ThatDocsLady has joined #nixos
<elvishjerricco>
You'd think there'd be a sane error message for that
<clever>
how did `aws s3` work then? lol
espo has quit [Quit: Page closed]
<elvishjerricco>
... yea wtf
<elvishjerricco>
the typo is that I used : instead of =
<clever>
ah
<clever>
i just ran `aws configure` and answered its prompts
<elvishjerricco>
Yea I ruled out typos because `aws s3` worked
<clever>
the CLI tool may be more flexible in its parsing of the file
<elvishjerricco>
I guess the CLI tool isn't dogfooding its C++ lib
<elvishjerricco>
though maybe the CLI tool is written in another language
<elvishjerricco>
clever: Yep. Fixing the typo fixed it -_-
<elvishjerricco>
clever: Thanks for the help. -vvvvv was a good tip
sigmundv__ has joined #nixos
fenedor has joined #nixos
fendor has quit [Ping timeout: 244 seconds]
shiver has quit [Remote host closed the connection]
joehh has quit [Ping timeout: 240 seconds]
<elvishjerricco>
Alright, progress. Now I've got `error: access to path '/nix/store/xncgqvxlh0z1nf6fkw8wsjaxxs061nkc-nixpkgs/lib/systems/examples.nix' is forbidden in restricted mode`
__Sander__ has joined #nixos
chris| has quit [Ping timeout: 256 seconds]
shiver has joined #nixos
shiver has quit [Changing host]
shiver has joined #nixos
<elvishjerricco>
I think this is because I'm essentially doing `"${(import ./nixpkgs {}).path}/lib/systems/examples.nix`
<elvishjerricco>
Er, `import "${(import ./nixpkgs {}).path}/lib/systems/examples.nix"`
__monty__ has joined #nixos
chris| has joined #nixos
<elvishjerricco>
But i'm not sure why that would not work
fenedor has quit [Read error: Connection reset by peer]
<clever>
elvishjerricco: theres a bug in one of the hydra versions, that just doesnt allow any IFD
<elvishjerricco>
clever: This is with the latest master I believe
<__monty__>
Can one myEnvFun/buildEnv expand another? Actually, with buildEnvs it seems obvious but what about myEnvFun?
<Izorkin>
How to change function php = (callPackage <nixpkgs> {}).php56.override { openssl = libressl; }; to function without override
phdoerfler has quit [Quit: Leaving.]
<clever>
Izorkin: why are you doing callPackage <nixpkgs> ?
eskytthe has quit [Ping timeout: 256 seconds]
<clever>
you probably just want pkgs.php56
<etu>
Izorkin: Huh? What do you want to accomplish?
<Izorkin>
need use custtom function callPackage = pkgs.lib.callPackageWith (pkgs // self // override);
rprije has joined #nixos
<etu>
why?
joehh has joined #nixos
Neo-- has joined #nixos
nschoe has quit [Ping timeout: 240 seconds]
Fare has joined #nixos
pjan has joined #nixos
vmandela has joined #nixos
Coyin has joined #nixos
<Izorkin>
my custom pkgs variant - https://pastebin.com/tHCeHbfP Need change calling package from custom ./pkgs/packname/default.nix to <nixpkgs> packname.
phdoerfler has joined #nixos
<sphalerite>
joepie91: it seems that disabling virtualbox host fixed my tinc/tun issue
Guest99618 has quit [Quit: WeeChat 2.0]
eskytthe has joined #nixos
phdoerfler has quit [Client Quit]
silver has joined #nixos
<etu>
Izorkin: But you have the variable pkgs there that contain <nixpkgs>. Why just not use pkgs.php56?
<Izorkin>
pkgs.php56 use function callPackage = pkgs.lib.callPackageWith pkgs; need use callPackage = pkgs.lib.callPackageWith (pkgs // self );
<sphalerit>
joepie91: confusion as to what I'm talking about or why it would happen?
<joepie91>
sphalerit: latter
<joepie91>
that really should not occur
<Izorkin>
etu: while evaluating the attribute 'php56.overide' at /etc/nixos/configuration.nix:151:7: infinite recursion encountered, at undefined position
<sphalerit>
joepie91: indeed... But ¯_ (ツ) _/¯
<etu>
Izorkin: maybe change self.php56.overide to super.php56.overide, I never remember this...
<srhb>
etu: think of self as the attribute set you are currently building and super as the one you're building it _from_
<clever>
etu: self includes all future overlays as well, when there is a list of them
<etu>
clever: Oh, yeah. That makes sense as well.
<__monty__>
How do I bypass "substituter has no valid signature for..." again?
revskill has joined #nixos
<srhb>
__monty__: Be a trusted user --options require-sigs false iirc
<__monty__>
srhb: Oh, I'll give that a go, I think I just resorted to copy-closure last time.
<srhb>
__monty__: Oftentimes I find people don't need to bypass it, but rather sign their stuff and add the key :-P
jmg_ has joined #nixos
<__monty__>
That sounds like work though : >
orivej has quit [Ping timeout: 260 seconds]
<srhb>
:-)
archaeron has joined #nixos
<Izorkin>
etu overlay not worked, php builded with openssl
joris___ has joined #nixos
<archaeron>
hi. has someone used stack2nix before and knows what could go wrong if it tells me "called without required argument 'primitive'". There is no example on stack2nixes github
<{^_^}>
[nixpkgs] @nlewo merged pull request #43664 → goBuildPackage: Add -x to the go build command if NIX_DEBUG >= 1 → https://git.io/fNsJL
fendor has quit [Read error: Connection reset by peer]
<srhb>
archaeron: It sounds like it's expecting a package primitive as an argument, but it's being called without it. Probably because it doesn't know about it from whatever the package set that calls it has.
<srhb>
(Though I don't really know how stack2nix works)
<archaeron>
<srhb>: I feel like I'm calling it with that package, but I don't understand everything of nix just yet. I'm calling it with pkgs.haskell.packages.ghc841.callPackage
<archaeron>
and thought that would pass the right packages in
nly has joined #nixos
<clever>
archaeron: can you link your current code on github?
<archaeron>
<clever>: I can make a gist
rprije has quit [Ping timeout: 256 seconds]
<srhb>
archaeron: Yeah, assuming primitive is in ghc841 that sounds right to me :)
<{^_^}>
#43900 (by FRidh, open): php: get rid of composableDerivation
<archaeron>
<claver>: but thank you already!
CcxWrk has joined #nixos
<archaeron>
<clever>: sadly I still have the same error :(
<clever>
archaeron: what is the error?
<clever>
primitive still?
<archaeron>
yes
<nbathum>
asymmetric: as I understand it, to nixify that project k, you'd need to take each dependency, and nixify that, and the dependencies of those, and so on, until you reach the end of your dependency graph
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
<clever>
archaeron: can you also gist stack.nix ?
<cmacrae>
Yo LnL o/ Real quick one: if I add 'mpv' to my systemPackages when using nix-darwin, it can't play video, as it complains there's a problem initiating the vido output device. Yet, when I install just usingg 'nix-env -i mpv' from the same channel, it works. Any ideas as to why these would differ?
<joepie91>
cmacrae: are you starting it from the terminal in both caseds>
<joepie91>
cases*
<archaeron>
<clever>: stack.nix is huge :)
<clever>
archaeron: i know it is, i read that file on a weekly basis
Fare has quit [Ping timeout: 240 seconds]
<cmacrae>
joepie91: Yes indeed
<LnL>
cmacrae: hmm, not really
<cmacrae>
But... I literally just worked out what the problem was
<joepie91>
no idea then :/
<cmacrae>
Haha
<archaeron>
<clever>: it's updated
<Izorkin>
srk: thats variant with overays worked, thanks
<cmacrae>
Don't worry guys, user error ;) 'nix-env' was getting it from unstable. I just updated my systemPackages to use the unstable channel for mpv, and it works
<cmacrae>
Nothing like a good bit of rubberducking!
<clever>
archaeron: thats not huge :P
<clever>
archaeron: my stack2nix file is 91,196 lines long, and yours is only 4111!
<archaeron>
that only makes yours "huger" :D
<clever>
archaeron: the scientific package wants primitive
szicari has quit [Ping timeout: 244 seconds]
<angerman>
has anyone tried to provision hetzner cloud server (cx11) with nixes?
<joepie91>
ugh, error reporting in Nix
<angerman>
nixopsI meant.
<joepie91>
why are these errors always completely non-actionable...
<angerman>
joepie91: they are not. But it takes quite a while to make sense of them :(
<clever>
angerman: of note, i have a script to convert almost any linux machine into nixops, as long as you have root and the kernel has kexec enabled
<mkaito>
cmacrae: LnL I have the same problem with `alot`. It refuses to find bundled themes when installed via systemPackages, but works fine when installed via nix-env.
<joepie91>
error: assertion failed at /nix/store/524rglrm4v48hc7bpmjdvsc91ppwfk87-nixos-18.03.132915.d6c6c7fcec6/nixos/pkgs/development/libraries/phonon/backends/vlc.nix:15:1
Plato[m] has joined #nixos
<joepie91>
that looks unactionable to me :)
<Plato[m]>
Can I easily find out why a package is installed? I have gcc installed, but it isn't in my system packages list.
<joepie91>
presumably something is conflicting between stable and unstable stuff, idk
<angerman>
clever: that doesn't do the provisioning via nixops though right?
<clever>
archaeron: i'm thinking your version of stack2nix is bugged, and isnt including primitive in the generated file, can you try building stack2nix from source?
<srhb>
mkaito: Something like this perhaps: nix-build -E 'with import <nixpkgs> {}; (nixos {}).bootStage1}'
<clever>
angerman: correct, it just installs nixos onto an existing linux machine
<clever>
angerman: just nix-build the tarball, upload it to a machine, unpack to /, run /kexec_nixos, and then ssh back in
<clever>
angerman: and optionally, set the defaults in configuration.nix right, and use justdoit to perform the install
jperras has quit [Ping timeout: 256 seconds]
ihar has joined #nixos
<srhb>
joepie91: Was that for me?
* srhb
is confused
<angerman>
clever: right, getting the `configuration.nix` right is going to be the tricker part :-)
dbmikus has quit [Ping timeout: 265 seconds]
<clever>
angerman: there are also 2 configurations at play
<tilpner>
angerman - I have NixOS on a CX11. Ping me if you don't get it working (but gone now)
<asymmetric>
nbathum: any luck with the maven thing? :)
<angerman>
tilpner: if you ahve a sample configuration.nix at hand that would be lovel
<{^_^}>
[nixpkgs] @domenkozar pushed 26 commits to staging-next: https://git.io/fN4bm
<clever>
archaeron: when did you last trying building stack2nix from nix?, it had some changes just 21 hours ago
<archaeron>
I have the newest master: 9aef6210dd8385a449847711797840f69a40c88a
<mkaito>
srhb: for what it's worth `nix-build nixos/release-small.nix` fails, while `nix-build -E 'with import <nixpkgs> {}; (nixos {}).bootStage1'` does not fail.
<srhb>
mkaito: Is your '<nixpkgs>' the source directory in question?
<archaeron>
clever: we might have managed to build it on another computer (the newest stack2nix that is)
<mkaito>
srhb: uhm no
<srhb>
mkaito: Then that makes sense. :-)
<mkaito>
I see :D
hakujin1 has joined #nixos
<srhb>
mkaito: with import ./. {} instead will do the thing
<srhb>
mkaito: In the source root.
<mkaito>
yep correct
<mkaito>
I should write these things down
<mkaito>
this is literally my job lol
<nbathum>
asymmetric: I'll have to look at it later today
hakujin1 has quit [Ping timeout: 260 seconds]
ThatDocsLady has quit [Read error: Connection reset by peer]
<Denommus>
I'm getting this error when trying to run nixops deploy: error: file 'nixpkgs/nixos/lib/testing.nix' was not found in the Nix search path (add it using $NIX_PATH or -I), at /nix/store/c00x8z5c334xkv73qg1cvf159078h8wv-nixops-1.6/share/nix/nixops/eval-machine-info.nix:9:13
<{^_^}>
[nixpkgs] @peti pushed to master « arena: package initial version 1.1 of the Chess GUI »: https://git.io/fN4NE
<Denommus>
I'm not under NixOS, btw
<d1rewolf__>
tilpner, qutebrowser is really nice so far. I appreciate the tip. If it had the equivalent of firefox's containers it'd be just about perfect
<d1rewolf__>
I haven't hit any ad block issues so far
<mkaito>
Denommus: what's the output of `nix-channel --list`
<clever>
Denommus: your <nixpkgs> in $NIX_PATH may need to point to a newer nixpkgs
<clever>
Denommus: what about `nix-instantiate '<nixpkgs>' -A lib.version --eval` ?
<Denommus>
my $NIX_PATH is empty for some reason
<mkaito>
Denommus: `nix-channel --update`
<Denommus>
should it?
<mkaito>
no
david__ has joined #nixos
david__ is now known as DeltaEvo
<clever>
an empty $NIX_PATH will definitely break things
<mkaito>
isn't that set in that one file you're supposed to import in your shell?
<Denommus>
yes, I thought I imported it, but it seems I didn't
<mkaito>
well there you go
<DeltaEvo>
Hello i'm trying to build an armv7l installation sd card image. I use to do it a Raspberry Pi with archlinux ARM on it and Nix 2.0 but i'm having a strange error about curl that cannot resolve hosts. Full error https://hastebin.com/uzodatinet.coffeescript
<{^_^}>
[nixpkgs] @peti pushed to master « stockfish: update to version 9 »: https://git.io/fN4Ag
<Denommus>
that's weird, because I have /etc/profile.d/nix.sh and /etc/profile.d/nix-daemon.sh, and zsh is configured to source everything under /etc/profile.d
<Denommus>
oh well
<Denommus>
I'm going to ask for help in #archlinux, I guess
<clever>
DeltaEvo: can you pastebin the output of: `nix show-derivation /nix/store/rxdndspww2lprbvrwk3ivjrmmkb8cda9-https.patch.drv ; cat /etc/resolv.conf`
<Denommus>
but thanks for the help, for now I can manually add those to my ~/.zshenv
dbmikus_ has joined #nixos
pie_ has joined #nixos
<pie_>
hey folks, 1) is it possible to create a root for the currently running nix-shell?
<pie_>
2) i used ghcwithhoogle to get the gl haskell package, but its not showing up in my hoogle
<archaeron>
clever: we managed to buildstack2nix on a mac in a vagrantbox and sent it to my linux machine to use :D it looks like it's working. Thank oyu for all the help!
patrl[m] has quit [Quit: removing from IRC because user idle on matrix for 30+ days]
<clever>
DeltaEvo: resolv.conf is configured to use localhost as a dns server, but localhost is not running a dns server, so all dns is broken on that machine
<DeltaEvo>
clever: the curl utility provided by Armlinux ARM works on the urls on which nix seems to fail
<tilpner>
angerman - I use two different variants, based on clevers version. One does the install fully automated, the other just gets you the tools needed to do it manually. Which one do you want?
<DeltaEvo>
Aw
<clever>
DeltaEvo: edit resolv.conf to use 8.8.8.8 and it should all be fixed
<DeltaEvo>
I will correct that then, thanks
reinzelmann has quit [Quit: Leaving]
<angerman>
tilpner: I'll go with the kexec one.
<clever>
DeltaEvo: oh wait, line 3, systemd-resolve is listening, on 127.0.0.53:53, lol
<clever>
id still expect that to fail though
<tilpner>
angerman - They're both kexec :/
<angerman>
tilpner: well, automated sounds best.
<DeltaEvo>
clever: Seems to wor by changing the nameserver, so .... I will try to see what the problem with systemd-resolve but thanks <3
<clever>
DeltaEvo: yep
<angerman>
tilpner: I was more concered about the FS layout and other kext stuff that might need tweaking in the nixos/configuration.nix on cx11 instances.
<tilpner>
angerman - Oh, no. You don't get enough space to do interesting partition layouts
<angerman>
tilpner: well, I'm find with everything bein in / :-)
<angerman>
tilpner: for reference I've done something similar to a jiffy box; and that was somewhat painful.
<clever>
tilpner: i prefer to just put zfs on everything now
<tilpner>
clever - Yes, I noticed :)
nelag[m] has quit [Quit: removing from IRC because user idle on matrix for 30+ days]
<Denommus>
can I use mkDerivation from a nixops deployment configuration?
<Denommus>
wait, I know why $NIX_PATH wasn't being set! It's because I'm running ZSH over an Emacs daemon, it probably didn't run my zsh profile file, hahaha
dbmikus_ has quit [Ping timeout: 265 seconds]
<cmacrae>
Is there any means of installing the Docker daemon via Nix on macOS? It'd be nice to have my whole Docker install managed via nix-darwin
djhoulihan has quit [Max SendQ exceeded]
ThatDocsLady has quit [Quit: Leaving]
archaeron has quit [Ping timeout: 252 seconds]
<tilpner>
angerman - Ah, I had a left-over experiment that caused inf-rec. I'll just test this and pack it up afterwards
djhoulihan has joined #nixos
<angerman>
tilpner: great!
Gohla has quit [Quit: Bye.]
d1rewolf__ has quit [Ping timeout: 244 seconds]
chreekat has quit [Ping timeout: 260 seconds]
chreekat has joined #nixos
Gohla has joined #nixos
fighterhero[m] has quit [Quit: removing from IRC because user idle on matrix for 30+ days]
MrCircuitMatt has joined #nixos
MrCircuitMatt has left #nixos ["Leaving"]
d1rewolf_ has joined #nixos
Fare has joined #nixos
dbmikus__ has quit [Quit: WeeChat 2.2]
chreekat has quit [Ping timeout: 256 seconds]
dbmikus has joined #nixos
betaboon has quit [Ping timeout: 244 seconds]
d1rewolf_ has quit [Ping timeout: 240 seconds]
lostman has joined #nixos
<lostman>
how can I refer to one of the binaries from buildInputs using full path? i have buildInputs [ ccache ... ] and want to create symlinks to ccache binary. for that, I need to know its full path
<srhb>
lostman: "${ccache}" <-- this is a string containing the store path of ccache
<lostman>
srhb: tried that but it says undefined variable 'ccache'
<srhb>
lostman: Then your buildInputs probably was more like buildInputs = with pkgs; ... or something
jmeredith has joined #nixos
<srhb>
lostman: Share your expression :)
<lostman>
srhb: ah that's it! need to do ${pkgs.ccache} :D
<lostman>
many thanks!
betaboon has joined #nixos
d1rewolf__ has joined #nixos
dbmikus has quit [Ping timeout: 264 seconds]
andreabedini has quit [Ping timeout: 256 seconds]
<d1rewolf__>
tilpner, do you happen to use gmail with qutebrowser?
<LnL>
cmacrae: no, but the linuxkit builder could probably be integrated
<kalbasit>
samueldr: yes I want to add myself to the known users list so I can issue commands, I know trusted users go in config.public.json, but why is there two config files for known users?
<TheBrayn>
anyone here using gnome-keyring without gdm/gnome? I have trouble getting it to work with i3, I have security.pam.services.lightdm.enableGnomeKeyring = true but it doesn't look like gnome-keyring is running
asymmetric has quit [Ping timeout: 265 seconds]
hotfuzz_ has quit [Ping timeout: 268 seconds]
noam_ has quit [Read error: Connection reset by peer]
nocoolnametom has quit [Quit: ZNC 1.6.5 - http://znc.in]
dbmikus_ has joined #nixos
dbmikus has quit [Ping timeout: 256 seconds]
<ryantm>
I fixed the evaluation-blocking typo @peti pushed to master, probably we'll have to asked OfBorg to re-eval stuff..
<zclod>
hi I'm trying to use a python package recently added to nixpkgs but if I try to enter a nix-shell with that package it show "attribute missing"
hakujin1 has quit [Ping timeout: 276 seconds]
<zclod>
I tried a nix-channel --update but it didn't work
<clever>
zclod: single or multiuser nix?
<zclod>
i've installed nixos
alex`` has quit [Quit: WeeChat 2.1]
<zclod>
i did sudo nix-channel update
<clever>
zclod: then nix-channel --update has to be ran as root to have an effect
<clever>
ah
<{^_^}>
[nixpkgs] @ryantm pushed to master « arena: fix more evaluation blockers »: https://git.io/fNBlr
<clever>
can you pastebin your nix file, and the error?
<TheBrayn>
how do I force nixos to regenerate a systemd-boot config in /boot/loader for the current generation if I switch the boot partition?
<clever>
TheBrayn: its in the nixos-rebuild man page, --install-bootloader
<TheBrayn>
thanks
<zclod>
I checked and in this file /nix/store/j9pkgkir93id1amw8xaf9sbf9rbd3p78-nixos-18.03/nixos/pkgs/top-level/python-packages.nix the package isn't listed, but i don't know how to update it
alex`` has joined #nixos
<{^_^}>
[nixpkgs] @dotlambda pushed 5 commits to python-unstable: https://git.io/fNB8o
<TheBrayn>
and do I need grub for a windows dualboot? I can't find anything about dualbooting with systemd-boot
<maurer>
You can do it with systemd-boot. Also, I don't know what you googled, but just pulling up "systemd-boot windows" yields several relevant results
<clever>
TheBrayn: for efi, each os puts its own bootloader into the efi system variables, and then you can select at the firmware level
<stranger___>
clever: ok "swi-prolog: add JDK to build dependencies to enable JPL" commit made swiProlog and so pakcs to depend on unfree jdk and not build on hydra as consequence :-(
Judson has joined #nixos
<clever>
stranger___: openjdk is an option
Judson is now known as Guest40350
<stranger___>
not sure how well it will work
Gohla has quit [Quit: Bye.]
<{^_^}>
[nixpkgs] @dotlambda pushed commit from @FRidh to python-unstable « python.pkgs.pytest-flake8: disable test, fix build »: https://git.io/fNB4K
Gohla has joined #nixos
hotfuzz has joined #nixos
Coyin has quit [Ping timeout: 244 seconds]
Coyin has joined #nixos
hotfuzz_ has quit [Ping timeout: 264 seconds]
Guanin has quit [Remote host closed the connection]
rihards has joined #nixos
ixxie has joined #nixos
igo95862 has joined #nixos
acarrico has quit [Ping timeout: 256 seconds]
<srk>
,locate libgl.so
<{^_^}>
Couldn't find any packages
<clever>
,locate libGL.so
<{^_^}>
Found in packages: libglvnd, primusLib, libGLU_combined
<srk>
hmm, yeah
<srk>
pkgs.libGL looks like the right one
<stranger___>
clever: ah that's aarch only
<stranger___>
interesting
<stranger___>
jdk8 = if stdenv.isAarch32 || stdenv.isAarch64 then oraclejdk8 else openjdk8 // { outputs = [ "out" ]; };
<clever>
weird
<clever>
stranger___: does openjdk not build on aarch?
<stranger___>
dunno the reason, probably
nschoe has quit [Ping timeout: 256 seconds]
<clever>
> (import <nixpkgs> { system = "aarch64-multiplatform"; }).openjdk8
<{^_^}>
Unknown kernel: multiplatform
<clever>
> (import <nixpkgs> { system = "aarch64-linux"; }).openjdk8
<{^_^}>
No bootstrap for system
<clever>
stranger___: i think openjdk needs a pre-compiled javac to bootstrap itself
<stranger___>
clever: hah pakcs build timed out because of ghc "building of '/nix/store/0qgyy754cvsdg57s0kfvapjd4pd4nl2w-ghc-8.4.3.drv' timed out after 3600 seconds"
Sonarpulse has joined #nixos
kyren has joined #nixos
zclod has quit [Ping timeout: 252 seconds]
freeman42x]NixOS has joined #nixos
Sonarpulse has quit [Ping timeout: 268 seconds]
<{^_^}>
[nixpkgs] @periklis opened pull request #44060 → Fix pname to ename propagation if null → https://git.io/fNB2k
<joepie91>
drakonis: seen it, only just read it, and I can relate to the experiences described there
<joepie91>
(I do know that there are concrete benefits to the configuration model, but not as a result of a fantastic beginner experience :P)
<neonfuz>
When using a date as a version number, should the date of the latest change be used? or the date the pull happened?
periklis has joined #nixos
FRidh has joined #nixos
revskill has quit [Read error: No route to host]
<Plato[m]>
What's the deal with nixos-unstable? Hasn't seen an update for 11 days!
<neonfuz>
nixos (not nixpkgs) needs to pass certain tests before it's updated
<neonfuz>
so some tests are probably failing
<joepie91>
neonfuz: date of 'release'
<neonfuz>
okay
<neonfuz>
btw what's the process of getting a pull request accepted into nixpkgs, just wait really?
<samueldr>
neonfuz: if you feel it's been too long before *anyone looked*, you could always ask here with the PR number
<samueldr>
(but sometimes, a couple days can go by as PRs are almost always looked at in batches, and opened PRs can push down your own)
<drakonis>
joepie91, i get the feeling that it'll be easier for the other distros to catch up than nix the community getting out of its comfort zone
ixxie has quit [Ping timeout: 268 seconds]
kyren has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
msci3 has joined #nixos
Sonarpulse has joined #nixos
<{^_^}>
[nixpkgs] @domenkozar pushed to haskell-updates « Remove all build restrictions to test what builds »: https://git.io/fNBwT
<joepie91>
drakonis: possibly. this isn't necessarily an issue, at least not to me, since I'm more interested in the concepts behind Nix being implemented well, than Nix' implementation specifically
<joepie91>
but it's a realistic possibility that something will steal Nix' thunder
<joepie91>
potentially with a suboptimal implementation that is nevertheless more accessible due to eg. better docs
Thra11 has joined #nixos
<joepie91>
(snaps/appimages are already sort of doing this)
<drakonis>
i'm not sure how there could be an suboptimal implementation
koisell has joined #nixos
<drakonis>
snaps/flatpaks/appimages you mean
<joepie91>
drakonis: iirc Debian(?) was considering implementing some of the concepts of Nix, but not enough to actually get any of the reproducibility/etc. guarantees
<joepie91>
reproducible systems, not reproducible packages
<{^_^}>
[nixpkgs] @domenkozar pushed to master « cachix: build on supported platforms »: https://git.io/fNBwi
<joepie91>
my point here being that it's not uncommon for theoretically-optimal systems to get outrun by 'half-implementations' of the same concept that are documented/UI'ed/etc. better even though they don't provide the most interesting properties
<joepie91>
/guarantees
<joepie91>
and that at that point the perceived difference between the optimal and suboptimal solution is too small for users to still care about the optimal solution
<{^_^}>
[nixpkgs] @edolstra pushed 2 commits to release-18.03: https://git.io/fNBoR
<{^_^}>
[nixpkgs] @ljani opened pull request #44061 → avahi: add support for extraConfig → https://git.io/fNBoD
simukis has quit [Ping timeout: 260 seconds]
<drakonis>
how hard did i derail the channel
winem__ has joined #nixos
winem_ has quit [Ping timeout: 260 seconds]
rushsteve1 has joined #nixos
<d1rewolf__>
drakonis, it's really quiet around here o.O
<drakonis>
hmm, then can i carry on with it?
<d1rewolf__>
drakonis, what exactly?
growpotkin has joined #nixos
<drakonis>
my message
<d1rewolf__>
drakonis, sorry... I am missing context I guess....wonder if my irc client messed up
<d1rewolf__>
because i've no idea what you're talking about ;)
<d1rewolf__>
how does guix compare with nix?
<growpotkin>
Hey I have a few questions about nix-shell. If y'all wouldn't mind enlightening me I would really appreciate it.
<d1rewolf__>
growpotkin, we'll do our best ;)
<growpotkin>
thank you :D
<growpotkin>
Okay so I have been using NixOS for a while now, and done all the nix pills. I feel like I have a pretty good grasp of things but nix-shell is tripping me up a little bit.
<growpotkin>
I would like to setup a little default environment to work on haskell projects
<growpotkin>
so I put together a short shell.nix. My issue is in all the examples I see online I see people using "pkgs.haskell.ghcWithPackages"
<growpotkin>
to put together a ghc with the included packages.
<drakonis>
d1rewolf__, that's not about guix though
<growpotkin>
I have a feeling that this option is maybe depreciated, or that I have not set it up correctly on my system
Tobba has joined #nixos
<drakonis>
its about other distributions catching up with nix
<drakonis>
i mean that other distributions may catch up with NixOS/GuixSD
<cocreature>
growpotkin: do you want to work on a cabal project?
rushsteve1 has left #nixos ["rcirc on GNU Emacs 25.2.2"]
<growpotkin>
No I am just trying to play with some simple code and "runhaskell"
<d1rewolf__>
drakonis, how do nix and guix compare tho out of curiosity?
<cocreature>
growpotkin: ghcWithPackages is definitely not deprecated. what problem are you running into?
<growpotkin>
but my ghc needs some extra libraries like "text". I have tried including them as "buildInputs" in my shell.nix but they don't seem to be accessible by ghc.
<drakonis>
guix is what you can call the rewrite from ground up
<d1rewolf__>
I'd like to know what the package contents are of keybase-gui. how can I view this?
<cocreature>
growpotkin: try something like "nix-shell -p 'haskell.packages.ghc843.ghcWithPackages(pkgs: [pkgs.text])'"
<drakonis>
rather, its nix with a fresh start and lisp
<cocreature>
d1rewolf__: build it and look at the store path?
<d1rewolf__>
cocreature, is there a way to do it without building?
<growpotkin>
direwolf thank you!
hakujin4 has joined #nixos
<growpotkin>
I had tried that exact syntax earlier but using "haskell.packages.ghc.ghcWithPackages". It seems that the version number is required
kyren has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<cocreature>
d1rewolf__: not really, where do you expect the list of files to come from? you can ofc rely on somebody else to build it for you and fetch it from a cache
<cocreature>
(which is what nix-build will do if it’s in a cache you’ve configured)
<cocreature>
growpotkin: if you want to use it without a version number, it’s "haskellPackages.ghcWithPackages" iirc
<d1rewolf__>
cocreature, I see your point. thanks
<cocreature>
but imho specifying the version number is a good idea
<cocreature>
d1rewolf__: there is also nix-index but I’ve never gotten that to work for me and afaik it just works by downloading things from the cache so it’s not any different
<growpotkin>
d1rewolf__: is there a good place to define common environments like that to make them more accessible? I could do a shell alias but I am sure there is a "nixy" way to do it.
<drakonis>
o boi, nixy way
hakujin3 has quit [Ping timeout: 256 seconds]
<d1rewolf__>
cocreature, nix-index is more for locating files, not listing contents, right?
<d1rewolf__>
fwiw, nix-index works for me (just used it to find kbfs)
<d1rewolf__>
nix-index to index
<d1rewolf__>
and then nix-locate kbfs
<growpotkin>
there is always a "nixy way" ;)
jb55 has joined #nixos
<drakonis>
i mean, as long as it doesn't become something like "the arch way" which is some community stand in for "do everything in the most painful/time-wasting way
<growpotkin>
I guess I'm just asking if I should be copying and pasting a shell.nix or default.nix all over the place, or if there is some nix-shell flag that can reference a little library of user defined environments.
<cocreature>
drakonis: yeah I guess so but to do that it probably also has to list the contents of each path so I could imagine that it might have an option for listing them. but I’m just guessing here
jbwiv has joined #nixos
<samueldr>
cocreature: nix-index uses a list taken from hydra builds
rtjure has quit [Ping timeout: 264 seconds]
d1rewolf__ has quit [Ping timeout: 256 seconds]
<Pneumaticat[m]>
would it be a bad idea to copy `secring.gpg` to other systems using home-manager
<{^_^}>
[nixpkgs] @kalbasit opened pull request #44062 → kubetail: init at 1.6.1 → https://git.io/fNBPu
dbmikus_ has quit [Ping timeout: 244 seconds]
dbmikus_ has joined #nixos
eskytthe has quit [Quit: Leaving.]
work_ has quit [Quit: Connection closed for inactivity]
<drakonis>
all i have to say here is "JOLLY CO-OPERATION"
<growpotkin>
thank you
Neo-- has quit [Ping timeout: 256 seconds]
kyren has joined #nixos
<infinisil>
Hey, could someone check out this PR to fix up Minecraft? The current version doesn't have sound working, would like to get this merged: #43774
<d1rewolf_>
guys, in this post (https://news.ycombinator.com/item?id=12337488) someone mentions a "work underway for a similar unified interface for nix" in a discussion re guix vs nix. This was from 2016. Was this work completed?
msci3 has quit [Quit: leaving]
<tilpner>
d1rewolf_ - I'd guess that's the "nix" command?
orivej has quit [Ping timeout: 244 seconds]
aanderse-laptop has quit [Ping timeout: 276 seconds]
<d1rewolf_>
tilpner, that's what I was wondering...but does that command really replace all the other "nix-" commands?
<tilpner>
Not quite. It's also not stable yet
<d1rewolf_>
tilpner, oh, ok. thx. is there a road map somewhere?
<iqubic>
Why do I need lens? And should I install ghcjs globally?
<clever>
lens is just an example
<clever>
you must give nix a list of packages that you want to use
alex`` has joined #nixos
<maurer>
And no, you probably don't want to install ghcjs globally, since you have to do ghcjs.ghcWithPackages to get what you want usually
<iqubic>
How do I integrate this with emacs?
<clever>
and installing it wont work right, because you need to constantly reinstall it to add/remove packages from ghc
<clever>
iqubic: run emacs inside nix-shell
stranger___ has quit [Quit: Connection closed for inactivity]
<maurer>
iqubic: I don't use emacs, but my usual solution with vim and similar stuff is I make a shell.nix that pulls in the right dependencies, and contains a per-project vim configuration
<iqubic>
clever: That sound like a pain.
<iqubic>
maurer: I see.
<maurer>
It's possible there's a better way, but I don't know it
<iqubic>
But I'm running EXWM. So I can't really use that method.
<maurer>
In that case, the best answer I have for you is to nix-build a ghcjs, then add a named indirect root to it, and reference that path in emacs
<maurer>
which is not a great answer, I'll admit
<maurer>
Either that or if you manage your exwm configuration within nix (e.g via emacsWithPackages) you can likely specify the ghcjs as a parameter to that
seanparsons has quit [Quit: ZNC 1.6.5 - http://znc.in]
<maurer>
RetardedOnion: I will note that is likely not especially safe in the long run - it's currently a version behind stable on its master branch, which means even if you followed _its_ updates faithfully, you would be behind on security updates
hakujin has quit [Ping timeout: 256 seconds]
<maurer>
Unlike FF, google does not issue LTS versions, so chromium forks generally run into this problem
wigust has joined #nixos
<RetardedOnion>
i dont use it because of its "security", i use it because it doesnt tank my system. i have a few hundred tabs open most of the time and firefox just breaks there. regular chromium eats noticably more ram
<RetardedOnion>
if you have any other patchset recommendations for me: go for it. i dont think i can get away from anything chromium based too soon
shah^ has joined #nixos
wigust- has quit [Ping timeout: 260 seconds]
<maurer>
I mean, I just use vanilla chromium, but you don't seem to be interested in that
simpson has joined #nixos
<simpson>
Hi! Possibly stupid question: When using `gcloud` from Google's SDKs, I need some components installed. Is there a way to do that?
<maurer>
I was just making sure you were aware that the version lag in chromium forks tends to be significant, and result in running software with known exploits
<RetardedOnion>
eats noticably more ram. idk why or how to stop it. i just have 32gb and i reach the end of it way faster with regular chromium
<clever>
RetardedOnion: open the chrome task manager and see what is using it all
<maurer>
simpson: Are you using the packaged version of gcloud, or trying to run it directly from google?
<coconnor>
pulseaudio setup is definitely different.. hrm
Denommus has quit [Remote host closed the connection]
<maurer>
It wouldn't be pure, but in theory you could probably run the component install _before_ that line
<simpson>
Meh. I don't want purity, I want Google's SDK to not be shit.
<andi->
RetardedOnion: I have been "back" to Firefox since 2016ish and no problems.. It wasn't as fast as chromium but now there is no reason to switch anymore.
<maurer>
Yeah, probably just edit that file in your personal nixpkgs/overlay
<maurer>
and at line 62, add your component installation
<simpson>
Hmmm. I'm skeptical, but let's give it a whirl.
<RetardedOnion>
andi-: i said "unbareably". so i mean click something, wait 20 seconds. ram usage isnt much better as well
<andi->
Not a problem here.
<RetardedOnion>
guess ill buy an i9 and 2tb ram.
<simpson>
maurer: Nope, gcloud really wants a working $HOME and is upset that it can't write to /homeless-shelter/. What a whiner! It does claim to have installed everything, though. Is there an easy way to deal with /homeless-shelter writes?
<maurer>
You can export HOME to point at something else, that's where it's finding homless-shelter, but that makes me worried for what the actual application will do
<maurer>
(since it will probably want to read from HOME)
<maurer>
RetardedOnion: There are chromebooks that run on 4G RAM. You may be experiencing a problem, but it's not a totally-fundamental-to-chrome problem.
<{^_^}>
[nixpkgs] @Infinisil merged pull request #43641 → libmysofa: init at 0.6 and enable in ffmpeg-full → https://git.io/fNOjK
<clever>
it only has problems at startup, once it stabalizes, it runs fine
<clever>
RetardedOnion: 32gig of ram, 32gig of swap, and sometimes it fills both fully
<simpson>
RetardedOnion: Okay. I'm afraid that I can't reproduce, although I'm not on the same hardware, so I suspect that it's either your hardware or more likely something else also running in the BG.
sam__ has quit [Quit: sam__]
<tilpner>
clever - How do you manage tabs? Is it still the horizontal bar at the top?
<RetardedOnion>
clever: my poor nvme ssd:D
<clever>
tilpner: yes
<RetardedOnion>
tilpner: you can open different windows
<clever>
tilpner: i also have vimium installed in chrome, if i hit T i can then search all tabs by title
<tilpner>
Ah, search makes more sense
<clever>
i have a bad habbit of opening a new window, opening the reddit front page, middle-clicking 20-30 links that look interesting, reading 5, and then never closing it :P
<RetardedOnion>
i dont use bookmarks. i simply open a new window for every bookmark folder a normie would do. so i have around 20 windows open at every time
<simpson>
maurer: Huh. So, good news; I did a HOME=/tmp/shame/ and it looks like the SDK did install stuff to itself. So maybe I'll work on a bit of a patch to enable building several components into the install.
tertle||eltret has joined #nixos
<simpson>
Thanks for the help.
<simpson>
maurer++
<{^_^}>
maurer's karma got increased to 1
<{^_^}>
[nixpkgs] @Ericson2314 opened pull request #44065 → treewide: Remove some crossAttrs → https://git.io/fNBd7
<tertle||eltret>
what program can i install that lets me configure wifi adpater with GUI?
<tertle||eltret>
its an older usb adapter
<tertle||eltret>
lsusb doesnt even work
dbmikus_ has quit [Ping timeout: 260 seconds]
<RetardedOnion>
tertle||eltret: do you use networkmanager?
<RetardedOnion>
wait it doesnt show in lsusb?
<tertle||eltret>
lsusb isnt installed
<tertle||eltret>
how to install it?
<samueldr>
nix-shell -p usbutils --run lsusb
<tertle||eltret>
also, whats a good GUI for network manager program
winem__ has quit [Ping timeout: 276 seconds]
<RetardedOnion>
kde does the networkmanager integration very well.
<samueldr>
network-manager, has a TUI, nmtui, otherwise nm-applet gnome3.networkmanagerapplet has nm-applet
<samueldr>
(and yeah, if you installed a DE, it probably has network manager integration already configured)
<tertle||eltret>
i cant find it in KDE?
joehh has joined #nixos
sam__ has joined #nixos
<RetardedOnion>
if you have networkmanager enabled in your configuration.nix it works automatically
<tertle||eltret>
one sec, gotta use this ethernet cable
simpson has left #nixos ["WeeChat 1.0.1"]
<RetardedOnion>
tertle||eltret: put networking.networkmanager.enable = true; and add your user to the networkmanager group via extragroups
<tertle||eltret>
i will try it again, my pc just froze up
<RetardedOnion>
where you defined your user in configuration.nix you can add the line extraGroups = [ "wheel" "networkmanager" "libvirt"]; to put your used in the group libvirt, networkmanager and wheel for sudo
<tertle||eltret>
ok, and then what?
knupfer has quit [Ping timeout: 265 seconds]
<clever>
tertle||eltret: nixos-rebuild switch
<RetardedOnion>
tertle||eltret: maybe --upgrade
joehh has quit [Ping timeout: 256 seconds]
<tertle||eltret>
it says i cant use netowrkmanager with networkwireless
<RetardedOnion>
soooo.... why dont you deactivate networkwireless?
<RetardedOnion>
just comment it out and run it again
<tertle||eltret>
idk i thoguht maybe i need it
<RetardedOnion>
networkmanager handles it
<tertle||eltret>
ok
<tertle||eltret>
then i should get an icon in the tray right?
<RetardedOnion>
if you did everything correctly yes
<clever>
you may need to logout and log back in
<clever>
thats the only way to apply group changes to yourself
mkoenig has quit [Remote host closed the connection]