<clever>
Raito_Bezarius: yeah, the first entry forces <nixpkgs> to always be roots nixpkgs, and to ignore what your current user has
halfbit has quit [Ping timeout: 265 seconds]
<Raito_Bezarius>
I have to trace who is setting $NIX_PATH and how to understand why this is happening
<clever>
Raito_Bezarius: you can always use -I nixpkgs=/whatever with `nixops deploy`, and you can use `nixops modify -I nixpkgs=/whatever deployment.nix` to make that override permanent
<Raito_Bezarius>
Oh sweet for the override
<clever>
that would let you override things without changing NIX_PATH
abathur has joined #nixos
sigmundv has quit [Ping timeout: 240 seconds]
romildo has quit [Quit: Leaving]
selfsymmetric-mu has quit [Remote host closed the connection]
mexisme_ has joined #nixos
robogoat has quit [Ping timeout: 246 seconds]
hexo has quit [Ping timeout: 268 seconds]
stepcut has joined #nixos
virus_dave has quit [Quit: virus_dave]
mbrgm_ has joined #nixos
mbrgm has quit [Ping timeout: 240 seconds]
mbrgm_ is now known as mbrgm
lounge-user5 has joined #nixos
lounge-user5 has quit [Remote host closed the connection]
jluttine has quit [Ping timeout: 240 seconds]
waleee-cl has quit [Quit: Connection closed for inactivity]
mexisme_ has quit [Ping timeout: 276 seconds]
drakonis has joined #nixos
robogoat has joined #nixos
drakonis_ has quit [Ping timeout: 276 seconds]
noudle has quit []
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
<andi->
,locate calendar
<{^_^}>
Found in packages: xsd, zsh, emacs, meteor, emacs25, lazarus, arcanist, brackets, qt5.full, azure-cli, plan9port, qt59.full, i3pystatus, nodejs-6_x, nodejs-8_x, qt511.full, emacs25-nox, emacs26-nox, factor-lang, nodejs-10_x, nodejs-11_x, phabricator, wire-desktop, deepin.go-lib, home-assistant, gnome3.libgdata, ganttproject-bin, gnome3.evolution, nodePackages.less, nodePackages.bower, nodePackages.shout, nodePackages.hueadm, and 16 more
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
hlolli_ has joined #nixos
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
<{^_^}>
[nixpkgs] @Ericson2314 opened pull request #73265 → MinGW: Enable C++ threads with mcfgthreads for 19.09 → https://git.io/JewaZ
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
hlolli has quit [Ping timeout: 240 seconds]
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
stepcut has quit [Remote host closed the connection]
<monokrome>
O_O
stepcut has joined #nixos
NoctisLa1 has joined #nixos
stepcut has quit [Remote host closed the connection]
mexisme_ has joined #nixos
stepcut has joined #nixos
NoctisLabs has quit [Ping timeout: 265 seconds]
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
stepcut has quit [Remote host closed the connection]
slack1256 has joined #nixos
stepcut has joined #nixos
stepcut has quit [Remote host closed the connection]
exfalso has joined #nixos
stepcut has joined #nixos
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
<{^_^}>
[nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JewaW
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
qubasa_ has joined #nixos
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
stepcut has quit [Remote host closed the connection]
selfsymmetric-mu has joined #nixos
stepcut has joined #nixos
<selfsymmetric-mu>
Is it possible to use nested `with ...;`? For example, if I have a bunch of `pkgs.` in a list and a bunch of `pkgs.xlibs`, do I have to concat `with pkgs;` with `with pkgs.xlibs`, or can I next `with xlibs;` somehow?
<selfsymmetric-mu>
Does that question make sense? I can post an example...
qubasa has quit [Ping timeout: 240 seconds]
Rusty1 has joined #nixos
fpletz has quit [Quit: ^D]
exfalso has quit [Ping timeout: 240 seconds]
<samueldr>
> with pkgs; with lib; optionalString true hello # selfsymmetric-mu does it help?
<{^_^}>
[nixpkgs] @worldofpeace pushed 3 commits to master: https://git.io/JewaD
<joepie91>
selfsymmetric-mu: please be wary of using `with` - it makes it very difficult for a future reader of the code to figure out where particular identifiers are coming from
<joepie91>
(as is true for non-explicit scope injection in any language)
mexisme_ has quit [Ping timeout: 240 seconds]
<samueldr>
true, while I did answer the question, it can cause confusion, especiall when applied to a broader scope
<samueldr>
like, if I see a file starting with `with` I know I'm in for a ride :)
<samueldr>
while `with pkgs; [ ... ]` is generally sane enough... most of the time
<infinisil>
samueldr: Could use `attrValues { inherit (pkgs) a b c; }` :P
mexisme_ has joined #nixos
<samueldr>
definitely what I do in broader scopes :)
<infinisil>
About the same effect, but without with
<samueldr>
uh, no, misread
<samueldr>
neat trick there
xkapastel has quit [Quit: Connection closed for inactivity]
<samueldr>
though, for a simple `with pkgs; [ ... ]` that trick reads mostly like "avoiding with just for the sake of avoiding with" :)
<infinisil>
samueldr: I'll argue that people might think of putting complicated expressions inside `with pkgs; [ ... (complicated nested expression here) ... ]`
<samueldr>
you're right, thus "a simple" :)
<infinisil>
(and having the `with` scope inside the complicated nested expression makes things confusing again)
<samueldr>
definitely :)
<infinisil>
Ah yeah :)
vidbina has joined #nixos
vidbina_ has quit [Ping timeout: 240 seconds]
silver has quit [Read error: Connection reset by peer]
h0m1 has quit [Ping timeout: 245 seconds]
stepcut has quit []
selfsymmetric-mu has quit [Ping timeout: 246 seconds]
h0m1 has joined #nixos
jul1u5 has joined #nixos
johnw has quit [Ping timeout: 250 seconds]
NoctisLa1 has quit [Read error: Connection reset by peer]
johnw_ has joined #nixos
NoctisLa1 has joined #nixos
Okinan has quit [Quit: Konversation terminated!]
selfsymmetric-mu has joined #nixos
Okinan has joined #nixos
marcusr has quit [Remote host closed the connection]
marcusr has joined #nixos
<bdju>
is there a free package that can extract a rar file?
<rizary_>
Hi, I have backend in PHP, and frontend vanilla js. So, I use hydra for my build server, and in production, we have windows IIS. what is the best way to deploy from my hydra server to IIS? compressed it in .zip?
spacefrogg has joined #nixos
<clever>
rizary_: you could use pkgs.runCommand to generate a zip containing the files you want, and $out/nix-support/hydra-build-products to expose a download link in hydra's UI
jlv has quit [Ping timeout: 260 seconds]
<rizary_>
clever: thank you. I'll try that.
ajs124 has quit [Quit: Gateway shutdown]
gxt_ has joined #nixos
Scriptkiddi has quit [Remote host closed the connection]
das_j has quit [Remote host closed the connection]
das_j has joined #nixos
Scriptkiddi has joined #nixos
gxt has quit [Ping timeout: 260 seconds]
ddellacosta has quit [Read error: Connection reset by peer]
ddellacosta has joined #nixos
Supersonic112 has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 is now known as Supersonic
ThatOtherGuy is now known as LogicAside
LysergicDreams has quit [Ping timeout: 276 seconds]
mexisme_ has quit [Ping timeout: 246 seconds]
LysergicDreams has joined #nixos
ddellacosta has quit [Ping timeout: 276 seconds]
abathur has quit [Ping timeout: 265 seconds]
LysergicDreams has quit [Ping timeout: 240 seconds]
LysergicDreams has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
orivej has quit [Ping timeout: 268 seconds]
<{^_^}>
[nixpkgs] @nixos-channel-bot pushed 249 commits to nixpkgs-unstable: https://git.io/JewrD
LysergicDreams has quit [Ping timeout: 265 seconds]
LysergicDreams has joined #nixos
angordeyev[m] has joined #nixos
zupo has joined #nixos
Rusty1 has quit [Quit: Konversation terminated!]
drakonis1 has quit [Quit: WeeChat 2.6]
BrightOne[m] has joined #nixos
brightone has joined #nixos
<brightone>
Hi everyone! I'm starting to love package management again, thanks to Nix. I contributed a few packages to nixpkgs, added myself as a maintainer to others, and reviewed some PRs. What should I do in order to become a member of the NixOS organization on GitHub? (Maybe later if I don't have the experience) Thanks a lot!
<brightone>
cc worldofpeace
<BrightOne[m]>
Also, I think I'll continue being here from Matrix from now on. Just want that backlog :)
brightone has quit [Client Quit]
Okinan has quit [Quit: Konversation terminated!]
naivesheep has joined #nixos
endformationage has quit [Ping timeout: 265 seconds]
LysergicDreams has quit [Ping timeout: 268 seconds]
LysergicDreams has joined #nixos
gm152 has quit [Quit: Lost terminal]
Soo_Slow has quit [Quit: Soo_Slow]
aveltras has joined #nixos
pixeldot has joined #nixos
pixeldot has quit [Remote host closed the connection]
attente[m] has left #nixos ["User left"]
chreekat has quit [Remote host closed the connection]
chreekat has joined #nixos
o1lo01ol1o has joined #nixos
LysergicDreams has quit [Ping timeout: 240 seconds]
william has joined #nixos
fusion809 has joined #nixos
william has quit [Client Quit]
LysergicDreams has joined #nixos
william has joined #nixos
william has quit [Client Quit]
o1lo01ol1o has quit [Ping timeout: 276 seconds]
kenran has joined #nixos
reallymemorable has quit [Quit: reallymemorable]
jedai42 has joined #nixos
Fare has quit [Ping timeout: 240 seconds]
<{^_^}>
[nixpkgs] @nixos-channel-bot pushed 25 commits to nixos-19.09: https://git.io/Jewox
<{^_^}>
[nixpkgs] @oxalica opened pull request #73272 → fcitx-configtool: patch paths to fcitx-remote → https://git.io/Jewoh
<{^_^}>
[nixpkgs] @offlinehacker pushed 2 commits to master: https://git.io/JewKe
palo has quit [Ping timeout: 240 seconds]
palo1 is now known as palo
<kenran>
I want to use unixODBC and freetds from nix in a project (they're both dependencies already and pulled in just fine). Both of these libraries use config/INI files for their configuration, and I can control their paths via environment variables. My problem is that inside the odbc INI file I need to specify the path to the library file that is used (and comes from nix as well). I can use the path to my system
mexisme_ has joined #nixos
<kenran>
library just fine, but want it to be working even when I don't have the library in my system at all.
<kenran>
What would be the preferred way to handle this? Can I e.g. get the path to the library from some `nix-` command and change it in my INI file? Or is there a better/more idiomatic way?
jgt1 has joined #nixos
Thra11_ has quit [Ping timeout: 265 seconds]
<clever>
kenran: is the ini file in /etc? then a nixos module should be generating it
<{^_^}>
[nixpkgs] @nixos-channel-bot pushed 12 commits to nixos-unstable-small: https://git.io/JewVX
<bahamas>
anyway, what I actually want to do is add some packages to a python env where I already used withPackages. but the second call seems to override the first
<__monty__>
You probably want to do an override. Maybe an overrideAttrs.
CMCDragonkai has quit [Quit: Connection closed for inactivity]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<bahamas>
clever: sorry, I don't know what you mean. I mean, what am I trying to check with your suggestion?
<bahamas>
oh, I think that's the way to find the source to withPackages
<clever>
yep
Chiliparrot has joined #nixos
<bahamas>
ok, here's my use case. I want to add some packages only in development. that's why I want to use withPackages
<kenran>
clever: Just so I understand it: is the "something.nix" a nix expression purely describing the config file and location? I don't want a config to be installed globally in the system. What I need is to (during the nix-build of my Haskell project) create an ini file in the project directory that contains the store path to the dependency.
<clever>
kenran: something.nix is a file you need to write, that describes the contents, but not the location
<clever>
kenran: nix will generate the file, at a random path under /nix/store/, and the `-o /usr/local/etc/something.ini` will generate a symlink, pointing to that random path
<clever>
kenran: you can point -o anywhere you want, if you want it somewhere else
<kenran>
I'm not really sure where the call to pkgs.writeTextFile belongs I guess. Sorry if I'm being vague, it's because I'm not really understanding this process yet :)
<clever>
kenran: it goes in something.nix
__Sander__ has joined #nixos
<kenran>
clever: Would something.nix be a nix derivation that follows the usual `stdenv.mkDerivation { ... }` scheme, getting the dependency that I need the path to, as input?
<bahamas>
kenran: in that something.nix, you have somewhere `myfile = pkgs.writeTextFile ''file contents here'';` later, you can refer to that file with `${myfile}` and that gives you the path to it
<clever>
kenran: it would be a derivation that just goes writeTextFile directly
<clever>
kenran: possibly inside a set, as { something = pkgs.writeTextFile ...; }
<clever>
if using a set, then you -A something, to select a key in the set
<kenran>
Phew, okay, a lot to take in. I'll fiddle with that. Thanks for your time :)
<clever>
kenran: for example, just shove this into a file: with import <nixpkgs> {}; writeText "name" "hello is at ${hello}"
<clever>
kenran: and then just run nix-build on that file, and then `cat result`
tabasko has quit [Quit: tabasko]
__monty__ has quit [Ping timeout: 245 seconds]
fling is now known as infernorion
civodul has joined #nixos
infernorion is now known as fling
__monty__ has joined #nixos
<tilpner>
logind is randomly (?) powering down my laptop, with the explanation of "systemd-logind[2029]: Power key pressed."
sigmundv has joined #nixos
<tilpner>
Has anyone else seen this happen?
<etu>
tilpner: Faulty button? :)
<tilpner>
Pressing the actual power button does nothing
<tilpner>
Still checking if I inhibited that (but can't find the config file)
tabasko has joined #nixos
<tilpner>
logind.conf says I didn't disable it on my laptop (only on the server)
o1lo01ol1o has joined #nixos
captn3m0 has joined #nixos
jgt1 has quit [Ping timeout: 246 seconds]
captn3m0- has quit [Ping timeout: 240 seconds]
LysergicDreams has quit [Ping timeout: 240 seconds]
tabasko has quit [Quit: leaving]
tabasko has joined #nixos
LysergicDreams has joined #nixos
lukash_|away is now known as lukash_
bvdw has quit [Read error: Connection reset by peer]
drakonis has quit [Remote host closed the connection]
vidbina has quit [Ping timeout: 240 seconds]
<kenran>
clever: I managed to create the correct file with the correct name in the nix store. Then I noticed I don't really need to move it anywhere, I just have to point the respective environment variable to the store location. This is how it looks: https://pastebin.com/fGAneX6r. But I think there's 2 problems left for me:
<{^_^}>
[nixpkgs] @gotcha opened pull request #73273 → vimPlugins.vimelette: init at 2019-05-02 → https://git.io/Jew6b
<clever>
kenran: ah, if you just want an env var pointing to it, do `env_var = writeText "name" "contents";` in whatever you pointed `nix-shell` to (inside the mkDerivation)
exfalso has joined #nixos
<kenran>
clever: I should hopefully be able to get that part. The main problem now is that I don't want to use that something.nix on its own, but need it (1) to be built during the nix-build of my Haskell project, and (2) I don't want to do the 'with import <nixpkgs> ...' part there, but rather pass the stuff from my project. Part (2) is probably easily done by making it a function and calling it in part (1).
mexisme_ has quit [Ping timeout: 250 seconds]
<clever>
kenran: one min
<kenran>
clever: don't feel in any way pressured, I'll be gone for a couple of minutes anyway and you already helped me a ton!
armin has quit [Remote host closed the connection]
LysergicDreams has quit [Ping timeout: 268 seconds]
logzet has joined #nixos
LysergicDreams has joined #nixos
thc202 has joined #nixos
Jackneilll has joined #nixos
Jackneill has quit [Ping timeout: 240 seconds]
<dminuoso>
Okay latex on nixos is so horribly confusing. I just want to use beamer for org-mode, can someone give me a hint at what I need to drag in from nixpkgs.
<{^_^}>
#70171 (by etu, 5 weeks ago, open): chef-dk is broken and missing some utils
<dminuoso>
etu: Ah thanks. :)
<inf>
my disappointment is immeasurable and my workday is ruined
<eyJhb>
inf: a whole day to fix it? :D
<inf>
so good I have ubuntu chroot just in case :^)
<etu>
inf: Yeah, I run chef from 19.03.
<inf>
also, have no experience with ruby whatsoever... will try to take a look later.
<eyJhb>
inf: ruby is no fun, it hurts your soul
jgt1 has joined #nixos
<etu>
inf: That's kinda what I thought, I just made sure to leave the issue there ;D
jb55 has quit [Remote host closed the connection]
xelxebar has quit [Remote host closed the connection]
phreedom_ has quit [Remote host closed the connection]
ng0 has quit [Remote host closed the connection]
gxt_ has quit [Remote host closed the connection]
<etu>
eyJhb: It's a huge ruby mess thingy. So yeah... I haven't had the courage to even try to fix it.
jb55 has joined #nixos
gxt_ has joined #nixos
xelxebar has joined #nixos
phreedom has joined #nixos
<eyJhb>
etu: but clean ruby also hurts, but yea :D
ng0 has joined #nixos
selfsymmetric-mu has quit [Ping timeout: 240 seconds]
marcinja has quit [Ping timeout: 240 seconds]
marcinja has joined #nixos
<betaboon>
morning
<colemickens>
So when I try to use WebRender in Firefox, it complains fiercly about EGL. I feel like I've had issues with EGL previously. Should I expect EGL to work with something like Firefox in NixOS on an XPS 13 2018?
<xantoz>
as a way to get a GL context from your windowing server
<xantoz>
e.g. wayland has only EGL
<xantoz>
(X11 still has GLX of course, but new applications tend to prefer EGL)
alexherbo27 has joined #nixos
alexherbo27 has quit [Read error: Connection reset by peer]
cfricke has quit [Ping timeout: 240 seconds]
<tilpner>
dminuoso: scheme-full is very large and might take forever to install. If that's a problem, you can use scheme-small (/medium) and handpick missing packages
alexherbo27 has joined #nixos
ng0 has joined #nixos
vesper has quit [Ping timeout: 240 seconds]
<{^_^}>
[nixpkgs] @FRidh pushed 2 commits to release-19.09: https://git.io/JewPR
vesper11 has joined #nixos
<{^_^}>
[nixpkgs] @nixos-channel-bot pushed 197 commits to nixpkgs-unstable: https://git.io/JewPz
<bahamas>
for deployment, I'm using the flow of building the system locally, copying it over remotely and switching to it. the problem is that the systems keep piling up. does nix offer something to delete previous systems (like it does with generations), or do I need to write a script for this?
<wedens[m]>
bahamas: how do you build it? there must be some gc root it's not being GCed
<bahamas>
wedens[m]: I'm building it locally with `PROFILE_PATH="$(nix-build --no-out-link -A system ./nix/prod-system.nix)"`
<bahamas>
wedens[m]: copying it over with `nix-copy-closure --to --use-substitutes $TARGET $PROFILE_PATH`
<{^_^}>
[nixos-hardware] @Mic92 merged pull request #91 → apple: Add support for MacBook Air 3,X → https://git.io/fhtYi
<{^_^}>
[nixos-hardware] @Mic92 pushed commit from @ilian to master « apple: Add support for MacBook Air 3,X (#91) »: https://git.io/JewPK
<bahamas>
and enabling it with `ssh $TARGET -- "sudo nix-env --profile /nix/var/nix/profiles/system --set $PROFILE_PATH && sudo /nix/var/nix/profiles/system/bin/switch-to-configuration switch"
iyzsong has joined #nixos
<wedens[m]>
I'd start with inspecting `/nix/var/nix/gcroots`
<{^_^}>
[nixpkgs] @robashton opened pull request #73277 → Initial stab at making X11 a configurable dependency of intel-media-drivers → https://git.io/JewPM
sweep has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}>
[nixpkgs] @jpotier opened pull request #73278 → atlantis: init at 0.10.1 → https://git.io/JewPS
Ariakenom has quit [Quit: WeeChat 2.6]
<bahamas>
wedens[m]: there's a symlink to booted-system and one to current-system
sweep is now known as genesis
<bahamas>
btw, I haven't ran nix-collect-garbage -d so far, so it's possible it will delete all previous systems
kahiru has joined #nixos
<bahamas>
but I want to keep a few around, in case I need to rollback
genesis has joined #nixos
genesis has quit [Changing host]
Ariakenom has joined #nixos
Ariakenom has quit [Client Quit]
<wedens[m]>
you can run it with `--dry-run` arg just to see what it'll delete
<kahiru>
hi, is there a way to get nixos working on odroid c2 if I don't have serial and emmc?
<kolbycrouch>
does anyone know how to get qemu user-mode for armv6l working on aarch64? it doesn't work with boot.binfmt.emulatedSystems = [ "armv6l-linux" ];
<Twey>
https://hastebin.com/qonopafoye.json — I'm trying to use a(n unsigned) Nix cache, but for some reason Nix is rebuilding packages that are available on it, even though AFAICT my config should be using it… how can I debug why it's choosing to rebuild?
<Twey>
(my user is trusted by the daemon)
<{^_^}>
[nixpkgs] @tekeri opened pull request #73279 → perlPackages.LogJournald: init at 0.30 → https://git.io/JewXs
<inf>
I have a very weird case. I have 3 SuperMicro boxes running NixOS with UEFI and GRUB2. Sometimes after a power failure, some of them don't boot up and hang on GRUB screen post the menu with just the NixOS logo and grey background...
<inf>
I have whole /boot on FAT partition (know this is not the best setup) so I migrated 1 of them over to just have EFI part on FAT... This didn't seem to help. Previously, booting up nixos installer and just doing fsck on FAT partitions seemed to help, but only once.
<inf>
...ie, back to square one after another power failure.
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<{^_^}>
[nixpkgs] @domenkozar pushed to master « python3Packages.Babel: disable tests on darwin since they fail »: https://git.io/Jew1G
gxt_ has joined #nixos
hexo__ has quit [Ping timeout: 276 seconds]
hexo__ has joined #nixos
jgt1 has quit [Ping timeout: 245 seconds]
Chiliparrot has joined #nixos
<tabasko>
What is right way to install SDDM themes? Installing them from KDE configuration manager just downloads zips to root
<{^_^}>
[nixpkgs] @nixos-channel-bot pushed 4 commits to nixos-19.03-small: https://git.io/Jewiu
exfalso has joined #nixos
<exfalso>
Hi, I'm writing an activation script for Nomad that takes a bunch of configuration files and applies them. In order to make this efficient it would be best if I could somehow diff the previous state of the system with the current one. Is there a way to do this?
<exfalso>
What it would essentially need is a list of files that no longer apply, and a list of files that are new/have changed
<__monty__>
So, I can install pass but when I try adding the otp extension `pass.withExtensions (es: [ es.pass-otp ])` the tests for pass proper fail: http://ix.io/1SCF
<__monty__>
This in on a mac but it just worked on a different mac.
<romildo>
exfalso, at the moment I need "nix-shell -p go git go2nix linux-pam", which I had been using some months ago without problem.
Nimor has joined #nixos
<exfalso>
romildo: romildo: what's in your $PATH in the shell?
<Nimor>
Hey, I'm getting this error when trying to install zathura on MacOS:
<Nimor>
error: Package ‘xvfb-run’ in /nix/store/l0qm85gvi2hn31w9yriw77xjz6gaih9r-nixpkgs-20.03pre201318.01429fc2ab4/nixpkgs/pkgs/tools/misc/xvfb-run/default.nix:12 is not supported on ‘x86_64-darwin’, refusing to evaluate.
<Nimor>
can't find anything relevant on google
<romildo>
exfalso, echo $PATH | tr : '\n' | grep --color go does not list anything after nix-shell
<{^_^}>
[nixpkgs] @nixos-channel-bot pushed 2 commits to nixos-19.09-small: https://git.io/JewPR
<exfalso>
romildo: do you have a custom .bashrc by any chance? nix-shell unfortnately sources it
<romildo>
exfalso, ls $(nix-build '<nixpkgs>' -A go)/bin gives: go gofmt
Ariakenom has joined #nixos
<{^_^}>
[nixpkgs] @nixos-channel-bot pushed 4 commits to nixpkgs-19.03-darwin: https://git.io/Jewiu
<Ariakenom>
what does boot.loader.grub.trustedBoot use and should I trust it to work well?
<{^_^}>
[nixpkgs] @nixos-channel-bot pushed 9 commits to nixpkgs-unstable: https://git.io/JewMJ
<exfalso>
sry my net is flaky, so repeating: romildo do you have a .bashrc by any chance that overrides PATH?
<romildo>
exfalso, I have ~/.bashrc with a total of 3 lines, all of them commented out.
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
<etu>
Ariakenom: "Enable trusted boot. GRUB will measure all critical components during the boot process to offer TCG (TPM) support."
<exfalso>
romildo: strange.. does nix-shell work with *any* packages?
<exfalso>
romildo: ok that's one step, so it seems it is some kind of env leaking in with the interactive shell
felixfoertsch has quit [Ping timeout: 250 seconds]
<romildo>
exfalso, it seems related to my bash prompt. If I unset PROMPT_COMMAND and set PS1 to something trivial, it works.
<romildo>
exfalso, what does "env leaking" mean?
dingenskirchen has quit [Remote host closed the connection]
<exfalso>
romildo: some kind of host environment-specific setting/configuration leaking into the nix-shell. nix-shell is known to be *not* pure, it doesn't produce a clean environment like nix-build
<romildo>
exfalso, maybe "source liquidprompt", where liquidprompt is provided by a package.
kenran has joined #nixos
o1lo01ol1o has quit [Ping timeout: 246 seconds]
worldofpeace has joined #nixos
<worldofpeace>
BrightOne: Hey, that's great hear. When I think of what I consider when asking if someone could be added to the org is when they've had a great record of helping out in NixOS, and they really would like to help more but there's an issue. They can't without commit access, and to get that they need to be a member of the organization.
<romildo>
exfalso, I have started using liquidprompt recently.
<worldofpeace>
BrightOne: And it's not even a situation that takes a while to happen. For me personally, I was pretty surprised when I was granted membership so quickly. So I'd say NixOS organizationally works different than most distro's. Membership isn't allotted to a special few, and you don't need to be with the project for super long time. Just try your best to influence it in your own unique way that everyone can capitalize on.
romildo has quit [Quit: Leaving]
mniip has joined #nixos
<worldofpeace>
BrightOne: What's also great is we have a really great community of contributors. And I mean they're really excellant and fun to network with. While we don't have an official mentorship program, I'd say a lot of the core body of contributors are pretty generous and like helping out.
rardiol has quit [Quit: Leaving]
romildo has joined #nixos
<__monty__>
How would I go about finding where a certain wrapper script is created? `/nix/store/$hash-unit-script-wpa_supplicant-start` in this case.
<{^_^}>
[nixpkgs] @FRidh pushed commit from @listx to staging « ncurses: add infocmp utility »: https://git.io/JewDe
<Ariakenom>
do either of you dual boot Windows?
virus_dave has joined #nixos
<gchristensen>
no
<etu>
gchristensen: Well, I got a new work laptop a few months back so it got it from the start. As well as my private laptop that I bought this summer.
<etu>
gchristensen: But I don't think the gain is that big, especially if you just have one drive and no raidz stuff. But for new systems -- why not? :)
<kenran>
clever: Sorry I didn't write earlier, I got stuck in phone calls. Thank you very much for your guidance, I got everything to work inside the nix-shell quite quickly after your last message!
<{^_^}>
[nixpkgs] @FRidh merged pull request #72941 → ffmpeg: add options for QuickSync and libaom AV1 → https://git.io/Jeaar
<{^_^}>
[nixpkgs] @FRidh pushed commit from @nrdxp to staging « ffmpeg: add options for QuickSync and libaom AV1 »: https://git.io/JewDU
<adisbladis>
gchristensen: A nice thing you gain is encrypted incremental backups
<{^_^}>
[nixpkgs] @nixos-channel-bot pushed commit from @domenkozar to nixos-19.09-small « servant-client-core: patch a security issue leaking authorization header »: https://git.io/JewX5
<adisbladis>
You can send off your snapshots to another ZFS system that doesn't even have the key
<red[m]>
also - people who think systemd is my greatest fury-inducing computer science thing haven't met me when I join a new company and find out that they set their server times to local timezones
rardiol has joined #nixos
<worldofpeace>
Hmm, but the time converter does do it to your local time.
<red[m]>
(@!$@#^^$^%@#%$#)
<{^_^}>
[nixpkgs] @FRidh pushed 171 commits to staging-next: https://git.io/JewDi
<{^_^}>
[nixpkgs] @FRidh opened pull request #73287 → Staging next → https://git.io/JewDX
<Ariakenom>
do you know which set of options I should set for encrypted devices?
<__monty__>
Only for the plain dmcrypt setup : ) It's a bunch of initrd commands and the like.
psyanticy has joined #nixos
civodul has joined #nixos
<NickHu>
Anyone happen to have built a nixos installer image for pinebook pro yet?
domogled has quit [Ping timeout: 252 seconds]
endformationage has joined #nixos
<__monty__>
I haven't come across these udev-rules substituteStream() WARNINGs before, is this something I need to deal with or normal? http://ix.io/21xx
<evanjs>
Was going to point to infinisils config as well :P
<oscarvarto>
I am getting an error while running `home manager switch`: ```error: attribute 'hies' missing, at /home/oscarvarto/.nix-defexpr/channels/home-manager/modules/programs/vscode/haskell.nix:9:22``
alexherbo276 has joined #nixos
<infinisil>
oscarvarto: Yeah check out above link, all-hies doesn't work the same as the previous hie-nix
<oscarvarto>
infinisil and evanjs: Thanks Let me check. I am very new to nix language, and I guess it should be "easy", but I am not familiar enough with nix language (yet)
pheoxy has quit [Quit: authenticating]
reallymemorable has joined #nixos
<infinisil>
oscarvarto: I see, so essentially if you want to keep it as an overlay, you can do `hie = (import ./all-hies {}).selection { selector = ...; };` in the overlay
<infinisil>
For selector = ... use something as seen in the readme
<evanjs>
(Not to spam the channel about this, but) is it typically okay to disable stuff like this by default and not provide the user with an option to opt in? #73225
mounty has quit [Remote host closed the connection]
<evanjs>
Oh! Also, _completely_ different topic, but I remember using ZSTD compression for btrfs before when I was mainly using Gentoo. Is there anything similar available in the NixOS options, or further, is anything like that even beneficial for f2fs?
mounty has joined #nixos
<evanjs>
Did a cursory search but didn't see anything for zstd, though I'd probably just be adding it into hardware-configuration.nix...
<betaboon>
samueldr: on the installer-tests with efi. in the PR you mentioned "The first boot cannot be configured with qemu flags. the first boot is always as legacy boot". you ment that as part of the problem, right? as in "we need to be able to have the first boot configured with qemu-flags, and have it boot in efi-mode", correct ?
<evanjs>
evils: Right right, sorry, that's what I meant lol. I wouldn't _edit_ hardware-configuration.nix. Just // or etc
<evanjs>
Though I wonder how the performance benefits with zstd on btrfs compare to f2fs
<evanjs>
Not sure if it's actually bad, but one of the things that sticks out/scares me is the absolute path to the home directory there. Not sure if that's sometimes okay in hm, but the thought of absolute paths (outside of /nix) scares me
fling has left #nixos [#nixos]
<oscarvarto>
OK. Let me try
<qyliss>
eww
<qyliss>
whoops
<qyliss>
thought this was emacs
mwelt has joined #nixos
Thra11_ has quit [Ping timeout: 265 seconds]
mwelt has quit [Client Quit]
<oscarvarto>
infinisil, evanjs: I love emacs (althoug I am a beginner as well...). It is great that home manager has options for vscode + hie (for haskell dev)
<{^_^}>
[nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/Jew9P
<{^_^}>
[nixpkgs] @matthewbauer merged pull request #73292 → GCC 6: Fix java support for 19.09 → https://git.io/JewSG
LysergicDreams has joined #nixos
<{^_^}>
[nixpkgs] @matthewbauer pushed 2 commits to release-19.09: https://git.io/Jew9X
sigmundv has quit [Ping timeout: 265 seconds]
<arcnmx>
hm, is there a standard/proper way to specify a ruby vim plugin's gem dependencies, whether in buildVimPluginFrom2Nix, the vim_configurable wrapper, or somewhere else? I'm using home-manager's vim module but not familiar with ruby and not sure how to approach this.
<evanjs>
I wonder if you could use bundix or whatever and then just import/use it like a normal nix drv/dependency
<evanjs>
*nix expression
<arcnmx>
evanjs: mm I assume I can make a gemfile and environment for it but I also assume I need that environment to be available to vim in some way, either by maybe overriding+wrapping ruby or wrapping vim and setting an env var pointing to it?
<evanjs>
If you override vim you should just be able to include it in your vim packages or similar - https://nixos.wiki/wiki/Vim#Using_vim.27s_builtin_packaging_capability
<arcnmx>
my assumption here being that the plugin is loaded into vim's ruby environment rather than just being a script that gets run that I can wrap
Nimor has quit [Remote host closed the connection]
<arcnmx>
I can do that, but it won't bring in external gem dependencies unless I explicitly do so in some way. It normally just assumes you have them installed as external dependencies.
<{^_^}>
[nixpkgs] @gameboo opened pull request #73298 → texstudio: fix qt wrapping and explicitly receive qt attributes → https://git.io/JewHv
<arcnmx>
maybe vim has some setting for adding additional gem paths or something...
<evanjs>
If you just need to reference a bin or something, once you get the expression generated with bundix, import it as e.g. rubyThing, you can just set whatever variables you need in vim via nix
<evanjs>
e.g. `let g:something = "${myRubyThing}/bin/the_bin"` or whatever
<evanjs>
Unless I'm misreading what you're trying to do
<arcnmx>
I don't though, is the problem.
<arcnmx>
Ruby plugins presumably load ruby modules/code/etc directly into vim's ruby runtime? They don't seem to be calling an external script.
<arcnmx>
or I may not be familiar with how it works, if it's calling into the interpreter in some way it's not obvious to me where and how I would configure that
<evanjs>
Right, so I wonder if all you need to do is include it in vimPackages (however you're overriding that). My guess (with no knowledge of how vim ruby plugins work) is that there's some kind of plumbing that handles that when ruby support is enabled
alexherbo276 has joined #nixos
hoijui has joined #nixos
slack1256 has quit [Remote host closed the connection]
<arcnmx>
Yeah, I'm wondering if there is and if so, where is it o:
o1lo01ol1o has joined #nixos
kuznero has joined #nixos
<kuznero>
Hi All!
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<kuznero>
I am trying to `nixos-install` in VirtualBox and getting strage error: Assertion `store-isStorePath(ctx)` failed. Please advise.
<arcnmx>
the plugin basically does the equivalent of :ruby "require X" expecting it to be available to the ruby runtime in some way. I'm not sure if I could something along the lines of vim.override { ruby = ruby.withBundle X }, or if the vim wrappers already have something for it...
jgt1 has joined #nixos
<betaboon>
anyone has an idea what might lead nix-env to fail with "cannot figure out user name" ?
<arcnmx>
or idk ><
sondr3 has quit [Ping timeout: 240 seconds]
<kuznero>
I am running `nixos-install` under root. It is a very fresh minimal iso that I use.
domogled has joined #nixos
<kuznero>
It is coming from nix: s: void nix::EvalState::realiseContext(const PathSet&)
<catern>
betaboon: are you running on non-NixOS? if so, check /etc/nsswitch.conf - I expect that under passwd: you have something like "sss" rather than just "files". the fix is to use nscd on this non-NixOS system
ckauhaus has quit [Quit: WeeChat 2.6]
<betaboon>
catern: thats for the pointers. but no, i am running on nixos. I'm just trying to figure out `nixos-rebuild build-vm-with-bootloader` fails
<{^_^}>
#65133 (by cleverca22, 16 weeks ago, open): fix the vmWithBootloader attribute of nixos
domogled has quit [Ping timeout: 268 seconds]
<betaboon>
clever: thanks. i always forget to look for PRs as well. only looking for issues :)
<kuznero>
Can overlays be used on the nixos-install?
markus1189 has quit [Ping timeout: 265 seconds]
<betaboon>
clever: why hasnt that been merged yet ? oO
<betaboon>
well lets see if that helps with what I'm working on. :D
<Raito_Bezarius>
Hello, I have a broken SQLite DB on a NixOS machine, I don't know how to restore from this
<Raito_Bezarius>
Whenever I try to do an operation, it says no space left on the disk, though there is 1.3 GiB left
<Raito_Bezarius>
And when I try nix-env --delete-generations old, it fails with error: executing SQLite statement 'pragma synchronous = normal': unable to open database file (in '/nix/var/nix/db/db.sqlite')
<betaboon>
ah damn there is bitrot already
<arcnmx>
Hm, looks like bundlerEnv does produce a wrappedRuby, maybe that will work as an override then if vim execs ruby rather than links to it, I have no idea ><
<samueldr>
betaboon: yes, that was a description of the current situation; the (perl) test harness does not allow the first boot to be configured
<kuznero>
Strange, basically after disabling overlay, nixos-install started.
<manveru>
arcnmx: yeah, you should be able to pass wrappedRuby to vim instead, it'll be a wrapper that has all the gems in the lookup path
<kuznero>
nixos-rebuild worked with overlays (but missed boot loader creation)
__Sander__ has quit [Quit: Konversation terminated!]
<betaboon>
samueldr: thanks. went into the rabithole and discovered `virtualisation.useBootLoader` and `virtualisation.useEFIBoot`. wanted to try that and stumbled over vm-with-bootloader being broken since quite a while. which clever seems to have fixed a while ago. which hasnt been merged, and now is somewhat rotten xD
<clever>
betaboon: not sure why, i got distraced and never followed up on the comments as well
markus1189 has joined #nixos
cosimone has joined #nixos
<betaboon>
clever: so the usual :D it's so damn easy to get distracted..
smiles has joined #nixos
<evanjs>
kuznero: yeah were you using fetchGit or fetchTarball, etc?
<clever>
betaboon: i think the basic problem, is that with 2 virtio devices, qemu doesnt know which one to boot from
<clever>
betaboon: so you need special flags to control the boot order
<rnhmjoj>
say that i want to version-control my nixos config: how would i go about storing secrets? i'd like to put the files (keys, certs..) in a directory and use a relative path to include them but to avoid them getting copied to the nix store i must use quoted absolute paths, right?
<slabity>
What exactly would cause this error for `nixops info -d mysystem`: "Exception: could not find specified deployment in state file ‘/home/slabity/.nixops/deployments.nixops’"
<{^_^}>
[nixpkgs] @worldofpeace merged pull request #73297 → eagle: use mkDerivation provided by qt5 → https://git.io/Jew9h
<{^_^}>
[nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JewH1
<slabity>
I can't stop or destroy the VM at all.
<aminechikhaoui>
slabity check nixops list, looks like you're passing the wrong deployment name
<clever>
slabity: does `nixops list` list `mysystem` ?
<slabity>
Yes
<clever>
slabity: can you pastebin the output of both commands and the commands themelves?
smiles has quit [Quit: WeeChat 2.5]
hoijui has quit [Quit: Leaving]
jgt1 has quit [Ping timeout: 240 seconds]
<{^_^}>
[nixpkgs] @worldofpeace pushed commit from @veprbl to release-19.09 « eagle: use mkDerivation provided by qt5 »: https://git.io/JewHS
lukash_ is now known as lukash_|away
<slabity>
Oh wait, nevermind. I was trying to destroy `mysystem` in the `mynetwork` deployment. Not the other way around
<slabity>
I need to refamiliarizemyself with nixops
mounty has quit [Remote host closed the connection]
<__monty__>
Hmm, what's with github displaying diffs with italic fonts?
<__monty__>
gchristensen: ^ managed to fix my issue with bonding and wpa_supplicant.
<gchristensen>
nice
<clever>
__monty__: oh, that may help my issues too
<__monty__>
Would be gret if I fixed a problem I didn't know about : )
<clever>
__monty__: looks like you fixed the exact problem i was having
<clever>
2019-11-12 04:27:23 < clever> Nov 12 04:23:15 system76 3s0avjla52qx9zx8yi6glba43did5bvq-unit-script-wpa_supplicant-start[7893]: /nix/store/3s0avjla52qx9zx8yi6glba43did5bvq-unit-script-wpa_supplicant-start: line 4: /sys/class/net/bonding_masters/uevent: Not a directory
<jco>
hey! I've made a nix derivation to prepare an ocaml environment but when I try to build the various library against ocaml 4.08 I get errors
<jco>
but it works when using ocaml 4.07
<jco>
anyone facing such issues?
<worldofpeace>
clever: Already looking into the test failure. I ported it to the python driver, but there seems to be issues with it so I might revert it. And also hold off on PR'ing any DE test ports.
<clever>
worldofpeace: i suspect it might just be ocr weirdness, but havent looked at what the test is doing
anton-latukha[m] has left #nixos ["Kicked by @appservice-irc:matrix.org : User has been idle for 30+ days."]
aquarial has left #nixos ["Kicked by @appservice-irc:matrix.org : User has been idle for 30+ days."]
<worldofpeace>
clever: Reverting the port makes the test pass in like 40 seconds for me, while it stalls forever on the python driver suddenly. and what's weird is it passed on ofborg
<kahiru>
is there a way to have the following layout with uefi? small (16mb lets say) partition as /boot/efi, medium partition (1gb) formatted as ext4 and mounted as /boot and the rest as / ? I'm getting /boot doesn't look like an EFI partition
<evanjs>
arcnmx: yeah that seems practical
<kahiru>
ah, boot.loader.efi.efiSysMountPoint. nevermind then
<{^_^}>
[nixpkgs] @worldofpeace pushed to master « nixosTests.sddm: make regex case insensitive »: https://git.io/JewQD
<arcnmx>
evanjs: probably not great because it doesn't necessarily use the same ruby version as vim is built with, but a bit better than messing with the existing vim wrappers ._.
<gchristensen>
kahiru: you probabl yneed much more than 16mb for /boot/efi
<kahiru>
gchristensen: why? afaik it should contain only the efi bootloaders
<gchristensen>
my /boot/efi has 760M of stubs now. a single generation is about 20
<kahiru>
I just don't like having kernels on vfat
<gchristensen>
16M/boot/efi/nixos/myz5xqkncfdn8jd6873d51v70w77bc65-initrd-initrd.efi, 4.4M/boot/efi/nixos/grqfyj3ywx7kcdiq29sznr78nkzq1vzh-linux-5.1.21-bzImage.efi, and I have lots of these since I have multiple generations
<kahiru>
well, I would like all this to end up in /boot instead of in /boot/efi
<betaboon>
my /boot/EFI is 512MB i manage. but i wish i would have chosen 1G
<gchristensen>
I don't think it can?
<kahiru>
I just managed to do it. Booted a nixos system where the contents of /boot/efi take just 138k, the rest (kernels, initrds, grub config) lives in /boot
<betaboon>
kahiru: the ESP (the vfat partition) is mounted as /boot. the kernels have to go onto the ESP
<gchristensen>
neat
alexherbo276 has joined #nixos
<betaboon>
kahiru: interesting. and /boot and /boot/efi are different filesystems ?
<kahiru>
betaboon: yes
<kahiru>
it follow the scheme I outlined a while ago
alexherbo276 has quit [Read error: Connection reset by peer]
<{^_^}>
[nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/JewQ5
<betaboon>
kahiru: so your bootmanager has access to the ext4 /boot partition ?
<kahiru>
exactly
<kahiru>
grub can do that, not sure about systemd-boot
aveltras has joined #nixos
<betaboon>
not sure about systemd-boot either. but refind has ext4 drivers as well. never tried that way tho.
<betaboon>
what are your reasons for not wanting the kernels on the vfat partition ?
alexherbo276 has joined #nixos
<kahiru>
I was under the impression that the EFI boot partition should hold only the necessary files for kicking off the next bootloader
<evanjs>
speaking of refind... anybody know how I can make nix only show systemd-boot (vs the other nix "boot entries") and default to that?
<betaboon>
evanjs: when using refind ?
vidbina has joined #nixos
domogled has joined #nixos
mexisme_ has joined #nixos
markus1189 has quit [Ping timeout: 265 seconds]
haslersn[m] has left #nixos ["Kicked by @appservice-irc:matrix.org : User has been idle for 30+ days."]
<evanjs>
betaboon: yes, when using refind
<evanjs>
Only using it for my personal laptop atm, which is the only machine dual-booting Windows 10 and NixOS. Well, and Gentoo is still on there, I guess
joshuagl has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<evanjs>
Refind is a little nicer than hitting esc every boot :P
truh[m] has joined #nixos
<__monty__>
How do I list all the phases I should run in a nix-shell? Want to run everything up to the tests
<betaboon>
evanjs: yeah. I'm using refind only, no systemd-boot. but on your issue: you could use `dont_scan_dirs` or something similar
talvdav has joined #nixos
zupo has joined #nixos
halfbit has joined #nixos
<evanjs>
Mmkay. Wanted to make sure I got systemd-boot (nixos), gentoo, and windows 10 as the only options for now. I'll try that after this work PR is updated lol
jonreeve[m] has left #nixos ["Kicked by @appservice-irc:matrix.org : User has been idle for 30+ days."]
oscarvarto has quit [Ping timeout: 240 seconds]
<betaboon>
evanjs: i have a refind-PR pending. as there is efistub there is actually no need to go refind->systemd-boot->linux
<worldofpeace>
__monty__: if you do `type -a genericBuild` you'll see the function definition for genericBuild. And you can see in the source what phases are listed there
selfsymmetric-pa has joined #nixos
<selfsymmetric-pa>
My nix-installed fonts don't appear on this machine. I'm using xfce4. When I run `fc-cache -rf` I get `Fontconfig error: "/etc/fonts/2.11/conf.d/00-nixos-cache.conf", line 1: no element found`.
<selfsymmetric-pa>
Any advice?
<selfsymmetric-pa>
Still no fonts after reboot.
<__monty__>
worldofpeace: I was hoping for a way to list just the defined phases?
o1lo01ol1o has quit [Read error: Connection reset by peer]
<worldofpeace>
__monty__: does the expression use the `phases` attribute?
chloekek has joined #nixos
<__monty__>
No.
<__monty__>
Uhm, I ran into a patch that doesn't know what file it should be applied to. Why does this happen when running patchPhase manually but not when building the package? It gets all the way to running tests when building.
<{^_^}>
[nixpkgs] @Lassulus pushed commit from @mrVanDalo to master « nixos/syncthing: simple versioning »: https://git.io/Jew7y
<__monty__>
Hmm, weird. So going through the phases I don't get any errors but when installing (or nix-shell) I have tests failing.
<samueldr>
when you say nix-shell, do you mean nix-shell -p your-new-thing or running phases inside a nix-shell -A your-new-thing ?
<samueldr>
(where it fails)
<samueldr>
the nix sandbox, where nix-build (and nix-shell -p your-new-thing) might explain the failures; running phases in a nix-shell (-A) does not run under the same sandbox or constraints
<selfsymmetric-pa>
clever: I don't think so.
<selfsymmetric-pa>
clever: Wait no, they're there.
<__monty__>
samueldr: I mean nix-shell -p nixpkgs-package
<samueldr>
yeah, that would be the same as nix-build -A nixpkgs-package then :)
<__monty__>
samueldr: Would a nix-shell --pure give me the restricted shell? I'm on darwin btw so I don't think nix is sandboxing anything actually?
RIOTIM[m] has left #nixos ["Kicked by @appservice-irc:matrix.org : User has been idle for 30+ days."]
<samueldr>
oh, yeah, less constraints, but IIRC *some*
<samueldr>
and no, --pure is only pure in environment variables
<samueldr>
in *initial* environment variables; the shell might still load stuff from your configs
<__monty__>
Thing is these test failures only happen on some macs and not others.
<__monty__>
And the tests fail for the main program but only *if* it's installed with an extension.
selfsymmetric-pa has quit [Remote host closed the connection]
<__monty__>
samueldr: Let me know if you think of any next steps. I have no idea how to debug this. I suspect impurity though. The failure's too random otherwise.
misuzu has quit [Quit: leaving]
<waynee95>
Hey, I just recently installed NIxOS and I have a problem getting a program on Steam to work. When using `steam-run` I get the error `could not find or load Qt platform plugin xcb`. So I tried adding qt to the `extraPkgs` for steam-run, but that did not help. Still the same problem.
nlynx[m] has joined #nixos
<selfsymmetric-pa>
clever: "nix why-depends"? What does that mean?
<clever>
gchristensen: my gpg ssh agent has been busted since the last nixos upgrade, it just fails with "sign_and_send_pubkey: signing failed: agent refused operation" now
wildtrees has joined #nixos
dansho has joined #nixos
gxt has quit [Ping timeout: 260 seconds]
gxt_ has joined #nixos
<{^_^}>
[nixpkgs] @nixos-channel-bot pushed 2 commits to nixos-19.09-small: https://git.io/JewyU
<gchristensen>
clever: probably need to kill and restart your agent
fusion809 has quit [Remote host closed the connection]
<clever>
gchristensen: what could i run to query the agent and prod it do things and debug it?
<gjabell>
hey all, trying to package the weechat-matrix plugin, which eventually needs to get symlinked to ~/.weechat since that's where weechat sources plugins. Is there a best-practice way to do this in nix?
<__monty__>
gjabell: I think generally you'd patch the software to be less pedantic. Preferably getting the patch accepted upstream.
cosimone has quit [Remote host closed the connection]
cosimone has joined #nixos
Fare has joined #nixos
<gjabell>
hmm, ok
<gjabell>
looks like there are actually already some packaged plugins (they don't show up as packages though), so I can maybe reuse some of the code from those
boogiewoogie has quit [Quit: Leaving]
<__monty__>
Maybe they're in their own attribute set with dontRecurseIntoAttrs? Extensions for pass are in their own set for example.
run500 has quit [Remote host closed the connection]
<gjabell>
with that in mind; is there an easy way to "inject" an additional entry into the scripts directory without having to point to a local nixpkgs clone? I guess maybe I could use an overlay to override the list in the weechat package?
<__monty__>
gjabell: Yeah, I think you should be able to override buildInputs. Just add your plugin there. You can't override `plugins` and `enabledPlugins` because they're bound in a let, not attributes of the derivation.
<{^_^}>
[nixpkgs] @worldofpeace merged pull request #71390 → Enable soft real time for gnome shell → https://git.io/JeBaX
<{^_^}>
[nixpkgs] @worldofpeace pushed 4 commits to master: https://git.io/JewFP
alexherbo276 has quit [Ping timeout: 265 seconds]
cosimone has joined #nixos
cosimone has quit [Client Quit]
cosimone has joined #nixos
<gchristensen>
bgamari_: ping
<Raito_Bezarius>
Hello, for some strange reason, I'm trying to install Git and I get this error:
<Raito_Bezarius>
error: packages '/nix/store/nrf8q8w1f8w6hhvq0hd6wi8r3rz7grls-git-2.23.0/share/git-core/templates/hooks/pre-push.sample' and '/nix/store/fb23w0b5vgjnb9vjq550hagdhbn011h4-git-2.23.0/share/git-core/templates/hooks/pre-push.sample' have the same priority 5; use 'nix-env --set-flag priority NUMBER INSTALLED_PKGNAME' to change the priority of one of the conflicting packages (0 being the highest priority)
<Raito_Bezarius>
I already installed git minimal before, removed it using nix-env -u then tried to install the full version
<{^_^}>
[nixpkgs] @markuskowa pushed commit from @DavHau to master « update contributors documentation for nix-review (#73217) »: https://git.io/JewFA
_phry has joined #nixos
<lordcirth_>
Is there a way to build a package, while tracking the time taken to compile each dependency in the closure?
<_phry>
Heyo. I just upgraded my server from 18.03 to 19.09 (I know...), and now ipv4 isn't working any more. Dmesg shows a lot of `refused connection:`. Before I start panicing too much: any ideas?
<lordcirth_>
_phry, please define "isn't working". Also, what kind of hardware?
<_phry>
A Hetzner Server. I can reach it fine via ipv6, but no dice for ipv4.
<_phry>
and also yup, hetzner doing weird stuff with isolation. that config has been running fine for 15 months or so though - so my initial idea was that something with the iptables module changed
red[m] has left #nixos ["User left"]
<bgamari_>
gchristensen, we are using it on gitlab.haskell.org
<lordcirth_>
_phry, hmm, I can't see anything wrong with that iptables dump...
<gchristensen>
bgamari_: has what you done exactly changed at all? also, would you be willing to talk to a Packet customer about it?
<lordcirth_>
_phry, can you pastebin some of those "refused" log lines?
<bgamari_>
gchristensen, unfortunately I am having some very odd internet connectivity issues at the moment so I can't easily check whether the gist is up-to-date
<lordcirth_>
_phry, ok, so the old config declared a table called 'nixos-drop' containing the rule 'DROP'
<werner29167>
Hello! I recently had some firmware shenanigans, and now Nixos is missing from the EFI boot options. I can boot using the UEFI shell though. Does NixOS touch those at all? (The ones shown with efibootmgr) If so, can I re-run that installation step somehow?
<_phry>
yup. and does nothing with it if I'm interpreting this right. So.... it's not iptables?
<{^_^}>
[nixpkgs] @NeQuissimus pushed 5 commits to release-19.09: https://git.io/JewNJ
<_phry>
mh. machine rebooted, problem persists and at least these sysctl settings are the same
pointfourone has quit [Quit: WeeChat 2.6]
felixfoertsch has quit [Ping timeout: 252 seconds]
<lordcirth_>
_phry, so, is there a sysctl difference between the two or not?
<_phry>
not in the options I've compared so far. gonna compare ALL options now
<_phry>
no meaningful changes. some ipv6 stuff, mainly `net.ipv6.conf.virbr0.disable_ipv6 = 1` in the new system and `use_tempaddr = 2` on all bridges. but aside from that, they are equal
<lordcirth_>
_phry, ok. kernel versions?
<lordcirth_>
I dunno what it could be
<_phry>
that doesn't change when I just switch between generations without rebooting. I'm totally out of ideas :/
<lordcirth_>
_phry, so, if you switch without rebooting, the old config works, and the old one doesn't?
<lordcirth_>
new one doesn't*
<_phry>
exactly
stzsch has quit [Ping timeout: 276 seconds]
<lordcirth_>
Ok, so oldboot+oldconfig works. newboot+newconfig works. newboot+oldconfig works, and oldboot+newconfig has not been tested?
<lordcirth_>
I would be interested to know if oldboot+newconfig works, but it's probably not worth a reboot
<lordcirth_>
newboot+newconfig doesn't work* I should have said above
<_phry>
(i read what you wanted to type there ^^)
phreedom has quit [Remote host closed the connection]
<_phry>
Yeah, I guess the oldBoot+newConfig thing wouldn't be worth it
Rusty1 has joined #nixos
phreedom has joined #nixos
logzet has joined #nixos
<_phry>
I guess I'll leave it in newBoot+oldConfig for now and ask a few colleagues in our next slacktime. We've got quite a few ppl at work that do nixos better than me
<lordcirth_>
_phry, could you try deploying a similar config to a VM, perhaps?
<lordcirth_>
Ok. well, if you figure it out, let me know! Really weird.
<_phry>
lordcirth_ I fear a VM wouldn't be of much benefit, because I couldn't really replicate the "weird hetzner network" stuff
<_phry>
lordcirth_ will do once I find something out!
<_phry>
at least I've got a current kernel now :D
<lordcirth_>
Yeah. Are there any kernel live patching tools supported by NixOS? That'd be nice...
<_phry>
That kexec stuff I guess. But better not :D
<_phry>
Thanks for your help! Kept me sane :)
jco has quit [Quit: WeeChat 2.6]
stzsch has joined #nixos
alexherbo276 has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zupo has joined #nixos
_phry has quit [Remote host closed the connection]
<{^_^}>
[nixpkgs] @nixos-channel-bot pushed 96 commits to nixos-unstable-small: https://git.io/JewNE
aveltras has quit [Quit: Connection closed for inactivity]
alexherbo276 has joined #nixos
<betaboon>
samueldr: around ?
<samueldr>
betaboon: maybe?
<samueldr>
you can also directly ask if it's not time sensitive :)
<samueldr>
(and maybe since depending on the commitment I might not have the time)
Fare has quit [Ping timeout: 268 seconds]
virus_dave has quit [Quit: virus_dave]
<betaboon>
samueldr: I'm working on the first-boot-efi-mode. I'm so far as to have efi come up on first boot (very hacky right now tho) but i run into "BdsDxe: failed to load Boot0001 "UEFI Misc Device" from PciRoot(0x0)/Pci(0x9,0x0): Not Found". any ideas ?
<betaboon>
i see the mapping table has BLK1 as "PciRoot(0x0)/Pci(0x9,0x0)/HD(2,GPT,970C694F-AFD0-4B99-B750-CDB7A329AB6F,0x800,0x137DF)" which matches the GUID in qemu-vm.nix.
<samueldr>
sorry, doesn't ring a bell
<betaboon>
ok :)
<betaboon>
anyone else ? XD
<samueldr>
hmmm, I think I have a clue
<samueldr>
is the test actually loading an installer media or directly booting through qemu initrd+kernel?
<samueldr>
like, is it given the .iso?
<samueldr>
not sure that tianocore knows how to continue with initrd+kernel in that case
<{^_^}>
[nixpkgs] @cko opened pull request #73312 → pkgs/development/libraries: add missing descriptions and homepages → https://git.io/JewAR
<betaboon>
samueldr: its directly booting into uefi. not going through to kernel.
virus_dave has joined #nixos
<samueldr>
that's my point, if the first boot is given qemu params of initrd+kernel, rather than booting the installer iso, it might fail that way
<samueldr>
about to go AFK, and I am not checking the source, but that's my intuition
phreedom has quit [Remote host closed the connection]
<samueldr>
and it might be undesirable if we're not actively going through the bootloaders of the installer image
<samueldr>
(if!)
<betaboon>
thanks for the pointers. might stop working on it for today soon. maybe my head is just through for the day
<samueldr>
get the test harness to print the qemu command it uses
<betaboon>
ah now i get what you're pointing at. how did i not think of the installation media...
<samueldr>
yeah, I believe the installer.nix test is "testing" the configuration of the media, in the first boot, and *abusing* the ability to create a machine to test subsequent different boots
<samueldr>
rather than having a single machine configuration that is static
<samueldr>
does that make sense?
<clever>
samueldr: if you `-boot menu` with efi enabled in qemu, i believe you can get into the full efi bios config UI
<samueldr>
sure, but that won't help us here
<samueldr>
there's no operator at the VM
<clever>
it would let you at least confirm if nvram persists or not, when using certain flags
<clever>
and then use the same flags in the tests
<samueldr>
ah, it won't, that's a known value
<samueldr>
I know already that we need to give it a disk
<clever>
there is a qemu flag that should make nvram persist
<samueldr>
now I don't know if it needs to be pre-formatted or a blank one is fine
<samueldr>
yes
<samueldr>
it needs a secondary (readwrite) pflash that is set just after the tianocore one
<NoctisLa1>
When I run 'timidity -iA' I recieve the error 'ALSA lib seq_hw.c:466:(snd_seq_hw_open) open /dev/snd/seq failed: Permission denied'
CMCDragonkai has joined #nixos
<__red__>
NoctisLa1: ls -la /dev/snd/seq
<__red__>
NoctisLa1: id
<__red__>
what's the output of those two?
<CMCDragonkai>
I'm trying to use qemu-system-x86_64 to boot from a EFI system partition that I attached as a drive. However I learned that qemu requires a different BIOS firmware to be able to boot from UEFI. This is apparently called OVMF.
<CMCDragonkai>
How do I get OVMF into my `qemu-system-x86_64` command line?
<CMCDragonkai>
Do I have to install the OVMF package. And then somehow locate it. And use `-L` or `-bios`... options?
m0rphism has quit [Ping timeout: 265 seconds]
<NoctisLa1>
`crw-rw---- 1 root audio 116, 1 Nov 11 13:17 /dev/snd/seq` and `uid=1000(nix) gid=100(users) groups=100(users),1(wheel),57(networkmanager),67(libvirtd),302(kvm),499(adbusers)`
<earldouglas>
__red__: Thanks
<__red__>
NoctisLa1: so you need to add your user to the audio group
<{^_^}>
[nixpkgs] @c0bw3b pushed commit from @veprbl to master « snakemake: 5.4.4 -> 5.7.4 (#72929) »: https://git.io/JewxS
boogiewoogie has joined #nixos
mexisme has quit [Ping timeout: 250 seconds]
<NoctisLa1>
Another probably dumb question, when I run `sudo nixos-rebuild switch --upgrade` it's clealry upgrading packages, but then if I do a `sudo nix-channel --update` and then run `sudo nixos-rebuild switch --upgrade` it updates even more packages. Why doesn't it update everything during the first upgrade?
jgt1 has quit [Ping timeout: 240 seconds]
<NoctisLa1>
I thought `sudo nixos-rebuild switch --upgrade` included a channel update.
<clever>
NoctisLa1: behind the scenes, `--upgrade` does `nix-channel --update nixos`, which only updates the nixos channel
<gchristensen>
huh: IsADirectoryError: [Errno 21] Is a directory: '/boot/efi/nixos/fw'
<NoctisLa1>
Oh, so what I'm seeing is the unstable packages being updated in the second example?
<boogiewoogie>
has anything changed about the way udev rules are handled with 19.09? been having some issues with controllers not getting detected since I switched. they did flawlessly on 19.03
<CMCDragonkai>
why does OVMF have an `out` and `fd` outputs?