<growpotkin>
infinisil-m: I saw you closed the `vulkan-*' issues, I was wondering if that was a result of a fix in Nixpkgs Unstable or some other reason.
<emptyflask>
and the key is stored in a sqlite state file
<angersock>
so, how do i get that key over on to the remote box to start with?
<angersock>
i have a nixos box (clean install), and i'd like to manage it with nixops from my workstation
<clever>
angersock: if you are using the none backend, an ssh agent is the simplest option
<clever>
the keys in your agent will leak into nixops, and still work
growpotkin has joined #nixos
drakonis has joined #nixos
<clever>
so install a temporary key on the remote machine thru any means you like, and add the matching private to your agent with ssh-add
<clever>
then nixops can get in, and install its own key
<clever>
nixops will only record that its own key is working, if the switch-to-configuration passes with no errors, so issues in your systemd services can force you to keep relying on the ssh agent
<clever>
but once it deploys successfully once, it will remember that it has installed the key
<angersock>
ah, gotcha
<angersock>
i checked the docs and didn't see obvious mention of this--was i looking in the wrong spot?
<clever>
some of this isnt documented, and ive just memorized chunks of the source
<infinisil-m>
<growpotkin "infinisil: I saw you closed the "> Very early in the issue it was mentioned that it was fixed in master
jluttine has joined #nixos
<angersock>
aha, this seemed to work
<angersock>
thanks all
angersock has quit [Quit: Leaving]
kiwaalkjdskjdkjf has quit [Ping timeout: 246 seconds]
veleiro has quit [Remote host closed the connection]
waleee-cl has quit [Quit: Connection closed for inactivity]
m0rphism has quit [Ping timeout: 258 seconds]
ddellacosta has joined #nixos
felixfoertsch has joined #nixos
emptyfl4sk has joined #nixos
felixfoertsch has quit [Ping timeout: 276 seconds]
ivan has quit [Quit: lp0 on fire]
dustinm has quit [Quit: Leaving]
felixfoertsch has joined #nixos
t58 has quit [Quit: Leaving]
dustinm has joined #nixos
wfranzini has quit [Remote host closed the connection]
emptyfl4sk has quit [Ping timeout: 246 seconds]
wfranzini has joined #nixos
ivan has joined #nixos
mexisme has quit [Ping timeout: 240 seconds]
endformationage has joined #nixos
dustinm- has joined #nixos
dustinm has quit [Ping timeout: 240 seconds]
ivan_ has joined #nixos
ivan has quit [Ping timeout: 268 seconds]
ivan_ is now known as ivan
Ilya_G has joined #nixos
das_j has quit [Remote host closed the connection]
iqubic has quit [Ping timeout: 245 seconds]
das_j has joined #nixos
Ilya_G has quit [Ping timeout: 268 seconds]
<notgne2>
I'm trying to use extraPostFetch for pkgs.fetchzip but it doesn't seem to be working
noudle has quit []
<notgne2>
or maybe I'm not understanding how $out works?
<craige>
eva_1241808 even starts with "<!DOCTYPE html> "
<samueldr>
yeah, that file is a cached artifact
sethetter has joined #nixos
* craige
nods
<samueldr>
it's the contents of the page on the hydra
sgraf has joined #nixos
scoates has joined #nixos
chrisaw has joined #nixos
davidtwco has joined #nixos
hamishmack has joined #nixos
<samueldr>
the report is the stdout of the command
<craige>
That makes sense.
zimbatm has joined #nixos
midchildan has joined #nixos
<craige>
Right, so pipe that instead?
nand0p_ has joined #nixos
<samueldr>
so, ./eval-report ... | gist ...
<craige>
samueldr++
<{^_^}>
samueldr's karma got increased to 115
scott has joined #nixos
<hpfr[m]>
Whenever I update, I have to rebuild qtbase-5.12.3 from source. This takes a long time, how can I determine what is causing it?
pittma has joined #nixos
mpickering has joined #nixos
Peter_Storm has joined #nixos
<samueldr>
craige: remember that there is no cache eviction, so if you're making a report for an incomplete eval, `rm` the build and eval files
dmj` has joined #nixos
<samueldr>
craige: the caching was useful two-fold; it made sure I wouldn't pound the hydra when testing, and it also is useful when passing more than one eval
<samueldr>
"but why would you pass more than one eval?"
<{^_^}>
[nixpkgs] @acowley opened pull request #68470 → kdenlive: Avoid exposing configurable paths to melt → https://git.io/Jemng
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kvda has joined #nixos
abathur has quit [Ping timeout: 246 seconds]
hmpffff has joined #nixos
bahamas has quit [Ping timeout: 276 seconds]
tdeo has quit [Quit: Quit]
tdeo has joined #nixos
tdeo has joined #nixos
tdeo has quit [Changing host]
fusion809 has quit [Remote host closed the connection]
fusion809 has joined #nixos
<craige>
A thing of beauty, samueldr - thanks. Those reports are incredibly useful and being able to generate my own will stop me trying to resolve issues that Europeans have already resolved :-)
<srhb>
worldofpeace: You recently touched some login stuff, do you know what's responsible for setting DBUS_SESSION_BUS_ADDRESS reported by systemctl --user show-environment? I'm trying to debug why I see two different addresses in that var.
<worldofpeace>
srhb: dbus-launch does
<srhb>
worldofpeace: Thanks.
kvda has joined #nixos
mexisme has joined #nixos
<worldofpeace>
xsessionWrapper uses dbus-launch as well, and I'm pretty sure uses systemctl to import that environment variable
<hpfr[m]>
Recently rebuilt and I think the rebuild compiled qt5base from source which took forever. Installed keepassxc and it also built from source, and it can’t find the Qt platform plugin “xcb” in “” and fails to start. How can I troubleshoot this? No idea why qt built from source
hyper_ch2 has quit [Remote host closed the connection]
zupo has joined #nixos
justbeingglad has joined #nixos
justbeingglad has left #nixos [#nixos]
<provessor[m]>
hpfr: That happened to me yesterday
emptyfl4sk has joined #nixos
lambda-11235 has quit [Quit: Bye]
hyper_ch2 has joined #nixos
<provessor[m]>
Can't help with a fix though, I switched from systemd boot to grub so had to run nixos-install from the install media and it's fine now
<hpfr[m]>
provessor: have you tried nixos rebuilding recently?
<hpfr[m]>
With an updated channel
emptyfl4sk has quit [Ping timeout: 258 seconds]
m0rphism has joined #nixos
<{^_^}>
[nixpkgs] @tadeokondrak opened pull request #68485 → qutebrowser: add setuptools as a dependency to fix startup → https://git.io/JemWw
<provessor[m]>
hpfr: I built from unstable yesterday and keepassxc and qtcreator stopped working with the same error as you
Ariakenom__ has joined #nixos
niksnut has joined #nixos
<hpfr[m]>
I wish I knew enough nix to try to diagnose and report it if it’s a bug, if it breaks all Qt apps it should be fixed quickly but maybe it doesn’t happen to everyone
<provessor[m]>
But then I had to do a nixos-install from the install media to switch from systemd boot to grub and when I built from unstable after it worked fine
<dermetfan>
hpfr[m]: I have the same error with qcachegrind
Ariakenom_ has quit [Ping timeout: 240 seconds]
mexisme has joined #nixos
vonfry has quit [Quit: WeeChat 2.4]
Ariakenom has joined #nixos
<teto>
does ofborg work ? there are some PRs I wanted to merge but without ofborg's feedback, I prefer not to
<provessor[m]>
It's probably an error with nix not setting up xcb right after the rebuild
<provessor[m]>
What if you run nix gc and then rebuild
hyper_ch2 has quit [Remote host closed the connection]
<hpfr[m]>
provessor: like just run nix-collect-garbage and then nixos-rebuild switch?
dycan has joined #nixos
<dom`>
ghuntley: maybe you know?
o1lo01ol1o has joined #nixos
<dminuoso>
Okay Im not sure how exactly. I have a package and want to extend it with a custom config file option, such that the option gets written to a file. How would this be specified exactly?
<dminuoso>
I think modifying the nix package is more sensible, since this is a feature pertinent to the unifi package, not the nixos module.
<tdeo>
fwiw, ${stateDir}/data is guaranteed to exist because of the systemd.tmpfiles.rules at line 151
<dminuoso>
tdeo: Ahh.
<dminuoso>
tdeo: That has really confused me, I didn't understand how this module ensured that the directory existed at the right time. Now it makes sense.
o1lo01ol1o has joined #nixos
<dminuoso>
I suppose Im going to use pkg.writeText to write this file into the nix store, and then bind mount it into the correct location in the stateDir
<dminuoso>
Presumably mounts are executed in order? Or is there an interface to specify dependencies?
veske has joined #nixos
<layus[m]>
dminuoso: Could you tell us what file path is looked at by unifi
<layus[m]>
* @freenode_dminuoso:matrix.org: Could you tell us what file path is looked at by unifi ?
<tdeo>
I don't think bind mounts are usually used, the approach I would personally take is to create/delete it before the server is started
<tdeo>
(but there might be a better way, not sure)
<dminuoso>
layus[m]: Absolutely. It's just config.gateway.json - essentially unifi is a software defined networking controller. If you have an USG router, it will automatically provision it with whatever you configure. This file lets you manually specify additional configuration stanzas that unifi will provision to the USG router, if it exists.
<dminuoso>
(This is mostly used to provision features to the USG router, that you cannot configure with the web GUI)
<dminuoso>
This is a necessary feature for, essentially, any intermediate unifi user. :)
<layus[m]>
So this definitely belongs to the nixos service, not the nixpkgs package
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}>
[nixpkgs] @gebner pushed 2 commits to release-19.09: https://git.io/Jemlz
<dminuoso>
layus[m]: Mind my asking, why not nixpkgs?
<layus[m]>
Ok, didn't click the link: It is presumably `/usr/lib/unifi`
<{^_^}>
[nixpkgs] @fgaz opened pull request #68487 → shattered-pixel-dungeon: init at 0.7.4c → https://git.io/Jemlw
<layus[m]>
So, what you want if I get things correctly, is to use nixos options to configure variables that will go in `/usr/lib/unifi/data/sites/site_ID`
<layus[m]>
well, in `/usr/lib/unifi/data/sites/site_Iconfig.gateway.json`
<layus[m]>
* well, in `/usr/lib/unifi/data/sites/site_ID/config.gateway.json`
Zer0xp has joined #nixos
<layus[m]>
possibly the simplest way to do that is to use the preStart command of the service to symlink /usr/lib/unifi/data/sites/site_ID/config.gateway.json to a store file generate with writeFile and toJSON.
ng0 has quit [Quit: Alexa, when is the end of world?]
cfricke has quit [Ping timeout: 240 seconds]
<etu>
Anyone got any good example of a derivation where the source isn't allowed to be fetched automatically? Like nonfree stuff. I need to write a derivation like that.
<etu>
ah, requireFile. Didn't know that that was what I was looking for. I looked at the fetchers section of the nixpkgs manual but yeah, it's not really a fetcher.
<etu>
symphorien++
<{^_^}>
symphorien's karma got increased to 21
dycan has joined #nixos
asymptotically has joined #nixos
<{^_^}>
[nixpkgs] @Mic92 pushed commit from @B4dM4n to release-19.09 « django: don't wrap binary files twice »: https://git.io/JemlN
ryantm has quit [Ping timeout: 258 seconds]
thc202 has joined #nixos
aswanson has quit [Quit: WeeChat 2.4]
veske has quit [Quit: This computer has gone to sleep]
<FRidh>
multun: in principle master and 19.09 branches can diverge now, that is fine. Sphinx is however quite a "core" package so it's more practical to wait with updating that one well after a release.
nspin has joined #nixos
Makaveli7 has quit [Quit: WeeChat 2.6]
Zer000 has quit [Ping timeout: 240 seconds]
veske has quit [Quit: This computer has gone to sleep]
<alexarice[m]>
anyone else finding Bluetooth Manager (is that its name?) throwing an error about not finding dbus?
xkapastel has joined #nixos
<{^_^}>
[nixpkgs] @worldofpeace merged pull request #68485 → qutebrowser: add setuptools as a dependency to fix startup → https://git.io/JemWw
<{^_^}>
[nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/Jem8p
<multun>
FRidh: oh so it wasn't ok because it would break the formerly upcoming 19.09 release ?
<{^_^}>
[nixpkgs] @worldofpeace pushed commit from @tadeokondrak to release-19.09 « qutebrowser: add setuptools as a dependency »: https://git.io/Jem8j
sigmundv has quit [Quit: Leaving]
<FRidh>
multun: no, it would not break it. It's just for practical reasons.
<{^_^}>
[nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JemBe
<{^_^}>
[nixpkgs] @worldofpeace pushed commit from @aanderse to release-19.09 « love_0_8: fix broken build »: https://git.io/JemBv
<Twey>
niksnut: I expect the IFD itself (i.e. the evaluation of the source) to be bound to one CPU. But it's surprising to me that the whole derivation that *uses* it is bound to one CPU.
coderobe has joined #nixos
coderobe has quit [Client Quit]
mexisme has quit [Ping timeout: 246 seconds]
coderobe has joined #nixos
ctrlshiftPrhaps has quit [Ping timeout: 240 seconds]
vonfry has joined #nixos
emptyfl4sk has joined #nixos
o1lo01ol1o has joined #nixos
fendor has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zupo has joined #nixos
zupo has quit [Client Quit]
emptyfl4sk has quit [Ping timeout: 276 seconds]
<{^_^}>
[nixpkgs] @peti pushed to master « python-alembic: add missing 'setuptools' to propagatedBuildInputs »: https://git.io/JemBM
<{^_^}>
[nixpkgs] @peti pushed to release-19.09 « python-alembic: add missing 'setuptools' to propagatedBuildInputs »: https://git.io/JemBS
magneticduck has joined #nixos
<Izorkin>
Mic92: not need to change PR?
andi- has quit [Quit: WeeChat 2.6]
andi- has joined #nixos
<magneticduck>
I'm looking at a Python application and a "plugin" package. The plugin depends on the application, so to collect the plugin into a derivation I'm using buildPythonPackage with the application as a buildInput. However, now I want to run the application with the plugin "installed" into the library paths that python considers, so that it can find the plugin at runtime.
hpfr has joined #nixos
<Miyu-chan>
magneticduck: I'd use withPackages.
<magneticduck>
Usually, to run an application with a certain python library registered in the library paths, I supply the library in buildInputs. But, I can't do that in this case because it would induce a circular dependency.
<Miyu-chan>
It builds a python-env which builds the PYTHON_PATH for you.
<magneticduck>
Great, thanks.
<Miyu-chan>
FWIW, if you need it in build-time, you can't do much about that.
<magneticduck>
heh, yeah
hpfr has quit [Remote host closed the connection]
fendor has quit [Ping timeout: 240 seconds]
vonfry has quit [Quit: WeeChat 2.4]
<Twey>
I don't think I understand what lib.makeScope is *for*
<Miyu-chan>
Twey: Subpackagesets.
<Miyu-chan>
I'm guessing useful to avoid naming conflicts.
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<magneticduck>
are there any tools that give nix-build a nicer progress monitor? like, perhaps it could indicate its progress through a large set of derivations instead of just spitting out the build output from whatever it's currently working on
<manveru>
magneticduck: that's what `nix build` is for
<eyJhb>
Thanks ! I will look at that. Would be nice if I could get something working... :)
drakonis has joined #nixos
ctrlshiftPrhaps has quit [Ping timeout: 245 seconds]
<manveru>
eyJhb: you should be able to check the `condition` on `config` and `firewall` to see if they're set based on your current config
__monty__ has joined #nixos
<manveru>
this is basically how `nixos-option` works
<magneticduck>
manveru, nice. does nix {build,repl,copy ...} aim to replay nix-build, nix-repl, nix-copy-closure ... ?
<magneticduck>
s/replay/replace
<manveru>
eventually... but not for a long time
<eyJhb>
manveru: I may be overcomplicating things, I could probably ( __monty__ ) just set `containers.<name>.privateNetwork = false;`, and I would not have to do all this. Not quite sure
<manveru>
still doesn't have feature parity and there's two decades of code that still uses the old commands
<manveru>
eyJhb: sure, that works too, if you don't want separationn
drakonis_ has quit [Ping timeout: 276 seconds]
<manveru>
kinda like running docker containers with host networking
<eyJhb>
Yeah, not quite sure if I need that seperation. I just like the idea someone mentioned, that they run all proprietary in containers
<eyJhb>
But if I could make something pretty, then why not seperate networks as well. But I doubt my Nix :p
dycan has quit [Remote host closed the connection]
<averell>
this kexec-tools fix in staging is basically 90% of failing 19.09 packages. sometimes this process makes no sense.
<craige>
Re: ZHF - a lot of evaluations failed due to kexec-tools problem that was resolved prior to the last evaluation (1541808) yet the kexec-tools related failure still occurred. Is there something else that still needs to be done to clear the kexec-tools related issues that I'm missing?
<Taneb>
craige: first question, did the resolution get backported?
<manveru>
it was merged into staging and staging-19.09, but not master, afaict
<FRidh>
What resolution? Could you give a revision
<{^_^}>
[nixpkgs] @roberth opened pull request #68491 → Fix dontRecurseIntoAttrs + add to lib → https://git.io/Jem07
<craige>
I do not know. Perhaps that's what we're waiting for? I didn't see that mentioned in the PR or commits but some people were pinged for "staging manipulations", Taneb
<Taneb>
craige: as manveru said, it looks like it's in staging-19.09 which means it's been backported but not got into the main 19.09 branch yet
<FRidh>
ah ok. That one is in staging-19.09. Once that branch looks good, it will be merged into release-19.09 and end up in the nixos-19.09 channel
<craige>
Cool, so that's why we're still swamped with kexec-tools build fails then?
<averell>
yes, that was my point exactly one minute before :)
<craige>
:-)
Chiliparrot has joined #nixos
<Taneb>
Is there a Hydra jobest for staging-19.09?
<craige>
Thank you Taneb averell manveru for the clarification.
<tyrion-mx>
Hello, I am trying to figure out why the `breeze-icons` don't seem to be available to gtk applications. I installed breeze-icons, breeze-gtk and lxappearance, but whenever I open lxappearance, I get errors like this: ` Error loading theme icon 'help-about' for stock: Icon 'help-about' not present in theme breeze`
<eyJhb>
__monty__: because of our properly/probably converstation a week back :p
<m15k>
Hi. I downloaded the VirtualBox image and wondered that /etc/nixos/configuration.nix is not writable. I wonder if the image is meant to be in an unmodifiable state?
<tyrion-mx>
If anyone has any hints, feel free to mention me, I will read the logs when I come back, thank you :)
vonfry has quit [Quit: WeeChat 2.4]
dycan has joined #nixos
lord| has quit [Ping timeout: 244 seconds]
<worldofpeace>
tyrion-mx: you need to install an icon theme that provides icons. hicolor-icon-theme is just a skeleton of directories
<worldofpeace>
so maybe try adwaita-icon-theme, or any other icon theme that makes sense for your setup
<tyrion-mx>
worldofpeace: should't breeze-icons provide icons?
lord| has joined #nixos
asymptotically has quit [Quit: Leaving]
<worldofpeace>
tyrion-mx: just scrolled up to see the rest of your messages, so you have those icon themes installed but certain gtk apps lack icons?
<worldofpeace>
your example said 'help-about' was not available, I'm not sure if the breeze icons fallback to adwaita for certain things. but it's probably worth a try
<tyrion-mx>
I did not test on "real gtk" apps, but lxappearance is not showing any icon and giving those errors
emptyfl4sk has joined #nixos
ctrlshiftPrhaps has joined #nixos
<tyrion-mx>
Ok, this is weird, I installed adwaita and lxappearance is now showing icons, but even if I click on breeze it shows adwaita icons ... BUT pcmanfm is using the breeze icons apparently
<tyrion-mx>
do you know any other gtk app I could use to test the icons?
emptyfl4sk has quit [Ping timeout: 276 seconds]
<tyrion-mx>
I guess it might be a problem with lxappearance then
npmccallum has quit [Quit: npmccallum]
<worldofpeace>
how about gnome-calculator tyrion-mx ?
emptyfl4sk has joined #nixos
mexisme has joined #nixos
ctrlshiftPrhaps1 has joined #nixos
pie_ has quit [Ping timeout: 245 seconds]
<tyrion-mx>
worldofpeace: can I run it with `nix run` without installing it somehow?
<{^_^}>
[nixpkgs] @Taneb opened pull request #68495 → qt5{9,11}.qtscript: fix errors due to gcc8.3 upgrade → https://git.io/JemEN
bahamas has quit [Quit: leaving]
<worldofpeace>
tyrion-mx: how about nix-env `nix-env -iA nixos.gnome3.gnome-calculator`?
ctrlshiftPrhaps has quit [Ping timeout: 276 seconds]
ctrlshiftPrhaps1 is now known as ctrlshiftPrhaps
dycan has quit [Ping timeout: 245 seconds]
mexisme has quit [Ping timeout: 246 seconds]
<evanjs>
Is there anything I can do in terms of binary availability? To rephrase: is there any way to check if a binary is available from Nix?
pie_ has joined #nixos
<{^_^}>
[nix] @jtanguy opened pull request #3089 → Improve the fetchGit documentation examples → https://git.io/JemEj
<evanjs>
Like "if these packages have not been built by hydra, please don't bother building them yourself"
<evanjs>
Sort of like don't build from source or whatever the option was, but for a specific set of packages
<m15k>
Anyone played around with NixOS as LXD guest?
<tyrion-mx>
Ok, not many icons in gnome-calculator, only the calculator icon .. but it is indeed changing if I switch icon theme, so I guess everything is ok, just lxappearance having some problems
<tyrion-mx>
thanks :)
<tyrion-mx>
have to run away now! bye
<worldofpeace>
👋
<exarkun>
evanjs: how about `max-jobs = 0` in nix.conf?
<{^_^}>
[nixpkgs] @WilliButz opened pull request #68496 → add prometheus rspamd exporter and test → https://git.io/Jemuk
<exarkun>
Oh but you only want it to apply for certain things
<exarkun>
dunno
ddellacosta has joined #nixos
MmeQuignon has joined #nixos
tyrion-mx has quit [Ping timeout: 260 seconds]
johanot has quit [Quit: WeeChat 2.4]
ddellacosta has quit [Ping timeout: 246 seconds]
ctrlshiftPrhaps has quit [Ping timeout: 246 seconds]
arahael1 has joined #nixos
Arahael has quit [Ping timeout: 276 seconds]
<Twey>
Miyu-chan: Ah, got it: it goes like (lib.makeScope newScope (self: { b = "b"; })).callPackage ./c.nix { }
jarintte has joined #nixos
<Twey>
And that overrides `callPackage` and `newScope` so it can be extended again
FRidh has quit [Ping timeout: 245 seconds]
<sphalerite>
m15k: you can set it writable, it's technically a bug IMHO though. You could check the issue tracker to see if someone's already reported it, if not you can create an issue or a pull request fixing it :)
Soo_Slow has joined #nixos
<eyJhb>
Anyone got experience with IPMI+jviewer.jnlp? Get this error ` Fatal: Application Error: Cannot grant permissions to unsigned jars. Application requested security permissions, but jars are not signed.`.
<eyJhb>
Just using `nix-shell -p icedtea_web`, with `javaws jviewer.jnlp`
aswanson has joined #nixos
dom` has quit [Ping timeout: 245 seconds]
<{^_^}>
[nixpkgs] @worldofpeace merged pull request #68495 → qt5{9,11}.qtscript: fix errors due to gcc8.3 upgrade → https://git.io/JemEN
<{^_^}>
[nixpkgs] @worldofpeace pushed 3 commits to master: https://git.io/Jemu1
<m15k>
sphalerit: Okay. Thanks for the hint.
dom` has joined #nixos
<{^_^}>
[nixpkgs] @worldofpeace pushed 2 commits to release-19.09: https://git.io/JemuQ
emptyfl4sk has quit [Ping timeout: 246 seconds]
<Taneb>
worldofpeace: thanks for that ( worldofpeace++ )
<{^_^}>
worldofpeace's karma got increased to 37
<worldofpeace>
thanks for the Taneb
<worldofpeace>
* fix
<worldofpeace>
🎊️
kiwaalkjdskjdkjf has joined #nixos
elux has joined #nixos
<elux>
hi there
<Taneb>
I want to see a "Zero Hydra Failures" issue actually succeed in time for once
<elux>
im on nixos-unstable, and id like to install Go 1.3, but doesn't seem to have been updated yet. any suggestions on how i can upgrade earlier than waiting for the channel?
<elux>
oh got it. thanks. i dont need any of those other packages. is there a way for me to make a small .nix derivation of go 1.13 and import/include it for my sys config?
<elux>
fetching the tarball isn't quite a proper install, i need the pkgs/src it comes with
<elux>
hmm, duh. i guess just copying this go113.nix file into my own config and importing it, then including it in list of pkgs to install should do the trick
<elux>
i really need to learn the nix language sometime
silver has joined #nixos
<hyper_ch2>
sometime = "after the holidays" (without specifying which holiday one is referring to)
<elux>
i assume it just requires some simple change, to make this work
Okinan has quit [Quit: Konversation terminated!]
emptyflask has joined #nixos
<eyJhb>
Anyone that has gotten `jviewer.jnlp` (ipmi remote console/desktop) to work under NixOS? Cannot edit the security config file => it won't run
<elux>
i tried, `go113 = import ./go113.nix pkgs;`, now getting error anonymous function at called without required argument 'Security'
<elux>
ill just remove that, its for Darwin
<{^_^}>
[nixpkgs] @zimbatm opened pull request #68497 → terraform: default to version 0.12 → https://git.io/Jemzy
Tucky has quit [Ping timeout: 276 seconds]
<pie_>
vqyliss: funny thing about your activate mechanism?: setting nixpkgs.config,allowUnfree doesnt seem to work, one has to set the user /root/.config thingy
<pie_>
* qyliss
emptyflask has quit [Ping timeout: 258 seconds]
FRidh has joined #nixos
<Miyu-chan>
Twey: Oh sorry, I didn't realize it was a specific question lmao
emptyflask has joined #nixos
<Miyu-chan>
Twey: (And I was asleep until just now.)
<FRidh>
evanjs: if there is no binary available it can be for two reasons: hydra never attempted to build it, or it failed to build. I suppose you could use `nix log` to fetch a log. If that fails, you know it was not built.
<tokudan[m]>
kind of off-topic, but why does this command result in 1? wc -c <<< "$(printf "\n\n\n")"
<FRidh>
i guess its only considered actual lines when it is followed by something that is not whitespace
<tobiasBora>
Hello,
<tokudan[m]>
yeah, but why? doesn't the quoting tell bash to keep the output exactly the way it receives it?
<FRidh>
tokudan[m]: I think its moreto do with how wc interpretersit
<FRidh>
*interprets
<tobiasBora>
Do you know a declarative desktop environment? I'm tired to manually configure DE across machines...
<tobiasBora>
(NB: I'd like this DE to be usable by a "normal" user, like my girlfriend)
<tokudan[m]>
FRidh: no, it's bash. try the same with xxd -a to get a hex dump. the new lines are only kept if there's anything after the new lines
<FRidh>
tokudan[m]: if I do that printf in bash I get the newlines
<{^_^}>
[nixpkgs] @peti opened pull request #68500 → Port new Mailman & Postorius & Hyperkitty NixOS module from master. → https://git.io/Jemg5
<tokudan[m]>
FRidh: yeah, but then bash doesn't touch the output. as soon as bash touches the output, the newlines are gone
<FRidh>
tokudan[m]: $ printf "\n\n\n" | cat
<exarkun>
tokudan[m]: Why are you using <<< there at all?
<exarkun>
Doesn't <<< introducer a "here document"?
Mateon1 has quit [Ping timeout: 276 seconds]
<hyper_ch2>
why not use: printf "\n\n\n" | wc -l?
<hyper_ch2>
or wc -c
<tokudan[m]>
in my script i'm using myvar="$(printf "\n")" to get a new line into the variable, the <<< was only used to figure out what exactly is the problem
<hyper_ch2>
that quoting is just wrong IMHO
t58 has joined #nixos
<tokudan[m]>
what's wrong with the quoting? I could have used single quotes around the \n, but apart from that?
<{^_^}>
[nixpkgs] @peti pushed 22 commits to haskell-updates: https://git.io/Jemgx
<exarkun>
tokudan[m]: use `myvar=$'\n'` instead
ctrlshiftPrhaps has quit [Ping timeout: 240 seconds]
<tokudan[m]>
that's bash-only syntax
<exarkun>
yes and?
<exarkun>
if you don't say what shell you're using then I get to assume bash :)
<hyper_ch2>
isn't everyone using bash?
iqubic has joined #nixos
<{^_^}>
[nixpkgs] @zimbatm merged pull request #68497 → terraform: default to version 0.12 → https://git.io/Jemzy
<{^_^}>
[nixpkgs] @zimbatm pushed to master « terraform: default to version 0.12 (#68497) »: https://git.io/Jem2f
<makefu>
eyJhb: whenever i have to do something in docker instead of doing it natively it feels like giving up to me. In germany i am trying to establish the word "Wegdockern".
pie__ has quit [Ping timeout: 246 seconds]
pie_ has joined #nixos
<eyJhb>
Yeah, many of the things that don't want to work on NixOS, I throw into Docker... :p But I do have real use cases for it too!
<eyJhb>
But I like that ;) Keep doing it!
justanotheruser has quit [Ping timeout: 258 seconds]
<makefu>
i also have one or two docker(-compose) deployments running my servers because it simply wasn't worth it for me to package everything required by hand.
free-software-ft has joined #nixos
<eyJhb>
What are they running?
<makefu>
le me check what the last thing was
<makefu>
the last thing was "netbox", which comes with nginx proxy,two netbox runners, redis and postgres
<eyJhb>
Things like this is somewhat reasons why I have been putting off getting my servers on NixOS. Because there are times when things aren't worth it.. And e.g. the javaws thing is tedious as hell
<colemickens>
dom``/ dom```: if you're the person from the github thread, let me know if you're having issues. I might fall asleep, but until then I could possibly offer advice
emptyflask has joined #nixos
pankaj__ has joined #nixos
free-software-ft has quit [Quit: ERC (IRC client for Emacs 26.1)]
nikola_ has quit [Ping timeout: 250 seconds]
<makefu>
eyJhb: netbox would also not be worth it to put it onto another OS, they are essentially asking for docker when you are not scaling up to 50k users or something
witchof0x20 has quit [Quit: WeeChat 2.4]
witchof0x20 has joined #nixos
<m15k>
Is `users.extraUsers` an old syntax?
<das_j>
test
<infinisil>
m15k: Old syntax? No. Old option? Yes. Deprecated option? No
das_j has quit [Remote host closed the connection]
das_j has joined #nixos
<m15k>
infinisil So there's no difference to use `users.extraUsers` vs. `users.users`?
<infinisil>
Nope, they are the same
<infinisil>
One is an alias of the other
<m15k>
I see. Thanks for clearification.
das_j has quit [Remote host closed the connection]
das_j has joined #nixos
fusion809 has quit [Remote host closed the connection]
gxt has quit [Remote host closed the connection]
fusion809 has joined #nixos
gxt has joined #nixos
veske2 has quit [Quit: This computer has gone to sleep]
alex`` has quit [Ping timeout: 258 seconds]
hyper_ch2 has joined #nixos
<eyJhb>
makefu: maybe not, Python is always fun getting to work natively...
<eyJhb>
That is where Docker shines
emptyfl4sk has joined #nixos
alex`` has joined #nixos
<eyJhb>
Does `<name?>`, means "name" is optional?
pikajude has quit [Ping timeout: 264 seconds]
<{^_^}>
[nixpkgs] @adisbladis merged pull request #68504 → Drop unsupported go version 1.11 (19.09 backport) → https://git.io/Jemak
<{^_^}>
[nixpkgs] @adisbladis pushed 4 commits to release-19.09: https://git.io/JemVE
<Taneb>
eyJhb: no, it's a placeholder for a name, rather than the literal string "name"
<dom``>
colemickens: it is me
<eyJhb>
Normally you just see `<name>`, just wondered about the difference
<dom``>
colemickens: I get error: cannot coerce a list to a string, at /nix/store/fn7rjrsjb8xbllfdvpbfz0riir2xcqn5-source/lib/modules.nix:109:60
<dom``>
colemickens: I can enter this
<colemickens>
dom``: are you on `azure`? The PR is from my azure-pr branch, but the `azure` branch is newer.
<dom``>
nix-build ../../../modules/virtualisation/azure-images.nix -A nixos_19_03__606306e0eaacdaba1d3ada33485ae4cb413faeb5.machine.config.system.build.azureImage --out-link result/nixos_19_03__606306e0eaacdaba1d3ada33485ae4cb413faeb5
<dom``>
colemickens: * azure-pr
<dom``>
colemickens: I will switch branches
<infinisil>
eyJhb: Oh lol, there is both
pankaj__ is now known as nikola_i
<infinisil>
types.attrsOf uses <name>, while types.loaOf uses <name?>
<infinisil>
The latter of which has movement to be deprecated in #63103
<colemickens>
The automation to run the Azure CLI is dockerized. IF you have the Azure CLI installed, you could possibly replace all calls to ./az.sh with just az.
<dom``>
colemickens: I will add to the ticket so it's all in one place
<colemickens>
Otherwise, yeah, you'll have to configure Docker for Mac to share /nix.
<{^_^}>
[nixpkgs] @Ma27 merged pull request #68496 → add prometheus rspamd exporter and test → https://git.io/Jemuk
<colemickens>
I mean, that's just a Mac/docker thing, not really related to my work.
<colemickens>
I guess you can alternatively alter the steps to copy the VHD from the Nix Store to some other path that is already shared into the Docker VM.
* colemickens
resents Docker for * products so much
<dom``>
colemickens: agree it's mac / docker thing
<dom``>
colemickens: I will share /nix with docker
* dom``
is not sure why he needs docker for this
ctrl_shift_smtng has joined #nixos
Neo-- has joined #nixos
Ariakenom has quit [Remote host closed the connection]
<colemickens>
It's because the CLI isn't packaged for Nix.
<colemickens>
Like I said, if you hvae the Azure CLI installed in Mac, you can probably just change all calls to `./az.sh` to be just `az`
hyper_ch2 has quit [Remote host closed the connection]
<dom``>
colemickens: ah ok - I will try that
<Twey>
I think it's packaged but broken? `azure-cli` exists
<colemickens>
It's the old one IIRC.
<Twey>
Ah.
<colemickens>
The new one can't be packaged because the azure-cli doesn't build from source wheels properly. Though it looks like they might be fixing it.
<Twey>
Oh, what gives you that impression?
<colemickens>
If they do, I plan to package it in an overlay at least. Someone else argued we shouldnt package it properly since the CLI changes so often (and it really does...)
user___ has quit [Ping timeout: 240 seconds]
samrose has joined #nixos
<dom``>
I tried nix-shell -p azure-cli but had to use brew in the end
<dom``>
:(
<Twey>
That sounds nice. We maintain our own impure one right now
Soo_Slow has quit [Remote host closed the connection]
<samrose>
if I am using nix on ubuntu, and want to install packages deterministically, and avoid nix-env approach, what is a good convention to follow please?
<colemickens>
see the linked PR. But I don't know how to test it until they publish a new version to pypi, so I'll try in a couple weeks.
Soo_Slow has joined #nixos
<infinisil>
,declarative samrose
<{^_^}>
samrose: There are multiple ways of managing declarative profiles. 1) Attrset, compatible with imperative use of nix-env https://git.io/fAQHW ; 2) buildEnv, providing more control over the paths that are linked into the profile https://git.io/fp0aU ; 3) home-manager, providing nixos-like config for your ~ https://github.com/rycee/home-manager
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<colemickens>
FRidh it's over my head tbh, I don't understand python or the ... interesting things MS has chosen to do with their python packaging.
<JaakkoLuttinen[m>
I wonder why so many haskell packages are marked as broken.. Are they supposed to be used in some other way than `nix-shell -p "with haskellPackages; [massiv]"` ?
<infinisil>
JaakkoLuttinen[m: Because they don't build
<infinisil>
(with high probability)
drewr has joined #nixos
<FRidh>
colemickens: the packaging does not seem to special, it's just *so many* packages. Wonder if anyone is going tomaintain it...
<infinisil>
JaakkoLuttinen[m:You'll have to either use a different nixpkgs version where the ones you need build, or fix the build
<Twey>
FRidh, colemickens: Surely it just needs to be automated
<colemickens>
FRidh: isn't there though, the comments about the nspkg thing, the workarounds in Nix to patch around it, plus the PR I linked to seems to be related to that specific package as well.
<Twey>
I think pypi2nix should be capable of handling it now? If it no longer does weird stuff
<colemickens>
pypi2nix can build a vast majority of the CLI packages, except some of the ones that get tripped up on the az namespace package business.
<dom``>
colemickens: sh: jq: command not found
<colemickens>
It used to fail on many more. But again, like I said, I know next to nothing about python packaging. :S
<Twey>
colemickens: Yeah, I've tried it in the past.
<colemickens>
dom``: yeah, ideally I'd wrap this up with nix-shell, but for now `nix-env -iA nixos.jq` or something similar
<FRidh>
pypi2nix should be fine for azure
<colemickens>
I'm hoping for a better result from pypi2nix once that PR is in a release :)
<dom``>
colemickens: I was just about to try something like that
<colemickens>
For now, the same error that a user reported when building the wheel from source, happens with the way pypi2nix tries to build the packages. (Which makes me think it is a packaging error/fluke from the Azure side, but again, that's speculation)
<FRidh>
colemickens: ah i see now, azure_bdist_wheel.py yes not very nice
zacts has quit [Quit: WeeChat 2.4]
user___ has joined #nixos
<dom``>
colemickens: BTW it's great you are doing this
<colemickens>
It's uh, it's something, 🙃.
<dom``>
colemickens: I have reached "Populate the Managed Disk in one of two ways:"
cfricke has quit [Quit: WeeChat 2.6]
emptyfl4sk has quit [Ping timeout: 258 seconds]
<colemickens>
:/ Hm, I thought I removed that
<dom``>
colemickens: One says # TODO: flesh this out the other says # TODO: real example
<colemickens>
There should just be a small chunk you can blindly copy/paste and have a VM running. (ignoring Docker issues, other fun stuff, etc)
<jluttine>
infinisil: (switched account) ok, thanks, i removed broken=true from the definition and the package built fine and worked in ghci. should i make a pull request where i've removed this line in hackage-packages.nix file?
<averell>
does it build for all versions? (see video)
virus_dave has joined #nixos
dom`` has quit [Read error: Connection reset by peer]
dom`` has joined #nixos
knupfer has joined #nixos
zupo has joined #nixos
<Bruno[m]>
nix-build seems to hang for me this morning on `copying path '/nix/store/35jxp5h3av3admfhavqw52yf6nvapb7l-go-1.12.9' from 'https://cache.nixos.org'...`
zupo_ has joined #nixos
ctrlshiftPrhaps1 has joined #nixos
zupo__ has joined #nixos
nexgen2 has quit [Remote host closed the connection]
ctrlshiftPrhaps1 has quit [Client Quit]
ixxie has joined #nixos
iqubic` has joined #nixos
zupo__ has quit [Read error: Connection reset by peer]
zupo has quit [Ping timeout: 276 seconds]
<dom``>
colemickens: I was using OoD instructions :(
zupo_ has quit [Ping timeout: 246 seconds]
<colemickens>
fwiw, the instructions you were following are the "right" ones, I just decided to drop the line by line documentation since I wanted to support the scripts anyway
iqubic has quit [Ping timeout: 276 seconds]
waleee-cl has joined #nixos
<dom``>
colemickens: disk="$(./build-custom-vhd.sh)/disk.vhd" gives error: assertion failed at /Users/dom/nixpkgs/pkgs/os-specific/linux/kernel/generic.nix:56:1
<dom``>
assert stdenv.isLinux; so fair enough
<dom``>
Should I not try this on macos?
<pie_>
is there anything i can do to not make plugging a router i want to configure in the network port take over my working connections routed over my wifi?
<colemickens>
No idea.
<colemickens>
I have a NixOS machine in Azure that I do all of this from so that I don't have to wait on uploads.
<dom``>
colemickens: I have an azure ubuntu machine
<dom``>
colemickens: Is it best to try there?
<colemickens>
I *think* I started with an Ubuntu machine, installed Nix, built a first NixOS image and then have been iterating from the NixOS VM.
<dom``>
colemickens: I will try that
<colemickens>
In theory, I can finish the "release" instructions, give you the URL, and you can test the instructions to boot from an existing "release" image.
dansho has joined #nixos
<colemickens>
That's what I'm doing right now. ;)
<Bruno[m]>
Is cache.nixos.org slow right now? I only seems to be able to download at under 100 KB/sec. I did a speedtest and it was fine.
pikajude has joined #nixos
<dom``>
colemickens: Ok I will wait - ping me when I can try
<Bruno[m]>
nix-build didn't hang after all. it was just downloading very slowly.
<colemickens>
lmao, the thing that was working two weeks ago isn't working now. dom``. so I don't know if I can even upload a new image now.
<colemickens>
I'm following up with Azure. So typical.
<sierraDelta>
Could someone help me look over a simple overlay I'm trying to make? I'm totally new to Nix, and I'm trying to make an overlay with misc purescript tools/toys. Seems that I'm missing something here. I get an error complaining about `unexpected '=', expecting $end` on line 13. Can someone help me? https://gist.github.com/dstcruz/278b36a9754848bfa9083dbfa11091ce
<pie_>
sierraDelta: that needs to be in a self: super: { ... }
zacts has joined #nixos
<sierraDelta>
Also, I'm not sure of my use of `self` and `super`. I might be using those wrong?
<pie_>
overlays are functions that take a self and super argument
<pie_>
and they return a set
<pie_>
oh hold on
<pie_>
i just stopped at spago =
<pie_>
which is to say thats something you can only have in a set or a let expression (which i think is actually syntactic sugar on a specific kind of set?)
nikola_i has quit [Quit: Leaving]
<pie_>
hm yeah, you need to wrap the stuff after the "in" in self: super: { ... }
<pie_>
some people name those two argumenty in a slightly more intiutive way but i dont remember what it is
<sierraDelta>
rather than having it outside the `let`?
Bruno[m] has left #nixos ["User left"]
<pie_>
sierraDelta: i didnt read carefully enough, i guess you can do that too, youre still returning a function of the approprate type in either case
zacts has quit [Client Quit]
<pie_>
the inherent problem is you are not syntactically using a set , you jus thave this thing
<pie_>
i mean you need { spago = stuff }
<pie_>
self: super: let ... in { ... }
nikola_i has joined #nixos
<pie_>
let ... in self: super: { .. }
<pie_>
wither would work
<pie_>
well, except you access self in the let expression, so the let expression does need to be on the inside
<pie_>
make sense?
fusion809 has quit [Remote host closed the connection]
<sierraDelta>
Yeah, let me make those changes
fusion809 has joined #nixos
nikola_i has quit [Client Quit]
nikola_i has joined #nixos
nikola_ has joined #nixos
wfranzini has quit [Remote host closed the connection]
nikola_i has quit [Remote host closed the connection]
nikola_i has joined #nixos
nikola_i has quit [Remote host closed the connection]
jtojnar has quit [Read error: Connection reset by peer]
<sierraDelta>
waleee-cl: I have -- the spago thing is lifted rigth from his code. I'm trying to learn this overlay thing so that I can add other tools too. Also, how can I use his repo as an overlay? Can I just lift his `spago.nix` into a file and then do some `callPackage` like thing to use it in my overlay?
nikola_i has joined #nixos
<infinisil>
sierraDelta: You have a {} around the whole thing which isn't valid syntax
jtojnar has joined #nixos
domogled has joined #nixos
<{^_^}>
[nixpkgs] @peterhoeg opened pull request #68507 → nixos/mtr: support for selecting the package → https://git.io/JemoP
<infinisil>
sierraDelta: I suggest reading tazjin's one-page Nix tutorial to get a general idea of it: https://github.com/tazjin/nix-1p
nikola_i has quit [Client Quit]
nikola_i has joined #nixos
nikola_ has quit [Quit: Leaving]
<{^_^}>
[nixpkgs] @peterhoeg opened pull request #68509 → pythonPackages.tvnamer: pytest belongs in checkInputs → https://git.io/JemoN
zacts has joined #nixos
nikola_i has quit [Quit: Leaving]
Ariakenom has joined #nixos
<sierraDelta>
Woot. Works now. Thanks!
joshuagl has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}>
[nixpkgs] @peterhoeg opened pull request #68510 → dupd: init at 1.7 → https://git.io/JemKv
<dom``>
colemickens: let me know if I can help in any way
ryantm has joined #nixos
drakonis_ has quit [Ping timeout: 246 seconds]
<colemickens>
tbh I'm just so exhausted of this. I spend more time waiting on azure and retrying due to azure api failures than actually doing any real development
Zer0xp has quit [Ping timeout: 240 seconds]
<colemickens>
right now I'm waiting on a step that usually takes 30 seconds that has been running for 4+ minutes.
<dom``>
colemickens: :( - I'd like to be solving differential equations but I want a reliable platform on which to use e.g. CUDA - so here I am
drakonis_ has joined #nixos
* colemickens
stares blankly at "reliable platform"
<colemickens>
I assume you meant the nixos part ;)
<colemickens>
The good news is, I'm on the "last" stage of testing, in theory. I made a new release image. I'm replicating it like you will do, then attempt a boot and call it good.
<infinisil>
pie_: You probably want .
<infinisil>
like, ".", the current directory
<pie_>
hm ok ill give that a shot
eraserhd2 has joined #nixos
<infinisil>
$src would still point to the original (unmodified) source
<infinisil>
maybe you want that instead
<colemickens>
This blob is about 1GB. Azure is taking 13+ minutes to copy it from a westus2 bucket to a westus2 bucket.
<colemickens>
I just don't get why anyone gives Azure a penny outside of existing enterprise contracts.
<pie_>
infinisil: no i want the result of doing stuff
eraserhd has quit [Ping timeout: 268 seconds]
<infinisil>
colemickens:I have the suspicion azure is using RFC1149 in their datacenters
<colemickens>
Must be a very large data center or a very drunk pidgeon, ha.
<pie_>
pigeon is on lunch break
dansho has quit [Read error: Connection reset by peer]
inkbottle has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<infinisil>
Oh right, 13 minutes would be a bit long within a data center
<infinisil>
Unless the pigeon took off and they had to catch it
nikola_i has quit [Ping timeout: 276 seconds]
<{^_^}>
[nixpkgs] @nspin opened pull request #68512 → stdenv: fix misspellings of dontPatchELF → https://git.io/Jem6G
<dom``>
colemickens: should we all move to amazon?
<colemickens>
no comment. I have beef with everyone, I just know Azure the most intimately.
<dom``>
colemickens: I pay Microsoft a few dollars a month - does Jeff Bezos really need more dollars?
<colemickens>
(well, where everyone = AWS/GOOG/MS.)
drakonis has joined #nixos
hmpffff has joined #nixos
<ctrl_shift_smtng>
hey people of Nix, your OS looks great
<ctrl_shift_smtng>
can I ask some noob FAQs here without getting in your way?
<multun>
Sure
<ctrl_shift_smtng>
great, thanks
eraserhd2 has quit [Ping timeout: 246 seconds]
domogled has joined #nixos
<ctrl_shift_smtng>
Coming from a Slackware-ish distro, with compressed file system and packages,
emptyfl4sk has joined #nixos
gxt has joined #nixos
<ctrl_shift_smtng>
and sort of immutable usage when booting to fresh state
<ctrl_shift_smtng>
can NixOS be used in a similar way?
eraserhd has joined #nixos
<drakonis>
yes
<drakonis>
in fact, some of the folks here do that
<ctrl_shift_smtng>
Like can those boot options be baked in, to boot to RAM, fresh state or a specific snapshot (or frugal savefile, whattever its called)
<ctrl_shift_smtng>
ok
<drakonis>
pinging one gchrholiday
<ctrl_shift_smtng>
thanks
<drakonis>
i think i might be interrupting something
<colemickens>
In that file, I can uncomment/comment out those modules which activate/configure various things like libvirt/docker/ssh/ipfs/ etc.
<infinisil>
By default NixOS doesn't have anything like that, Nix doesn't touch any files outside /nix and /etc, so any state in your filesystem will be persisted unless you set up tmpfs's for it
<ctrl_shift_smtng>
aha
seanparsons has joined #nixos
<ctrl_shift_smtng>
and there's no compression of file systems or packages? (by default)
jgeerds has joined #nixos
<infinisil>
Many people use compression provided by the filesystem
<infinisil>
So my /nix is a ZFS filesystem with compression enabled
<{^_^}>
[nixpkgs] @mmahut pushed 2 commits to release-19.09: https://git.io/Jem66
<infinisil>
And that makes it less than twice the size it would be uncompressed
<Nyanloutre[m]>
I have the same problem on every Firofox version
<Nyanloutre[m]>
but not tor-browser strangely
<Nyanloutre[m]>
* I have the same problem on every Firefox version
<cransom>
`root/nix compressratio 2.11x -` i get 2.11x, so that number may be pretty consistent.
emptyfl4sk has quit [Ping timeout: 245 seconds]
<cransom>
(lz4 compression)
<emptyflask>
I wish I would have used compression on /nix -- it takes up a LOT of space
<emptyflask>
140GB right now
<ctrl_shift_smtng>
<infinisil "And that makes it less than twic"> OK, but the OS itself isn't compressed, like squashfs or similar?
<colemickens>
whoa, I had no idea it could be that much
<infinisil>
ctrl_shift_smtng: Nope
<{^_^}>
[nixpkgs] @bjornfor opened pull request #68513 → wrapQtAppsHook: use `patchelf --print-interpreter` instead of `isELFExec` → https://git.io/Jem6D
<colemickens>
is there that much of a ideological difference between /nix being compressed via squashfs via compressed via zfs? they're both fs-level?
<ivegotasthma>
I found outdated software that's vulnerable to a remote attack, how should I single that in my PR?
<ivegotasthma>
signal*
<colemickens>
Also, the installer/cdrom makes a squashfs file and then boots it, etc, and its easy to re-use that infrastructure for things like kexec. Sometimes I like to think of NixOS as an os toolkit :)
<cransom>
you don't get to append to a squashfs, do you? i assume squashfs is far more efficient but it's write once and thats it since its dedupes, compresses, etc. zfs, those are separate options with varying performance penalties (or gains, depending on your system really)
cfricke has joined #nixos
<infinisil>
Also to mention is that nix can deduplicate with nix-store --optimise
<infinisil>
file-based
<clever>
squashfs will also also never suffer from fragmentation
zacts has quit [Quit: WeeChat 2.4]
<cransom>
and that dedupe is far more efficient than zfs's.
<clever>
since it lacks write support, the files are just made in one piece, and left that way
<infinisil>
cransom: Is it?
<clever>
cransom: zfs's dedup is expensive, because it has to store the hash table, to be able to find dups when writing
<ctrl_shift_smtng>
<colemickens "Also, the installer/cdrom makes "> no clue about ideological diff. or technical limits of either method. Coming from a 250mb debian base that compresses any mutations with a factor 3-5 (https://www.slax.org/)
<infinisil>
Ah it doesn't use any RAM
<clever>
while squashfs's dedup only has that cost once, when making the squashfs
<cransom>
yeah. the runtime requirements of dedup in zfs are heavy. way more so than a big dir of hard links
<infinisil>
Ah yeah the /nix/store can be much more efficient because it never writes to the same path twice
<infinisil>
Well it can, but that's not a big problem
<clever>
infinisil: and there is an auto-optimize, what will hardlink things after the build has finished, every time
<infinisil>
(it just gets rm'd before)
<infinisil>
Indeed
Raylier has joined #nixos
<cransom>
i worked on building squashfs images for my AWS machines just to cut down on the upload time to import the ami. and it worked very well, except that machines took 2 minutes to boot instead of 30 seconds.
drakonis has quit [Ping timeout: 240 seconds]
\emph{grumble} has quit [Quit: \end{document}]
<clever>
cransom: have you seen my recent nixops issue about custom fs's and such?
<{^_^}>
nixops#1189 (by cleverca22, 3 weeks ago, open): plan for supporting custom partition layouts and custom FS's on any backend
<clever>
cransom: this will allow custom FS's for the rootfs, custom partition layouts, including fun things like a zfs stripe across many high io/sec ELB's if you wanted
<clever>
it will deal with problems like wireguard never working on the first deploy, because you changed the kernel version
<clever>
it makes the ami smaller, and pushes the big copy time until the deploy phase, which can take advantage of binary caches
<clever>
and it will support any cloud provider, with most of the above features
<infinisil>
clever: You have seen nixpart right?
<clever>
if you can get root and the kernel supports kexec, the above can be done
<clever>
infinisil: yeah, nixpart could be used for phase 2
<colemickens>
is that work dependent on nixops though? I'd love to be able to use that just to build static images for other non-nixops purposes
knupfer has quit [Ping timeout: 264 seconds]
<clever>
colemickens: phase 1 of this ticket, is just a way to boot the nixos installer on a remote machine, so you could ssh in, fdisk, mkfs, nixos-install, as normal
drakonis_ has quit [Ping timeout: 246 seconds]
pie_ has quit [Ping timeout: 245 seconds]
<clever>
the magic part, that nixops can take advantage of, is phase 3: nix copy --to ssh://root@target?remote-store=local?root=/mnt /nix/store/hash-nixos
<clever>
that will let you deploy to /mnt on a remote machine
<clever>
cransom: and not-os is a nix based os, that is not nixos, but does borrow a number of modules, it compiles down to a 47mb squashfs
shabius has quit [Ping timeout: 276 seconds]
<davidtwco>
Does anyone have any tips to make working in a FHS user env nicer? I need that environment because the compiler I'm constantly recompiling and testing an unwrapped compiler. But I would like to be able to work in my own shell and do all the things I'd normally be able to do from that - ideally while keeping the shell.nix free of me-specific things.
<davidtwco>
*is an unwrapped
* cransom
passes off haskell-init that may be highly interested in it fairly soon.
<clever>
cransom: due to forkIO, you could potentially turn haskell-init into a full os, that doesnt even have processes, lol
<clever>
cransom: the hard part, is that modprobe has to be an external binary, so you either need to bake modules into the kernel, or let dirty c code into your initrd :P
fendor has joined #nixos
<clever>
cransom: and then gpu drivers and xorg....., do you want to implement xorg (or similar) in haskell? :D
<clever>
how can haskell do raw gfx on the hardware, without xorg!!
<cransom>
i will take solace that 99% of the linux machines i touch are headless.
allan has left #nixos [#nixos]
leah2 has quit [Remote host closed the connection]
<clever>
cransom: then you only need to deal with configuring an ethernet interface via ffi, and bake the ethernet driver into the kernel
<clever>
cransom: you could also give up, and just bring in the dhcpcd binary :P
<colemickens>
Please give me feedback in the issue you've been commenting in, or elsewhere. If it works for you, I'll move it to `azure-pr` and advocate for getting it merged. Thanks for the patience and nudging.
<clever>
cransom: but then your letting the impure languages win!
ee1943 has quit [Ping timeout: 246 seconds]
shabius_ has quit [Ping timeout: 246 seconds]
<colemickens>
dom``/dom```, for example, you should be able to more or less copy/paste the whole chunk under "Create From Released Image"... but I had to repeat parts of it manually and continue manually, because the APIs just ... aren't working reliably at all.
<clever>
cransom: another choice is halvm, that runs haskell code as the kernel, so you can just drop linux entirely!
<clever>
cransom: but currently, halvm only works under xen, one of my pipe dreams is to make a variant that works on bare metal
leah2 has joined #nixos
<cransom>
man, i am so glad i am immune to clever's parseltongue.
<cransom>
oh, also hydra.earthtools.ca has broken css unless you tell firefox to allow loading insecure elements, fyi.
emptyfl4sk has joined #nixos
shabius has quit [Quit: Leaving]
<{^_^}>
[nixpkgs] @peti pushed to master « lib: fix typo in 'zipAttrsWith' documentation »: https://git.io/Jemiz
o1lo01ol1o has joined #nixos
emptyfl4sk has quit [Ping timeout: 245 seconds]
shabius has joined #nixos
<cransom>
but yeah. super minimal things are fun, but not always practical. i do need things like datadog/monitoring, and log forwarding typically at the minimum and baking that into an app is cumbersome as we have no shortage of apps in different languages.
leah2 has quit [Remote host closed the connection]
pie_ has joined #nixos
leah2 has joined #nixos
<eyJhb>
Creating a PR because Unifi openPorts doesn't open all ports
<buckley310>
just curious, what determines which hydra build will start the nixos-19.09 channel? it looks like 19.09 builds have been running a couple days
<karetsu>
what sorcery do I need to perform to have geary not ask me for my user's password the first time I open it? I've searched for pam and keyring on nixos.wiki and found nothing
<{^_^}>
[nixpkgs] @eyJhb opened pull request #68515 → modules.unifi added web/gui port to openPorts → https://git.io/JemiM
<buckley310>
according to the unifi.openPorts description, it opens "minimum required ports", so it sounds like the intention was not to open all of the ports
<eyJhb>
Yeah, just read it. I am a little in-between on this
<eyJhb>
Beacuse I understand why one would do it like this, but it somehow seems weird at the same time
<eyJhb>
But nice security wise.
wildtrees has joined #nixos
<eyJhb>
buckley310: will close the PR, makes sense.
<{^_^}>
[nixpkgs] @eyJhb closed pull request #68515 → modules.unifi added web/gui port to openPorts → https://git.io/JemiM
wildtrees has quit [Max SendQ exceeded]
iqubic` has quit [Ping timeout: 246 seconds]
iqubic` has joined #nixos
wildtrees has joined #nixos
iqubic` has quit [Remote host closed the connection]
wildtrees has quit [Max SendQ exceeded]
wildtrees has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
mexisme has joined #nixos
<buckley310>
i suppose what constitutes "bare minimum" is dependant on use-case. I feel like the captive portal is sort of extra functionality, but then i think captive portals are dumb :)
wildtrees has quit [Max SendQ exceeded]
wildtrees has joined #nixos
wildtrees has quit [Remote host closed the connection]
Myhlamaeus1 has joined #nixos
mexisme has quit [Ping timeout: 246 seconds]
o1lo01ol1o has joined #nixos
npmccallum_ has joined #nixos
npmccallum has quit [Ping timeout: 276 seconds]
npmccallum_ is now known as npmccallum
o1lo01ol1o has quit [Remote host closed the connection]
karetsu has quit [Quit: WeeChat 2.4]
ray_ has quit [Ping timeout: 240 seconds]
dustinm has joined #nixos
xkapastel has joined #nixos
ivan has quit [Ping timeout: 268 seconds]
dustinm- has quit [Ping timeout: 268 seconds]
ivan has joined #nixos
Chiliparrot has joined #nixos
cfricke has quit [Quit: WeeChat 2.6]
polman has quit [Ping timeout: 245 seconds]
npmccallum_ has joined #nixos
npmccallum has quit [Ping timeout: 245 seconds]
npmccallum_ is now known as npmccallum
dermetfan has joined #nixos
<eyJhb>
Is Flexget broken for anyone else on stable? Cherrypy seems to not want to build
polman has joined #nixos
m15k has quit [Ping timeout: 260 seconds]
zupo has joined #nixos
<eyJhb>
Is there any way to cherrypick a commit/PR into stable? Without having to make a fork, merge it into, and set that as nixos in channels?
eraserhd has quit [Ping timeout: 276 seconds]
<ivan>
what do I put in ~/.config/Trolltech.conf to make Qt4 programs look like Qt5 programs? I'm using xfce, don't even know which style= are valid
o1lo01ol1o has joined #nixos
jgeerds has quit [Ping timeout: 245 seconds]
_ris has joined #nixos
red_beard has joined #nixos
ee1943 has joined #nixos
growpotkin has joined #nixos
ee1943 has quit [Read error: Connection reset by peer]
boxdot has joined #nixos
ee1943 has joined #nixos
<red_beard>
qq: I had previously defined a systemd unit in configuration.nix (https://paste.fedoraproject.org/paste/Gwj-m~1SV715KFSlwHDIZQ) but, digging in further, realized that there was a boolean which could be set to achieve the same result. i commented out the old mechanism (lines 37-41) and have gone through a nixos-rebuild boot & reboot, but it hasn't removed the systemd override generated from the previous
<{^_^}>
[nixpkgs] @abbradar pushed to master « lutris: add fribidi as winetricks dependency »: https://git.io/JemPA
Tucky has quit [Quit: WeeChat 2.6]
eraserhd has joined #nixos
<buckley310>
red_beard: so if you remove both mechanismsand do a rebuild/reboot, /tmp/ is still mounted as tmpfs?
knupfer has joined #nixos
drakonis has joined #nixos
<red_beard>
buckley310:lemme give that a shot. as an aside part of the problem is that there is a _sort of_ race where (due to me missing mode= in the options) it's not correctly mounting the tmpfs. thus when gdm et al come up, they create files, /tmp isn't empty, can't mount, etc.
<red_beard>
buckley310: i'll try the remove/rebuild now though
growpotkin has quit [Ping timeout: 240 seconds]
Soo_Slow has quit [Remote host closed the connection]
boxdot has quit [Quit: Leaving.]
<red_beard>
buckley310: interesting. after doing a nixos-rebuild boot & reboot, i don't see a new configuration generation
<red_beard>
still generation 14
<symphorien>
This can be a symptom of a bad grub configuration
<symphorien>
Generation 15 would exist but is installed to the wrong bootloader
* red_beard
goes and starts digging through that.
iqubic has joined #nixos
<Izorkin>
,locate pam_appl.h
<{^_^}>
Found in packages: openpam, linux-pam
o1lo01ol1o has quit [Remote host closed the connection]
<Thra11>
Would `licenses.free` be suitable for a library which describes itself as "open source software", but doesn't mention any specific license as far as I can tell?
<drakonis>
which library?
<buckley310>
if you dont know the license, then you shouldn't call it free.
mexisme has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
Zer000 has joined #nixos
shabius has quit [Quit: Leaving]
<{^_^}>
[nixpkgs] @sikmir opened pull request #68522 → mbutil: init at 0.3.0 → https://git.io/JemXN
Cale has joined #nixos
domogled has quit [Ping timeout: 276 seconds]
Guest16 has joined #nixos
<{^_^}>
[nixpkgs] @Mic92 pushed 2 commits to release-19.09: https://git.io/JemXh
<Guest16>
My `configuration.nix` goes like this- https://pastebin.com/WAMxHUJG I'm getting the error `The string '/nix/store/79308vx1hi7wgkdnz4wgx0vkwwfbnq5j-source' is not allowed to refer to a store path (such as '/nix/store/79308vx1hi7wgkdnz4wgx0vkwwfbnq5j-source'` when I use pkgs.archived.unstable. But all is cool when I just use pkgs.unstable. Could
<Guest16>
somebody have some insights on what me be happning?
<Guest16>
*give some insights
o1lo01ol1o has quit [Remote host closed the connection]
<Guest16>
There are two things to see in the pastebin configuration.nix- first: the `let` statement has repetition, I assign 3 variables a value and then create an attrset with 3 attributes given the same value.
<Guest16>
Second; I reuse those values- both from single variable assignments and as part of attrsets to give myself a new package set. I succeed when the package set is from the individually assigned valeus. But fail when it's part of the archive
<Guest16>
**part of the ttrset
shabius has joined #nixos
<tobiasBora>
Hello,
ray_ has quit [Ping timeout: 240 seconds]
<Mic92>
layus[m]: what was the issue with nix-user-chroot? I don't remember if I had tested it on NixOS.
<tobiasBora>
I'd like to know, if in nix home-manager I setup i3 as my desktop, what happened if my system desktop is KDE? It will just kill KDE and launch i3? Do I need to do something special to launch i3 that require root access?
o1lo01ol1o has joined #nixos
<Mic92>
tobiasBora: i3 should not require root access. As it seems home-manager setups a xsession for i3, you might be able to select xsession as an option in your login manager.
<clever>
tobiasBora: line 120 is what is responsible for running the DE you select at the login screen
<clever>
tobiasBora: but, line 112 will just execute ~/.xsession if it exists, so ~/.xsession can hijack the whole process, and bypass whatever nixos had configured
<{^_^}>
[nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/Jem1I
<tobiasBora>
clever: oh, that's amazing. And all major distrib does the same, like debian...?
<pie_>
so cups is listed as definitely supporting my printer but i cant actually find the printer in the selection list :I
<clever>
tobiasBora: i think most of them do similar
<clever>
tobiasBora: nixos will also source ~/.xprofile, so you can inject env vars before letting the normal flow resume
<clever>
tobiasBora: or launch certain things like an ssh agent
<{^_^}>
[nixpkgs] @worldofpeace pushed commit from Averell Dalton to release-19.09 « youtube-dl: 2019.09.12 -> 2019.09.12.1 »: https://git.io/Jem1m
knupfer has quit [Ping timeout: 276 seconds]
<tobiasBora>
pie_: I add issues with detecting some printers as well. Can you find the printer on chromium and/or in cups at http://localhost:631 ? In my case the desktop tools couldn't find the printer, while cups online could. Don't know why.
<{^_^}>
[nixpkgs] @worldofpeace pushed commit from Averell Dalton to release-19.03 « youtube-dl: 2019.09.12 -> 2019.09.12.1 »: https://git.io/Jem1O
<pie_>
i just started looking at the cups interface
<pie_>
im using a network printer so i guess there isnt any autodetection anyway
ddellacosta has joined #nixos
<tobiasBora>
clever: hum, interesting. I was always unsure where I should put that. I think I was using .profile before
<pie_>
tobiasBora: ok i found something using ctrl-f :D
<clever>
tobiasBora: nixos also has a services.xserver.displayManager.sessionCommands
<clever>
tobiasBora: which will do the same job as .xprofile (it just gets inserted on line 100)
<worldofpeace>
averell: lol, only in nixpkgs do we get updates at near instantaneous speed
<tobiasBora>
pie_: when I say chromium, I mean try to print using Ctrl-shift-P. For some reason, okular couldn't find my printer but chromium could.
<tobiasBora>
after, it was a networked printer, so guess it's different
<tobiasBora>
clever: I see. nixos has lot's of nice stuff!
<pie_>
tobiasBora: i mean im trying to select the printer driver from the list
<tobiasBora>
oh
<pie_>
sorry
<pie_>
wasnt clear
<tobiasBora>
sorry, I just read the end of the conversation
<averell>
worldofpeace: yes! we are the only real-time os! :)
<tobiasBora>
if you printer is not in the list... maybe upgrade cups, or check you have the good drivers installed in services.printing.drivers https://nixos.wiki/wiki/Printing ?
<tobiasBora>
(I'm definitely not a specialist, just random guesses)
<pie_>
tobiasBora: no theres just no sewrch method so you have to scroll in a long lexically sorted list
Guest16 has quit [Ping timeout: 240 seconds]
<tobiasBora>
pie_: oh, so still better. But if you first select the brand the list is not that huge
<pie_>
worldofpeace: what did we get? :D
<pie_>
tobiasBora: it s huge for hp
<pie_>
and all the naming orders are different
<pie_>
and stuff
<pie_>
well anyway :P
<pie_>
cant actually test the printer cause someone locked the door so yay
<tobiasBora>
ahah true, it's a bit disturbing. Anyway, good to see you solved your stuff!
<worldofpeace>
pie_: just only the quickest update to youtube-dl I could've seen 🤣
<pie_>
worldofpeace: :D
<pie_>
gotta download the animes and whatnot
<colemickens>
dom``: btw, in case you're curious, I'm cataloging all of the utter ****** that I'm encountering here: https://github.com/Azure/azure-cli/issues/10192 in case you want to follow along.
<{^_^}>
Azure/azure-cli#10192 (by colemickens, 4 weeks ago, open): az storage blob {upload|copy blob} doesn't support SAS URLs
<colemickens>
for anyone not keeping score at home, that's 3 distinct API failures tonight alone, while trying to do an incredibly basic task.
<pie_>
sucks to not be amazon i guess
<colemickens>
from my end, my scripts should work, and are as succinct as they can be AFAICT. I'll keep pushing on the Azure side to make them more reliable, but for now what is in my 'azure' branch is probably close to "optimal". I'll rebase/cleanup over the next couple days and push it to 'azure-pr' and ping some people about merging.
<colemickens>
sucks to be [a company that consists of people that dont care about the quality of the products they deliver].
* colemickens
should probably sign off for the night
<{^_^}>
[nix] @zimbatm closed pull request #3005 → Mention that Nix isn't currently working in Docker → https://git.io/fjDWv
user___ has quit [Ping timeout: 245 seconds]
ng0 has quit [Quit: Alexa, when is the end of world?]
mexisme has joined #nixos
boxdot has quit [Quit: Leaving.]
Jetien has joined #nixos
nspin has joined #nixos
Jetien has quit [Client Quit]
<{^_^}>
[nixpkgs] @veprbl pushed commit from @taku0 to release-19.03 « flashplayer: 32.0.0.238 -> 32.0.0.255 »: https://git.io/Jem1X
Jetien has joined #nixos
<{^_^}>
[nixpkgs] @veprbl pushed 2 commits to release-19.09: https://git.io/Jem11
Jetien has quit [Client Quit]
smatting has joined #nixos
waleee-cl has quit [Quit: Connection closed for inactivity]
smatting has quit [Client Quit]
Okinan has joined #nixos
smatting has joined #nixos
boxdot has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<averell>
is there any (maybe non-rebuildy) workaround for #68498 ? cause i tried reverting, and it's a huge rebuild, and i'm not even sure it works if i only adjust datadir.
<worldofpeace>
averell: what environment did you experiance the issue?
<tobiasBora>
clever: by the way, do you know what happened when home-manager changes gtk options? It's just for home manager installed apps, or for all apps launched? And what happens it I switch back to KDE at some points? KDE will herit nixos's gtk style?
<worldofpeace>
and DBUS_SESSION_BUS_ADDRESS should be able to have multiple values just fine
iqubic` has joined #nixos
<clever>
tobiasBora: no idea, i dont really use home-manager, nor kde
iqubic has quit [Ping timeout: 246 seconds]
<tobiasBora>
ok thanks
<tobiasBora>
(if someone knows, let me know ^^)
maxii has joined #nixos
<maxii>
Hey guys, I have written an own termcap since I'm using some advanced features of xterm, so my question is which is the best way to include my customized termcap into my nixos configuration?
<averell>
i can't run my xmonad, it aborts with "connectSession: DBUS_SESSION_BUS_ADDRESS is missing or invalid."
<averell>
so if i can put something in my env to fix it or similar, that would be cool.
Myhlamaeus1 has quit [Remote host closed the connection]
thc202 has quit [Read error: Connection reset by peer]
drakonis_ has quit [Ping timeout: 246 seconds]
virus_dave has quit [Quit: virus_dave]
iqubic` has quit [Ping timeout: 265 seconds]
hmpffff has quit [Quit: nchrrrr…]
dycan has joined #nixos
mexisme has quit [Ping timeout: 250 seconds]
Ariakenom has quit [Quit: Leaving]
iqubic has joined #nixos
dycan_ has joined #nixos
drakonis has quit [Ping timeout: 246 seconds]
dycan has quit [Ping timeout: 276 seconds]
dansho has joined #nixos
<ocharles>
Folks, how do I extend a haskellPackages `.env` with extra things? Is there any easy way to do that?
<ocharles>
I'm interested in adding some extra executables like `cabal`
<ocharles>
I guess I could mkShell and use .env as a build input
dermetfan has quit [Ping timeout: 276 seconds]
drakonis has joined #nixos
<infinisil>
ocharles: You can use `.env.overrideAttrs (old: { buildInputs = old.buildInputs or [] ++ [ ... ]; })`
ddellacosta has quit [Ping timeout: 240 seconds]
emptyfl4sk has joined #nixos
<clever>
ive done that before, and it works nicely
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
judson_ has quit [Ping timeout: 264 seconds]
ray_ has joined #nixos
asymptotically has joined #nixos
ray_ has quit [Client Quit]
maxii has quit [Ping timeout: 260 seconds]
__monty__ has quit [Quit: leaving]
o1lo01ol1o has quit [Remote host closed the connection]
ddellacosta has joined #nixos
Myhlamaeus1 has joined #nixos
emptyfl4sk has quit [Ping timeout: 265 seconds]
justanotheruser has joined #nixos
maxii has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<dycan_>
hi all, I am using https://jezenthomas.com/deploying-a-haskell-web-service-with-nix/ way to deploy a yesod into gce. But I got error "called without required argument". It seems 'nixops deploy' didn't bring my ~/.config/.nixpkgs/config.nix into the remote machine. How to say that in nix expression?
<ocharles>
thanks infinisil and clever
o1lo01ol1o has joined #nixos
captn3m0 has quit [Ping timeout: 276 seconds]
captn3m0 has joined #nixos
<dycan_>
I guess I have to move haskell package override nix expression from system level into package level.