<nh2>
samueldr: ah, so staging does not have an equivalent nixos catch-up-branch, I see, thanks
<{^_^}>
[hydra] @kquick opened pull request #702 → Handle case where jobset has no defined errormsg for api/jobsets → https://git.io/JvfEd
<samueldr>
staging might be too volatile for it to be worthwhile to be built on a schedule
<samueldr>
too much churn I would assume without knowing
<gchristensen>
okay that is enough commits.
<nh2>
samueldr: ah wait, I still don't get it. I see the last build of staging-next "7h ago", which makes sense. But how do I see the evaluations of staging? Even if it's started manually (how is that done?), shouldn't the results appear somewhere?
smatting_ has joined #nixos
<samueldr>
hm?
<samueldr>
they are there, I simply think it's not been run on hydra since last october/july
tjg1 has quit [Quit: don't keep calm and fuck this, fuck that, fuck you and fuck off]
<{^_^}>
[nixpkgs] @andir merged pull request #77531 → [19.09] kernel: set POWERCAP and INTEL_RAPL → https://git.io/JvfBF
<{^_^}>
[nixpkgs] @andir pushed 2 commits to release-19.09: https://git.io/Jvfu6
h0m2 has joined #nixos
Guest92090 has joined #nixos
gaz[12 is now known as gaz[14
h0m1 has quit [Ping timeout: 240 seconds]
eri451 has quit [Ping timeout: 268 seconds]
Guest92090 has quit [Ping timeout: 265 seconds]
Guest92090 has joined #nixos
lord| has quit [Ping timeout: 258 seconds]
lord| has joined #nixos
ddellacosta has quit [Ping timeout: 260 seconds]
bhipple has quit [Ping timeout: 240 seconds]
rogue_koder_ has quit [Ping timeout: 240 seconds]
bhipple has joined #nixos
bhipple has quit [Remote host closed the connection]
tomberek has joined #nixos
eri has joined #nixos
<tomberek>
i'm looking at adding sql support to GNUParallel. It's adding additional Perl pacakges to the existing derivation. What model has worked best for this sort of thing? { ..., withPostgres ? null, withSqlite ? null, ... } ?
<{^_^}>
[nixpkgs] @nh2 pushed commit from @raboof to ms-sys-reproducibility « ms-sys: avoid the build timestamp from leaking into the manpage »: https://git.io/Jvfgs
<{^_^}>
[nixpkgs] @nh2 pushed 0 commits to ms-sys-reproducibility: https://git.io/JvfgZ
<{^_^}>
[nixpkgs] @nh2 merged pull request #77096 → ms-sys: avoid leaking the build timestamp into the manpage → https://git.io/Jejat
[Leary] has quit [Remote host closed the connection]
bhipple has quit [Ping timeout: 240 seconds]
mexisme_ has quit [Ping timeout: 252 seconds]
Heirlung has joined #nixos
bhipple has joined #nixos
halfbit has quit [Ping timeout: 248 seconds]
<colemickens>
my rpi4 /boot is old of space, the /boot/old dir is full of old entries, but I can't delete them as they're being regenerated. But I only have a handful of /nix/var/nix/profiles/system-nn-link entries, so where are they being regenerated/copied from?
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
<colemickens>
Hm, well, I deleted all of /boot/old and it got rid of enough of them that I can switch and gc now.
<nh2>
samueldr: but if it's not been run on hydra, what does it run on?
<samueldr>
not sure, I figure people working on staging stuff deal with it on their own?
<samueldr>
that's a good question
taktoa[c] has joined #nixos
<danderson>
hmm, is there a nixos option I'm missing to turn off processing of IPv6 router advertisements?
<danderson>
doesn't matter hugely, the RAs are configuring things correctly - just pondering whether to make the default route static like the rest of the config.
halfbit has joined #nixos
UndefinedIsNotAF has quit [*.net *.split]
<Enzime>
is there a grouping or attribute I can use to get the common Xorg libs
<nixnoob>
Hi, I want to manage my shell.nix in a central repo, and to symlink the files to different project workspaces (The projects are for work, so I can't commit my shell.nix in every repo). Need some pointers for how I can set up this central nix files repo and symlinks in my `configuration.nix`
<cap_sens1>
How'd I use the `vim_configurable` package? I put myVim = super.vim_configurable.customize { ... } in an overlay, and installed myVim, but then my system has no vim available?
o1lo01ol1o has quit [Ping timeout: 245 seconds]
<clever>
cap_sens1: did you set a name inside customize?
<thefloweringash>
is there a magic `nix why-build` in the pattern of `nix why-depends` that will take two .drvs and tell me what's not present in my store? I'm imagining a tree walk of the .drvs that prunes whenever there's a corresponding store path
<thefloweringash>
context is: trying to work on a nixos-rebuild test where the sandbox prevents networking. If the sandbox is on (ie, no global cache), it wants to build all the way from bootstrap-tools, if the sandbox is off, it wants to fetch ~5 trivial things.
<thefloweringash>
symphorien: I think that's the "what" but not the "why". That'd show me the request for bootstrap-tools, but not the path that got there.
<symphorien>
nix-store -q --tree foo.drv
<{^_^}>
[nixpkgs] @jD91mZM2 opened pull request #77549 → rnix-lsp: init at 0.1.0 → https://git.io/JvfrP
jgeerds has joined #nixos
<thefloweringash>
Closer, but I want to compare which of those are already in the store
Church- has quit [Ping timeout: 268 seconds]
<symphorien>
for i in $(nix-store -qR foo.drv); do [ -f $i ] || echo $i; done
<{^_^}>
[nixpkgs] @zimbatm pushed commit from @jD91mZM2 to master « rnix-lsp: init at 0.1.0 (#77549) »: https://git.io/JvfrF
o1lo01ol1o has joined #nixos
chagra has joined #nixos
cosimone has joined #nixos
o1lo01ol1o has quit [Ping timeout: 260 seconds]
<wedens[m]>
I've changed `services.xserver.videoDrivers` (nvidia to nvidiaLegacy390) and it resulted in recompiling kernel (I use patched kernel). I'm curious to understand why?
alexherbo23 has joined #nixos
<wedens[m]>
and it fails to build anyway...
alexherbo2 has quit [Ping timeout: 260 seconds]
alexherbo23 is now known as alexherbo2
alex has quit [Ping timeout: 268 seconds]
alex has joined #nixos
thc202 has quit [Ping timeout: 245 seconds]
xkapastel has quit [Quit: Connection closed for inactivity]
<dirkx_>
When running the tests - in nixos/tests -- is there an easy way to increase the CPU count ? As I have something I'd like to reproduce that needs more than 4 CPUs.
euandreh has joined #nixos
<__monty__>
dirkx_: Can't you pass --cores?
bvdw has quit [Read error: Connection reset by peer]
domogled has quit [Remote host closed the connection]
bvdw has joined #nixos
<dirkx_>
@__monty__ Perhaps -- but how does one pass that to a typical 'nix-build ... nixos/tests/some-script.nix ?
mehlon has joined #nixos
<__monty__>
`nix-build --cores 9001 ...`
vld has quit [Ping timeout: 260 seconds]
<dirkx_>
@__monty__ thanks --I thought I tried that - going back.
<dirkx_>
Hmm - still "machine # [ 1.109801] smp: Brought up 1 node, 1 CPU"
<__monty__>
And you're sure this particular test can utilize more than 1 core?
mexisme_ has joined #nixos
erictapen has joined #nixos
mexisme_ has quit [Ping timeout: 260 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
<Ashy>
is there an example of using `pip install ...` for python 3 similar to this section of the nixpkgs manual? 15.17.3.6. How to consume python modules using pip...
o1lo01ol1o has quit [Ping timeout: 265 seconds]
<dirkx_>
@__monty__ no - not at all - as I've not quite yet found where that is configured; I've taken an existing nixos/tests/*.nix file and adapted that for the purpose of this test. But have not found cpu/core setting values in any of the other tests (and in fact- I'd love to discover a flag which lets me dispense with Qemu; and run it local - as it does not really need that overhead which takes 90 seconds to start on the hardware used).
<__monty__>
dirkx_: `--cores` is passed to `make -j` afaik. Don't think there's any other magic involved.
<dirkx_>
ok -that simple. Thanks ! perfectly clear.
<clever>
--cores will set an env var at build time
<clever>
and the default buildPhase will pass that on, as `make -j`
<clever>
but the nixos test stuff doesnt respect that var currently
<{^_^}>
[nixpkgs] @lheckemann opened pull request #77554 → nixos/wpa_supplicant: fix use with multiple interfaces → https://git.io/Jvf6P
<ddima>
Ashy: I've just found that comment too. Just tried locally and venv works without virtualenv too, but requires a fixup to PYTHONPATH to work around the pip._internal.main thing. But I see the thread has a few variations of workarounds.
<ddima>
maybe worth updating the wiki based on that comment or so
<{^_^}>
[nixpkgs] @lheckemann opened pull request #77556 → [19.09] nixos/wpa_supplicant: fix use with multiple interfaces → https://git.io/Jvf6D
<Ashy>
yeah, probably the nixpkgs manual too since python2.X is now end of life
<ddima>
Ashy: my hunch is it will haunt everyone for another few years ;)
o1lo01ol1o has joined #nixos
CMCDragonkai has joined #nixos
nixnewbie has joined #nixos
<nixnewbie>
hi, how can I force a rebuild an installed package?
<clever>
nixnewbie: why do you want to force a rebuild?
<clever>
nixnewbie: nix will automatically rebuild anything if the inputs have changed, forcing a rebuild should produce the identical results
<nixnewbie>
clever, I suspect I'm in a situation where the "should" doesn't hold
<nixnewbie>
but I might well be wrong
rogue_koder_ has quit [Ping timeout: 245 seconds]
<clever>
nixnewbie: the only reason that wouldnt hold up, is if your using a random number generator at compile time
<mehlon>
it may be that you changed the fetchurl source
<mehlon>
in this case you need to change the sha256 sum as well
nixnewbie has quit []
smatting_ has joined #nixos
nixnewbie has joined #nixos
<nixnewbie>
please don't explain me why I'm wrong, let me assess how wrong I am by myself, that's the best way to learn :)
<clever>
nixnewbie: `nix-build --check` can be used to force a rebuild
<clever>
nixnewbie: `nix-build --repeat 1` will cause it to do every build twice, and fail if they didnt produce bit-identical results
<nixnewbie>
nice
<nixnewbie>
I'll look for some usage example, I guess I've to import nixpkgs to build a package in there
<nixnewbie>
btw, is there a way to list all the components that affect the hash identifying a derivation?
<gchristensen>
basicallyall of them
<clever>
nixnewbie: every input to the builtins.derivation function (stdenv.mkDerivation is a wrapper around it)
CMCDragonkai has quit [Ping timeout: 268 seconds]
<clever>
92 nix = {
<clever>
93 extraOptions = ''
<clever>
98 repeat = 2
<clever>
nixnewbie: you may need this, if your on nixos, though thats a bit overkill
<nixnewbie>
clever, OK, but what if I want to see the actual values of all the inputs involved?
<clever>
nixnewbie: nix-instantiate and `nix show-derivation`
<nixnewbie>
all these commands seem to act on .nix files, but I don't have a copy of nixpkgs on my machine, apparently
<clever>
nixnewbie: nix-instantiate channel:nixos-unstable -A hello
<clever>
that will download nixpkgs automatically
rogue_koder_ has joined #nixos
<jD91mZM2>
Hi! I'm just learning about the shiny new flakes system. I noticed that flakes don't play nice with submodules, it expects .git/refs/head to exist. Where should I bug report this?
<nixnewbie>
nix-instantiate lists a .drv file which contains some configuration, is that all? I expected the GCC version and more stuff
vld has joined #nixos
stteevveen has joined #nixos
symphorien has quit [Quit: WeeChat 2.6]
symphorien has joined #nixos
mrCyborg has joined #nixos
<stteevveen>
Hi! I have found the answer to my question in nixos options search page as the default value for the option (what is the value of nix.nixPath in my current configuration). But is there a possibility to display the value of any option from my current config ? Either by code or by a nix command ?
vld has quit [Ping timeout: 268 seconds]
jjakob has quit [Quit: leaving]
<clever>
stteevveen: nixos-option, a command-line util
jgeerds has quit [Ping timeout: 245 seconds]
<stteevveen>
@clever ultra super great ;-)
<{^_^}>
[nixpkgs] @raboof opened pull request #77558 → perlPackages.XMLTwig: install tools like xml_grep → https://git.io/JvfiV
symphorien has quit [Quit: WeeChat 2.6]
<infinisil>
stteevveen: Or alternatively `nix-instantiate --eval --strict '<nixpkgs/nixos>' -A config.nix.nixPath`
symphorien has joined #nixos
<infinisil>
Which also works with autocomplete
<stteevveen>
I'm currently hesitating to jump and clone nixpkgs locally, and add it to my nix.nixPath. Would you advise against it ? The reason is to slowly get more into the plumbing of nixos and learn, (maybe modify but not yet I suppose). Are there dangers I might not be aware of ? It looks like a source of non-immutability since I can do the git pull
<stteevveen>
outside of my configuration.
jjakob has joined #nixos
<stteevveen>
infinisil thanks, I add the command to my notes,
<Thra11>
I was wondering... is it possible to get nixos-option to list all options, so that you can search for options which you don't know the exact name of?
<tilpner>
Thra11: man configuration.nix, and then /searchterm
<tilpner>
Interactive exploration in nix repl works well too
<stteevveen>
Thra11 when you type nixos-options it list all root options, when typing nixos-option nix, it lists all the options under nix. I guess it works for all options.
<Thra11>
ok. searching the full manual isn't perfect, as it will find terms in the description as well
<nilsirl[m]>
How can I configure packages installed with nix-env
<nilsirl[m]>
* How can I configure packages installed with nix-env?
opthomasprime has joined #nixos
<{^_^}>
[nixpkgs] @rycee opened pull request #77559 → jwt-cli: fix build on Darwin → https://git.io/JvfiM
<Thra11>
nilsirl[m]: Do you mean override attributes? That sort of configuration?
<nilsirl[m]>
yes that's what I mean
wavirc22 has joined #nixos
<Thra11>
nilsirl[m]: You could try creating a simple overlay which does the modifications.
<Thra11>
nilsirl[m]: Something like that will probably work too.
<nilsirl[m]>
except that that specific syntax doesn't owkr
<nilsirl[m]>
* except that that specific syntax doesn't work
<Thra11>
nilsirl[m]: I'm afraid I'm not knowledgeable enough to help with the syntax.
mehlon has quit [Quit: Leaving]
<nixnewbie>
if I want to fully enumerate everything that affects the hash of a package I've to look for its .drv file and all the .drv files it references, recursively
<nixnewbie>
would that be all?
mexisme_ has joined #nixos
<Thra11>
nixnewbie: sounds like a job for `nix-store -q --tree </nix/store/___.drv>`. (I'm not sure of the answer to your actual question)
<gchristensen>
Mic92: can you tell me why you did this? I don't often run in to people setting up ldap for fun.
o1lo01ol1o has quit [Ping timeout: 240 seconds]
mehlon has joined #nixos
<Mic92>
gchristensen: I learned how to use ldap during some university project and than I found it useful to just add my friend's and family to different services with a click.
<gchristensen>
nice
mehlon has quit [Client Quit]
<Mic92>
Everytime they ask me what the password for this service is, I can answer the same as for the other ones.
<gchristensen>
don't tell niksnut but I've wondered about using ldap for hydra.nixos.org accounts and Grafana and possibly admin access to the infra
<Mic92>
Grafana is a no-brainer. I don't know about hydra's authentication backends.
<Mic92>
In fact grafana's ldap support was very good
<gchristensen>
iirc, somebody has done work to add ldap to hydra
<ajs124>
Mic92: I can drop the YAML support, I just didn't have the time/motivation when I was working on it.
<Mic92>
ajs124: fair enough
<{^_^}>
[nixpkgs] @rycee pushed to master « jwt-cli: fix build on Darwin »: https://git.io/JvfPH
<{^_^}>
[nixpkgs] @rycee merged pull request #77559 → jwt-cli: fix build on Darwin → https://git.io/JvfiM
<Mic92>
If I get to the point where I set my own hydra up, I might look into this.
<tomberek>
gchristensen: hello
<gchristensen>
hello
UndefinedIsNotAF has joined #nixos
<gchristensen>
I'm afraid I'm about to be leaving for several hours :x
aveltras has joined #nixos
<tomberek>
gchristensen: wanted to chat with you about dockerTools
<gchristensen>
hrm, I'm not sure how to configure a default set of starred dashboards ...
<gchristensen>
tomberek: cool, what's up?
<tomberek>
I was trying to make some improvements. Two in particular: Prevent the tar/zip - untar/unzip cycle. And allow some customization of the buildLayered image to prevent imbalanced layerings.
<ajs124>
Mic92: The patch is pretty trivial and kind of shitty, so if you have any good ideas, just (re)implement it and I'll close my PR.
<Mic92>
ajs124: How do role/groups work in hydra? This is the only pain point I see.
<tomberek>
(also wondering about the Schema 2 V2, This is an XYZ problem. The real goal is to allow uploads to registries directly from the a raw nix directory, bypassing the need to load into a local docker.)
<Mic92>
I actually would prefer not to implement that.
knupfer has quit [Remote host closed the connection]
<tomberek>
I've got a few posts in discourse and PRs in nixpkgs for this, but was wondering if any of this is duplicative effort, or if there is a better way.
knupfer has joined #nixos
<gchristensen>
tomberek: all of that sounds pretty good, though I'm a bit unsure about the customisation of building layered images -- but I'm willing to be swayed :) I haven't put much/any efort in to it lately, happy to see yours. I've got to run for several hours now -- we'll talk :)
wavirc22 has quit [Quit: ZNC 1.6.6+deb1ubuntu0.2 - http://znc.in]
nixnewbie has quit []
<ajs124>
Mic92: hydra has like 3 groups, users, admins and... I forgot. What my patch does is, it takes all your LDAP roles that start with hydra and does str(6,). As I said, it's kinda shitty.
xkapastel has quit [Quit: Connection closed for inactivity]
elux has joined #nixos
<elux>
hey all
<elux>
anyone else getting `trace: warning: In file /nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/services/hardware/usbmuxd.nix` when doing nixos-rebuild with unstable? seems the form changed, getting error: `error: The option `users.groups.unnamed-08.1.usbmux' defined in `/nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/services/hardware/usbmuxd.nix' does not exist.`
XenGi has quit [Remote host closed the connection]
<elux>
infinisil: what is timing between a merge and getting that sync'd on the nixos channel? sudo nix-channel --update and sudo nixos-rebuild is still producing the same error
<infinisil>
Ah that takes some time, maybe a day or a couple more
<evanjs>
Or is there something built into the nix stdlib or cargo where I can determine the out directory for broot? All I really need is Cargo’s OUTDIR, methinks
<evanjs>
Wait, I should grep in nixpkgs for OUTDIR, not target
elux has quit [Ping timeout: 268 seconds]
<{^_^}>
[nixpkgs] @markuskowa merged pull request #73746 → dante: fix package under Linux → https://git.io/JeK6q
<evanjs>
Meh. Still nothing. Just some meson/qmake stuffs
<infinisil>
evanjs: There are no files you can glob copy over
<infinisil>
The shell scripts are encoded as a string in rust source code
mallox_ has quit [Quit: Leaving]
mrCyborg has joined #nixos
<{^_^}>
[nixpkgs] @bhipple opened pull request #77568 → cpp-netlib: remove insecure openssl dependency and unnecessary asio → https://git.io/JvfDB
dansho has joined #nixos
opthomasprime has left #nixos [#nixos]
<evanjs>
infinisil: nah they’re generated now in the OUT_DIR
<infinisil>
Oh that was changed? Neat
<infinisil>
Ahh lol sorry didn't click the link, I thought it would go to your earlier comment
<evanjs>
Nah it’s all good. Yeah `target/release/build/broot-*/out` leads you to the out dir but wasn’t sure if there’s a cleaner way that we grab cargo OUT_DIR or etc
<evanjs>
From either a cargo or a nix context/toolset
<{^_^}>
[nixpkgs] @zimbatm pushed commit from @bhipple to master « rustPlatform.buildRustPackage: cleaner output on verifyCargoDeps (#77567) »: https://git.io/JvfDD
risson has quit [Remote host closed the connection]
<{^_^}>
[nixpkgs] @zimbatm merged pull request #77534 → doc: update rust example on buildRustPackage → https://git.io/JvfRu
<{^_^}>
[nixpkgs] @zimbatm pushed commit from @bhipple to master « doc: update rust example on buildRustPackage (#77534) »: https://git.io/JvfDS
werner291 has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
risson has joined #nixos
Chiliparrot has joined #nixos
o1lo01ol1o has joined #nixos
zeta_0 has joined #nixos
o1lo01ol1o has quit [Ping timeout: 268 seconds]
<{^_^}>
[nixpkgs] @d-goldin opened pull request #77569 → doc: python: refreshing virtualenv section for venv → https://git.io/Jvfym
<{^_^}>
[nixpkgs] @jchv closed pull request #67897 → wlrobs: init at tip → https://git.io/fjp4G
<dirkx_>
After about 3-5 qemu startups in nixos-test -- things get slower - and ultimately they will hang near/at "systemd[1]: Starting Name Service Cache Daemon...". I've never managed to run more than about 15 of the scripts in nixos/test. Does this ring a bell ? Things are ran from a clean docker container with pure/simple lnl7/nix and the nixpkgs mounted across into it.
risson has quit [Quit: Pouet. WeeChat 2.6]
domogled has joined #nixos
<{^_^}>
[nixpkgs] @jtojnar merged pull request #77501 → tree-wide: fix more warning related to loaOf deprecation → https://git.io/JvfLM
<clever>
evanjs: thats all of the arguments that nixpkgs can accept, as an example
mexisme_ has quit [Ping timeout: 268 seconds]
dm9 has quit [Quit: WeeChat 2.7]
jco has joined #nixos
Neo-- has joined #nixos
<evanjs>
clever: right. I was thinking of grepping I think in the opposite direction. Like "what packages take an argument of fish"
<evanjs>
On another note... just found installShellCompletion... this should make what I'm doing less dumb >_>
<infinisil>
Oh nice
kleisli has quit [Ping timeout: 258 seconds]
<infinisil>
Though I wish we had these path conventions documented somewhere
<infinisil>
And well-defined
<evanjs>
infinisil: How I feel about the docs most of the time. Extremely helpful, but often times there's something siginificant missing, though it's not really anybodys fault. Just off-putting at times
<evanjs>
infinisil: oh sure that too. I guess that might help with getting more people to contribute
bvdw has joined #nixos
o1lo01ol1o has quit [Ping timeout: 265 seconds]
<{^_^}>
[nixpkgs] @marsam closed pull request #77545 → broot: Mark as broken → https://git.io/JvfVO
bvdw has quit [Client Quit]
cosimone has joined #nixos
bvdw has joined #nixos
<evils>
infinisil: what kind of demo are you looking for for rfc64?
o1lo01ol1o has joined #nixos
Church- has joined #nixos
<infinisil>
evils: Like a mini-version of nixpkgs, showing off all things we'll have to do to get it working, with all the tooling set up such that it can be rendered
<evils>
i'm thinking that risks not demonstrating the "fast" requirement
hoek has quit []
Guest92090 has quit [Ping timeout: 258 seconds]
<evils>
atm i'm thinking you want a copy of the doc folder, converted to $candidate_format
<infinisil>
So this would include some inline nix code being rendered with syntax highlighting and show off how docs in nix code can be integrated
hoek has joined #nixos
<infinisil>
evils: I think it could be quite hard to do a whole migration of everything, there's both nixpkgs docs, option docs, nixos docs and some docs in module folders
Guest92090 has joined #nixos
<evils>
yea the "extracted" docs couldo be tricky...
mrCyborg has joined #nixos
<infinisil>
And it also makes it hard to demo: Which source code should be looked at for a good demo? Where is it rendered? How to render it? All of nixpkgs around it would add a lot of distracting noise
<infinisil>
So a smallish demo made for the purpose of demoing sounds better
<infinisil>
imo
<evils>
i take it you would leave the demonstration of <10s to the end?
<infinisil>
Hm yeah I guess that's hard to demo with a small example
<infinisil>
I guess that could be excluded of the demo
gustavderdrache has quit [Quit: Leaving.]
o1lo01ol1o has quit [Ping timeout: 268 seconds]
<infinisil>
And we'll just have to interpolate the speed to all of nixpkgs
<infinisil>
guestimating
<evils>
i suspect that unless the entirety of the documentation in nix is outlined as a demo target, someone is going to do a full thing in 1 language, and by the time the speed is shown, it won't matter because it's the only demo to get there?
<infinisil>
You mean for a small demo?
<infinisil>
Another reason for a small demo is that there's *not* too much work
<infinisil>
And according to the current RFC status, without a demo it won't be a candidate for choosing
<infinisil>
So this should motivate people interested in X to do such a demo (or argue *really* well about why we don't need one)
<evils>
no i mean once i suspect the effort required to demonstrate it at scale is so much, if anything gets there, the demo will be so complete, the time won't actually matter if it's an improvement in other respects
<evils>
i may be overestimating the scale of the problem :P
dansho has quit [Quit: Leaving]
<evils>
i wouldn't mind trying for an adoc demo, but i'm not sure what that should look like, and having at least 1 reference demo would be nice
<infinisil>
You mean the scale of a *small* demo? I'm confused
<evils>
i mean the scale of the entire thing, and the scale of a demo that can prove the speed at full scale
<infinisil>
Hm yeah
<infinisil>
I guess once somebody made a demo it can be forked for other format demos
<infinisil>
Currently I'm just imagining like 3 doc files that have some references interlinking them, a .nix file like { foo.doc = ''bla bla bla''; } where foo represents an option with a description that should be integrated into the render, while some section links to the option
<evils>
i don't recall seeing documentation about the documentation, but an outline of which features should be provided will be needed, and set by the first to make a demo i guess
<infinisil>
evils: Requirements are in the RFC already
<{^_^}>
[nixpkgs] @offlinehacker pushed 2 commits to master: https://git.io/JvfQB
<samueldr>
there is a fetchFromGitLab too
<samueldr>
with the added `domain` parameter, for custom installs (cc kuznero)
<{^_^}>
[nixpkgs] @worldofpeace opened pull request #77575 → lib/types: dont warn loaOf for home-manager namespace → https://git.io/JvfQE
<samueldr>
there are a couple other services too with similar fetchers; they usually use non-git ways to get the source, which usually ends up with smaller fetches
<kuznero>
samueldr, that might be what coule fit, thanks!
<gchristensen>
worldofpeace: what is going on in that file? (w.r.t. your pr)
<gchristensen>
I'm way shocked to see hard-coded options in the types library :o
<{^_^}>
[nixpkgs] @worldofpeace merged pull request #77324 → nixos/buildbot: fix eval, and some twin issues → https://git.io/Jveiu
<{^_^}>
[nixpkgs] @worldofpeace pushed 3 commits to master: https://git.io/JvfQg
lovesegfault has joined #nixos
<dsx>
Is there a way to represent integer as «exactly 16 hex digits» in nix?
<gchristensen>
I am pretty sure Nix doesn't have hex representation
<dsx>
And no basic string formatting either?
mexisme_ has quit [Quit: WeeChat 2.7]
<gchristensen>
just interpolation. Nix is really not intended to be a general purpose language, though the line blurs often :P
mexisme has joined #nixos
<dsx>
It surely does right now :)
knupfer has quit [Ping timeout: 245 seconds]
raoul has quit [Read error: Connection reset by peer]
raoul has joined #nixos
<kuznero>
I am trying to reference exiv2's include folder with is found in exiv2-dev... But I don't understand what is exiv2-dev... is it not a package, right? exiv2 is package
mrCyborg has quit [Ping timeout: 245 seconds]
<adisbladis>
kuznero: exiv2 is a multi output derivation
klntsky has quit [Remote host closed the connection]
klntsky has joined #nixos
<adisbladis>
kuznero: Sure, though NIX_CFLAGS_COMPILE will be picked up regardless of build system
juliusdeane has joined #nixos
<juliusdeane>
Does anyone know how to get SBCL to find C libraries (eg libSDL, libffi) successfully?
<kuznero>
adisbladis, I added `NIX_CFLAGS_COMPILE = "-I${exiv2.dev}/include";` to my derivation, though it still fails with `CMake Error in core/app/CMakeLists.txt: Imported target "exiv2lib" includes non-existent path "/nix/store/fx3yak6bf428214vk1i9ap4l3jplcg0j-exiv2-0.27.2/include"` referring to the ${exiv2} and not ${exiv2.dev}.
joncojonathan has joined #nixos
joncojonathan has quit [Client Quit]
GiGa|Chromebook has joined #nixos
GiGa|Chromebook has quit [Client Quit]
o1lo01ol1o has joined #nixos
<symphorien>
is it possible to change the default value of an option from another module ?
o1lo01ol1o has quit [Ping timeout: 268 seconds]
<gchristensen>
yike,s why?
<symphorien>
I want to use sslh, and hence change the default ssl port of nginx to something different from 443
<Shell>
I wound up removing the lockfile, being able to nix-store --delete the derivation and it works again.
<symphorien>
I could to it on *all* vhosts, but this would be cumbersome and break separation of concerns
zeta_0 has joined #nixos
zeta_0 has quit [Client Quit]
<{^_^}>
[nixpkgs] @paulreimer opened pull request #77576 → vimPlugins.nvim-gdb: init at 2019-10-28 → https://git.io/Jvf5k
<adisbladis>
kuznero: Maybe your build somehow assumes a relative location?
<kuznero>
adisbladis, does not seem so, as it seems to be able to resolve the location of exiv2 package. It just assumed that include/ is under that package somehow.
<{^_^}>
[nixpkgs] @NeQuissimus pushed 5 commits to release-19.09: https://git.io/Jvfdt
GiGa|Chromebook has joined #nixos
<GiGa|Chromebook>
quit
GiGa|Chromebook has quit [Client Quit]
GiGa|Chromebook has joined #nixos
<GiGa|Chromebook>
Evening all
vld has joined #nixos
<{^_^}>
[nixpkgs] @ryneeverett opened pull request #77580 → gitstatus: patch even fewer lines → https://git.io/JvfdC
<{^_^}>
[nixpkgs] @veprbl merged pull request #77451 → glog: fix on darwin; provide gflags → https://git.io/JvvFa
<{^_^}>
[nixpkgs] @veprbl pushed commit from @tobim to master « glog: fix on darwin, provide gflags (#77451) »: https://git.io/Jvfd4
vld has quit [Ping timeout: 258 seconds]
ciil_ has quit [Ping timeout: 268 seconds]
GiGa|Chromebook has quit [Ping timeout: 268 seconds]
GiGa|Chromebook has joined #nixos
ciil has joined #nixos
felixfoertsch23 has quit [Ping timeout: 260 seconds]
jgeerds has quit [Ping timeout: 268 seconds]
Jackneill has quit [Remote host closed the connection]
GiGa|Chromebook has quit [Client Quit]
duckfullstop has quit [Ping timeout: 240 seconds]
<tjg1>
is it possible to use grub2 instead of u-boot on the raspberry pi builds of nixos? anyone tried this?
duckfullstop has joined #nixos
m1cr0man has quit [Remote host closed the connection]
jgeerds has joined #nixos
<gchristensen>
any recommended software for ripping an audio CD?
<gchristensen>
(CLI only)
<drakonis>
cdtools?
<EsperLily>
I want to package a project that relies on Haskell Stack to build. I see in the docs a `buildStackProject` but it appears to be for local use and I don't see any usages of it in nixpkgs directly. If I merely try and use `stack` directly it fails because it can't make /homeless-shelter/.stack. Does anyone have any experience with this?
<simpson>
gchristensen: I have grown used to abcde. It wraps cdparanoia (the right thing to wrap IMO) and can make queries to MusicBrainz.
<drakonis>
cdrtools
<drakonis>
abcde is good too
<infinisil>
EsperLily: buildStackProject doesn't work in the sandbox, this is why it's not allowed in nixpkgs
<EsperLily>
ah
<gchristensen>
neat, thanks simpson (though neither of these will have matches on musicbrainz)
<EsperLily>
infinisil: does stack work at all in the sandbox? Is there some way to build a stack project without stack? I'm not actually familiar with building Haskell projects
<simpson>
gchristensen: Ugh, you are reminding me that the clock is ticking on some home-burned audio CDs I have yet to rip. Thanks.
<infinisil>
EsperLily: For nixpkgs, to package a haskell package that's *not* on hackage, you should use cabal2nix and haskellPackages.callPackage
<infinisil>
EsperLily: And this might need some overrides and fixes, but overall should work with some effort
<EsperLily>
ok so if I cd into the source directory where there's a foo.cabal file then I can use cabal?
<infinisil>
EsperLily: The only ways to build stack projects without any effort (by taking exactly the versions stack gives) is either using stack2nix or haskell.nix, both of which include huge files and are therefore not ideal for nixpkgs
<infinisil>
Also not optimal because they duplicate dependencies
<EsperLily>
the stack.yaml declares zero dependencies fwiw
<EsperLily>
though I guess the lockfile is pinning a specific snapshot of stackage
<infinisil>
The cabal file usually specifies dependencies
<EsperLily>
ok yeha I see stuff in there
<EsperLily>
I'll check out cabal2nix, thanks
<infinisil>
stack is only there to pin these dependencies to a specific stackage snapshot
<EsperLily>
ah
kleisli has joined #nixos
<infinisil>
EsperLily: An ever better thing would be if the package was on hackage
<EsperLily>
yeah but it's not
felixfoertsch has joined #nixos
<EsperLily>
heck, this package doesn't even have any releases, so I'm not sure if I'd actually end up contributing it upstream
<infinisil>
Ever or just as of now?
<EsperLily>
I mostly just want to play with it locally without setting up stack in my user environment
<infinisil>
EsperLily: Oh well if it's not for nixpkgs you can just use buildStackProject
<infinisil>
and use --option sandbox false
<EsperLily>
well I mean, I want this in my overlay
<infinisil>
Ah I see
<EsperLily>
and then if it works well maybe I'd contribute it after all
<EsperLily>
also I just want to understand how to even package this sort of project
<infinisil>
If fixing the build gets too annoying I'd then recommend stack2nix or haskell.nix
<EsperLily>
ok, thanks
<infinisil>
(these work in the sandbox but are unfit for nixpkgs)
<o1lo01ol1o>
I've just copied a hydra servers /nix/store to `s3` and am getting this when I try to build a derviation: error: AWS error fetching '6mbjfn4431zm2d784bk2s56qx9lllz7f.narinfo': Access Denied. Is there a way to track down the problematic derivations and remove them?
<{^_^}>
[nixpkgs] @jonringer pushed commit from @sikmir to master « python3Packages.gpxpy: init at 1.3.5 »: https://git.io/JvfFf
gustavderdrache has joined #nixos
vidbina_ has quit [Ping timeout: 258 seconds]
knupfer has quit [Ping timeout: 245 seconds]
<gchristensen>
abcde is amazing
<Valodim[m]>
hum. on my system python3 venv fails to initialize any venv
<gchristensen>
I wish handbrake had that text interface :)
<Valodim[m]>
python3 -m venv .
<Valodim[m]>
Error: Command '['/home/valodim/.cache/vim/venv/neovim3/bin/python3.7', '-Im', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1.
<Valodim[m]>
(directory is empty, so nothing special about that)
<Valodim[m]>
running that command manually:
<Valodim[m]>
ERROR: Could not install packages due to an EnvironmentError: [Errno 30] Read-only file system: '/nix/store/k5rdcbcwwpvj7l9f1yvd5mfggcfz16kk-python3-3.7.5/lib/python3.7/site-packages/easy_install.py'
fenedor has joined #nixos
<Valodim[m]>
I'm assuming that's not expected behavior, but I don't really know where to begin debugging :) anyone able to reproduce this?
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
fendor has quit [Ping timeout: 240 seconds]
<gchristensen>
simpson: ... do you know something like abcde but for DVDs? :()
<gchristensen>
:) something that'll check a musicbrainz-like thing, and also CLI only
noudle has quit []
<simpson>
gchristensen: Not really. It's been a while, though, so maybe something good has evolved.
<lovesegfault>
colemickens: I fixed the sway pkg I think
<lovesegfault>
PR incoming
<{^_^}>
[nixpkgs] @andir opened pull request #77582 → libvirtd: fix path to ebtables → https://git.io/JvfF0
felixfoertsch has quit [Ping timeout: 268 seconds]
juhe has joined #nixos
Rusty1 has quit [Remote host closed the connection]
vidbina_ has joined #nixos
<colemickens>
My only thought was... Can I just drop the wrapper? It should still be in nixpkgs and I'd rather not copy/maintain the wrapper. Otherwise I'll probably merge that later.
<lovesegfault>
colemickens: I thought the same, I wish we could not have to maintain that cloned wrapper
<juhe>
I'm having trouble "nix-copy-closure" to target machine. it ends with return code 0 (all OK), but closure is not in the /nix/store/ (and nothing is print besides). The "nix copy" behaves similarly. Any idea what's wrong?
<evanjs>
Wow I feel smart. Note to self... enableTCPIP does not open the firewall for postgres >_> I wonder if we should mention that in the option description or if I just need to read better haha
<gchristensen>
openssh is the only one which opens up firewall rules
<evanjs>
Well I mean there are some port options that say e.g. "This port should be added to networking.firewall.allowedTCPPorts."
<evanjs>
But yeah that's true. At least implicitly
<infinisil>
juhe: Add -vv, or more -v's
<infinisil>
Or a single -v
<samueldr>
in the nixos modules systems, is there a type that deep merges attrs?
<juhe>
infinisil: hm, -v and -v -v didn't output anything, -v -v -v produced output which is similar what ssh is outputting (I used "nix -v -v -v copy --from ssh://user@host /nix/store/...). Last line was: "debug1: Sending command: nix-store --serve --write"
<infinisil>
samueldr: You can create a recursive attrsOf
<infinisil>
With some atom types based on what the non-attribute values should be
o1lo01ol1o has quit [Remote host closed the connection]
domogled has quit [Ping timeout: 265 seconds]
bhipple has joined #nixos
<benley>
what's the trick to actually _enabling_ upstream systemd units when a package provides them? Adding the package to systemd.packages put the .service file in /etc/systemd/system, but it doesn't actually get started at boot
<infinisil>
benley: It might be `systemd.services.<name>.enable = true`
<infinisil>
I've seen that be used sometimes, haven't tried it out myself though
o1lo01ol1o has joined #nixos
<benley>
will that work even if the unit file already exists in a package? I guess that's what overrides are for, and I'll try it
<benley>
that resulted in a file at etc/systemd/system/<name>.service.d/overrides.conf, so that's cool, but ... nixos-rebuild switch still doesn't start the unit