<bpye>
https://gist.github.com/benpye/ab5a9b2aec1f5ec18c17a64fb3da098e Is there a better way of achieving this? I need to map umask and SockPathMode from an octal string to an integer, but it feels like there should be a more elegant way to achieve this
<drozdziak1>
Is it possible to use `home.nix` when adding home-manager as a module on NixOS?
<drozdziak1>
(I don't have the home-manager binary itself even with `programs.home-manager.enable = true;` in /etc/configuration.nix at `home-manager.users.drozdziak1`)
CMCDragonkai1 has quit [Remote host closed the connection]
<tpw_rules>
you would just import it as a module in the nixos config
<drozdziak1>
tpw_rules: I have `<home-manager/nixos>` in the imports
<moet>
hi! i'm trying to install nixos on a prgmr host for use with nixops and i'm having a bit of trouble.. these are the steps i'm following: https://termbin.com/x0mn
stree has joined #nixos
<moet>
the problem i'm having is that after the remote machine boots into its on-disk installation, nixops gets "permission denied, publickey" errors when i try to deploy to it
devhell has joined #nixos
<moet>
i've tried dumping the nixops database to see the public/private key pair for this machine, and they match what's at /etc/ssh/authorized_keys.d/root in the remote machine
supersandro2000 has quit [Disconnected by services]
<moet>
wait, i have an idea.. i didn't follow my old notes exactly.. my old notes specify that i keep my own personal ssh public key in the config installed to /mnt by the livecd.. i haven't done that.. maybe that first installation doesn't install nixop's deploy key properly? let's see..
aleph- has joined #nixos
<rmcgibbo[m]>
If I have a random configuration.nix file that's not in /etc, how can I just try to build id?
<sterni>
KarlJoad: I don't know too much about nixos-generate-config, sorry I only use it on setup ocne maybe, but I think it is a simple shell script, having a read might help; the internal workings aren't really documented it seems to me
<colemickens>
I think I'll make a systemd service that constantly exports the db, and then another that constantly imports the db, that way the one system will always follow the other store, but can also still diverge with its own paths
palo1 has joined #nixos
<g-w1>
does anyone get annoyed with home manager that to change a config they have to run home-manager switch first?
palo has quit [Ping timeout: 264 seconds]
palo1 is now known as palo
<infinisil>
g-w1: You can do anything you want to make it more automatic :)
<g-w1>
yeah, what I really mean is how do people make it more automatic :D
blissdev has quit [Quit: Connection closed for inactivity]
arahael has joined #nixos
<arahael>
I want to set some dns servers statically and locally. Normally I'd do this by editing /etc/resolv.conf
<arahael>
How do I do this in nixos?
Lord_of_Life_ has joined #nixos
<maralorn>
My nixos 20.09 is broken.
<maralorn>
I can‘t update anymore because apparently the go version is insecure?
<maralorn>
But I don‘t know why my system depends on go.
<maralorn>
And I don‘t know how to find out.
<colemickens>
can you post the error?
Lord_of_Life has quit [Ping timeout: 240 seconds]
Lord_of_Life_ is now known as Lord_of_Life
<maralorn>
Known issues:
<maralorn>
error: Package ‘go-1.14.15’ in /nix/store/d60knkr0z1vghsqp3dlrk2jmlzrqyj51-nixos-20.09-src/pkgs/development/compilers/go/1.14.nix:247 is marked as insecure, refusing to evaluate.
<arahael>
I think I've found the solution, by reading nixpkgs/nixos/modules/config/resolvconf.nix
<colemickens>
hm, I don't know what you have to do about that, weird.
h0m2 has joined #nixos
<tpw_rules>
maralorn: you can use nix-store --query -referrers
<maralorn>
Hm, I will have a look at the commit history to find out if this happened because someone marked the package insecure now or because something introduced a dependency now.
<tpw_rules>
it was marked insecure recently
<maralorn>
tpw_rules: But I need a derivation or something for nix-store --query and I don‘t even come past the eval.
<maralorn>
I will build it with allowing insecure now and then have a look after that.
<maralorn>
tpw_rules: Yeah, I tried looking in the older installation. I think go is not in the runtime closure because it's just a compile time dependency.
<tpw_rules>
i wonder if --show-trace would show anything useful?
<dramforever>
We could essentially revive channels in a flakes world just using the fact that https://nixos.org/channels/nixos-unstable redirects to the current version
<Raito_Bezarius>
Hm, just encountered a very strange issue on nix-copy-closure: nix-copy-closure --to root@2a01:e0a:xxx /nix/store/yd94ac401wsxmqf05is731ph8bgf9ab1-nixos-system-xxx --use-substitutes
<dramforever>
And thus avoiding the problem that channels don't point to a stable version. Main issue: Is this redirect part of the public interface? Can it be?
jmeredith has quit [Quit: Connection closed for inactivity]
<dramforever>
Well, I guess I switched from Arch so nixos-unstable feels really stable to me :)
<maralorn>
supersandro2000: In what context? During downgrade or while on unstable?
<supersandro2000>
while at unstable
<supersandro2000>
can't do anything about downgrades
<maralorn>
supersandro2000: Different stuff all over the place, most stuff was not very important so I could deinstall it for a week. I think beets, was on example, calibre another …
<artemist>
I have a problem I have no idea how to solve, at least in the short term
sangoma has quit [Ping timeout: 246 seconds]
sangoma has joined #nixos
<artemist>
A NixOS module (factorio) gives a string for its serviceConfig.ExecStart. How can I add an extra option to the exec without copying and pasting the ExecStart definition and using mkForce. I'll make a PR to nixpkgs to give it an option later
<superbaloo>
that's weird, but you can try to remote your ~/.cache/nix
<superbaloo>
remove*
<superbaloo>
(it's only a cache, so it's safe)
<artemist>
xiaoyu: You can try `nix-store --gc`. That should delete the archive, along with any other package from a nix shell that's not currently running
Supersonic has quit [Ping timeout: 240 seconds]
Supersonic112 is now known as Supersonic
<artemist>
oh, oops, I misunderstood what it was doing
<superbaloo>
nix-store gc wont help here, I believe
<superbaloo>
the tarball would have been hashed from the content it downloaded
<xiaoyu>
haha, i will try
<superbaloo>
I think the problem would be in the ~/.cache/nix/tarballs/
<superbaloo>
there should be a lock and a symlink there
<superbaloo>
and a .info
<superbaloo>
but it's "safe" to just nuke the whole directory all together
<superbaloo>
(safe= you'll need to redownload all the imports you might have)
<iqubic>
so, I have a local checkout of nixpkgs. I've modified one of the default.nix files (to update program), and now I'm wondering how to install this thing.
<raboof>
I read https://nixos.wiki/wiki/Flakes a bit. I can see how it can be useful to split things between flake.nix and flake.lock
ddellacosta has quit [Ping timeout: 240 seconds]
<raboof>
I'm not sure I understand how flakes are a replacement for channels - wouldn't a NixOS machine still be "on nixos-unstable which at any given time is a particular commit of nixpkgs"?
<dramforever>
And have NIX_PATH=nixpkgs=/path/to/your/config/with/default.nix
<dramforever>
Oh and I do re-export legacyPackages
<dramforever>
And now it seems to be less and less 'Basically you caca just' :P
<colemickens>
imo thats not adding back NIX_PATH so much as making it so you cna use a flakey nixpkgs via NIX_PATH if you want to.
<dramforever>
I'm pretending to be nixpkgs
<dramforever>
And I have added my overlays and allowUnfree
<raboof>
Yeah I never used nix-channel, been using a local clone of nixpkgs from the start
<colemickens>
yeah, I do the same (re-export a non-free, overlayed nixpkgs), but I don't have it exposed that way, because I only ever use it with `nix` commands so I just use the flake syntax anyway.
<dramforever>
I've been using basically a home-made niv
<{^_^}>
[rfc39-record] @grahamc pushed commit from rfc39 to main « Automated team sync results. »: https://git.io/Jt9zr
<colemickens>
I have been very delighted to have NIX_PATH virtually permanently unset :)
<dramforever>
I don't personally use NIX_PATH all that often
<dramforever>
But nix repl '<nixpkgs>' is just too sweet to give up
<raboof>
Flakes for projects make sense to me now I think. Not sure I understand the appeal for nixos yet - why is an overlay nicer than a local nixpkgs clone?
<dramforever>
You *can* use a local nixpkgs clone
<dramforever>
In fact you can make flake.nix reference your local nixpkgs clone
<raboof>
ah, good :D
<dramforever>
flake is basically dependency management but for Nix language stuff
<dramforever>
You have stuff like flake.lock which is like niv but much better managed imho
<raboof>
My main motivation for trying nixos was that it allows easy local updates/improvements, using them immediately but also upstreaming them
<dramforever>
The appeal that has not been realized is the ability to refer to stuff from other repositories much more easily
<raboof>
Did not disappoint
<dramforever>
raboof: You don't lose any of that with flakes, IIUC
<raboof>
Indeed sounds like it
<dramforever>
I migrated from homemade niv to flakes quite easily I'd say
<dramforever>
Though I did have a bit of trouble at the start because I apparently I forgot I kept a local clone :)
<dramforever>
I've been using that lnl-overlay thing and nix-env was still using the local clone because I set NIX_PATH there
kini has quit [Quit: bye]
<dramforever>
Also shameless plug here: I patched Nix so that 'nix run wireshark' means 'nix run flake:default#wireshark' :) It's here: https://github.com/dramforever/nix-dram
<dramforever>
also containing my implementation of that 'http redirect' thingy i mentioned quite a bit earlier
<arahael>
That's needed as part of setting up the letsencrypt stuff, but for some reason, it sometimes resolves to ipv6 addresses and does not resolve to an ipv4 address.
<arahael>
If I keep trying, I'll eventualy get ipv4... What might be the problem?
Dotz0cat has quit [Read error: Connection reset by peer]
Dotz0cat has joined #nixos
BaughnLogBot has joined #nixos
moet has joined #nixos
<moet>
soo... i've noticed that my server no longer redirects from www.domain.tld to domain.tld .. i wonder if there was a change in the nginx module .. trying to figure out how to turn this back on because it used to work!
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Raito_Bezarius>
hm, is it normal that nix-shell -p qemu-ga --run "qemu-ga --help" shows that qemu-ga thinks its statedir is in /nix/$drvpathforqemuga/var/run ?
<Raito_Bezarius>
on unstable
<Raito_Bezarius>
siraben: You can change the src attr and bump the revision
<Raito_Bezarius>
nix-shell -p qemu.ga *
<siraben>
Raito_Bezarius: any imperative command to do so?
<Guest81973>
I just found about nix os and its unique tbh
<Guest81973>
But I have a question
bryanhonof has joined #nixos
BJTH has quit [Client Quit]
<gchristensen>
Guest81973: ask away!
<Guest81973>
Nix OS definitely have a large software repo but why is there not any software store
<Guest81973>
gui based
stree has quit [Ping timeout: 256 seconds]
ahmedelgabri has joined #nixos
<gchristensen>
nobody has wanted it enough to make it themselves, and there isn't a big company to pay for things that make it easier for users who aren't able to do it themselves
<bryanhonof>
Hello, I was wondering if anyone could help me out. I'm unable to compile a program that uses Qt and OpenGL with CMake, I'm getting this error "Failed to find "GL/gl.h". And when I go look in the directory it tries to look in, which is one of mesa, it's indeed not there.
<simpson>
Guest81973: What would be the advantages of such a thing?
<bryanhonof>
I do have mesa and QT in my buildInputs
<Guest81973>
I installed a nix package spotify in ubuntu but i cannot see it in installed applications
<simpson>
bryanhonof: Instead of linking directly against Mesa, link against libglvnd. https://github.com/NVIDIA/libglvnd has a diagram explaining why.
ddellacosta has joined #nixos
<Guest81973>
however if i type spotify in terminal it will launch
<simpson>
Guest81973: Ubuntu's list of installed applications is generally not going to know about anything which Nix is managing. I fully admit that there's probably a way to load additional lists of applications into there, but I don't know how to do it.
<simpson>
It might. Not sure, sorry. Maybe there are other Qt applications with GL that you could look at in nixpkgs?
ddellacosta has joined #nixos
<bryanhonof>
simpson: I'll try that. But, in theory if I'm using nix-shell, I could just get access to libraries, like opengl and qt, by just including those packages in the buildInputs right?
<bryanhonof>
Or am I thinking about it wrong?
nhs has joined #nixos
bitmapper has joined #nixos
<simpson>
Oh! Yeah, that's not gonna work.
<simpson>
You'll have to write a Nix expression to build your package.
EmoSpice has joined #nixos
<bryanhonof>
Ooh, okay, so just including it into the buildInputs doesn't actually expose those packages to the shell?
kw has quit [Quit: Connection closed]
<simpson>
Rather, mere exposure of libraries in a shell doesn't entail that the compiler will enjoy being interactively invoked.
<bryanhonof>
OK, fair enough. I'll try to create a nix expression then. Thanks for the help!
<simpson>
No worries. Good luck.
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}>
[nix] @domenkozar pushed 2 commits to installer-artifact: https://git.io/Jt99A
<bryanhonof>
simpson: That worked like a charm, compiling works without an issue, now I'm just getting runtime errors :D, but they're pretty obvious. Again, thank you!
<Mic92>
andi-: do you run your own build ci binary cache by chance?
<andi->
Mic92: yes
<Mic92>
andi-: how do you manage garbage collection there?
abathur has joined #nixos
domogled has joined #nixos
Thra11 has joined #nixos
<andi->
I do not collect garbage. It is just about 1.5TiB so nothing I really care about.
<Mic92>
I see. I probably would care about this amount of storage
<andi->
just rotate the directories every other week.
<andi->
I also have a NVMe backed http cache in front of it that caches up to 50GiB
BaughnLogBot has quit [Ping timeout: 265 seconds]
<andi->
You'll have to adjust the narinfo TTL in that case
hiro98 has quit [Ping timeout: 246 seconds]
<Mic92>
andi-: mhm. Not quite sure how this works. Would this mean I would delete everything every few weeks?
BaughnLogBot has joined #nixos
<andi->
Yeah, or you could have even/odd week caches
<andi->
and just tell the webserver to check in all of them
<Mic92>
ah. This makes more sense
amerigo has joined #nixos
<andi->
I've started writing GC code last year but gave up as time spent is more "expensive" than the storage requirement right now. I can just wipe the cache / start a fresh one once I see it as a problem.
<cmk_zzz>
is there a simple way to add just 1 vim plugin to nixpkgs? I tried running ./update.py --add repo/name but it seems to try to pull all the plugins in the list and update them. In the end it crashed with Too many HTTP requests. I am fine with not updating the rest of the plugins, I just want to add a new one
<andoriyu>
Silyl me assumed it would work just like with other package, but python never makes anything easy.
zebrag has joined #nixos
<simpson>
No kidding.
<abathur>
__monty__: I've used it to package bashup-events already and personally think it is okay to use for anything it can handle cleanly, though your phrasing makes me realize I'm unsure if there needs to be a more formal decision to start using a new packaging function :)
<andoriyu>
Ideally i would get an overlay with my packages
<simpson>
abathur: You could use the RFC process to mandate using resholve, but if it solves enough problems then folks will just (ask to) use it directly.
<abathur>
simpson: yeah, I don't think it's ready for the load-bearing of a mandate; there'll inevitably be some iteration as people find things that don't work yet
berberman_ has joined #nixos
<simpson>
andoriyu: I don't know how to appease Jupyter or what's actually not working for you, but I bet that at least some of your problems will be helped by knowing that every scope in nixpkgs, including python3Packages, has its own callPackage.
<simpson>
> python3Packages.callPackage
<{^_^}>
<LAMBDA>
<simpson>
So you can at least use that to ensure that you really are getting the right Python passed around.
<andoriyu>
simpson, so it's not jupyter thing, because package isn't built at all (it has wrong sha in there)
berberman has quit [Ping timeout: 272 seconds]
<andoriyu>
ah, `python3Packages.callPackage` makes sense
<{^_^}>
[nixpkgs] @NeQuissimus pushed to master « boto3: Format »: https://git.io/Jt9A2
<abathur>
__monty__: it's possible you'll run into a blocker; I know I've staretd two packages (yadm is one, drawing a blank on the other...) that are blocked because it doesn't yet handle flags (i.e., it won't handle `command -v <blah>`)
<abathur>
*started, even
attila_lendvai has joined #nixos
attila_lendvai has quit [Changing host]
attila_lendvai has joined #nixos
<__monty__>
abathur: Resholve can replace makeWrapper, right? And it doesn't work its magic on commands that aren't in the buildInputs. For example, let's say a script tries to use git for fancy version reporting but only if it's present, if git is not in the buildInputs resholve will just leave the call alone?
<abathur>
resholve will (aspires to? :) error if it isn't present, but you can generally use directives to make it back off in specific cases
<__monty__>
Hmm, the script I'm packaging has tons of these optional dependencies though : /
riksteri has quit [Quit: riksteri]
<__monty__>
Not sure what the lesser evil is between explicitly telling resholve not to care and patching the script so help output doesn't say ".script-wrapped".
<andoriyu>
simpson alright, using callPackage from pythonPackages worked. Thanks.
<abathur>
the script has optional dependencies that you are choosing not to package, or it has optional dependencies and you're wanting to configure the package to behave sanely if each is enabled/disabled?
<abathur>
*choosing not to use in the package
<simpson>
andoriyu++ glad to hear that you made it work.
<{^_^}>
andoriyu's karma got increased to 1
ddellacosta has joined #nixos
<andoriyu>
now we're cooking with fire
aleph- has quit [Quit: WeeChat info:version]
<abathur>
__monty__: to ensure the script doesn't have unknown unspecified dependencies, resholve has to make you triage anything it can't decide; it can't readily auto-decide that a missing executable isn't a problem (perhaps because the script won't try to invoke it if it isn't present) because it is just operating on an AST, not executing the script
aleph- has joined #nixos
<__monty__>
abathur: I haven't really decided yet. I'm not sure whether all the optional deps should be configurable. Not even sure what the best way is. `optDep ? null` or pairs of `optDep, useOptDep ? False`.
<colemickens>
Can I build a kernel with a specific defconfig from the kernel tree?
stree has quit [Ping timeout: 260 seconds]
<colemickens>
I think I can override the kernel and pass a string in for defconfig... and then I guess I can look in all-packages.nix for how to build a linuxPackages out of it
<abathur>
__monty__: the idiom is fairly simple; it should just be `fake = { external = ["git" "grep" "blah"]; };`, so I think you could use the options to toggle them into either the ignore or input list
ddellacosta has quit [Ping timeout: 265 seconds]
<abathur>
this is telling resholve to fake/pretend those identifiers were present and could be resolved, rather than erroring in their absence
<abathur>
__monty__: it's a generic mechanism useful in a number of cases... profile scripts that *should* invoke executables from the user's PATH, libraries that invoke a hook/function that they don't define because they expect the user to define it, nonstandard builtins that aren't in the hardcoded list (whether loadable, or for another shell);
<{^_^}>
#113940 (by attila-lendvai, 8 minutes ago, open): DRAFT bee: make it able to start n instances
<attila_lendvai>
it's a draft, but i'm new to nix, and i'm not sure about the general approach of starting multiple instances of the same service
ATuin has joined #nixos
<{^_^}>
[nixpkgs] @adisbladis closed pull request #113680 → top-level/packages-config.nix: Correctly index package subsets delimited by dots → https://github.com/NixOS/nixpkgs/pull/113680
<simpson>
attila_lendvai: Looks reasonable enough. Usually we use names to key multiple instances, but it seems that there aren't any interesting names for them here.
Siyo has quit [Quit: Bye]
Siyo has joined #nixos
gustavderdrache has quit [Quit: Leaving.]
<abathur>
__monty__: it's a fine distinction, so I'm not sure how much sense it makes (feedback welcome...); fake tells resholve to pretend it found an identifier with a given type+name--without the directive, it would see this identifier as "missing" (or incorrectly resolve it to the wrong *type* of identifier)
srk has quit [Ping timeout: 268 seconds]
srk has joined #nixos
aleph- has quit [Quit: WeeChat info:version]
sangoma has joined #nixos
aleph- has joined #nixos
<__monty__>
abathur: And keep? Also, what type would a variable be for fake, resholve errors on "source $VAR" and I'm not sure what type to assign in the fake directive.
<abathur>
__monty__: while keep tells resholve that something it normally objects to for ~purity/resolvability reasons (i.e., resholve can't tell if it is okay or not), such as abspath executable names and variables in the executable name, is fine as-is
<abathur>
if it's a variable, it'll be keep
<__monty__>
abathur: Keep doesn't help.
<__monty__>
"can't resolve source with a dynamic argument"
<abathur>
so that it understands how it affects the namespace
<ldlework>
Has anyone gotten storybook working
shibboleth has joined #nixos
vidbina_ has joined #nixos
<abathur>
__monty__: this is part of the fine distinction; before resholve can start resolving external commands, it wants to rule out the possibility that they're actually functions, or aliases, or builtins; so it's building up a mapping of known identifiers and their types, and then stepping through the appropriate resolution order for each instance/invocation
<aleph->
Question, how would I write text to a file from a nix exp that contains ${}? Thought escapaing all occurences would work so nix doesn't eval it however it just gets written to the file literally. Ideally I'd like to see this without the backslashes. https://paste.rs/N7P
<clever>
,escape ${foo}
<{^_^}>
Escape this in '' strings with: ''${foo}
<{^_^}>
Escape this in " strings with: \${foo}
<colemickens>
@aleph Are you asking for this: " The value of ''${something} is '${something}'. "
<colemickens>
oof, I made it ambiguous, the bot was probably more helpful.
n-osborne has quit [Remote host closed the connection]
<attila_lendvai>
when i try to build the manual, i get "The option `services.bee.settings' is used but not defined.". i indeed reference that across two files (from bee-clef.nix into bee.nix), and it works when i do a nixos-rebuild, but not when i build the manual. is there something i should do to declare the usage explicitly?
<clever>
aleph-: it can also help to just ".weechat/buflist.conf".source = ./foo.txt; to just use the file as-is
<clever>
without any parsing
<attila_lendvai>
simpson, thanks!
<aleph->
clever: True, might be the best way. I like keeping things in line.
<clever>
aleph-: it tends to get real ugly when you have that many ${'s to escape
lsix has quit [Ping timeout: 258 seconds]
<aleph->
Yeah seems like it. :/ Just escaping them all didn't work.
<aleph->
Sigh guess I'll just write that one to file.
<clever>
aleph-: you need to use ''${ to escape it properly, not \
<clever>
indent = "''${color:brown}''${if...
<clever>
and now you have a confusing mess of quote spew
<aleph->
Ahhhh
zupo has joined #nixos
aleph- has quit [Quit: WeeChat info:version]
aleph- has joined #nixos
<Raito_Bezarius>
Given that I'm in a NixOS live CD, if I have some NixOS system closure, can I directly "install" it on the target system without going through nixos-install?
<Raito_Bezarius>
Currently, I'm doing a minimal nixos-install and then I'm applying the NixOS system closure just by letting NixOps doing its job
<colemickens>
Raito_Bezarius: `nixos-install --system /nix/store/whatever` should do what you want
<aleph->
Alright just went with the source option for that one for now.
<Raito_Bezarius>
colemickens: I still need to nix-copy-closure the Nix path right?
ahmedelgabri has joined #nixos
<colemickens>
Raito_Bezarius: Yeah... I think that will go ahead and try to pull it from your caches, but you wont have those configured on the install media
<Raito_Bezarius>
Alright
<colemickens>
Raito_Bezarius: so yeah, I'd usually `ssh` to the install media, then run `nix build ...` with all of my extra caches specified to realize the path in the store first.
<Raito_Bezarius>
I can hack something I guess to realize the path in the store
<colemickens>
This does mean you have to have the RAM to hold the closure in the first place, I'm pretty sure.
<clever>
colemickens: swap can mask that issue
<colemickens>
Versus doing a minimal install, then maybe trying to nixos-enter and then acquire/activate the new generation.
<Raito_Bezarius>
The context is NixOps deployment, so the closure is built on the build machine
<colemickens>
clever: hm, I never think to reach for that, but good point!
<Raito_Bezarius>
All I need to do is to ask for an early copy to closure, then nixos-install, and go straight to activation
dev_mohe has quit [Quit: dev_mohe]
<colemickens>
the point I'm making is that nixos-install will first fetch the full new generation (this will go into RAM) before installing.
<Raito_Bezarius>
Maybe the minimal install is not so bad :>
n-osborne has joined #nixos
slack1256 has joined #nixos
<colemickens>
I think I was doing the whole nixos-enter thing when I was iterating on my rpi4 stuff, I might have the script.
grobi has joined #nixos
kaliumxyz has quit [Quit: leaving]
grobi is now known as Guest30728
<colemickens>
but basically you can do the minimal install, then `nixos-enter` it, (chrooting to a place where the install dest store is mounted) and then acq/activate the new generation.
Thra11 has quit [Ping timeout: 272 seconds]
<__monty__>
abathur: Still get the same error. Btw, --keep doesn't complain about the type missing like fake does.
dsx has quit [Quit: dsx]
n-osborne has quit [Remote host closed the connection]
kaliumxyz has joined #nixos
slack1256 has quit [Remote host closed the connection]
<{^_^}>
[nixpkgs] @zowoq pushed to release-20.09 « Revert "go_1_14: set knownVulnerabilities" »: https://git.io/Jt9hH
Guest30728 has quit [Quit: WeeChat 2.3]
<colemickens>
I'm pretty pleased. My netbooted Pi can see an dump-db'd view of the server's nix store, and then it load-db's the snapshot every so often.
<colemickens>
So it can have it's own unique overlaid nix store, and its own DB, but still properly register everything that it should be seeing due to the /nix/store coming frm the nfs server.
<abathur>
__monty__: can I see a gist/paste?
grobi1 has joined #nixos
<__monty__>
abathur: Of the script?
ris has quit [Read error: Connection reset by peer]
<abathur>
I'll ping when I get it pushed and cut a release
<supersandro2000>
cmk_zzz: that should be added tbh
<cmk_zzz>
vim-plugins - Using GITHUB API TOKEN I was able to run ./update.py except that it fails fetching three of 611 plugins (404) and then it will not go any longer.
<cmk_zzz>
supersandro2000: I think it might be in the latest versions.
n-osborne has quit [Remote host closed the connection]
<samueldr>
I forget, what's the why-depends equivalent for two .drv ?
grobi1 has quit [Read error: Connection reset by peer]
<tomberek>
I've been iterating on 113244, anyone want to test a Sourcehut module?
<aleph->
Oooh sure.
<aleph->
There's another one?
<tomberek>
aleph-: it's a continuation of the previous one that never got merged. I'd be happy to help walk you through it. Help me find bugs, documentation/user difficulties?
stree has joined #nixos
<aleph->
Looking it over now. Will let you know
zupo has joined #nixos
<aleph->
tomberek: Does this module allow for a remote pg db?
<tomberek>
aleph-: it's not default, but it can be done (needs testing). Would need to override the `services.sourcehut.settings.<name>.connection-string` value.
sysfs has joined #nixos
<aleph->
Yep, saw that.
attila_lendvai has quit [Ping timeout: 240 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<abathur>
__monty__: I've released a v0.4.3 with `hash = "sha256-6On7kMVvyLHCTGC4fVD8ktxKsvs33Vy1YeGnNxscrKo=";`
<cmk_zzz>
I've managed to run ./update.py --add my/new.vim. I've got a local commit in the nixpkgs repository. How can I make use of this new plugin in vim (through nixos/configuration.nix and home manager)?
<__monty__>
abathur: Hmm, could it be I can't overlay with overridAttrs for src because of the let rSrc...?
<__monty__>
I'm still getting 0.4.2 with an overlay.
<__monty__>
But it did rebuild, which is curious.
<__monty__>
Do think it's actually 0.4.2 though because I still get the error.
<__monty__>
Oh, hmm, maybe you forgot to bump the version string? The error is for the next variable.
n-osborne has quit [Remote host closed the connection]
<abathur>
it's probably just a byproduct of how I'm handling it for now; I don't have it packaged for anything but Nix yet, so I actually just sub in the version from the patchPhase
<abathur>
I'm still fumbling around a bit wrt to the cleanest release workflow
<__monty__>
abathur: Ah, I did overlay version too though. Hmm, having trouble allowing a dynamic command. `$PAGER`
<abathur>
with `--keep '$PAGER'`?
<abathur>
__monty__: the version is in the let block, not in the expression itself, so I guess that part can't actually override and stays baked into the patchPhase