<stevenroose>
colemickens: hmm, I have ./pkgs/<pkgname>/default.nix and ./<machinename>/configuration.nix and when I do `let mypkg = pkgs.callPackage "../pkgs/<pkgname>" {};` it says "is not an absolute path" and if I make it absolute it says "is forbidden in restricted mode"
<stevenroose>
Do I use some flag to be able to use parent/relative directories?
lunasspecto has joined #nixos
<stevenroose>
Is this what --impure is for?
<{^_^}>
[nixpkgs] @orivej-nixos pushed commit from @orivej to master « cadence: fix build with Qt 5.15 »: https://git.io/JIlfD
<{^_^}>
[nixos-homepage] @github-actions[bot] pushed commit from GitHub Actions to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/JIlfS
<{^_^}>
[nixpkgs] @orivej-nixos merged pull request #103650 → sc-controller: unbreak by restoring pygobject3 for python2 → https://git.io/Jkmct
<{^_^}>
[nixpkgs] @orivej-nixos pushed 4 commits to master: https://git.io/JIlJI
<growpotkin>
Hey a recent update removed all of my Firefox extensions. I get this message "You cannot mix Nix extensions with manual extensions"; but I don't have any extensions mentioned in my config. Does anybody have any idea what this is about?
<growpotkin>
`firefox-bin` works, but sadly I need to reinstall and re-configure all of my extensions. bummer. I need to find a way to back those up or something
SomeoneSerge has quit [Quit: WeeChat 3.0]
bgamari has quit [Ping timeout: 264 seconds]
Wulfsta has quit [Remote host closed the connection]
<infinisil>
growpotkin: Got no backups of ~/.mozilla?
<growpotkin>
No, but that does give me an idea. I have "sync" enabled, so it wiped out those settings across all of my machines, and likely blew out those config files. BUT I have a laptop that I only use occassionally, I might be able to rescue some config settings from there if I copy them before opening Firefox.
<chipb>
or, would just bare ../pkgs/<pkgname> work? are you doing any sort of interpolation in your string there?
mbrgm has quit [Ping timeout: 240 seconds]
mbrgm_ is now known as mbrgm
<stevenroose>
chipb: ah no, I didn't realize it didn't have to do be a string
<{^_^}>
[nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JIlkl
immae[m] has joined #nixos
<stevenroose>
chipb: also, this seems to be an error: my configuration.nix has `let mypkg = pkgs.callPackage "...." {}; in { environment.systemPackages = with pkgs; [ ...... mypkg ];` and I get "attempt to call something which is not a function but a set" on that usage of mypkg
<stevenroose>
colemickens: ^ I thikn that was your example, no?
<chipb>
or I think you might be able to use builtins.path? I'm curious what the "correct" way is, myself.
philr_ has joined #nixos
<chipb>
looks a bit like your "...." file isn't defining a function to me.
avn has quit [Remote host closed the connection]
<colemickens>
stevenroose: pastebin your default.nix
<chipb>
er. evaluating as a function might be more correct. I'm sometimes far too hand-wavy with my terminology. :-P
<stevenroose>
oh it stats with "with (import <nixpkgs> {});"
<colemickens>
I assumed you had modeled it after other default.nix from nixpkgs where the nix file is a function that take the package's inputs as arguments.
<raghavsood>
veleiro: I think `pubkeys` could just be a nix file instead that outputs a string containing the file contents you want (which then allowed you to do all the `"${pkgs.abc
<raghavsood>
stuff
<raghavsood>
I do something like that with home-manager managed configs
<Fare>
Like half the maintainers of semi-large collections of Nix packages... I have just invented my new, incompatible, prototype object extension system. Sigh.
<energizer>
as usual, design patterns indicate a deficiency in the language
<Ke>
well it could be worse
<simpson>
energizer: Lucky 10000: I happen to have https://fexpr.blogspot.com/2013/12/abstractive-power.html on my clipboard. tl;dr: Sometimes yes, an abstractive pattern needs to be added to a language; other times, the language can absorb the pattern.
<simpson>
Is it *really* a bad thing that sometimes Nix can have its expressiveness extended, that Fare can write the code they need, without having to come and play Oliver Twist and ask for new Nix language features?
littlebenlittle has joined #nixos
lunik1 has quit [Quit: Ping timeout (120 seconds)]
<energizer>
simpson: when like 10 different people have to implement the same pattern in buggy and mutually incompatible ways, yeah it's a problem
lunasspecto has joined #nixos
<pjt_tmp>
Do you think guix has any similar problems with guile?
cfricke has joined #nixos
<pumpy>
during install when adding ip how do i make the dhcp queries stop?
<simpson>
energizer: A *language* problem? It's certainly problematic, but at the same time even PHP doesn't ship with every single function. I don't think it's always a language problem; it can be a stdlib problem, solved by library code which generically implements the pattern.
<simpson>
Since Nix doesn't have a type system in the way, this should be practical, even! And we do this for e.g. callPackage/newScope.
cole-h has quit [Ping timeout: 246 seconds]
<pumpy>
php yikes
tenniscp25 has joined #nixos
<Fare>
I can't quite wrap my head around callPackage, newScope, etc.
<energizer>
tbh i've been working lately in languages that i dont know that well so i can't bring anything relevant to mind...
tenniscp25 has quit [Remote host closed the connection]
tenniscp25 has joined #nixos
<{^_^}>
[nixos-search] @garbas merged pull request #248 → Fix redirect from / to /packages breaking browser back button → https://git.io/JIW7G
<{^_^}>
[nixos-search] @garbas pushed commit from @bmwalters to master « Fix redirect from / to /packages breaking browser back button (#248) »: https://git.io/JI8k2
whatisRT has quit [Ping timeout: 246 seconds]
cr4y1_ has joined #nixos
<{^_^}>
[nixpkgs] @FRidh pushed to master « python3Packages.pytest-mpl: disable two tests »: https://git.io/JI8kP
<veleiro>
how can i prepend something to each of them?
fendor has joined #nixos
<veleiro>
{ pkgs }: [ "s1" "s2" "s3" ]
<etu>
> map (x: "a${x}") [ "b" "c" "d" ]
<{^_^}>
[ <CODE> <CODE> <CODE> ]
<etu>
> :p map (x: "a${x}") [ "b" "c" "d" ]
<{^_^}>
[ "ab" "ac" "ad" ]
<veleiro>
lol
<veleiro>
map! i remembered that
o1lo01ol1o has quit [Ping timeout: 240 seconds]
<veleiro>
etu++
<{^_^}>
etu's karma got increased to 29
simonpe^^ has joined #nixos
<simonpe^^>
hey! we need to build a .NET core application with nix and it requires msbuild and not xbuild which seems to be deprecated. Is there something akin to buildDotNetPackage with msbuild that supports Nuget packages that we can use?
<{^_^}>
[nixos-search] @garbas pushed to add-retry-to-parts-that-fail-from-time-to-time « Add retry to parts of the import script which were failing from time to time »: https://git.io/JI88c
Lord_of_Life has joined #nixos
Lord_of_Life has quit [Changing host]
<{^_^}>
[nixos-search] @garbas opened pull request #249 → Add retry to parts of the import script which were failing from time to time → https://git.io/JI888
<pinpox>
Taneb: So just run the nix-shell with the master version?
<pinpox>
Or is this going to be released soon?
pjt_tmp has quit [Ping timeout: 272 seconds]
<dminuoso>
Soon™
<pinpox>
:D
<pinpox>
but the nix-shell install mentioned in the nixops readme should contain it right?
<dminuoso>
Every time I stare nixops, I like it less and less..
<pinpox>
dminuoso: I'm just getting into it and like it so far. Had been looking for a good way to manage secrets and since I'm using pass anyway that option would really be helpful
<dminuoso>
pinpox: From everything I've gathered, I dont think nixops is seriously used by folks...
<dminuoso>
It has some major deficiencies, some of which are addressed by this omnious 2.0 release, others not..
<dminuoso>
A large pile of strange python
<pinpox>
Hm. What would be the alternative?
<dminuoso>
just plain nix.
<pinpox>
dminuoso: and how do you deploy to multiple machines with plain nix?
<pinpox>
especially the keys/passwords thing, how do you do that?
<dminuoso>
especially the keys/passwords thing is where nixops is horribly wrong currently
andymandias has quit [Ping timeout: 240 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
<dminuoso>
right now it creates a keypair (persistent state!) for this local "deployment" (more local persistent state)
<hexa->
pinpox: morph, krops
<pinpox>
Ive been looking for a good way to have that configured declaratively for multiuser systems
<{^_^}>
[nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JI8R3
<pinpox>
I'm a bit overwhelmed by the options, thought nixops was The way™ to go. What would you recommend for managing 3 nixos servers + 2 personal machines (desktop and notebook) ?
__monty__ has joined #nixos
<dminuoso>
pinpox: There's also the option of just doing it manually. There really isnt much to it.
<raghavsood>
If you only have a handful of servers and aren't looking for extensive secret management, you could just do `nixos-rebuild switch --target-host=<target> configuration.nix`
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<pinpox>
Yeah that is what i was doing, but I find it quite tedious to have to do that manually for every machine and also copy the secrets in place
<raghavsood>
NixOps is the next step up from that imo, since it will handle secrets and multiple machines at once, but you could probably achieve the same effect with a small bash or python script too
<pinpox>
I might be overthinking it, but nixops seemed like not too much overhead, I'm just importing my existing configs in the deployment file
<dminuoso>
pinpox: So what we're currently epxerimenting with is just plain `nix copy`
<{^_^}>
[nixos-search] @garbas merged pull request #249 → Add retry to parts of the import script which were failing from time to time → https://git.io/JI888
<{^_^}>
[nixos-search] @garbas pushed to master « Add retry to parts of the import script which were failing from time to time (#249) »: https://git.io/JI8RH
<raghavsood>
I haven't played around with the others too much yet, so can't say
<{^_^}>
[nixos-search] @garbas pushed 0 commits to add-retry-to-parts-that-fail-from-time-to-time: https://git.io/JI8RQ
<{^_^}>
[nixpkgs] @orivej-nixos pushed commit from @orivej to master « rss2email: fix build with feedparser 6 »: https://git.io/JI8E4
lewo`` has quit [Remote host closed the connection]
lewo`` has joined #nixos
gxt has quit [Ping timeout: 240 seconds]
MidAutumnHotaru has joined #nixos
cosimone has joined #nixos
Guillaum has joined #nixos
edwardkenway[m] has left #nixos ["User left"]
<fuzzypixelz>
of course this is not a good idea, but will pip work if I install it?
werner292 has joined #nixos
<hexa->
fuzzypixelz: you'd also need setuptools, but in general, with `pip --user` it would. but you should confine such projects into a venv.
<pinpox>
dminuoso: Are those tools maintained? krops seems to have very little activity, I liked that it had pass integration.
<LilleCarl>
Anyone knows if there's an RFC for IPv4 32 bit subnet masks? https://tools.ietf.org/html/rfc3021 mentions /31 only. My DuckDuckGo fu doesn't get me anywhere
werner291 has quit [Ping timeout: 260 seconds]
werner292 is now known as werner291
<LilleCarl>
Reason being i wanna check out Microsofts stance to that RFC if it exists
<kaleta>
hello, i'm trying to set up my onlykey for nixos, I'm not sure what's the problem but KeepassXC doesn't detect it, but onlykey's application does. I assume this is an issue with keepassxc but I thought I could ask here first.
Darkmatter66 has joined #nixos
<kaleta>
if you're not familiar with the onlykey, it's like an open-source yubikey
<LilleCarl>
thibm: That one actually mentions RFC3021 for point to point links
<pinpox>
hexa-: I don't know how to better ask this, is krops a "sane" choice or is it very uncommon? I'm looking for a solution that won't bite be later on, that's the main reason I choose nixops as it seemed to have the best support
rprije has quit [Ping timeout: 256 seconds]
<hexa->
pinpox: I'm personally using morph, so I can't say much about krops
<pinpox>
hexa-: Do i understand correctly, that morph's secret management is just copying via scp?
<pinpox>
how do you manage your keys and so on?
<hexa->
pinpox: basically
kaletaa_ has joined #nixos
ardumont_ is now known as ardumont
<hexa->
in a private git repo
<hexa->
(yes, they are plain on my disk)
<pinpox>
hm, I'm not sure I feel comfortable having them on my disk like that
<hexa->
if that's a problem for you, you should probably look into sops-nix
kaleta has quit [Ping timeout: 256 seconds]
<pinpox>
hexa-: I'll look into that too. krops seems to provide a simple pass integration, so they would at least be gpg crypted
vidbina_ has quit [Ping timeout: 260 seconds]
Mateon2 has joined #nixos
<{^_^}>
[nixpkgs] @orivej-nixos pushed 3 commits to master: https://git.io/JI8rD
<pinpox>
tv: are you here? I was told you maintain krops, is that correct?
<tv>
pinpox: yes and yes
NieDzejkob has quit [Remote host closed the connection]
<pinpox>
tv: First of all good to know it's maintained. Second, can I use unstable with krops? I'm sure it's possible but I can't figure out how, my config failes to build because I have options that are only in unstable
<tv>
pinpox: by "none at all" I mean that krops would be capable of building your configuration, at least in theory, with something other than nixpkgs :)
lortiz has quit [Remote host closed the connection]
<{^_^}>
[nixpkgs] @peti pushed 872 commits to haskell-updates: https://git.io/JI43E
<castorcete>
, locate
<{^_^}>
Invalid command syntax
<castorcete>
, locate help
<{^_^}>
Invalid command syntax
<castorcete>
,locate
<{^_^}>
Use ,locate <filename> to find packages containing such a file. Powered by nix-index (local installation recommended) https://github.com/bennofs/nix-index
<patagonicus>
viric: My guess would be that you'll have to set up root's ssh config to do that for you (at least for key files, not sure if it's possible to provide a password). Or whatever user nix is running under if you're not using nixos.
<{^_^}>
[nixpkgs] @AndersonTorres pushed 2 commits to master: https://git.io/JI4D5
heyitsrama has joined #nixos
<viric>
gchristensen: oh even no sha256?
<gchristensen>
it clones to ~ and uses the directoqry as a path
<viric>
I'm amazed
<viric>
meh. Failed on first run. fatal: not a tree object
<afics>
nixos fails to import my zfs root pool on boot; is there a way to get a shell in the init ramdisk?
<viric>
gchristensen: it doesn't work for me. It fetches fine, and then (-vv) it says: using revision 023c591f170bb1aef7fe2b3ab2cda83d4ede7005 of repo 'xxxx' fatal: not a tree object
<gchristensen>
you may need to also specify the branch it is in, viric
<viric>
aaah
<viric>
it uses clone -b
kalbasit has joined #nixos
<viric>
I'm amazed more now that it works
<matthewcroughan>
Can anyone give me a one-liner that'll boot straight into nixos via kexec?
<lukegb>
How do I add something to nixpkgs where curl can't download the file because it's on a misconfigured host (they didn't include the intermediate)
<{^_^}>
[nixpkgs] @github-actions[bot] pushed 67 commits to staging-next: https://git.io/JI4b6
<lukegb>
I could just... rehost it somewhere else and ask people to trust me :o)
<{^_^}>
[nixpkgs] @github-actions[bot] pushed 68 commits to staging: https://git.io/JI4bi
<Yaniel>
if it already exists on nixpkgs you can just change the url while keeping the hash the same
<gchristensen>
afaik our fetchurl may not validate certs
<peelz>
how do you pass an env var as a file? Can't remember off the top of my head
<peelz>
lukegb: not sure what the consensus is for binary blobs, but for the r8125 driver (source is released under GPL), I had to mirror the source on github
<lukegb>
peelz: this is *squints at license* 3 clause BSD? I think?
<lukegb>
it has three clauses and lots of all caps text at the bottom, so it tastes like bsd3
dvicente has joined #nixos
dvicente has quit [Remote host closed the connection]
<peelz>
lukegb: is it a binary blob or source?
<lukegb>
source archive
<lukegb>
with autotools and everything
<peelz>
ahh, then you're probably fine mirroring it as long as you explain why that was necessary
dvicente has quit [Remote host closed the connection]
MmeQuignon has quit [Client Quit]
dvicente has joined #nixos
MmeQuignon has joined #nixos
dvicente has quit [Remote host closed the connection]
rajivr has quit [Quit: Connection closed for inactivity]
<fresheyeball>
actually can you deploy with nixops from MacOS at all?
<fresheyeball>
how does that even work given different OS? Would it cross compile?
cr4y1_ has quit [Ping timeout: 240 seconds]
dvicente has joined #nixos
dvicente has quit [Remote host closed the connection]
dvicente has joined #nixos
<notgne2[m]>
I'm not sure how NixOps does it, but it's definitely possible in general
<fresheyeball>
how about ssh access? nixops says it needs to be added to known hosts, but there is no root account.
<Yaniel>
pinpox: I don't have anything to add, but subscribed to the issue
iH8c0ff33 has quit [Ping timeout: 265 seconds]
<peelz>
fresheyeball: I believe MacOS cross-compilation doesn't work due to whatever technical reasons. I remember reading something about Hydra problems with darwin derivations. I haven't really followed the issue so don't quote me on that :P
<notgne2[m]>
oh I see, people use remote builders for it
<fresheyeball>
oh gods
<fresheyeball>
ok
<notgne2[m]>
so basically it works in concept, Nix knows how to handle the cross compilation magic, just some cross compilation is broken so requires a remote builder enabled
<Fare>
OK, now that I have my multiple-inheritance Nix object system documented, and minimally debugged and tested... do I put it lib/ ? Do I keep it in pkgs/development/compilers/gerbil/ until further notice?
<Fare>
Ah, the joys of multiple inheritance! Your transitive super-prototypes form a DAG to be topologically sorted, where elements appear only once.
<gchristensen>
oh dear
<Fare>
I just couldn't wrap my head around the too many half-baked, mutually incompatible variants out there.
<Fare>
... so I added one more :-(
<gchristensen>
cc infinisil
<Fare>
But at least, it's documented, with semi-formal types, even, based on a sound understanding of both FP and OO.
dsx has quit [Ping timeout: 268 seconds]
<Fare>
I'll push it under pkgs/development/compilers/gerbil/ for now, in my branch.
<infinisil>
Fare: What's gerbil?
<Fare>
https://cons.io -- an "opinionated" Scheme implementation, that provides a Racket-like module system on top of Gambit Scheme.
<infinisil>
Hm and how does this relate to your Nix object system?
<simpson>
What was the need for this inner object system?
<Fare>
Gambit can itself be compiled to C (and to a point, direct native code), but also JavaScript, Java, Python, Ruby, PHP...
ezioauditore[m] has joined #nixos
Neo-- has quit [Remote host closed the connection]
Darkmatter66 has joined #nixos
<Fare>
simpson, I just was failing at using overrideScope' and company, and tried to make sense of them, decided that they were just self-ignorant badly-documented badly-designed reluctant implementations of a prototype object system a la Jsonnet, so I reimplemented my own that I could make sense of, by embracing OO, FP and types. And added proper CLOS-style multiple inheritance to boot, because it is a feature I was missing.
<{^_^}>
[nixpkgs] @nyanloutre opened pull request #106276 → pythonPackages.pyfuse3: init at 3.1.1 → https://git.io/JIBUs
iH8c0ff33 has joined #nixos
<simpson>
Fare: Sorry, let me ask a different question. What kinds of package mangling do you need from your Nix object system? I figure that if you had fully static linkage or incremental module compilation, then you wouldn't need this; is there some sort of dynamic linkage going on?
<Fare>
I'm pretty sure that whatever I need can be done with the existing infrastructure and is indeed being done by the various parts of Nix. I just couldn't find how to do the overrides properly, particularly so deep overrides.
<Fare>
And too many incompatible variants, none of them full-featured.
ris has joined #nixos
o1lo01ol1o has joined #nixos
iH8c0ff33 has quit [Ping timeout: 256 seconds]
<Fare>
And DAG-based multiple-inheritance is something I wanted for a while in prototype objects. It allows for more incremental and decentralized programming without having to constantly worry about who is responsible for order of your inheritance graph, and the poor sod doing the hard work.
<Fare>
So, it's not "package mangling", it's incremental package definitions.
<Fare>
Now, I can have independent mixins for stable or unstable gerbil, stable or unstable gambit, stable or unstable gerbil-utils, what's in nixpkgs vs a local overlay, etc.
<simpson>
I still don't understand. It sounds like it'll be hard to maintain. But okay.
o1lo01ol1o has quit [Ping timeout: 256 seconds]
<gluonix>
builder for '/nix/store/cps83xb86z98mj58w51i9apmfkipcxrz-foo.drv' failed to produce output path '/nix/store/96gn8qxs3whzf0sixcm01w6s13fc7gxs-foo'
<simpson>
Are there maybe other languages in nixpkgs already which have similar complation models?
<gchristensen>
gluonix: nothing was written to $out
<gluonix>
Any one has useful tips for troubleshooting `nix-build` failing to produce the output path?
tokudan has quit [Remote host closed the connection]
<gluonix>
gchristensen yes, when building in a `nix-shell --pure` it works, but when trying to build with `nix-build` it fails ...
o1lo01ol1o has joined #nixos
tokudan has joined #nixos
<Fare>
simpson, much simpler to maintain, hopefully, thanks to the object system.
raghavsood has quit [Ping timeout: 245 seconds]
<infinisil>
Fare: Can we see it?
<infinisil>
I'm interested because I'm just trying to unify the whole overriding landscape of nixpkgs
<simpson>
I'm interested because I want to learn from when other folks package their niche languages.
<maljub01>
Is it just me or is the options search site broken?
<maljub01>
Seems to only be giving results for 20.03
<stevenroose>
trajanus[m]: what if I don't want to to be a temporary file?
<stevenroose>
but a datadirectory that some program expects
sangoma has quit [Quit: WeeChat 2.9]
<cransom>
i assume that was for me, but tmpfiles isn't just for tmpfiles. that setting is used for setting permissions/owners for many nixos services.
<stevenroose>
Actually, the NixOS manual suggests that for postgresql, you could do services.postgresql.dataDir = "/data/postgresql"; and that's exactly what I did and I get an error for that
<stevenroose>
I'm getting "creating directory /data/postgresql ... initdb: error: could not create directory "/data/postgresql": Permission denied"
<cransom>
that is setting the directory for it, but it doesn't create that directory if it doesn't exist.
<gchristensen>
I think that dataDir option is just an example, not a recommendation
<stevenroose>
gchristensen: yeah I know, but I'd like all my data to be in /data
<stevenroose>
so I like the example :)
<gchristensen>
okay
<stevenroose>
Yeah so how can I make sure the directory exists? Let me check systemd.tmpfiles.rules
<stevenroose>
Hmm, I wouldn't like to create my database's directory by hacking something with tmpfiles and risking to accidentally change one character and have it wiped :D
<stevenroose>
So that postgres example doesn't work without then manually creating the directory?
<stevenroose>
That's unfortunate :|
<gchristensen>
you can't really declaratively manage stateful storage, tmpfiles is the best we've got
<matthewcroughan>
gchristensen: is there a template for packaging a simple python app such as python-validity (needed for my t480's fingerprint sensor).
<stevenroose>
gchristensen: hmm yeah I understand though there's a lot of use of the "ensure" pattern. like ensureDatabases in postgres. Basically existence of directories or permissions of directories can be considered as stateless just like presense of packages in some way
<gchristensen>
they're not, and "ensure*" is a hint you're doing it wrong
<gchristensen>
because for it to be declarative in the true sense, adding the option, deploy, remove the option, deploy -> you wouldn't have it anymore
<stevenroose>
gchristensen: just ftr, I've found some people using `boot.initrd.postMountCommands` for this purpose
<stevenroose>
I think it would make sense for a database module to create its own datadir if it didn't exist
<gluonix>
gchristensen: yes, I understood this, but when invoking the `buildPhase` command in a `nix-shell` it does output the result of the `make` command ... so I am wondering why it does not when calling `nix-build` ...
<seqizz>
Hi there, sorry for the rookie question, but I realized some packages are not available to my non-root user. Even after adding same channel as root and running nix-channel --update. What am I missing? For example rofi-calc package, only visible with "sudo nix search"
<seqizz>
s/as root/as user/
<evils>
seqizz: try `nix search -u`? it may have its own cache
<numkem>
is there a way to specify the size of the disk when doing testing?
mrkirby153 has joined #nixos
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<seqizz>
evils: yeeep that seems to be it. it must be terribly outdated since I never ran it. thanks !
<tokudan>
"running auto-GC to free 18446744069568856063 bytes" - i guess the garbage collection estimate isn't that exact, is it? ;)
mounty has quit [Ping timeout: 240 seconds]
<gchristensen>
gluonix: is it writing files to $out?
<gchristensen>
stevenroose: sure
seqizz has quit [Quit: seqizz]
<gchristensen>
stevenroose: I bet you don't have any illusions that some `mkdir`'s in postMountCommands is declarative
<gluonix>
gchristensen: when running `buildPhase`, no, it just writes the binary in the current dir, which is as expected as per the Makefile I am using
<gchristensen>
and does your Nix expression have a step which copies the binary from the current directory to $out?
<__monty__>
Hmm, I'm unable to figure out how to use this attribute.
o1lo01ol1o has quit [Remote host closed the connection]
<gluonix>
gchristensen: RE: "and does your Nix expression have a step which copies the binary from the current directory to $out?" No it does not. Should it? Like in the postBuild phase?
<gchristensen>
installPhase would be better. right now it isn't putting anything at $out and that is what your error message is saying.
<__monty__>
I'm looking for a simple way include scripts with mpv, ring any bells?
<{^_^}>
[nixpkgs] @orivej-nixos pushed 4 commits to master: https://git.io/JIBs6
ehmry has joined #nixos
jonatanb has quit [Remote host closed the connection]
<__monty__>
Ah, looks like home-manager covers this : )
<numkem>
is ther a way for a testing VM to have internet access? or it's not at the VM level but nix that it would be a problem?
ml| has quit [Ping timeout: 256 seconds]
zakame has quit [Ping timeout: 264 seconds]
<abathur>
gchristensen: trying to interpret the declarative file/dir bit, and I imagine you mean less that we *couldn't* have declarative ~filesystem expressions, and more that people wouldn't get the joke when it deleted their database or w/e? :)
zakame has joined #nixos
<gchristensen>
lol
praduca has joined #nixos
<praduca>
Hi to all :)
<praduca>
I noted something strange on nixos website, dont know if opening an issue is necessary
<gchristensen>
hey hey, what's up?
<praduca>
when i search for jack under 20.03 options, it shows results, but under 20.09, sometimes it shows sometimes don't
LogicalOverflow has quit [Remote host closed the connection]
<abathur>
(I kid a little, but I am somewhat interested in the topic. Can't stop my brain from chewing on liminal zones where Nix is failing to do the ice-nine thing it likes to do. I've also thought while futzing with the installer that parts would be clearer if there was some declarative expression for them...)
<halfbit>
is there a solid alternative in the meantime?
<gchristensen>
but if it is for personal use cases, ie: not "must work this way for as long as possible" then maybejust go for it and ee how it goes, so you can report bugs before it is stabilized
<halfbit>
could use submodules and import as needed I guess
<joepie91>
halfbit: the alternative IMO is overlays
<joepie91>
for the time being
praduca has quit [Remote host closed the connection]
czer00 has quit [Quit: WeeChat 3.0]
<{^_^}>
[nixpkgs] @stigtsp opened pull request #106291 → perlPackages.HTTPTinyCache: init at 0.002 → https://git.io/JIBlv