selfsymmetric-mu has left #nixos ["gone to the land of dead hiccups and extinguished light bulbs"]
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jb55 has quit [Ping timeout: 245 seconds]
Copenhagen_Bram has quit [Read error: Connection reset by peer]
ericsagnes has joined #nixos
<infinisil>
In case you ever need it, this is a much better alternative to `find /nix/store`:
<infinisil>
sudo sqlite3 -noheader /nix/var/nix/db/db.sqlite "select path from ValidPaths where path like '%hello';"
nD5Xjz_ has quit [Ping timeout: 272 seconds]
<gchristensen>
neat
nD5Xjz has joined #nixos
<infinisil>
Actually, one would probably want to put -csv too, because otherwise paths can get truncated
<infinisil>
sudo sqlite3 -noheader -csv /nix/var/nix/db/db.sqlite "select path from ValidPaths where path like '%hello';"
<infinisil>
(for copy-pasteability (or is it copy-pastability?))
cdepillabout has joined #nixos
<cdepillabout>
Would somebody be able to do a quick review/merge of https://github.com/NixOS/nixpkgs/pull/61806? It backports a PR to unstable that adds a package for the proprietary version of MemTest86 and corresponding nixos module.
<{^_^}>
#61806 (by cdepillabout, 5 days ago, open): memtest86-efi: backport to 19.03
<blazerp>
I'm trying to build a nix expression for trelby, and I need to override wxpython to be version 2.8 instead of 3.0, how do I do that? This is what I have so far https://pastebin.com/34fZ2FAt.
<clacke_movim>
I'm trying to run Nix on Debian under UserLAnd / PRoot on Android AArch64, did anybody try that out?
<kalbasit>
clacke_movim: not quite, but close enough
li_matrix has joined #nixos
<li_matrix>
is there a place to discuss flakes, or is that happening here? I just found out about it after seeing the 'flakes' issuse on GH
<li_matrix>
I was, ironically, doing a really hacky version of that concept myself, ha!
fusion809 has joined #nixos
MinceR_ is now known as MinceR
mexisme has quit [Ping timeout: 246 seconds]
<etu>
teto: Heh, right at it at the same PR :D
mexisme has joined #nixos
<teto>
etu: yeah, same comment too :p
blazerp has quit [Ping timeout: 256 seconds]
mexisme has quit [Ping timeout: 272 seconds]
averell has quit [Ping timeout: 252 seconds]
rauno has joined #nixos
wfranzini has joined #nixos
<kaliumxyz>
Hey can I use pam to change the user while logging in with SSH?
dansho has joined #nixos
<marek>
while nix-build'ing a package, I set the rpath for libpulse manually to a binary, when I try to --print-rpath it is there, however, unpon installation the rpath is gone, what could I be doing wrong?
<{^_^}>
[nixos-homepage] @edolstra merged pull request #281 → Mac OS X -> macOS → https://git.io/fjRL1
<{^_^}>
[nixos-homepage] @edolstra pushed 2 commits to master: https://git.io/fjRCA
<marek>
oh, rpath shrinking is the problem
<rauno>
tilpner, that issue with quotes on friday, i think solution is to use \\\' so ExecStart won't strip them
<rauno>
so it's more like systemd problem
linarcx has joined #nixos
<talqu>
hi, I use nixops in a very basic way. To build a haskell server on my local machine and then deploy it behind the nginx on the server machine. How could I define the copying of the static files from my local machine to a server machine?
<{^_^}>
[nixpkgs] @BadDecisionsAlex closed pull request #53795 → Added some reasonable defaults to LIRC's module → https://git.io/fhZNl
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mexisme has joined #nixos
<kaliumxyz>
how do I set up custom pam profiles on nix?
<kaliumxyz>
nixos*
<dminuoso>
Is there a declarative way of ensuring arbitrary directories exist in such a way, that when the configuration is removed that directories are automatically removed?
<dminuoso>
The reason Im asking is because Im using activationScripts to `mkdir` some stuff which is not ideal.
<li_matrix>
the declarative way is to use a derivation
<dminuoso>
li_matrix: Mmm, but derivations end up in /nix/store which is readonly.
<dminuoso>
li_matrix: I ended up using nix modules to have mutable state directories.
<li_matrix>
you cant get declarative and stateful at the same time as you pointed out theyre antithetical
<dminuoso>
li_matrix: To use a Haskell analogy: Sure you can. You can have a declarative way to talk about an `IORef Foo`
<li_matrix>
but you could see it this way; the state change is controlled by nix - that would be declarative 'stateful'
<li_matrix>
so put it all in derivations and change root-env to change state
<dminuoso>
li_matrix: What is root-env?
<li_matrix>
just an analogy, since you could be talking about a full OS or a container
<li_matrix>
whatever your 'root' points at
<dminuoso>
li_matrix: My point is: declarative and stateful are not antithetical.
<li_matrix>
im saying you need to let nix do it all to get that
<li_matrix>
to make unixfs 'declarative'
<dminuoso>
Mmm
<li_matrix>
not a haskell program
<li_matrix>
which is one of the reasons I want a much faster nix
<talqu>
the user is in a wheel group but i get `We trust you have received the usual lecture from the local System Administrator. It usually boils down to these three things:...` and the password does not work, when trying to do something sudo something
<clever>
talqu: does `id` say your in wheel?
<{^_^}>
[nixpkgs] @mmahut opened pull request #62111 → exodus: init at 19.5.24 → https://git.io/fjRWu
<talqu>
clever: groups=100(users),1(wheel)
<li_matrix>
to use it to 'control' the unix env
<dminuoso>
li_matrix: The thing Im still missing is, that if Im supposed to do it all within nix - how can I talk about mutable directories when nix forces me inside R/O /nix/store ?
<li_matrix>
I use home-manager to change all my application from light to dark themes
<li_matrix>
much cleaner than a pile of sed scripts
<clever>
talqu: and what does /etc/sudoers say about wheel?, do you know for sure the pw is correct?
<li_matrix>
dminuoso: you might need to force your application to reread the filesystem
<li_matrix>
im not talking about mutable dirs
<li_matrix>
im saying you mutate the dirs by changing the FS with nix
<dminuoso>
li_matrix: Ah I see what you mean.
<li_matrix>
nix is the one doing the 'mutation' by pointing to another root env
<dminuoso>
Fair enough. So I want the nix equivalent of IORef without Nixos. :-P
<li_matrix>
so we eventually need sub 500 ms nix eval of the OS
linarcx has quit [Quit: WeeChat 2.4]
<li_matrix>
then you could do it more efficiently, right now its heavy and slow on a big eval
<dminuoso>
The type of erlangesque actor model state that you are proposing is slow and in-elegant in plenty edge cases
<li_matrix>
yea so fuck unix fs
<li_matrix>
this is just a way to deal with this pile of shit called posix
<dminuoso>
For what its worth, posix got us pretty far.
<li_matrix>
ideally we move to a more elegant computer paradigm
<li_matrix>
it only served as a common standard
<dminuoso>
li_matrix: I still believe that it would be nice if nix had a stateful store, sort of /nix/state that your derivations can reference.
linarcx has joined #nixos
<li_matrix>
technically its quite stupid to store code in a format that doesnt have direct logical meaning to either the computer or the human using it ... but its a standard so it allowed for cooperation
<dminuoso>
In so many things a mutable file system is not just convenient, its paramount to obtain proper performance.
<li_matrix>
plop
<li_matrix>
place-oriented programming
civodul has joined #nixos
<iqubic>
What would that be?
<dminuoso>
li_matrix: So are you arguing we should give up on provable correct efficient quicksort implementations because they require place-oriented programming?
<dminuoso>
li_matrix: It sounds like you are zealously defending a paradigm for the purpose of defending that paradigm. No offense.
<li_matrix>
you could read about neutrino, how they got way faster message passing by baking it in the kernel logic. posix is not god, but its what most of us know
<li_matrix>
what is implied in your statement is performance for the current paradigm of applications ...
johanot has joined #nixos
<li_matrix>
of course theres a lower level (hardware) which requires those algos
<li_matrix>
im talking about posix, which is the supposed high-level abstraction
<li_matrix>
its a bad abstraction compared to what has already been done, just not FOSS
<li_matrix>
we need self-describing migrating processes. the current paradigm just doesnt work this way
<dminuoso>
li_matrix: I suppose in a lot of ways this is similar to some kind of "Java vs Erlang" discussion, where you hang on the Erlang side and claim that all mutability must die, whereas your typical Javaist cannot survive without mutation everywhere.
<li_matrix>
we all know how bad posix is when we read nixpkgs. the amount of work required to sanitize it is astounding
dansho has quit [Remote host closed the connection]
dansho has joined #nixos
<dminuoso>
li_matrix: And I know how incredibly annoying Erlang can be. The sheer amount of work and abstractions to work around loading configuration at startup (and all the artifacts you obtain for that) - just to satisfy this primordial need to avoid mutation at all costs - it destroys abstraction in some places.
<li_matrix>
never really used erlang much
<li_matrix>
just read a lot about message-based computing
<dminuoso>
That much is clear, which is why I presumed you to be familiar with it.
<dminuoso>
You'd probably like it.
<li_matrix>
yea Im getting into writing a new computer framework- id call it a language but its more ambitious than that, and erlang is an inspiration
<dminuoso>
What kind of framework is that?
<li_matrix>
so is nix (which I see as a kind of specialized lisp)
sb0 has joined #nixos
<dminuoso>
Well lisp is filled with mutation left and right..
<li_matrix>
I have to write it up, chat rooms would just be redundant
<li_matrix>
structured data as code, but pure code (computer readable binary)
<li_matrix>
so it entails a new sort of editor
<li_matrix>
which is the big crux
<dminuoso>
Well if you ever write it down, let me know I'd be curious to take a look at it.
<li_matrix>
of course if I write it itll be all over the nix community
talqu has quit [Remote host closed the connection]
hackyhacker has joined #nixos
<hackyhacker>
Hello I'm trying to compile a simple c++ hello world with g++ but it says 'g++: error trying to exec 'as': execvp: No such file or directory'. I'm probably missing some package but I can find hardly anything online about this error
HangoverGenius has quit [Ping timeout: 272 seconds]
<manveru>
so many cache fails for cache.nixos.org today :(
domogled has joined #nixos
adamantium has quit [Ping timeout: 252 seconds]
<pie___>
can I fetchgit from a git bundle?
<pie___>
i have to run some stuff on a machine that doesnt have access to the original repositories
ThatDocsLady has joined #nixos
<manveru>
pie___: i don't think that'll work but you could just make your own unpackPhase using unbundle?
orivej has quit [Ping timeout: 272 seconds]
<pie___>
manveru, hm, thats an idea.
revtintin has quit [Quit: WeeChat 2.4]
<infinisil>
Taneb: I'm pretty sure somebody asked this here (or in #nixos-dev) before and there was a discussion on how one can do that
orivej has joined #nixos
orivej has quit [Ping timeout: 272 seconds]
piezoid has joined #nixos
<bricewge>
I have a pending PR with a new linux module which I would like to use before it is included in a nixos release. I keep running into mismatch betwen my kernel and the headers used by the module.
<bricewge>
What is the recommended way to acheive this?
dslegends has joined #nixos
hmpffff has joined #nixos
gentauro has quit [Read error: Connection reset by peer]
gentauro has joined #nixos
knupfer has quit [Ping timeout: 248 seconds]
<{^_^}>
[nixpkgs] @peti pushed 77 commits to haskell-updates: https://git.io/fjR8M
alter-schjetne has joined #nixos
coderobe has quit [Ping timeout: 244 seconds]
coderobe has joined #nixos
xelxebar_ has joined #nixos
schjetne has quit [Ping timeout: 258 seconds]
xelxebar has quit [Remote host closed the connection]
orivej has joined #nixos
iyzsong has joined #nixos
ris has joined #nixos
<{^_^}>
[nixpkgs] @Lassulus pushed commit from @mmahut to master « exodus: init at 19.5.24 »: https://git.io/fjR4T
<adfaure>
Hello everyone, I am struggling with carnix to build a rust package. I have a cargo dependencie that holds an external dep (using pkgconfig). The only way I found so far is to overrite the generated nix file (crates-io.nix) by carnix to add the line "buildInput = [pkgs zeromq]". Do you know how I could do that without having to override the file generated by carnix please?
schjetne has quit [Ping timeout: 258 seconds]
o1lo01ol1o has joined #nixos
<andi->
adfaure: a usual pattern with carnix generated expressions is to override the expression and extend the standard `pkgs.defaultCrateOverrides`.
<fyuuri>
simpson: thx. Yes. I saw that. It is not possible to just run a mix project after cloning the git repo.
<simpson>
fyuuri: Probably not. That's not the Nix way.
sparc-kly has joined #nixos
sigmundv has quit [Ping timeout: 272 seconds]
Makaveli7 has quit [Quit: WeeChat 2.4]
o1lo01ol1o has quit [Ping timeout: 252 seconds]
o1lo01ol1o has joined #nixos
<fyuuri>
simpson: Yes... When I have to use packaging tools that come with certain languages, I would prefer using another Linux distro...
<fyuuri>
Of course, the Nix way ist clean. But I just want to do a simple test and cant run the project out-of-the-box ... which is always annoying
<simpson>
fyuuri: Sorry, I'm not sure I understand. Negotiating with Nix on matters of impurity is a common thing to attempt, but it never works; Nix doesn't care whether one's project is small, simple, trivial, unimportant, etc.
<simpson>
What is it that attracted you to Nix in the first place? Maybe it's not the right system for you.
<fyuuri>
Of course.
<fyuuri>
I really like nix!
<fyuuri>
Its just this one point...
ng0 has joined #nixos
sigmundv has joined #nixos
<simpson>
Escalate to your stakeholder; tell them that Nix is unyielding and that you'll have to write a Nix expression and treat your application as a Nix package.
turion has joined #nixos
<turion>
When I reboot, the default selected boot entry is an older generation (4.14 kernel). When I make a newer generation with nixos-rebuild, the default boot entry isn't updated
<manveru>
fyuuri: i use mix without any trouble...
alp has quit [Ping timeout: 258 seconds]
schjetne has joined #nixos
<manveru>
fyuuri: so not sure why you'd need anything nix-specific if you just use it in a normal nix-shell?
<samueldr>
turion: the most likely problem is that your /boot partition isn't mounted to what the bootloader expects
<samueldr>
turion: e.g. for EFI boot, with default options, it is expected that the ESP be mounted as /boot
<fyuuri>
manveru: How does your workflow look like?
<samueldr>
(or for the u-boot sd_image, the FAT32 partition is expected to be mounted at /boot)
<fyuuri>
manveru: I works nicely and will use it. Thx. But the hex problem is still there; Hex packages that are specified as deps in mix.exs cannot simply be pulled by mix compile. A simple work around would be just installing Hex to ~/.mix/ ... but that is of course not the Nix way ;).
<o1lo01o__>
I'm trying to figure out which packages I need to include in a derivation to get clang with llvm and polly functioning. So far, I fail to do the latter with nixpkgs.clang-polly and nixpkgs.llvm-polly
Copenhagen_Bram has quit [Read error: Connection reset by peer]
o1lo01o__ has quit [Ping timeout: 252 seconds]
o1lo01ol_ has joined #nixos
Copenhagen_Bram has joined #nixos
<manveru>
fyuuri: but that's what you need to do...
toppler`` has quit [Ping timeout: 246 seconds]
silver has joined #nixos
o1lo01ol_ has quit [Remote host closed the connection]
domogled has quit [Quit: domogled]
o1lo01ol1o has joined #nixos
domogled has joined #nixos
<o1lo01ol1o>
sorry, repost, my modem keeps dropping out: I'm trying to figure out which packages I need to include in a derivation to get clang with llvm and polly functioning. So far, I fail to do the latter with nixpkgs.clang-polly and nixpkgs.llvm-polly
toppler`` has joined #nixos
<o1lo01ol1o>
can anyone advise?
<infinisil>
o1lo01ol1o: nobody can help if you don't mention the actual problem with those. What did you run, what's the nix expression, how did it fail, what failed exactly
<greenerworld[m]>
firefox tests are failing because of Out of Memory `machine# [ 585.074345] Kernel panic - not syncing: Out of memory: compulsory panic_on_oom is enabled`
<greenerworld[m]>
is there anything I can do about that?
<hyper_ch2>
do you use /tmp as tmpfs?
<lordcirth>
greenerworld[m], get more RAM? Add swap? Enable zram?
<hyper_ch2>
what's zram?
<lordcirth>
zram acts like swap but actually compresses pages and stores in RAM. It can help a bit.
__red___ has joined #nixos
<arguser>
hello, anyone developing react native applications on nixos?
<arguser>
but seems to be outdated since i'm getting that androidenv.androidsdk is non existent/declared
<lordcirth>
So, I installed xfce in a NixOS VM, but it's really ugly by default compared to, say, Xubuntu. What's the standard way in NixOS to change xfce's config / theming?
o1lo01ol1o has joined #nixos
<lordcirth>
greenerworld[m], perhaps you can edit the test to print
<greenerworld[m]>
I would just try to install them seperately arguser , this setup seems way too complicated
<lordcirth>
* df -h and free -m
buffet_ is now known as buffet
<greenerworld[m]>
but then again, I don't do react-native development with avd's, so take it with a grain of salt
<greenerworld[m]>
lordcirth: that makes sense but how would be do that just before crash
<lordcirth>
greenerworld[m], even at the beginning would be useful so you know what you have to work with
ddellaco1 has joined #nixos
<arguser>
greenerworld[m]: Well, I'm quite new with NixOS. Is it possible to enter a nix-shell and do nix-env install which would remain available in that env or is there similar aproach possible?
nckx has quit [Ping timeout: 248 seconds]
<greenerworld[m]>
you can enter the shell with multiple packages
<greenerworld[m]>
`programs.adb.enable` check this one out
<greenerworld[m]>
for sdk's you can install android studio and install sdk from there
infinee has joined #nixos
andreas303 has joined #nixos
<greenerworld[m]>
arguser: nixos.android-studio is the package u want for stable
<{^_^}>
[nixpkgs] @marius851000 opened pull request #62120 → ndstool: init at 2.1.2 → https://git.io/fjREh
<o1lo01ol1o>
infinisil: thanks! will do
<arguser>
greenerworld[m]: I suspected that, so android-studio would provide ide + sdk
<immae>
Hello there! I’m running a script inside a `nix-shell --pure -p curl` but running curl inside that shell fails since it doesn’t find ssl certs, how can I give the script an access to the certs?
<greenerworld[m]>
Y
<arguser>
greenerworld[m]: Thanks!
<greenerworld[m]>
You get a prompt to download the sdk u want when u open android studio
<greenerworld[m]>
it also includes avd
<arguser>
great :)
Glider_IRC__ has joined #nixos
[Leary] has joined #nixos
o1lo01ol_ has joined #nixos
o1lo01ol1o has quit [Ping timeout: 248 seconds]
fendor has joined #nixos
o1lo01ol1o has joined #nixos
Lears has quit [Ping timeout: 272 seconds]
Glider_IRC_ has quit [Ping timeout: 272 seconds]
Lears has joined #nixos
o1lo01ol_ has quit [Ping timeout: 268 seconds]
[Leary] has quit [Remote host closed the connection]
fendor has quit [Remote host closed the connection]
jb55 has joined #nixos
fendor has joined #nixos
ng0 has quit [Ping timeout: 256 seconds]
ng0 has joined #nixos
__monty__ has joined #nixos
o1lo01ol1o has quit [Ping timeout: 248 seconds]
alex`` has quit [Ping timeout: 258 seconds]
linarcx has quit [Quit: WeeChat 2.4]
linarcx has joined #nixos
jb55 has quit [Quit: WeeChat 2.4]
johanot has quit [Quit: WeeChat 2.4]
ericsagnes has quit [Ping timeout: 250 seconds]
drakonis has joined #nixos
alex`` has joined #nixos
hmpffff has quit [Quit: nchrrrr…]
HangoverGenius has quit [Ping timeout: 272 seconds]
reinhardt has quit [Quit: Leaving]
knupfer has joined #nixos
civodul has quit [Quit: ERC (IRC client for Emacs 26.2)]
TravisRt2botio[m has joined #nixos
<{^_^}>
[nixpkgs] @basvandijk opened pull request #62122 → terraform-provider-elasticsearch: init at 0.6.0 → https://git.io/fjRuK
<MasseR>
Can I do in /etc/nixos/configuration.nix something like `config.fonts = { pkg = pkgs.inconsolata; name = "Inconsolata"; size = "11"; };` ? As in have one importable file that sets a configuration value that I can reuse elsewhere?
<MasseR>
Nice. Though isn't quite as easy as I hoped. One of the locations I want the config is the vim configuration which in turn is an overlay. And apparently I can't get the config value in there
<MasseR>
Got it working everywhere else
<{^_^}>
[nixpkgs] @kalbasit opened pull request #62125 → tk: add missing headers for Darwin → https://git.io/fjRg1
<infinisil>
aszlig: 18.03 has been EOL for over half a year now, and 18.09 for almost a month
<{^_^}>
[nixpkgs] @basvandijk merged pull request #62123 → Backport "terraform-provider-elasticsearch: init at 0.6.0" to release-19.03 → https://git.io/fjRuA
<{^_^}>
[nixpkgs] @basvandijk pushed 2 commits to release-19.03: https://git.io/fjRgj
<aszlig>
infinisil: i know :-)
<aszlig>
infinisil: but we had a few issues in nixops where people were still using 17.09...
<infinisil>
Well have them update already!
irl25519 has quit [Quit: My computer has gone to sleep. ZZZzzz…]
drakonis has joined #nixos
<aszlig>
infinisil: anyway, the bugfix release here only concerns new deployments and i didn't fix 17.09
o1lo01ol1o has quit [Ping timeout: 248 seconds]
<aszlig>
if it would have been more involved for 18.03, i wouldn't have included it =)
irl25519 has joined #nixos
o1lo01ol1o has joined #nixos
freeman42x has joined #nixos
orivej has joined #nixos
PLPD-Bot has quit [Remote host closed the connection]
<lordcirth>
I installed xfce in a NixOS VM, but it's really ugly by default compared to, say, Xubuntu. What's the standard way in NixOS to change xfce's config / theming?
o1lo01ol1o has quit [Ping timeout: 250 seconds]
alp has joined #nixos
PLPD-Bot has joined #nixos
Ariakenom has quit [Remote host closed the connection]
Ariakenom has joined #nixos
jmeredith has joined #nixos
ThatDocsLady_ has quit [Ping timeout: 252 seconds]
<wucke13>
What is the nixos way of making a mount non critical, so that a fail in mounting it does not start systemd in emergency mode?
Jetien_ has quit [Ping timeout: 272 seconds]
<lordcirth>
wucke13, presumably you would just add that setting to the options. x-systemd.automount might do
<infinisil>
Or maybe "nofail" in the mount options will do
<wucke13>
Will try that
<lordcirth>
wucke13, is it a network filesystem?
<wucke13>
Nope
<lordcirth>
If it's an external drive which is infrequently used, automounting is probably best
<wucke13>
lordcirth: That sounds good, though in my case its an software raid in a server which under all circumstances should boot to network.target, because I wan't to access it via ssh.
Myhlamaeus has joined #nixos
<lordcirth>
wucke13, automount will cause it to be mounted as soon as it is accessed.
<nschoe>
It fails with "ValueError: ZIP does not support timestamps before 1980", I am hesitant to create an issue on their github, I'm wondering if this is specific to nixOS.
<selfsymmetric-mu>
Ah, nschoe appears to have left.
<selfsymmetric-mu>
If anyone is interested, the context is that Nix makes everything have a modification date of Unix epoch. This is in order to create build determinism, you can't have different dates.
<selfsymmetric-mu>
What happens though, is that it breaks things that don't support Unix epoch, which includes ZIP, which only supports modification dates back to 1980.
<selfsymmetric-mu>
And ZIP breaking breaks a whole bunch of other things, including the new Python environment-sandboxing darling-of-the-week, pipenv.
<selfsymmetric-mu>
_Currently_ this means that any Python developer starting out on NixOS at one point has the mental equivalent of hot splinters under the fingernails when they run into this.
joedevivo has quit [Ping timeout: 276 seconds]
<selfsymmetric-mu>
Hopefully the Google searches will get better over time and make debugging easier. I don't know what a more transparent solution would look like.
<selfsymmetric-mu>
Maybe ZIP will be updated, but...I don't know if we can count on that.
devhell has joined #nixos
<selfsymmetric-mu>
Maybe NixOS will update to a lowest-common-denominator epoch, like 2000? But that also sounds like a nightmare.
metalrain has joined #nixos
<selfsymmetric-mu>
And maybe it'll be something in the integration, like where NixOS packages python dependencies.
<gchristensen>
Nix will stick to 1 second past the epoch. no number will ever be always the right number
<slabity>
Does anyone know what `config._module.args.extraModules` is? It looks like a place to add additional config modules?
<selfsymmetric-mu>
gchristensen: Granted. Moving the date up just means that one day we'll get the error "Hulu Compression Epoch failure (no dates before 2030)" on our VR headsets.
<gchristensen>
exactly
<gchristensen>
but it can be fixed, like the python one is fixed -- and opting for making that nicer is a more long-term stable choice
<selfsymmetric-mu>
gchristensen: The Python one is fixed?
heatm1s3r has joined #nixos
<gchristensen>
there is a setup hook I think which "fixes" the timestamps to a something zip can handle
joedevivo has joined #nixos
typetetris has joined #nixos
metalrain has joined #nixos
<selfsymmetric-mu>
Ah, okay. So my manual shell.nix workaround isn't required anymore? That's good.
<gchristensen>
I'm not sure :x
<gchristensen>
don't take my word for it, I just know there are workarounds
<tilpner>
infinisil: Re: cadvisor interval format description: For which option should I put that? All of them?
taktoa[c] has joined #nixos
valwal_ has joined #nixos
<infinisil>
tilpner: Yeah probably
jeregrine has joined #nixos
<tilpner>
:/
pointfree has joined #nixos
jmeredith has joined #nixos
meck has quit [Quit: WeeChat 2.4]
mexisme has quit [Ping timeout: 248 seconds]
meck has joined #nixos
genesis has quit [Remote host closed the connection]
manveru has joined #nixos
adelbertc has joined #nixos
genesis has joined #nixos
Wizek has joined #nixos
mexisme has joined #nixos
<{^_^}>
[nixpkgs] @LnL7 opened pull request #62130 → uwsgi: enable on darwin → https://git.io/fjRVw
nkaretnikov has joined #nixos
<tilpner>
infinisil: Should I use <link> for that? It seems appropriate, but is not visible in the manpage
ocharles has joined #nixos
englishm has joined #nixos
<infinisil>
What's not visible in which man page
<tilpner>
infinisil: If you compare the description for services.cadvisor.storageDriverPasswordFile, you'll see that it has a link for "nixops key management" in the source, but not in "man configuration.nix"
victorbjelkholm has joined #nixos
<tilpner>
Which makes me hesitant to use <link>, I don't want to hide useful information from people who prefer manpages
<GJC614>
I'm trying to package Citrix Workspace now that Citrix Receiver is being discontinued
<evil-olive>
I've got a NixOS laptop I was using as a home server, with a USB drive plugged into it. I'm converting it back to a laptop, so I shut it down, unplugged the drive, and took it to my desk. now systemd complains on boot because it times out waiting for that device to appear. I tried entering my root password to get into "emergency mode", then editing hardware-config.nix to remove the drive...nixos-rebuild
<evil-olive>
fails because my wifi isn't up and it wants to pull some package from cache.nixos.org
<GJC614>
I'm basing what I've got on the existing Citrix Receiver defailt.nix
<evil-olive>
I *could* just go back downstairs and grab the USB drive, but I'm trying to make this a learning experience...how else can I get this booted without the drive, enough to remove it from hw-config?
<GJC614>
Is the github repo the best place to seek help on packaging? It's my first one and I'm struggling to find logs on where I'm failing.
<tilpner>
evil-olive: Try LAN if available. Try to remove the need for it to pull that package, if you can, by commenting out relevant parts
srid639 has joined #nixos
<tilpner>
evil-olive: Can also try to pass nofail during boot
<evil-olive>
I'm not sure what package it's trying to pull, it only lists the hash...I don't think it should be pulling anything anyway, the only change I made was to remove the mountpoint
erictapen has quit [Ping timeout: 248 seconds]
<tilpner>
evil-olive: You can pass --option substituters ""
<tilpner>
evil-olive: That might help if it doesn't actually need any packages
<evil-olive>
ahh, that sounds promising
polman has quit [Ping timeout: 248 seconds]
<evil-olive>
I've run into that chicken-and-egg problem before when trying to connect to coffeeshop wifi
<tilpner>
There are things you can do to your configuration so that you'll be unable to build it without internet connection
<tilpner>
Like using fetchers without hashes
alp has quit [Ping timeout: 258 seconds]
salty_water has joined #nixos
<evil-olive>
hmm, yeah, it wants to pull a huge pile of stuff with substituters=""
<salty_water>
does anyone have experience getting neovim to work with the python3 provider on nixos?
alp has joined #nixos
<tilpner>
evil-olive: Sounds like you might be building with a different channel now
<evil-olive>
ahh, that's possible, I can't remember if I started doing the upgrade to 19.03 or not
ee1943 has quit [Ping timeout: 248 seconds]
<evil-olive>
oh well, I'll just take the easy way out and grab the HD enclosure
<__red___>
So I'm trying to fix a broken package that relies on mlt, and the output of that derivation splits into [ "out" "dev" ] which means that the header files end up in /nix/store/<hash>-mlt-6.14.0-dev/include instead of /nix/store/<hash>-mlt-6.14.0/include
<__red___>
how do I spec that in the default.nix? since it can't find mlt-dev as an expression
<__red___>
?
arguser_ has joined #nixos
wfranzini has quit [Remote host closed the connection]
<__red___>
I dn't know why I didn't try that - seems so simple now I see it
<__red___>
I tried mlt-dev
<__red___>
:-)
<garbas>
__red___: first output listed becomes the default output of the derivation (usually "out")
<garbas>
__red___: and every other output you can reach via A.<OUTPUT>
ym555_ has joined #nixos
<selfsymmetric-mu>
__red___: Yeah, it's confusing. For most packages you just want `[ "foo" ]` which is an alias of the first output, usually `[ "foo.out" ]` but sometimes if you want headers you'll need both, like `[ "foo.out" "foo.dev" ]`. Confused me the first time I had to compile something like that.
<selfsymmetric-mu>
Because first I looked for `foo-dev` (since that's often the convention in other package managers), and then I installed `foo.dev` omitting `foo` so I had my headers but not my libraries.
<selfsymmetric-mu>
Eventually somebody on GitHub saved me.
<__red___>
oh - i didn't reålize the paxckage name was an alias to the first output - that makes a lot of sense. Thanks
talqu has quit [Read error: Connection reset by peer]
<{^_^}>
#59374 (by matthew-piziak, 6 weeks ago, open): Cannot use Stack and libsodium
<selfsymmetric-mu>
__red___: Depends on what your usecase is but I doubt installing both will do you any hard.
<selfsymmetric-mu>
*harm.
<__red___>
okay - let's see if this gets me to a build
<__red___>
I really want to get this packahe out of the "broken" list
<selfsymmetric-mu>
__red___: Good luck!
knupfer has joined #nixos
<__red___>
it got marked as broken at version 1.0, they're now up to 1.4. The irony is that they use nix to build their packages - but it odesn't work in nixos
<__red___>
it's a strange situation
<__red___>
will build on ubuntu using nix, won't build on nixos
MmeQuignon has quit [Ping timeout: 272 seconds]
<{^_^}>
[nixpkgs] @markuskowa merged pull request #62128 → scalapack: Increase individual test timeout to prevent hydra failures → https://git.io/fjR2S
<infinisil>
__red___: You mean their git repos build works with their nix files, but the build in nixpkgs doesn't?
<GJC614>
Just to add to my earlier question - from what I can tell wfica and citrix_workspace have installed, it's just not opening ica files. I'm not sure of the etiquette or raising a github issue for a new package but can't find an alternative process.
lovesegfault has joined #nixos
<{^_^}>
[nixpkgs] @LnL7 opened pull request #62133 → nixos: add test for uwsgi → https://git.io/fjRwE
GJC614 has left #nixos ["Killed buffer"]
GJC614 has joined #nixos
<{^_^}>
[nixpkgs] @veprbl merged pull request #60072 → rtl8821au: update for Linux 5.0 → https://git.io/fj3gg
<infinisil>
Just tested it, adding a package decreases the rebuild time for my setup from ~30 seconds to ~15 seconds :D
abaiste^ has quit []
tsrt^ has joined #nixos
freeman42x has quit [Quit: Leaving]
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
<selfsymmetric-mu>
:o
adamantium has joined #nixos
freeman42x has joined #nixos
polman has quit [Ping timeout: 248 seconds]
jgt has joined #nixos
<jgt>
I've set up a local hydra and managed to connect it to my GitHub, but my jobset is failing with: cannot find the input containing the job expression
<jgt>
should I write a job expression? Does it exist already and I've used the wrong path?
freeman42x has quit [Ping timeout: 258 seconds]
alp has quit [Ping timeout: 258 seconds]
__monty__ has quit [Quit: leaving]
m3lt has quit [Quit: leaving]
dftxbs3e has quit [Ping timeout: 252 seconds]
arguser_ has quit [Remote host closed the connection]