<zeta_0>
it's probably something simple that i missed, but, nix's syntax error detection isn't that descriptive sometimes
<simpson>
It's telling you where the error was, as well as what was wrong. The former is probably more important. Check your braces, brackets, and parens.
<gchristensen>
error: The option `systemd.services.vault.unitConfig.After' has conflicting definitions, in `/nix/store/ff62ngs5rmrf1xa6kizgzr7rgpdc2gnm-nixexprs.tar.xz/nixos/modules/system/boot/systemd.nix' and `/home/grahamc/projects/github.com/grahamc/network/network.nix'. ... hrm
<{^_^}>
[nixpkgs] @Ma27 pushed to master « nextcloud*: add `passthru.tests` to reference VM-tests »: https://git.io/JfvAh
<das-g[m]>
I'm trying `nixpkgs-review pr 85263` right now and it indeed seems to hardy actually compile anything and fetch most stuff from cachix
b42 has joined #nixos
<zeta_0>
simpson: i tried other ways which made more sense, but syntax errors were thrown, this was the only way i was able to remove the syntax errors, i'll try moving the haskell infrastructure section to before the with pkgs line to see if that will work: https://dpaste.org/yHZp
<gchristensen>
das-g[m]: I don't know who put it in to cachix or why
<cole-h>
Could run it with `--option substituters 'https://cache.nixos.org'` to prevent cachix from popping up
<das-g[m]>
err, I mean cache.nixos.org
<qy[m]1>
TOFU is a lot more annoying with a "cannot commit from an unclean tree" restriction
<qy[m]1>
you have to commit, then build, then update the hash, then amend commit, then build again
<gchristensen>
truth, qy[m]1
growpotkin has quit [Ping timeout: 258 seconds]
<freeman42x[m]>
trying to install Restream chat using appimage-run but I am getting following error: "AppImage is not executable". any ideas?
nikola_i has quit [Quit: Connection closed for inactivity]
<est31>
getting error: undefined variable 'virtualenv' at ...
<est31>
python37Packages.virtualenv works...
marsh has joined #nixos
niso has quit [Remote host closed the connection]
<qy[m]1>
arc: related questions: what aren't you happy about with the PR as of now? it looks mergeable :p and, what do you think of a service module that optionally uses weechat in abduco, or weechat-headless, as a systemd service?
<qy[m]1>
cause currently i'm running a manual weechat headless service, cause i don't like the screen thing nixpkgs's module does, and also it'd be a nice compliment to your programs module
<arcnmx>
it felt lacking in organization, documentation... Seems a bit messy. But mostly drafted as WIP because I was looking for opinions on whether the design and decisions it makes were reasonable?
<arcnmx>
a service would probably make sense to me, though I don't use abduco or even screen myself at this point. weechat-headless seems like a better generic approach, though I've never used it myself
<freeman42x[m]>
HexChat sound notifications are not working under NixOS 19.09 and Pidging sound and popup notifications are not working either. I think 19.09 broke some notifications from working. Slack notifications do work though
<qy[m]1>
andi-: i see you have an effort too, did that end up going anywhere
captjakk has quit [Remote host closed the connection]
h0m1 has joined #nixos
<kalbasit>
gchristensen: question regarding lorri. My project has a shellHook that symlink files in the repo and lorri is not able to run it because the cd to the project dir is no such file or dir. Do you know why's that? Is lorri building the env in some sandbox?
<kalbasit>
is there a way my shell.nix can know if lorri is evaluating it?
<clever>
kalbasit: check if lorri is setting any odd vars when it runs nix?
<kalbasit>
clever: I'm trying to browse the code, but I'm not rust savvy :(
<energizer>
i have `glances` installed with home-manager's home.packages, and i'm using the hm nixos module. How come `nix why-depends /run/current-system/sw $(which glances)` -> '/nix/store/4ckvsd8ggd7ngpxw1gcfa9ic6sv61wy5-system-path' does not depend on '/nix/store/l710dvlpyrk68r6lhiw099n2ndpzyg2a-home-manager-path'? How does the nixos module work if it's not part of the /run/current-system?
<qy[m]1>
it sets $name to lorri-wrapped-project-nix-shell
<qy[m]1>
..that one's easier to just check practically than read the code
<qy[m]1>
it creates a home-manager-<user>.service
<qy[m]1>
that then does the home-manager part of the initialization
<clever>
energizer: run why-depends on current-system, not current-system/sw
<zeta_0>
how strange, now this nix-shell actually works without any errors thrown: https://dpaste.org/Nm7M
<energizer>
clever: aha
<zeta_0>
now that i have this shell.nix file working, could you guys give me a couple tips on using haskell.nix? i've never used it before: https://github.com/input-output-hk/haskell.nix
<energizer>
does nixos run `systemctl --user start foo.service` for my user services?
pamplemousse has quit [Ping timeout: 264 seconds]
<energizer>
or does it just enable them so that they'll start on reboot
<peelz>
energizer, do you mean the systemd "home-manager-USERNAME.service" services?
aw has quit [Quit: Quitting.]
spacefrogg has quit [Quit: Gone.]
<contrun[m]>
Why's so special about glibc. I am encountering various error message like `/home/e/.nix-profile/bin/quaternion: /nix/store/xhpwab5kavygbr1fswawmdyqvmn3wa4i-glibc-2.27/lib/libm.so.6: version `GLIBC_2.29' not found (required by /nix/store/w5icjhg59mi6hqvrzmv8vmfmf83174i3-flac-1.3.3/lib/libFLAC.so.8)`. How can we make glibc like any other dynamic libraries? I mean we can build a closure of one package with all its dependent
<contrun[m]>
packages including libc.
aw has joined #nixos
<peelz>
energizer: I would assume it's for the home-manager side effects, like applying the Gtk/Qt theme when activating a new configuration, etc.
<kandinski>
what's the nixos way to load git-completions so it's available for utility git scripts like ~/bin/git-dostuff ?
<energizer>
peelz: oh ,maybe i just misunderstood. there is no home-manager.service unit
<peelz>
energizer: I didn't really read the above messages so idk what you were talking about. I just assumed you were talking about the `home-manager-USERNAME.service` units :P
<freeman42x[m]>
any idea how I could debug why system sounds and notifications are not working under NixOS? they stopped working at some point and rolling back to previous NixOS did not fix the issue. Having this issue with HexChat and Pidgin, works fine with Slack
<evertedsphere>
are you in the audio group
<freeman42x[m]>
evertedsphere: how do I check if I am?
<freeman42x[m]>
but why wouldboth sound AND popup notifications both be broken? is there a system that manages both?
Darkmatter66_ has joined #nixos
ddellacosta has quit [Ping timeout: 256 seconds]
Darkmatter66 has quit [Ping timeout: 258 seconds]
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
<raboof>
are you rebooting between rollbacks? it's painful, but (afaics) it's possible something changed but a running program wasn't restarted to remain in sync with the rest of the system.
<raboof>
Might be dbus-related? (but that's a bit of a shot in the dark)
<{^_^}>
[nixpkgs] @marsam pushed 2 commits to release-20.03: https://git.io/JfffG
asheshambasta has joined #nixos
<hyper_ch>
I have a problem with one of my nixos servers... for some reasons it keeps caching a wrong ip address for a dyn. domain.... I did restart the server, I restarted the router, restart nscd.... yet still the same. the router fetches the right address though
<hyper_ch>
also weird, /etc/resolv.conf has entires: 127.0.0.53 and edns0..... however in the configuration.nix I have nameservers = [ "127.0.0.1" "10.10.10.1" "8.8.8.8" "8.8.4.4" ];
<srhb>
hyper_ch: That's probably systemd-resolved
<hyper_ch>
where am I going wrong?
mctl has joined #nixos
<srhb>
hyper_ch: Check resolvectl to see the config of the 127.0.0.53 resolver
<hyper_ch>
ok, that seems to be the case... but how do I empty that cache?
<srhb>
hyper_ch: Before doing that, maybe try checking each of the upstream resolvers in there to see if they're giving the "wrong" response
<srhb>
hyper_ch: Given proper TTL, the issue shouldn't really be cache relate
<hyper_ch>
srhb: it's a dyn domain
<hyper_ch>
I even reboot the server - whcih should clear cache IMHO
<srhb>
With a long TTL?
<hyper_ch>
no, 1h ttl
<hyper_ch>
but it's been longer than that
<srhb>
So, try looking up the domain on each of the upstream resolvers and your systemd-resolved and determine which one has a wrong TTL
<srhb>
systemd-resolve --flush-caches should suffice, but that shouldn't be necessary, if TTL propagates correctly.
<hyper_ch>
btw, I need now some new hdds... anyone has experience with toship x300 10-14TB?
mctl has quit [Ping timeout: 258 seconds]
hoplaahei has quit [Ping timeout: 240 seconds]
<peelz>
is it possible to make a list option with default entries, but also let the user choose whether to discard or merge with the defaults?
palo1 has joined #nixos
palo has quit [Ping timeout: 256 seconds]
palo1 is now known as palo
drakonis has joined #nixos
<srhb>
peelz: That's what priorities do
<peelz>
srhb: but I'm not sure how to do that here
<srhb>
peelz: However, I think it's usually cleaner for the user to copy the default value at normal priority, eg config.myList = options.myList.default ++ [myvalues]
<srhb>
That's explicit and non-magical, imo.
<peelz>
hmm
icey_ has joined #nixos
<peelz>
how would you use priorities to have the `.default` merge?
<srhb>
The alternative is, say, for the user to use mkOptionDefault (og mkOverride 1500) -- or for the module to set the value at default priority in config instead of options.$foo.default
<srhb>
But now the user has a problem if they ever want to get rid of the default values, having to use mkForce.
<peelz>
it's unlikely that the user would want to remove the default values, but I'd rather have it as an option than hardcode it in
<srhb>
It's up to you to determine which is the better UX. imho, explicit copying of the default value is the path of least surprise in many cases.
<srhb>
peelz: Maybe you want to split it into two values then.
<peelz>
hmm not in this case
iceypoi has quit [Ping timeout: 240 seconds]
<srhb>
peelz: One that the user is expected to normally modify to add values, one which should not normally be touched unless they really want to get rid of the default vals
<peelz>
actually, I could make the extra entry a boolean switch
<srhb>
Or that.
<peelz>
srhb: is it possible to have a list double as an attrSet? or is that too much magic for the nix language?
<srhb>
peelz: Uh, what are you thinking exactly? An either type?
<peelz>
actually nvm it wouldn't make sense
<peelz>
I was thinking of something like `options.$foo.javaFix.enabled = true;` but you can also do `options.$foo = [ ... ];`
<peelz>
but you'd need operator overloading for this or something like that...
<srhb>
peelz: There are no types, so either could do that. But I'd seriously ponder whether you really want it. :)
<peelz>
srhb: I don't think I do haha -- just thinking out loud
<peelz>
srhb: what I want is probably something like `config.$foo.rules.javaFix.enable = true` and `config.$foo.extraRules = [ ... ]`
isHavvy has joined #nixos
<srhb>
peelz: Sounds plausible. One should always try to keep the number of options down if at all possible.
<srhb>
But that is a common pattern
<peelz>
makes sense
<peelz>
srhb++
<{^_^}>
srhb's karma got increased to 101
zaeph1 is now known as zaeph
jlv has joined #nixos
bqv has quit [Ping timeout: 252 seconds]
Havvy has quit [Ping timeout: 260 seconds]
<jlv>
Is it possible to pull in a specific value using `with`. Something like `with lib (mkDefault);` to only pull in `mkDefault`?
bqv has joined #nixos
<peelz>
jlv: `let inherit (lib) mkDefault; in ...`
Intensity has quit [Read error: Connection reset by peer]
<jlv>
peelz: That would do it :) I was so focused on `with` that I forgot I could just use `let`.
<peelz>
jlv :)
chagra_ has joined #nixos
<jlv>
Is using `mkDefault` like `{ ... }: mkDefault { a.b = ... }` unsupported? It doesn't throw an error, but it looks like some attributes are silently disappearing. In particular, any attribute with a `<name>` acts as if it isn't set.
chagra has quit [Ping timeout: 240 seconds]
captjakk has quit [Remote host closed the connection]
captjakk has joined #nixos
bqv has quit [Quit: WeeChat 2.8]
<sphalerite>
jlv: if there are any higher-priority settings for whatever contains the <name>, they'll erase the mkDefault-ed one
drakonis has quit [Quit: WeeChat 2.8]
<sphalerite>
jlv: you'll need to push your mkDefaults further down in the tree if you want them to share the "space". What are you actually trying to achieve with this?
captjakk has quit [Ping timeout: 258 seconds]
bqv has joined #nixos
<andi->
qy[m]1: what effort?
<jlv>
sphalerite: I'm refactoring my machine configurations and added a number of default settings to share between machines. I thought I could simplify the default files by using a single `mkDefault` like `{ ... }: mkDefault { a = ..., b = ..., c = ... }`, instead of many like `{ a = mkDefault ..., b = mkDefault ..., c = mkDefault ... }`.
<sphalerite>
jlv: unfortunately not as simply as that — because when the modules are merged, only the ones with the same priority are considered
drakonis_ has quit [Read error: Connection reset by peer]
<{^_^}>
[nixpkgs] @worldofpeace pushed 6 commits to master: https://git.io/JffJ2
drakonis_ has joined #nixos
dustinm has quit [Quit: Leaving]
dustinm has joined #nixos
<jlv>
sphalerite: Well, looks like I'll be using a lot of `mkDefault`. I guess I need an `mkDefault` at the deepest level of each option, for what I want.
<{^_^}>
[nixpkgs] @worldofpeace pushed 7 commits to release-20.03: https://git.io/JffJK
<peelz>
srhb: I'm thinking it could be a terminal or a shell issue. I'm using a patched zsh version that's supposed to alleviate text reflow issues... could that be the cause?
<peelz>
is there a way to define the string coercion behavior of an attrset?
<peelz>
instead of erroring out with "cannot coerce a set to a string"
turion has joined #nixos
<peelz>
is there some magic attr you can give to an attrset? e.g. `{ _tostring = self: "${self.a}=${self.b}; }` ?
revtintin has quit [Ping timeout: 240 seconds]
arjen-jonathan has joined #nixos
knupfer has joined #nixos
<ikwildrpepper>
peelz: no
M-Gregoire495 has joined #nixos
<peelz>
:/
<ikwildrpepper>
peelz: you'd need to call the function when wanting to convert a attrset to a string
<peelz>
aight, I'll do that
<ikwildrpepper>
curious, how would you coerce the attrset to a string, if the function is part of the attr set?
smatting has joined #nixos
<peelz>
ikwildrpepper: why not? the tostringification logic is defined by the function :P
<peelz>
`myAttrSet._tostring myAttrSet`
<ikwildrpepper>
but then you'd get a string that is not actually the attrset
<ikwildrpepper>
anyway, not important, was just curious how you'd implement it ;)
<peelz>
oh, I'm just trying to encapsulate the logic in the set rather than have it elsewhere
<energizer>
ikwildrpepper: you'd have the builtin stringification look at the _toString attribute to get the function, and call the function on the attrset
<ikwildrpepper>
peelz: you can still to that, I guess by ust implementing a generic to_string function that implements the attribute (that you would filter out for onverting to string)
evertedsphere has quit [Ping timeout: 260 seconds]
<typetetris>
When using gpg I get a `Key generation failed: No pinentry` error, but I have `pinentry-curses`in my environment. At least at the shell I can call pinentry
<typetetris>
What do I need to do, to get it working?
revtintin has quit [Ping timeout: 250 seconds]
<evils>
typetetris: on unstable, i believe it should suffice to have `programs.gnupg.agent.enable = true;` set
<freeman42x[m]>
how can I tell all the options `fetchgit` has? I would like to set a folder under that repository where the cabal build needs to be done, since running it in root is wrong
<jbox>
I want to change my XDG user environment variables (change things like $XDG_CONFIG_HOME) via configuration.nix. Do I have to just use pkgs.writeTextFile for .profile?
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<jbox>
Is there a more elegant way to do this?
<energizer>
jbox: home-manager
<NobbZ[m]>
Probably `home-manager`
<jbox>
oh, I didn't realize home-manager does that
<jbox>
thank you
<NobbZ[m]>
`home.sessionVariables` is what you want I think.
<{^_^}>
[nixops] @adisbladis opened pull request #1284 → Remove remnants of pre-poetry2nix plugins → https://git.io/JfftQ
<freeman42x[m]>
evils: fetchgit does not have a preBuild, it has postFetch but cabal build still seems to run in root, even though I do: postFetch = "cd lambdabot-trusted";
<evils>
freeman42x[m]: i mean change to the directory you want to be in after fetching, but i'm not familiar with cabal, i was referring to mkDerivation's `preBuild` phase and hoping whatever you're using has a direct equivalent
<NobbZ[m]>
You can't use a single quote like that, strings are either in single-double-quotes or double-single-quotes. In general it might be easier to read/follow if you do the `fetchX` in a `let` and then only use that variable in the interpolation.
mexisme has joined #nixos
<turion>
The PR I worked on (Canon printer drivers has already been done to completion by someone else:
<freeman42x[m]>
NobbZ: why can I not use single quotes inside double quotes? I do not understand what to do
<turion>
symphorien reviewed it, but it seems like noone merged it? What's missing?
<NobbZ[m]>
freeman42x:
<NobbZ[m]>
Nix does not have singlequoted strings. Its invalid syntax.
cr4y1_ has quit [Read error: Connection reset by peer]
cr4y1 has joined #nixos
<NobbZ[m]>
Though you can safely use doublequotes in the interpolation.
revtintin has joined #nixos
<asheshambasta>
if I'd like to see where nixpkgs.haskellPackags.xmonad is defined, where do I need to look in the nixpkgs repo?
<Izorkin>
Error runnig test - nix-build nixos/tests/php/unit.nix - cannot coerce a function to a string - https://pastebin.com/CwZEFRYQ How to correct write - "root": "${testdir}/web",
<reactormonk>
I've tried to build a derviation in the repl via :b - but it failed. How can I display the full error log?
<NobbZ[m]>
freeman42x: please use single-double-quotes. double-single-quotes should be used only for multiline strings. Also the code will be easier to read if you use a let-binding.
<SanchayanMaity>
Hello. We use nix agent in Jenkins CI declarative pipeline for a Haskell project. In this project, running of one of the HSpec tests is dependent on the setting of an environment variable. If the environment variable is set (which I would like to set in CI), the one of the available hspec test will be skipped. Is there a way to set an environment variable during run of nix-build?
<srk>
you could override the respective phase (checkPhase?)
ebopp has quit [Client Quit]
<{^_^}>
[nixpkgs] @vcunat pushed 7 commits to release-19.09: https://git.io/Jffmq
<srk>
checkPhase = ''PATH+=":$PWD" git-annex test''; or even reuse original and prefix with $ENVVAR
pbogdan has joined #nixos
hmpffff has joined #nixos
<NobbZ[m]>
freeman42x: single-double-quotes look like `"`. Those you already have around the string. You can do `"${"foo"}"`, this is totally fine syntax wise.
<{^_^}>
[nixpkgs] @Ma27 pushed to master « nixos/doc: fix database-setup example for matrix-synapse »: https://git.io/JffmZ
<{^_^}>
[nixpkgs] @vcunat pushed 132 commits to staging-20.03: https://git.io/Jffm4
<{^_^}>
[nixpkgs] @Ma27 pushed to release-20.03 « nixos/doc: fix database-setup example for matrix-synapse »: https://git.io/JffmB
<turion>
SanchayanMaity: If I understand correctly you can also set environment variables in an attribute set
<Profpatsch>
description = "path to ssl private key file";
<Profpatsch>
type = lib.types.strMatching "^/var/keys/.*$";
<Profpatsch>
};
ebopp has quit [Client Quit]
<betaboon>
Profpatsch: thanks for coming back to that question. i got to that solution this morning after sleeping on it as well. i think i just got a little confused, as i am using terranix to generate the terraform configuration thus i am in nix all the way XD
<Profpatsch>
yeah, if you have additional generation steps that makes it harder.
<betaboon>
works out fine so far
<Profpatsch>
our tf isn’t complicated/big enough to use stuff like terranix.
<Profpatsch>
But I hear that many companies have tens of thousands of lines of hcl, it might make sense then
<betaboon>
feels quite nice to have the expressiveness of nix-language to generate the rest.
<Profpatsch>
good thing the tf developers are grounded enough to provide a json-format as alternative to HCL.
<Profpatsch>
makes integration so much easier.
<betaboon>
ye
<Profpatsch>
I’m really happy with terraform, so much stuff you don’t have to care about and a straight-forward conceptual design.
<Profpatsch>
though I’m fairly certain we haven’t seen the final form of such a system yet.
<{^_^}>
[nixpkgs] @dasJ opened pull request #85362 → samba: Switch back to builtin Heimdal Kerberos → https://git.io/JffYY
<betaboon>
i have been using nixops so far. but i felt the urge to try switching to terraform for quite a while. might migrate my nixops deployments to using terraform at some point
<betaboon>
terraform + terraform-nixos-provider + terranix realy feels like a good setup atm
<Profpatsch>
It’s sane to centralize the logic of all these integrations to a centrally agreed-on system, because the amount of person-years needed to write them is staggering
<Profpatsch>
Maybe nixops should use terraform as backend
* Profpatsch
hasn’t looked at nixops enough, so that statement might have been nonsensical
<betaboon>
Profpatsch: i had that talk with gchristensen a while ago and a good point: switching nixops to using terraform would break existing deployments.
<manveru>
i like terranix+morph :)
<betaboon>
manveru: can you share an example of how you use that ? i was interested in that setup
<manveru>
they both have examples already... all you have to do is plug in your hostname that terraform deployed into morph config
<simpson>
Ericson2314: Regarding https://news.ycombinator.com/item?id=22885573 do you have good suggestions, or perhaps notes, on how languages could more tightly integrate with Nix/nixpkgs?
<simpson>
I'm both interested because I want to apply those ideas to Monte, and also because it would be good to start measuring how suitable the various popular languages are for this sort of demo.
<manveru>
and the `cluster.nix` is like `{ network = { ... }; "my.host" = { pkgs, ... }: { imports = [ ... ]; }; }`
<Ericson2314>
simpson: Intensional store and ret-cont recursive Nix (though I hope to make big some modifications to my RFC)
<betaboon>
manveru: thanks for the input tho. :)
<manveru>
ah, it does have targetHost
<Ericson2314>
simpson: Also, I just had a new idea for "early producing output"
<manveru>
i just use the attrname
<Ericson2314>
that works really well with both
gxt has quit [Remote host closed the connection]
<betaboon>
manveru: targetHost seems to default to that. i was looking for the scenario where the hostname is not resolvable to ip
zupo has joined #nixos
gxt has joined #nixos
<Ericson2314>
basically, if all the data is going to be content addressed anyways, use recursive nix to add arbitrary content-addressed store paths to store, and assign then to outputs as you go
<Ericson2314>
Then wen the build exits, it checks that all your outputs have been assigned one, and everything you added is rooted by one of your outputs
<{^_^}>
[nix] @domenkozar pushed to more-pos « pass Pos to forceValue to improve infinite recursion error »: https://git.io/JffOY
<Ericson2314>
this allows derivations that "fork" without silly impurities
<{^_^}>
[nix] @domenkozar opened pull request #3502 → pass Pos to forceValue to improve infinite recursion error → https://git.io/JffOs
<betaboon>
manveru: is there a way to reference the ip of a host within the configuration of another ?
<Ericson2314>
ret-cont recursive nix how have manual derefing (caller control) rather than callee-control as I have it today, except with this new "add to store and return" model, when it can return `drv!output` to kick off dynamically many rounds of building
<betaboon>
manveru: currently I'm using that provider, but what would i need morph for then? oO
<manveru>
betaboon: granted, it's not as convenient as nixops, but way faster :)
<manveru>
to split the provisioning and deployment into two phases
<manveru>
you don't want to run terranix/terraform everytime you deploy, do you?
<betaboon>
manveru: why wouldnt i ? oO
<manveru>
i guess yours changes a lot more than mine then :)
<manveru>
i haven't touched the terraform config in months
<podfinkx>
Hello!! 👋️ I am new to nixos. I have a problem for a couple of hours and I cant resolve, I appreciate any help you can throw at me. I have a installation running with root encryption but I also want to be able to unlock the disk via ssh (with dropbear) the thing is that machine is in a vlan and I cannot find a way to put a static ip address with vlan tagging on boot.initrd.kernelParams
<betaboon>
manveru: when using the terraform-provider-nixos it will just deploy the machines and not do anything else if that's all that changed
<manveru>
finding out that nothing changed still takes time
<betaboon>
manveru: yeah that is true. not acceptable to you?
<manveru>
but i guess if you have it fully CD, it doens't matter that much to you :)
<manveru>
i trigger my deploys from a makefile, so time matters
<betaboon>
manveru: ah yeah XD
<manveru>
anyway, with this approach you can just as well use nixops with `none` targets and skip the provisioning stage :)
Ariakenom has quit [Ping timeout: 256 seconds]
turion has quit [Quit: Leaving.]
<manveru>
i'm just trying to keep my iteration times as fast as possible, so reducing the amount of code evaluated in each step is important
<betaboon>
manveru: true. all of that :) so many different aproaches and soft-qualities to fulfil :)
Ariakenom has joined #nixos
iyzsong has joined #nixos
<qyliss>
I can I override environment.etc to remove a file?
fendor has quit [Read error: Connection reset by peer]
<{^_^}>
[nixpkgs] @immae opened pull request #85365 → Fix postRun in acme certificate being ran at every run → https://git.io/JffO1
<{^_^}>
[nixpkgs] @immae opened pull request #85366 → Fix postRun in acme certificate being ran at every run → https://git.io/JffOy
pbb has quit [Ping timeout: 272 seconds]
pbb has joined #nixos
<simpson>
Ericson2314: Interesting. I'm not sure how to integrate those into language design, TBH; maybe I'm too used to seeing traditional language-specific package managers as useless.
<Ericson2314>
simpson: well in the meantime, we can go for the still-difficult goal of making sure the compilers and standard libraries are always in separate derivations
relaxmax has quit [Ping timeout: 256 seconds]
<Ericson2314>
Only C/C++ and Clang do that correctly today, sadly
Darkmatter66 has quit [Ping timeout: 256 seconds]
<simpson>
Sure. Just, like, what are the big dreams? I already not only did that for Monte, but also made each module separately built; the stdlib gets regenerated incrementally module-by-module, like one would expect in a civilized environment.
<podfinkx>
can I add a vlan manually to the initrd with boot.initrd.network.postCommands ?
Darkmatter66 has joined #nixos
<gchristensen>
podfinkx: are there not existingNixOS options to manage vlans?
<Ericson2314>
simpson: OK module by module is the goal
<Ericson2314>
do you use IFD for that?
<podfinkx>
@gchristensen not for the stage 1 of boot as I see
<Ericson2314>
does your language have types or other things that allow comparing interfaces?
<gchristensen>
interesting
<podfinkx>
gchristensen I dont really know I'm very new to nixos, thats why I'm asking
<Ericson2314>
simpson: if you have any sort of static configuration language in monte like CPP or rust's #[cfg] you want https://ckaestne.github.io/TypeChef/
<manveru>
doesn't idris or some language like it use nix already?
<podfinkx>
gchristensen: I tried with boot.kernelParams without luck, something like boot.kernelParams = ["ip=192.168.20.10::192.168.20.1:255.255.255.0:eth0.20:off"];
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}>
[nixpkgs] @elseym pushed commit from @bachp to release-20.03 « unifiStable: 5.12.35 -> 5.12.66 »: https://git.io/Jff3c
o1lo01ol1o has joined #nixos
<podfinkx>
gchristensen: I have a normal vlan configured when the system is booted but I'm trying to unlock my root disk via ssh and cant reach the server because is not in the correct vlan....
<gchristensen>
podfinkx: yeah, I'm sorry, I can't help further right now -- but you might be on to something doing it in postCommands
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
iyzsong has quit [Ping timeout: 256 seconds]
<podfinkx>
gchristensen: well I guess I'm gonna try that. thanks.
<simpson>
Ericson2314: Monte is dynamically typed, so that we don't need to bother with any of the hard stuff you're thinking of. We just batch-compile modules, mapping each source file to an artifact file. When it gets fast enough, we'll use static linking to combine modules into applications, somewhat like Go, I guess?
<Ericson2314>
simpson: OK. There is just less to be done for dynamic languages because virtually no analysis can be done except for on the whole program, so what you have is probably quite close to the local optimum
<simpson>
Ericson2314: That is not just acceptable, but desirable. We're late-binding. What would be interesting is some way to put the equivalent of a Smalltalk image into the Nix store somehow. Not exactly like that, but that's the sort of equivalent to doing static typechecking from within Nix.
<simpson>
I've sketched a design for some of this. Imagine e.g. a REPL that has some commands that let it import stuff from the Nix store and also export back to the store, just like traditional saving and loading from disk. Interleaving these saves and loads could lead to e.g. notebooks which are incrementally built with Nix.
<Ericson2314>
yes the saving and loading ting, but within derivations, was the sort of thing I was mention before
<Ericson2314>
with the purity restrictions of recursive + nix plus cannot perform nix builds
<asheshambasta>
(this gives cabal specific errors where the cabal file is not found, making me suspect that the build is happening at the "wrong" place in the dir.)
o1lo01ol1o has joined #nixos
<asheshambasta>
(also with patches not overriden, this causes errors in patchfiles not found)
<asheshambasta>
(with further strengthens my suspicions)
<{^_^}>
[nixpkgs] @alyssais opened pull request #85368 → modules/systemd: don't install home.conf example → https://git.io/Jffsf
<etu>
So new version where they have dropped the path to the old one, great
<etu>
jakobrs: Then it should be fairly straightforward to update the package to use the newer version :)
<jakobrs>
I'll do that as soon as possible
Neo-- has joined #nixos
<etu>
jakobrs: Perfect, thanks :)
Jackneill has joined #nixos
domogled has joined #nixos
<gentauro>
iirc somebody in here showed me how to search for a specific command (I think it was `clear` which is in `ncurses`). Now I need to find out where `which` is ...
* gentauro
I forgot to write it down :(
<etu>
,locate bin which
<{^_^}>
Found in packages: which, toybox, busybox, debianutils
<sphalerite>
softaman: generally speaking, you don't. What are you trying to achieve?
<gentauro>
etu: do you know how much HD I need to use for the `nix-index` tool? (still ongoing)
<sphalerite>
gentauro: ~25MiB
gentauro has quit [Read error: Connection reset by peer]
gentauro has joined #nixos
<softaman>
sphalerite: so, upstream has a set of functions and nixpkgs in their repository, I'm importing it as set of functions in my config.nix, in this config.nix I want to have a variable to overrite something
<softaman>
sphalerite: but, that variable, is for downstream users and don't have to be set all the time
<{^_^}>
[nixpkgs] @worldofpeace pushed 2 commits to release-20.03: https://git.io/Jffn2
<{^_^}>
[nixos-homepage] @garbas pushed to plasma5-rename « bolding some words »: https://git.io/Jffna
<softaman>
so I want to find out, depending if someone imports my repository and in their repository uses a feature , they can set a variable to enable it
<sphalerite>
softaman: you can define a function with an optional argument maybe? (I'm still not entirely sure what your code looks like concretely, but…)
<sphalerite>
> ({ enableX ? false }: if enableX then "x enabled" else "x not enabled") {}
<{^_^}>
"x not enabled"
<sphalerite>
> ({ enableX ? false }: if enableX then "x enabled" else "x not enabled") { enableX = true; }
<{^_^}>
"x enabled"
<softaman>
can I also use this within the attribe set
<softaman>
my variable is like config.rust.enable-nightly ? false?
<jakobrs>
If I'm writing a commit that modifies multiple derivations, should I list all of the derivations in the commit message, or should I split it into multiple commits?
<Izorkin>
etu: in latest php updates not loaded pdo_mysql in nginx-unit. Cheking with this test - https://pastebin.com/NvExNEe4
evertedsphere has joined #nixos
waleee-cl has joined #nixos
gentauro has quit [Read error: Connection reset by peer]
gentauro has joined #nixos
<betaboon>
when using lorri, can i somehow add a binary cache just for a single project ?
<gentauro>
etu: running `nix-index` takes all the bandwith so I fall of `IRC` :o
reallymemorable has joined #nixos
softaman has quit [Remote host closed the connection]
reallymemorable has quit [Client Quit]
<srk>
> let x = lib.recursiveUpdate { rust.enable-nightly = false; } { rust.
<{^_^}>
error: syntax error, unexpected ')', expecting ID or OR_KW or DOLLAR_CURLY or '"', at (string):297:1
<srk>
oop
<srk>
> let x = lib.recursiveUpdate { rust.enable-nightly = false; } { rust.enable-nightly = "YEAH"; }; in lib.traceValSeq x
<{^_^}>
{ rust = { enable-nightly = "YEAH"; }; }
cr4y1 has quit [Remote host closed the connection]
Neo-- has joined #nixos
reallymemorable has joined #nixos
<b42>
always fighting laziness and semicolons:D
cr4y1 has joined #nixos
<srk>
I wish there was $ instead of () :D
<etu>
Izorkin: Oh, that is because unit gets the base package because it requires the .dev output -- and we don't have the .dev output on the full package
<etu>
gentauro: I'm not sure, it's most probably possible. But it was quite a while ago I used nix-index... I mostly find my way around with "nix search" nowadays, but that doesn't search for specific things so it's not the same thing.
o1lo01ol1o has joined #nixos
<gentauro>
etu: fair enough. The good thing is that I kind find binaries ;)
<gentauro>
etu: thx for the help
<gentauro>
(how do I give you karma?)
<gentauro>
etu: karma +1
<manveru>
gentauro++
<{^_^}>
gentauro's karma got increased to 1
<gentauro>
gentauro--
<gentauro>
etu++
<{^_^}>
etu's karma got increased to 14
<manveru>
don't be so self-decrementing :)
<ldlework>
hah
<gentauro>
manveru: I don't deserve it ;)
<etu>
gentauro: Try to increase your own karma and see what happens ;)
<gentauro>
gentauro++
<{^_^}>
gentauro's karma got decreased to 0
<gentauro>
etu: thx :D
<gentauro>
etu: does it go negative (now I'm really tented to do it again) xD
<etu>
🤷
* gentauro
let see if they chose `int` vs `uint` :)
<seku>
negative could be fun. maybe a buffer underflow?
<infinisil>
aszlig++
<{^_^}>
aszlig's karma got increased to -665
<seku>
xD
<immae>
wow how did he get so low?
<manveru>
he always was that low
<manveru>
benefit of being a demon :)
<immae>
ahh it’s a demon
<gentauro>
infinisil: xD
<gentauro>
seku: if it was unsigned, you could get a HUGE karma with just a simple `--` ;)
<{^_^}>
[nixpkgs] @lheckemann opened pull request #85374 → gnupg: use libusb1 → https://git.io/JffC6
<jakobrs>
If I use four dashes, will I lose 2 karma?
<podfinkx>
if there a way to add vlan tagging on the boot.initrd?
Desetude has quit [Quit: WeeChat 2.8]
<infinisil>
jakobrs: "nick++++" parses as the nick "nick++" ++
<infinisil>
But "nick++" isn't a valid nick, so it wouldn't do anything :)
<jakobrs>
{^_^} nick's karma got increased to 2
<infinisil>
Hehe
<infinisil>
{^_^}++
<{^_^}>
{^_^}'s karma got increased to 174
<jakobrs>
Too bad su doesn't work in irc
<jakobrs>
What decides what packages go in /run/current-system/kernel-modules/lb/modules/5.3.2?
<{^_^}>
[nixpkgs] @vbgl pushed commit from @sternenseemann to master « ocamlPackages.erm_xmpp: 0.3+20180112 -> 0.3+20200317 »: https://git.io/JffCx
<gentauro>
I tried to search for the binary with `nix-index` and `nix-locate` :|
<Mic92>
jakobrs: I am not aware of non-upstream kernel packages enabled by default. So it should be only the actual kernel upstream packages. However you might pick up modules when using: nixos-hardware.
<Mic92>
gentauro: I also cannot find it. Maybe it got vanished over time.
zupo has joined #nixos
<gentauro>
Mic92: :(
captjakk has joined #nixos
<Mic92>
gentauro: First you should find the corresponding upstream package that should contain it.
podfinkx has quit [Quit: podfinkx]
<Mic92>
esclear: yes. (eclipse.override { jdk = jdk8; }) should work
<Mic92>
use packagesOverrides
<gentauro>
Mic92: `nix-index && nix-locate qtdeploy` gives empty. So no packages in 19.09 has that tool :(
<esclear>
Mic92: So where would that go in the eclipse/default.nix file?
linarcx has joined #nixos
<Mic92>
gentauro: Yes. But some source in qt should provide it, if we have it packaged you could check what is wrong with our build process. It could be also the case that upstream has moved it to a new repository that we have not packaged yet.
captjakk has quit [Ping timeout: 256 seconds]
<Mic92>
esclear: ah you want to do the change in nixpkgs itself?
<esclear>
Yes. Since eclipse-scala-ide doesn't work with newer versions, this would make more sense. Otherwise all users would have to make a manual override as well.
<Mic92>
esclear: let me check the source more closely
<betaboon>
lopsided98: thanks for all the effort on nix-ros-overlay. just tried it out. works for me. will help alot :)
<Mic92>
esclear: change `import ./build-eclipse.nix {...}` to `callPackage`. Than you can do `buildEclipse.override { jdk = jdk8;}` for the scala-ide case.
<Mic92>
Does this make sense?
<esclear>
I think so.
dhkl has joined #nixos
orivej has quit [Ping timeout: 260 seconds]
orivej has joined #nixos
knedlsepp has joined #nixos
jakobrs has quit [Quit: WeeChat 2.8]
<knedlsepp>
Hi! I was wondering if somebody might know if it's possible to run some command inside a docker container as part of `nix-build`?
SanchayanMaity has quit [Quit: leaving]
<infinisil>
knedlsepp: Got more context?
vidbina_ has quit [Ping timeout: 258 seconds]
<knedlsepp>
infinisil: I've got a hydra setup that verifies that my code builds in a nixified environment. However I do need to verify that the same code also runs inside a docker container provided by somebody else. I'd really love to be able to leverage my existing hydra instance for that instead of setting up another CI server.
<evils>
,locate gnat
<{^_^}>
Found in packages: vim, glib.dev, vimHugeX, gnatsd.bin, vimPlugins.ale, bash-completion, neovim-unwrapped
<adisbladis>
evils: Iirc we don't have gnat
* evils
cries
<knedlsepp>
That's why I was hoping to be able to write some nix expression that would build and run my code inside of a docker container as part of a nix-build.
<adisbladis>
I tried adding it back some time last year.. But I can't remember why it was so difficult..
<{^_^}>
[nixpkgs] @lbpdt opened pull request #85375 → [20.03] node-problem-detector: init at 0.8.1 → https://git.io/Jff8J
<evils>
adisbladis: know if we have a compatible ada compiler? (i'm trying to build coreboot)
<lewo>
knedlsepp: that's not really convenient to use, but we could start Docker in a VM
<infinisil>
^ that sounds like an idea that should work
<lewo>
becuase I don't think runc is working in our sandbox
<adisbladis>
evils: Nope :/
<adisbladis>
I was also trying to build coreboot
ebopp has quit [Ping timeout: 256 seconds]
<evils>
adisbladis: what did you end up doing?
<adisbladis>
Not me, I was helping a friend.
<adisbladis>
But he ended up using a Docker container
<adisbladis>
:/
<adisbladis>
:(
sputny[m] has left #nixos ["User left"]
<lewo>
in a vm in the nix sandbox ? :/
<evils>
i'll probably end up using an ubuntu VM, if i get my pi set up to flash the SPI flash (which nixos doesn't seem to support atm either)
<knedlsepp>
lewo infinisil: Thanks for the tip!
linarcx has quit [Quit: WeeChat 2.8]
<infinisil>
knedlsepp: Note that you'll probably want to use something like `(import <nixpkgs/nixos/lib/testing-python.nix> { system = builtins.currentSystem; }).makeTest { machine = { <NixOS config of the machine> }; testScript = <python script to run>; }`
<infinisil>
For the python script you can look into nixpkgs/nixos/tests for examples
<knedlsepp>
infinisil: Thx. That will get me started a lot faster :-)
ebopp has joined #nixos
<JJJollyjim>
@pkolloch:matrix.org: hey, the last crate2nix commit has the wrong url structure
<JJJollyjim>
there should be a /crate/ at the start
knedlsepp has quit [Remote host closed the connection]
knedlsepp has joined #nixos
reallymemorable has quit [Quit: reallymemorable]
chagra_ has joined #nixos
knedlsepp has quit [Remote host closed the connection]
reallymemorable has joined #nixos
<evils>
btw, is there an official stance on packaging development environments (for example a set of dependencies to build coreboot (which `coreboot-utils` doesn't seem to be)) in nixpkgs?
<gchristensen>
usually you would usually just package `coreboot`, and then `nix-shell -A coreboot` will put you in to the environment used to build coreboot
<evils>
gchristensen: i would expect that to either provide a built coreboot image (not particularly useful), or drop you into the source code (and build environment) of coreboot, which needs to be mutable
<gchristensen>
`-p` would put you in an environment with the built coreboot image, `-A` puts you in to the build environment of coreboot, with the tools and environment set up, where you can then `cd` to your source directory and build and work with
<evils>
gchristensen: so that would then just provide a shortcut to `nix-shell -p m4 -p bison -p flex -p zlib -p gnat`?
<gchristensen>
evils: you know how you can make write `stdenv.mkDerivation { ... }` and `nix-shell` to get inside that shell?
<gchristensen>
evils: you know how you can make write `stdenv.mkDerivation { ... }` to ./default.nix or ./shell.nix and `nix-shell` to get inside that shell?
numkem has joined #nixos
<evils>
gchristensen: i'm aware but not familiar with that
<evils>
would that drop you into a mutable version of the source?
<gchristensen>
it doesn't automatically get you source
<gchristensen>
but if you have `src = fetchurl { ...` the env var $src will be set to that
<evils>
wouldn't a mkShell be more useful then, and have a `cd $src` shellHook?
codygman has quit [Ping timeout: 250 seconds]
<evils>
and would that src be mutable?
reallymemorable has quit [Quit: reallymemorable]
codygman has joined #nixos
<gchristensen>
no, it doesn't do that sort of magic
<gchristensen>
you have to unpack your own source and make it mutable
<numkem>
Is there a release page somewhere for when we can expect 20.03 to land?
codygman has quit [Read error: Connection reset by peer]
codygman has joined #nixos
<{^_^}>
[nixpkgs] @primeos pushed 2 commits to release-20.03: https://git.io/JffRY
<evils>
btw, is there a summation of the release history somewhere? i seem to recall seeing something before, but made my own, https://hastebin.com/nugorofuye.apache
<numkem>
gchristensen: that's great news, can't wait for it to be released!
<{^_^}>
tweag/terraform-nixos#20 (by Profpatsch, 17 weeks ago, open): deploy_nixos: ssh ControlPersist keeps connection open until timeout
reallymemorable has joined #nixos
<Desetude>
gchristensen: With the setup you recently blogged about, I'm curious if you bother with small things like adding the user to the sudo lectured directory
<{^_^}>
[nixpkgs] @vcunat pushed 2 commits to staging-next: https://git.io/Jff06
<dhess>
In latest Hydra on master/nixpkgs-unstable, I'm getting errors trying to check out private repos given project configurations that worked fine prior to (I think) 0f5c38feed3044845d3ab7378a6d81a1f34b93da
<dhess>
They look like this: error: "'git+file://git@github.com:foo/bar.git' is not a valid URL"
<dhess>
Any suggestions on how to fix that? I'm not sure where the git+file URL scheme comes from as these are projects specified in Hydra as "Declarative input type: Git checkout" with value "git@githuc.com/foo/bar.git"
<dhess>
/githuc.com/github.com/ obvs
<{^_^}>
[nixpkgs] @filalex77 opened pull request #85380 → packet-cli: init at 0.0.6 → https://git.io/JffE0
<ikwildrpepper>
dhess: I had the same today, try switching to a welformed URL for now: ssh://git@github.com/foo/bar.git
<ikwildrpepper>
dhess: I've created an issue for it already
<ikwildrpepper>
dhess: although, not 100% sure it is the same issue, it should only happen when using fetchGit
<ikwildrpepper>
dhess: although, not 100% sure it is the same issue, it should only happen when using builtins.fetchGit
<ikwildrpepper>
oops (sorry for the duplicate)
erasmas has joined #nixos
<{^_^}>
[nix] @edolstra pushed to master « fetchMercurial: Use inputFromAttrs() »: https://git.io/JffE7
<hyper_ch>
--> "Cherry-picked onto release-20.03 branch: f2d4179" --> this means it gets included into 20.03?
<emily>
shame I probably can't move off niv entirely (unless there's a nice way to synthesize flakes for third-party dependencies that don't support them yet?)
<qy[m]1>
yeah, mine's forked from that, technically
<qy[m]1>
np
<qy[m]1>
there is, look at mine
<qy[m]1>
i do that for emacs-overlay
<qy[m]1>
in most cases i prefer a flake but at least with emacs-overlay it's tiny and mostly trivial so i import it as a non-flake
<emily>
cool, thanks!
<Profpatsch>
betaboon: Nope, I think I just Ctrl+c after a while
<betaboon>
Profpatsch: this is somewhat annoying xD
<emily>
er, so you do it with emacs-overlay or you don't do it with emacs-overlay?
<Profpatsch>
But maybe if you comment, the Gods will hear our pleas :)
rardiol has joined #nixos
drakonis_ has quit [Read error: Connection reset by peer]
<qy[m]1>
i do
<qy[m]1>
cause emacs-overlay isn't a flake
<qy[m]1>
(and isn't likely to be soon, apparently :p)
`_ has joined #nixos
domogled has joined #nixos
chloekek has joined #nixos
drakonis_ has joined #nixos
<emily>
right
<qy[m]1>
in the case of home-manager, there's a community-maintained flake branch, and both nur and nixpkgs have a flake.nix merged already
<emily>
was just not sure what "with emacs-overlay ... i import it as a non-flake" meant
<emily>
I was thinking more writing your own flake.nix for an external dependency and then using that, which I guess depends on whether you're forced to use url or can use a local path
<emily>
but that should work as a stopgap, thanks
<qy[m]1>
np
bukkitgerman8608 has quit [Ping timeout: 264 seconds]
puck has left #nixos ["I HIT CTRL+W AGAIN"]
puck has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<JJJollyjim>
cole-h: it's something append-only: by the time i'm using it, no future changes will affect the input
<JJJollyjim>
**affect the output
<JJJollyjim>
does that make sense?
<cole-h>
Not to me, no (sorry). What exactly are you trying to provide as input?
devhell has quit [Ping timeout: 260 seconds]
<JJJollyjim>
i feel like i see hints that this is possible, but i might be confusing impure evaluation with impure building
ub[m] has joined #nixos
jco has joined #nixos
<michaelpj>
I don't think you can do this. You could do what I think you want if we had a content-addressed store: then you could e.g. write a derivation for the (unvarying) summary of your (varying) input, and then although the summary would rebuild, it would produce something with the same content and so not trigger further rebuilds
<qy[m]1>
this is targeting having both stores running
<qy[m]1>
ah ok
<qy[m]1>
i mean shareNixStore should probably go, but the other two may still prove useful
<cole-h>
Fair; if they stay, though, the values should probably be changed...
<qy[m]1>
oh good lord
<qy[m]1>
yes, they should
<cole-h>
Also I think that the longDescription for guix is pretty useless... "It includes a virtual machine image" -- does the drv actually? "GNU Guix is a functional package manager for the GNU system, and is also a distribution thereof." -- but we don't care about the distribution, just the package manager
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<qy[m]1>
heh, fair point, i just copied that from the site
<dhess>
ikwildrpepper: thank you! (Sorry, was in a meeting)
<dhess>
ikwildrpepper: link to the issue?
<cole-h>
qy[m]1: Where did you copy it from? I can't find that wording anywhere on `guix.gnu.org`... :P
<qy[m]1>
strange, they may have changed it for 1.1
<qy[m]1>
that is where i got it from
asbachb has joined #nixos
<cole-h>
Then even more reason to drop it! Haha
nschoe has quit [Quit: Leaving]
<benny>
how do I run a small bash scripts on every boot in NixOS? (/etc/rc.local is where SysV had it)
<podfinkx>
somebody can help me with a problem I'm having unlocking my root partition (luks encrypted) via ssh on boot?
<podfinkx>
nvm
<emily>
qy: your flake seems to do all the importing of things from dependencies in flake.nix; does accessing dependencies from individual profiles/modules (so that I can e.g. import dependencies only on some hosts, or reference a path inside a dependency in a NixOS module) still require the old specialArgs = { ... } hacks to pass it into the NixOS config, or do flakes integrate with this in some way?
drakonis1 has joined #nixos
<qy[m]1>
emily: there's no special method for that, afaik, so yeah
<{^_^}>
[nixpkgs] @jonringer pushed commit from @r-ryantm to master « dkimpy: 1.0.2 -> 1.0.4 »: https://git.io/JffwX
asheshambasta has quit [Ping timeout: 272 seconds]
<emily>
qy: that kinda sucks because one of the things I was hoping to fix is how my specialArgs = { inherit sources; } Niv stuff breaks nixos-option/etc. because of the extra arg :(
<emily>
though I guess if stuff is flakes-aware it should get injected properly anyway
podfinkx has quit [Read error: Connection reset by peer]
<sonercirit[m]>
btw thx for the help gchristensen :)
<jbox>
how can I see the options for a given package?
hellstorm has joined #nixos
isHavvy has quit [Ping timeout: 240 seconds]
<emily>
qy: I guess this also means no easy way to plumb flake overlays into the nixpkgs-overlays NIX_PATH entry so that the nix tools can access all the overlays from the system config's flake deps?
<pbogdan>
is it possible to specify `nix.nixPath` if I want to append to the default value?
<emily>
qy: nothing in overlays/ seems to depend on any flake input though
<qy[m]1>
emily: ftr that only functions properly if you have the flake mounted at /etc/nixos. i do that by having the flake symlink itself to /run/current-system/flake, and having /etc/nixos be a symlink to that
justanotheruser has joined #nixos
<emily>
(whereas I want e.g. "${inputs.nixpkgs-mozilla}/rust-overlay.nix" in both nixpkgs.overlays and the NIX_PATH nixpkgs-overlays)
<emily>
I can probably attempt the current JSON serialization trick to flakes, just wanted to check there wasn't anything nicer I could do with the functionality
turion has joined #nixos
glittershark has joined #nixos
<turion>
Why isn't there a bot that runs nixpkgs-review on any PR? Or is there?
<qy[m]1>
heh, yeah. i think you'll be mostly relying on fudging it until it works, there, i don't think there's anything overly clean, though the issue there isn't particularly flakes (ignoring the compatibility shim), it's just the architecture i'm using
Havvy has quit [Ping timeout: 256 seconds]
<gchristensen>
turion: ofborg does most of what nixpkgs-review does. expanding its scope to do more of the builds might could be done, but capacity potentially becomes a problem
<turion>
gchristensen: Ah ok. So does ofborg somehow label those reviews where someone should manually run this
<gchristensen>
no
<turion>
Or what exactly is "most of what nixpkgs-review" does?
podfinkx_ has joined #nixos
<gchristensen>
sorry, I can't discuss this right now -- perhaps someone else can fill in
captjakk has quit [Remote host closed the connection]
<turion>
Thanks :)
captjakk has joined #nixos
<turion>
I read that ofborg reuses evaluation output, that's of course useful. But the heavy load is probably compiling a changed package, right? Is that what nixpkgs-review does on top of ofborg?
growpotkin has joined #nixos
<qy[m]1>
cole-h: i can't see why i'd done that because i've been rebasing so much i think the old commits are just lost now :p
podfinkx has quit [Ping timeout: 256 seconds]
podfinkx_ is now known as podfinkx
captjakk_ has joined #nixos
dckc has quit [Ping timeout: 265 seconds]
glittershark has quit [Read error: Connection reset by peer]
dckc has joined #nixos
captjakk_ has quit [Remote host closed the connection]
Darkmatter66 has joined #nixos
endformationage has joined #nixos
captjakk_ has joined #nixos
captjakk_ has quit [Remote host closed the connection]
<esclear>
How bad is something like `pkg.override { gtk3 = gtk2; }`? I personally dislike it, but it seems like the least invasive solution for the problem at hand.
<ldlework>
Is there a way to add a file to the store with an arbitrarily supplied hash?
captjakk_ has quit [Remote host closed the connection]
<ldlework>
Guessing not but figured I'd ask.
HellSt0rm has joined #nixos
captjakk has joined #nixos
<infinisil>
You mean you want to be able to add an arbitrary file under e.g. the sha256 hash 0000..0000?
klntsky has joined #nixos
jlv has quit [Ping timeout: 240 seconds]
<ldlework>
infinisil: yeah... :X
<qy[m]1>
dare i ask why
<ldlework>
....no
<ldlework>
:D
pbogdan has quit [Quit: ERC (IRC client for Emacs 26.3)]
<ldlework>
i think i can override the package to expect a different hash I think
<infinisil>
ldlework: Check the nix-store man page, section `--verify`
<qy[m]1>
i do wonder why we even bother making rules if it's oh so inevitable that someone will break them :p
pbogdan has joined #nixos
pbogdan has quit [Remote host closed the connection]
zupo has joined #nixos
dhkl has quit [Ping timeout: 258 seconds]
<ldlework>
Can remind me how to get the sha of a current store path?
<symphorien>
,tofu
<{^_^}>
To get a sha256 hash of a new source, you can use the Trust On First Use model: use probably-wrong hash (for example: 0000000000000000000000000000000000000000000000000000) then replace it with the correct hash Nix expected. See: tofu-vim
domogled has joined #nixos
captjakk has quit [Ping timeout: 250 seconds]
pbogdan has joined #nixos
podfinkx has quit [Quit: podfinkx]
invra has quit [Quit: WeeChat 2.3]
turion has quit [Ping timeout: 265 seconds]
<energizer>
ldlework: are you asking how to get the sha256 of a file?
zupo has quit [Client Quit]
jb55 has quit [Quit: jb55]
HellSt0rm has quit [Ping timeout: 260 seconds]
jb55 has joined #nixos
relaxmax has joined #nixos
<energizer>
nix-hash --type sha256 /path
domogled has quit [Ping timeout: 250 seconds]
Naptra has quit [Quit: Leaving]
<dhess>
ugh Hydra is so so broken right now
<dhess>
This my new least favorite error message of all time: "error: unexpected EOF reading a line"
<qy[m]1>
you probably want --base32 too
<dhess>
super helpful.
<qy[m]1>
:D
<drakonis1>
vague errors are the best
<drakonis1>
wait until you find hexadecimal errors
koleesch has quit [Ping timeout: 260 seconds]
<qy[m]1>
i'm sorry?
<drakonis1>
windows has those kinds of errors
<drakonis1>
like error 0xffffff
<samueldr>
dhess: there may be two reason why this is showing up
endocrimes has quit [Quit: running from the computers]
<drakonis1>
imagine running into this really vague error without internet
<samueldr>
dhess: but first, is this on your locally installed instance or the nixos.org one?
<kalbasit>
trying to debug lorri re-evaluating too much. `RUST_LOG=lorri=debug RUST_BACKTRACE=1 lorri watch` is not printing debug logs, am I missing something?
captjakk has joined #nixos
Maxdaman1us has joined #nixos
<jbox>
how can I declare packages from both nixos-19.09 and nixpkgs-unstable?
<cole-h>
If you have a service for it setup, might want to stop it and try again kalbasit
<cole-h>
kalbasit: What if you set the log level to trace?
<kalbasit>
cole-h: should I expect the debug log stdout or is there some file?
<cole-h>
No clue, sorry. Just brainstorming at this point.
domogled has joined #nixos
<jbox>
cole-h: no, I haven't. Thank yuou! This is just what I needed :)
Maxdamantus has quit [Ping timeout: 258 seconds]
<cole-h>
Hope it helps
<kalbasit>
trace did not help :(
seku has quit [Quit: Connection closed]
<cole-h>
What exactly is the problem, aside from evaluating too much, and when do you notice it?
jakobrs has joined #nixos
<jakobrs>
Just to be clear, adding a package to boot.extraModulePackages does not load it on boot, right?
captjakk has quit [Ping timeout: 260 seconds]
<kalbasit>
cole-h: with one terminal open, running `ls` over and over again does not trigger re-evaluation. However, if I have two terminals open side by side running `ls` in one terminal causes the other to re-evaluate
<kalbasit>
cole-h: I fixed a similar issue before integrating lorri where Direnv was watching a dir instead of a file. Wondering if I hit this bug again for some reason
<energizer>
i have `nixpkgs.overlays = [myOverlay];` and i can use the overlayed packages in my config, but i'm not able to access them in `nix repl '<nixpkgs>'`. the `overlays` variable is []. why is that?
<{^_^}>
[nixpkgs] @seqizz opened pull request #85398 → g933-utils: init at 0.13 → https://git.io/Jff6X
<kalbasit>
so I want to see what is Lorri watching
<manveru>
kalbasit: it's possible that your shell prompt is calling git, and your sources are relying on the .git dir somehow?
<manveru>
i had that happen a lot...
<kalbasit>
manveru: not that I know of, but I can check for that
<manveru>
anyway, there is #lorri as well :)
jakobrs has quit [Client Quit]
<kalbasit>
oh cool, I'll ask there as well. Thanks!
<manveru>
you can use `lorri watch -vvv` i think
<kalbasit>
manveru: I don't see a -v` option. Using lorri 1.0.0
<esclear>
While I'm at it opening pull requests: Could anyone review my PR https://github.com/NixOS/nixpkgs/pull/70487 from may? The package is still up-to-date but not merged.
<energizer>
i am confused. `$ nixos-option nixpkgs.overlays` -> `Value: [ <LAMBDA> ]`, but `nix-repl> overlays` -> `[ ]`. Why is nixpkgs.overlays populated in the first case but empty in the second case?
<pbogdan>
energizer: see https://nixos.wiki/wiki/Overlays for what's happening with overlays, it also has an example of how to pass `nixpkgs.overlays` down to tools like nix repl
<energizer>
for me so far the only times i wish i could use HM but had to resort to systemwide have been fonts.fonts and services.syncthing
<qy[m]1>
i've been wondering why it's not working for ages
<qy[m]1>
nevermind, it's there?
<Desetude>
Are there any functions that take in a script source and then store the script and return the path of it?
<qy[m]1>
${} :p
<infinisil>
Desetude: pkgs.writeShellScript
peelz has quit [Remote host closed the connection]
peelz has joined #nixos
<Desetude>
infinisil: Great, tyvm
<qy[m]1>
that takes text, not a file, right?
<qy[m]1>
guess i misunderstood...
<infinisil>
Yeah
<Desetude>
yea sorry I meant text/string
wildtrees has joined #nixos
<{^_^}>
[nixpkgs] @turion opened pull request #85403 → haskell simple-affine-space: Disable test suite → https://git.io/JffiQ
ultranix has joined #nixos
ixxie has quit [Ping timeout: 260 seconds]
ixxie has joined #nixos
<ultranix>
what's the options for per project organization using nix? I just found 'niv' but ive heard of direnv and remember there were some others that made use of direnv
<emily>
qy: um, just checking... does nix flake list also include edolstra/nix-warez for you? :')
<emily>
wonder if that's some hardcoded default
<NobbZ[m]>
niv and direnv serve different purposes
fresheyeball has joined #nixos
<qy[m]1>
emily: ahahah, yes, it does
<qy[m]1>
that's not hardcoded, it's fetched from the nix registry
<qy[m]1>
(which IS hardcoded)
<emily>
oh, I see
<emily>
I was assuming local flakes would be listed differently
<emily>
I can't tell if the version pinnings from my system config's flake.lock are actually applying to nix run nixpkgs#...
<qy[m]1>
not sure they would be, i don't think that command uses the system flake
captjakk has joined #nixos
<qy[m]1>
at least in my experience it tends to fetch it
<emily>
right
<emily>
wonder if there's any way to achieve that, since I kind of assume my nixpkgs is pinned system-wide...
<qy[m]1>
well, the way would probably be to just refer to it through your flake
<qy[m]1>
if you have your flake mounted at /etc/nixos for example, you should be able to use /etc/nixos#blah
<emily>
mhm, I guess I can just manually re-export everything
<emily>
what would blah be for nixpkgs.hello there? I assume I'd just have to include nixpkgs in the outputs or similar?
<emily>
(or is there some way of accessing the inputs that I'm missing?)
<emily>
sorry for all the questions :)
<qy[m]1>
yeah, presumably you could just plumb through the nixpkgs you're using for your system, but there might also be a way to get at it through .#nixosConfigurations.<hostname>.config
<emily>
I guess inherit (nixpkgs) legacyPackages should do most of the job
<emily>
I'm not sure I can get used to typing '~/etc/nixos#' over 'nixpkgs.' though...
<emily>
nix flake add talks about some kind of "user flake registry" that seems like I could use it to do what I want, but I guess it's even more undocumented than the rest of flakes
<emily>
oh it's documented in a gist!
<qy[m]1>
there might be a nicer solution using the user flake registry stuff
<qy[m]1>
i'm not entirely sure how that works, never used it :D
seanparsons has quit [Read error: Connection reset by peer]
<qy[m]1>
ahah
seanparsons has joined #nixos
<qy[m]1>
heh, neat. yeah
<evertedsphere>
ultranix: niv is really good, lorri is a nice nix-specific wrapper over direnv that works v well with niv
<evertedsphere>
niv + lorri, when it Just Works, is a lot of fun
<ultranix>
lorri is the other i was thinking of
<ultranix>
thank you
<ultranix>
i'm trying to explore nix expressions, what's the best way to see what 'config' is for example, given a something like pkgs = import <nixpkgs> {}
<emily>
this is almost a solution: environment.etc."nix/flakes-registry.json".source = ./flake.lock;
<emily>
unfortunately, I think there's a race condition with nix updating ./flake.lock itself :(
<energizer>
ultranix: nix repl '<nixpkgs>'
<energizer>
config
<ultranix>
thanks! I learned this in nix pills but forgot
jeromelanteri has quit [Quit: Leaving]
<emily>
er, s/flakes-registry/registry/
<qy[m]1>
<emily "unfortunately, I think there's a"> ahah oh god
<{^_^}>
[nix] @matthewbauer opened pull request #3506 → Add --include-ifd option to nix-instantiate → https://git.io/JffPD
<emily>
turns out there's actually a fancy typed option, nix.registry
arjen-jonathan has quit [Ping timeout: 256 seconds]
<emily>
but I'm not sure if you can access the fancy typed version of a flake.lock from within flake.nix? so I'm not sure it's actually usable
jlv has joined #nixos
<qy[m]1>
so there is. you could probably quite hapily pass the path to the system nixpkgs through to that option
<qy[m]1>
at the end of the day all a flake is is a store path, so you could set it
<qy[m]1>
(i might do this too)
<jlv>
What is the right way to add a function for use in multiple module files? I could add it to `pkgs` with an overlay, but that feels wrong. I would prefer to add it to `lib`, but I don't know how to.
<{^_^}>
[nixpkgs] @primeos pushed 2 commits to release-20.03: https://git.io/JffPF
<emily>
qy: not sure what you mean by that, the flake.lock format is fairly elaborate and pins git revs rather than paths
<emily>
and the store paths the flakes machinery itself clones for flake sources don't work as flakes in the registry because they have no .git :(
<emily>
i.e. you can't: nix flake add nixpkgs /nix/store/...-source
<qy[m]1>
ah, damn.
<qy[m]1>
there might be enough information left at the flake.nix stage
<energizer>
jlv: you could use an overlay or just import your function from the file its defined in, but i'm not sure if overlaying stuff on non-top-level nixpkgs attrs is recommended?
<qy[m]1>
you should be able to access nixpkgs.rev from flake.nix, maybe reconstruct it?
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
<qy[m]1>
alternatively, use that rev to just clone it with leaveDotGit :')
ultranix has quit [Remote host closed the connection]
<vxidd>
Hello everyone, I am trying to "manually" write a autoconfig file to my firefox installation in the nix store from my configuration.nix file. My question is, can I use something like ${pkgs.firefox}"/lib/firefox/default/autoconf.js".writeText = '' from my config file?
<emily>
qy: I think it's as simple as: nix.registry = mapAttrs (id: flake: { from = { type = "indirect"; inherit id; }; inherit flake; }) inputs;
<emily>
(if you pipe inputs down to your nixos config)
<emily>
this also means nix run self#... is the current system which feels nice
<jlv>
energizer: Can I use an overlay to add to `lib`? As in `{ lib, pkgs, ... }: { ... }`. I thought I could just add to `pkgs` with an overlay.
<qy[m]1>
emily: wonderful. that should actually be really useful...
<qy[m]1>
yeah
<energizer>
jlv: you could, but i havent seen people do that. maybe they do, idk
<emily>
system flake:nixpkgs path:/nix/store/59d7mfjrz4r7j5wcqxmdk7ls2d355pif-source?lastModified=1587051150&rev=9af165370683b8f3e735dffbeca21a10bbfc224f
<emily>
looks good ^_^
<jlv>
energizer: How would I do that?
<qy[m]1>
awesome
<qy[m]1>
yeah i'll steal that before i forget
<emily>
qy: looks like this also lets you do (getFlake "foo") in pure eval mode, because they no longer reference impure git refs
<emily>
so you can use it to plumb deps to overlays implicitly as well
<energizer>
jlv: `lib = super.lib // {myfoo = 5;};` would work. idk why you'd do that instead of just using your own name tho
<qy[m]1>
ah ok, yeah
<jlv>
energizer: Oh, is `pkgs.lib` the same as the `lib` argument in a module like `{ lib, ... }: { ... }`?
<energizer>
jlv: yes
evertedsphere has quit [Ping timeout: 258 seconds]
<emily>
jlv: generally in nixpkgs, the arguments all map to pkgs.*
<emily>
in { lib, stdenv, fetchFromGitHub, hello }, all of those correspond to the corresponding pkgs attribute
<emily>
callPackage fills them in
<jlv>
emily: I guess I didn't put together that the arguments for a module function are the same as those for a package function.
relaxmax has quit [Ping timeout: 258 seconds]
<freeman42x[m]>
does cabal2nix use information from cabal.project? I need to add a dependency there to a GitHub repository
<emily>
it's callPackages all the way down ^^
<srk>
freeman42x[m]: it doesn't but it works in shell. to provide the dep you can use overlay or pass it from default.nix
<energizer>
jlv: some parts of nixpkgs define their own callPackage that add more attrs. for example, pkgs.python3Packages.callPackage includes all the python3Packages, so that requests.nix can take `{python, urllib3}:` or whatever
<freeman42x[m]>
srk: so there is no way to generate nix code from cabal.project which would nix build those dependencies?
<samueldr>
ah, though that error before the EOF error would be the real error
<srk>
freeman42x[m]: don't think so - what I'm doing is I have all my deps in overlays and only use cabal.project when I need to work on multiple packages (so cabal build recompiles changes of the listed packages as well)
<samueldr>
so you at least have the real error to work from
<dhess>
well the EOF error has been happening for a few weeks now, actually
<dhess>
the "invalid Git branch/tag name" error is new
<samueldr>
(I can't help that much more from here)
cosimone has quit [Read error: Connection reset by peer]
cosimone_ has joined #nixos
pamplemousse has quit [Remote host closed the connection]
<gnxlxnxx[m]>
Could someone tell me how do I launch a bash script from a systemd service?
<dhess>
Appears this might be a Nix issue, not hydra
<freeman42x[m]>
srk: do you have any example of nix you are using for building a project which has at least 1 github dependency specified inside cabal.project?
<jlv>
energizer, emily: It looks like `lib` may not be the same as `pkgs.lib`. I added my function in an overlay to `lib`. It works when called like `pkgs.lib.myfunc`, but is not found when called like `lib.myfunc`.
<energizer>
jlv: then my understanding is incomplete
<srk>
freeman42x[m]: no. not using that functionality
<srk>
freeman42x[m]: only for localy checked out repositories
<tokudan>
,locate git-svn
<{^_^}>
Found in packages: mr, gitAndTools.gitSVN, gitAndTools.gitFull
<freeman42x[m]>
getting this error on cabal build: `cabal: The pkg-config package 'zlib' is required but it could not be found.` do I need to run it under nix-shell or what is the solution?
vxidd has quit [Remote host closed the connection]
<drakonis1>
is this because you set up the flake registry?
<freeman42x[m]>
I tried running `cabal build` inside `nix-shell -p zlib` and it gives same error
cosimone has quit [Quit: Quit.]
<elvishjerricco>
Where does nix store the build sandbox while building a derivation? If it's in /tmp, it'd be neat to disable sync writes on my /tmp mount considering its persistence should in theory not matter. It'd be especially interesting to see how that affects build times with Nix, since I'm sure lots of build processes do unnecessary sync writes in the sandbox.
snicket has quit [Ping timeout: 240 seconds]
chagra_ has quit [Ping timeout: 256 seconds]
orivej has quit [Ping timeout: 258 seconds]
snicket has joined #nixos
ericsagnes has quit [Ping timeout: 265 seconds]
jco has quit [Quit: WeeChat 2.7]
<freeman42x[m]>
is this a correct command to run? `nix-shell -p zlib.dev zlib.out` from my understanding it should fix: `cabal: The pkg-config package 'zlib' is required but it could not be found.`
cr4y1 has quit [Ping timeout: 256 seconds]
chagra_ has joined #nixos
snicket has quit [Ping timeout: 240 seconds]
snicket has joined #nixos
ericsagnes has joined #nixos
<cole-h>
What happens if you add `pkg-config` as well?
erasmas has quit [Quit: leaving]
Maxdaman1us has joined #nixos
<freeman42x[m]>
how come I can't find foobar2000 in nixpkgs?
<Yaniel>
isn't it windows-only
peelz has quit [Ping timeout: 260 seconds]
<cole-h>
That's what I thought
Maxdamantus has quit [Ping timeout: 256 seconds]
<Yaniel>
> View more screenshots foobar2000 is an advanced freeware audio player for the Windows platform.
<{^_^}>
error: syntax error, unexpected ')', expecting ID or OR_KW or DOLLAR_CURLY or '"', at (string):297:1
<Yaniel>
uhh what
<cole-h>
"foobar2000 is a freeware audio player for Microsoft Windows, iOS and Android developed by Peter Pawłowski."
<Yaniel>
yea there are mobile versions
<freeman42x[m]>
weird, now I get: `<command line>: can't load .so/.DLL for: libz.so (libz.so: cannot open shared object file: No such file or directory)` for `nix-shell -p zlib.dev zlib.out pkg-config` or `nix-shell -p zlib.dev zlib.out`. I probably changed something since I asked the question
<freeman42x[m]>
> "foobar2000 is a freeware audio player for Microsoft Windows, iOS and Android developed by Peter Pawłowski.", haha, sorry, derp moment. Went to alternativeto and forgot to filter for linux
<{^_^}>
error: syntax error, unexpected ',', expecting ')', at (string):296:109
reallymemorable has quit [Quit: reallymemorable]
<freeman42x[m]>
I was looking for a better player than clementine which keeps moving the scroll position in the playlist without even playing...
<Yaniel>
freeman42x[m]: you probably want 0xdeadbeef
<ornxka>
what does -> mean in nix language
__monty__ has quit [Quit: leaving]
<Yaniel>
that's pretty close to fb2k as far as I know
<Yaniel>
(if someone can recommend other players that support this please do tell -- in cantata it only sort of happens to work)
xO1 has quit [Ping timeout: 256 seconds]
<ornxka>
i use sonata with system-managed mpd
<ornxka>
it works rather well
kleisli_ has quit [Remote host closed the connection]
kleisli_ has joined #nixos
zeta_0 has joined #nixos
<freeman42x[m]>
Yaniel: were these the broken buttons? https://i.imgur.com/ylLgBu3.png the totally unimportant buttons to stop a song for example? xD
<Yaniel>
exactly those
<Yaniel>
a purely cosmetic issue
<Yaniel>
also I see you are a person of culture
<vika_nezrimaya>
I'm amazed at how Nix can bake ISO images for NixOS
<vika_nezrimaya>
Creating an install media has never been simpler
<energizer>
i dont like the name ./result/ because it's a normal-enough name that I wouldn't want to gitignore it. Is it possible to have nix-build use a different output name?
<vika_nezrimaya>
nix-build -o result
<energizer>
oh nice
<vika_nezrimaya>
nix build -o result works too!
<gchristensen>
vika_nezrimaya: yup. and same technique can make images AWS, GCE, Azure, and netboot images for bare metal
<cole-h>
Those broken buttons should be fixed if it uses wrapGAppsHook
<vika_nezrimaya>
gchristensen: netboot, hmmmm :3
<Yaniel>
it does have wrapGAppsHook in nativeBuildInputs
<Yaniel>
it also calls wrapProgram, should it be using some different variant?
<cole-h>
It doesn't know to look in `/nix/...` or `~/.nix-profile/share` for the icons, so it uses the default (and looks broken)
philr_ has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<zeta_0>
hello there, sometimes this shell.nix works and sometimes it throws an error, why is that? https://dpaste.org/Nm7M , i'm using the exact same shell.nix file that i was using this morning, i've never encountered something like this before?
sigmundv__ has quit [Read error: Connection reset by peer]
invra has joined #nixos
sigmundv__ has joined #nixos
phreedom has joined #nixos
<{^_^}>
[nix] @edolstra pushed to flakes « Hide progress bar on exit »: https://git.io/Jffya
maddo has quit [Quit: See ya]
captjakk has quit [Remote host closed the connection]
captjakk has joined #nixos
abathur has joined #nixos
captjakk has quit [Remote host closed the connection]
captjakk has joined #nixos
ent has quit [Ping timeout: 256 seconds]
datakurre has quit [Ping timeout: 272 seconds]
liff has quit [Ping timeout: 272 seconds]
<{^_^}>
[nix] @edolstra pushed to flakes « nix flake show: Support apps »: https://git.io/JffyX
pbogdan has quit [Remote host closed the connection]
pbogdan has joined #nixos
<{^_^}>
[nixpkgs] @drewrisinger opened pull request #85412 → python3Packages.cirq: fix test failures (ZHF) → https://git.io/JffyM
drakonis_ has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<freeman42x[m]>
I installed Rhythmbox and even though the GUI launches the controls are stuck or don't do stuff, can't even open a folder of music
<jtojnar>
any errors when you try to run it in console?
<nh2>
DigitalKiwi: that's sick, bring it to next Nixcon! How long did that take
<DigitalKiwi>
i started in september
<DigitalKiwi>
but i've had a lot of other projects too
<nh2>
DigitalKiwi: also photograph it in a full dark room on dark background, then we can have it as a wallpaper
<freeman42x[m]>
Jan Tojnar: lots of warninsg `dconf-WARNING` but no errors
<DigitalKiwi>
it has taken a few hundred hours though and all of my money a few times :D
drakonis has quit [Ping timeout: 256 seconds]
<DigitalKiwi>
and it made me find a bug in kicad that has caused evils to spend hundreds of hours on that :P
<jtojnar>
freeman42x: what is the message after the colon?
<gchristensen>
DigitalKiwi++
<{^_^}>
DigitalKiwi's karma got increased to 9
<nh2>
DigitalKiwi: what a cool project. I was thinking to say you could run be some Nixcon side workshop to build some but in a few hundred hours prople will probably not complete that :D
<DigitalKiwi>
i could make another one a lot faster and a lot cheaper