sphalerite changed the topic of #nixos to: NixOS stable: 19.03 \o/ https://discourse.nixos.org/t/nixos-19-03-release/2652 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat, #nixcon ... nixcon videos: https://tinyurl.com/nixcon2018
drakonis has joined #nixos
<lambda-11235> Is anyone else having trouble upgrading zoom-us on unstable?
lovesegfault has quit [Quit: WeeChat 2.5]
<pie_> tfw things work and you somehow inadvertently breaks something
qubasa_ has joined #nixos
<mankyKitty> how can I override version of cabal that `pkgs.haskell.packages.ghc881` is using? my overrides appear to have no affect
thc202 has quit [Ping timeout: 268 seconds]
* pie_ shoves pkgconfig in random places hoping it works afain
<pie_> again
qubasa has quit [Ping timeout: 244 seconds]
<{^_^}> lambda-11235: Please expand your question to include more information, this will help us help you :)
<maralorn> ajs124: kandinski: As I read the issue above you should use the option --fallback to fix this.
<lambda-11235> {^_^}: zoom-us fails with the following error.
owie has quit [Ping timeout: 260 seconds]
jtojnar has quit [Quit: jtojnar]
<samueldr> lambda-11235: looked into it quickly, it is fixed on master, looks like the next unstable bump would have that fix
<bourbon> I remember reading about a nixos fork that used clojure data structures instead of the nix dsl, but I can't seem to find it. Anybody remember it?
<samueldr> maybe not the one you're thinking about, not exactly a _nixos_ fork, and not clojure, but guile; that sounds like guix
<bourbon> actually.... that sounds about right
<bourbon> thanks, samueldr!
Chiliparrot has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fj9aV
<mankyKitty> okay different question .. using `pkgs.haskellPackages.shellFor` .. how does one add a binary to the path for that shell?
<infinisil> mankyKitty: shellFor { buildInputs = [ ... ]; }
<infinisil> should work
rouma has quit [Remote host closed the connection]
rouma has joined #nixos
drakonis has quit [Ping timeout: 245 seconds]
<mankyKitty> neat, ty.. I'll give that whirl
Izorkin has quit [Ping timeout: 272 seconds]
<mankyKitty> yasssss, thanks that worked
<{^_^}> [nixpkgs] @globin merged pull request #65732 → ghidra: 9.0.2 -> 9.0.4 → https://git.io/fj94K
<{^_^}> [nixpkgs] @globin pushed 2 commits to master: https://git.io/fj9aM
orivej has quit [Ping timeout: 258 seconds]
meteo has quit [Ping timeout: 245 seconds]
polman has quit [Ping timeout: 245 seconds]
psy3497 has joined #nixos
<{^_^}> [nixpkgs] @globin merged pull request #64336 → Drop nodejs-8_x → https://git.io/fj6Mx
<{^_^}> [nixpkgs] @globin pushed 3 commits to master: https://git.io/fj9a7
ris has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @kalbasit merged pull request #65759 → pythonPackages.pynamodb: init at 3.4.1 → https://git.io/fj924
<{^_^}> [nixpkgs] @kalbasit pushed to master « pythonPackages.pynamodb: init at 3.4.1 (#65759) »: https://git.io/fj9ad
polman has joined #nixos
hamishmack has quit [Quit: Textual IRC Client: www.textualapp.com]
<{^_^}> [nixpkgs] @globin pushed 406 commits to openssl-1.1: https://git.io/fj9ab
IRCsum has quit [Remote host closed the connection]
Rusty1 has joined #nixos
drakonis has joined #nixos
drakonis_ has joined #nixos
nDuff has quit [Quit: zzz]
Mr_Keyser_Soze has quit [Ping timeout: 245 seconds]
codezero has quit [Ping timeout: 246 seconds]
codezero has joined #nixos
drakonis has quit [Ping timeout: 264 seconds]
hamishmack has joined #nixos
<{^_^}> [nixpkgs] @Infinisil closed pull request #62938 → neovim module: init at 0.3.4 → https://git.io/fjgLb
liberiga has quit [Quit: Leaving]
Edes has joined #nixos
tsrt^ has quit []
nst^ has joined #nixos
ayerhart has joined #nixos
<maralorn> I thought {^_^} was a bot. Are you also a real user? Or what triggered the message at 02:17?
<maralorn> * 02:17 UTC+2
<ivan> * {^_^} VERSION lolidunno
drakonis has joined #nixos
<infinisil> maralorn: I'll PM you with an explanation :)
ayerhart has quit [Ping timeout: 248 seconds]
drakonis_ has quit [Ping timeout: 264 seconds]
meteo has joined #nixos
Edes has quit [Ping timeout: 245 seconds]
drakonis_ has joined #nixos
Mr_Keyser_Soze has joined #nixos
drakonis has quit [Ping timeout: 250 seconds]
jluttine has quit [Ping timeout: 268 seconds]
n1x_ has joined #nixos
<n1x_> Is the Stack package (Haskell) currently outdated, or is there a specific way to update Haskell packages that I'm not doing properly?
<n1x_> I'm just trying to do some super simple scripting with the Turtle library and have everything installed via the system config file in NixOS
ayerhart has joined #nixos
ddellacosta has quit [Ping timeout: 244 seconds]
ddellacosta has joined #nixos
<{^_^}> [nixpkgs] @grahamc merged pull request #65633 → chromium: 75.0.3770.90 -> 76.0.3809.87 → https://git.io/fjSND
<{^_^}> [nixpkgs] @grahamc pushed 3 commits to master: https://git.io/fj9Vk
fusion809 has joined #nixos
drakonis has joined #nixos
rouma has quit [Ping timeout: 246 seconds]
justanotheruser has joined #nixos
ayerhart has quit [Ping timeout: 245 seconds]
<Soo_Slow> can nix package manager work as sort of cross-distro AUR?
<gchristensen> sure
<ivan> that works great until you need GL
<{^_^}> #9415 (by joepie91, 3 years ago, open): libGL not working on non-NixOS (without setting up)
<Soo_Slow> oh
<kalbasit> is there a Nix function that's capable of getting the date of a commit in Git?
<gchristensen> I don't think so
<Soo_Slow> without gl, whole idea falls apart
dansho has joined #nixos
rouma7 has quit [Ping timeout: 245 seconds]
Mr_Keyser_Soze has quit [Ping timeout: 272 seconds]
Edes has joined #nixos
Mr_Keyser_Soze has joined #nixos
<{^_^}> [nixpkgs] @lopsided98 opened pull request #65761 → perl: fix errant references when cross-compiling → https://git.io/fj9V8
jluttine has joined #nixos
jluttine has quit [Ping timeout: 244 seconds]
<switchy> there is that gl wrapper thing?
<infinisil> ,nixgl
<{^_^}> nixGL is a bunch of wrappers for getting OpenGL programs to work for your graphics card, https://github.com/guibou/nixGL
doublex has quit [Ping timeout: 245 seconds]
Lears has quit [Remote host closed the connection]
layus has quit [Quit: ZNC 1.7.3 - https://znc.in]
layus has joined #nixos
englishm has quit [Excess Flood]
englishm has joined #nixos
englishm has quit [Excess Flood]
Lears has joined #nixos
englishm has joined #nixos
englishm has quit [Excess Flood]
englishm has joined #nixos
<{^_^}> [nixpkgs] @peterhoeg opened pull request #65762 → neovim-qt: 0.2.11 -> 0.2.12 → https://git.io/fj9Vr
DavidLeung[m] has joined #nixos
ddellacosta has quit [Ping timeout: 258 seconds]
Soo_Slow has quit [Remote host closed the connection]
ericsagnes has quit [Ping timeout: 264 seconds]
rouma7 has joined #nixos
doublex has joined #nixos
Mr_Keyser_Soze has quit [Ping timeout: 245 seconds]
judson__ has joined #nixos
judson_ has quit [Ping timeout: 276 seconds]
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
ericsagnes has joined #nixos
maralorn has quit [Quit: WeeChat 2.4]
maralorn has joined #nixos
xkapastel has quit [Quit: Connection closed for inactivity]
sushi_ has joined #nixos
ilikeheaps has quit [Ping timeout: 272 seconds]
<psy3497> I added `hpack` haskell package executable to my haskell project environment.
<psy3497> For some reason it has to build it from source.
<psy3497> All its dependencies were taken from nixos.cache.org
<psy3497> I'm curious what would be the steps I have to take to find out if indeed it is not in nixos' cache, and why
abathur has joined #nixos
elais has joined #nixos
doublex_ has joined #nixos
doublex has quit [Ping timeout: 276 seconds]
doublex has joined #nixos
doublex_ has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @peterhoeg closed pull request #18382 → dbus: [WIP] new version and socket activation → https://git.io/vinHN
<{^_^}> [nixpkgs] @aanderse closed pull request #65752 → nixos/couchdb: reenable test → https://git.io/fj9g3
<{^_^}> [nixpkgs] @peterhoeg closed pull request #28026 → sensu: nixos module - WIP → https://git.io/v76oO
alan1 has joined #nixos
<{^_^}> [nixpkgs] @peterhoeg merged pull request #30712 → systemd user services shouldn't run as root and other "non-interactive" users → https://git.io/vdAdT
<{^_^}> [nixpkgs] @peterhoeg pushed 4 commits to master: https://git.io/fj9Vx
xkapastel has joined #nixos
<ashkitten> ugh, i have to pass in overlays to the home-manager config because it doesn't seem to use the system overlays
<ashkitten> that's really annoying
<ashkitten> so now i've got `home-manager.users.ash = import ./home-manager config.nixpkgs.overlays`
justanotheruser has quit [Ping timeout: 258 seconds]
<ashkitten> and in `home-manager/default.nix` i have `overlays: { pkgs, ... }: nixpkgs = { inherit overlays; };`
DariusTheMede has joined #nixos
<DigitalKiwi> worldofpeace: they did a new release of bitwarden desktop and i updated the nix expression to work with electron_5...still opens the devtools on launch i don't know if that's normal or not though
Izorkin has joined #nixos
DariusTheMede has quit [Ping timeout: 245 seconds]
justanotheruser has joined #nixos
mexisme has quit [Ping timeout: 268 seconds]
drakonis has quit [Quit: WeeChat 2.4]
BinkyTheClown has joined #nixos
<{^_^}> [nixpkgs] @lilyball opened pull request #65763 → ripgrep: 11.0.1 -> 11.0.2 → https://git.io/fj9wL
elais has quit [Quit: elais]
Rusty1 has quit [Quit: Konversation terminated!]
<ashkitten> oh, i found a better solution (worse?)
doublex_ has joined #nixos
doublex has quit [Ping timeout: 248 seconds]
<ashkitten> `import ./home-manager pkgs;` and `pkgs: _: { _module.args.pkgs = pkgs.lib.mkForce pkgs; }`
<{^_^}> [nixpkgs] @Kiwi opened pull request #65764 → bitwarden: init at 1.15.2 → https://git.io/fj9wm
<DigitalKiwi> hopefully I don't have any dumb mistakes
arcnmx has quit [Remote host closed the connection]
wfranzini has quit [Remote host closed the connection]
mexisme has joined #nixos
alan2 has joined #nixos
<kandinski> I asked earlier about binaryCaches preferences, and I think I've found a bug in it. In my case, I had [ "http://dymaxion.local" "https://cache.nixos.org" ] and it fails because I'm no longer in the network where host dymaxion is. It does work and move to the next substituter if I write "http://dymaxion.com" because the failure is when the host cannot be resolved. The domain name esolver enters
<kandinski> exponential backoff.
alan2 has quit [Client Quit]
alan1 has quit [Read error: Connection reset by peer]
doublex_ has quit [Quit: Quit]
Edes has quit [Ping timeout: 272 seconds]
day|flip has quit [Remote host closed the connection]
DariusTheMede has joined #nixos
<DigitalKiwi> i end up using --option a lot to get around problems like that (usually i want to change substituters and/or builders)
DariusTheMede has quit [Ping timeout: 244 seconds]
hamishmack has quit [Ping timeout: 272 seconds]
<ivan> what caused the mass rebuild in master?
nst^ has quit [Ping timeout: 246 seconds]
nst^ has joined #nixos
<{^_^}> #65687 (by vitaliy-zinchenko, 1 day ago, closed): gnupatch: update links to patches
<ivan> could that have been avoided by keeping the filename the same?
abathur has quit [Ping timeout: 272 seconds]
zupo has joined #nixos
<ivan> yes
mexisme has quit [Ping timeout: 248 seconds]
vmandela has joined #nixos
eof has quit [Quit: eof]
eof has joined #nixos
endformationage has quit [Quit: WeeChat 2.5]
ghasshee has joined #nixos
<ghasshee> I found that it was first time I ran nix-shell after upgraded to 1903 but only failed .
<ghasshee> sudo nix-shell works but as a normal user, it will not work returned an error : cannot lock file /nix/var/.../....lock
<DigitalKiwi> is it nix-review or nox-review that is better
<ghasshee> Does anyone give a quick pointing about what is happening here ?
dansho has quit [Quit: Leaving]
<clever> ghasshee: what does `type nix-shell` return?
<ghasshee> nix-shell is /run/current-system/sw/bin/nix-shell
<ghasshee> type -a nix-shell did the same return
<clever> ghasshee: is $NIX_REMOTE set?
<ghasshee> No, it seems blank
<ghasshee> Nothing set.
mkoenig has quit [Remote host closed the connection]
nst^ has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @marsam opened pull request #65765 → Update timescaledb → https://git.io/fj9wi
Asmadeus has quit [Ping timeout: 276 seconds]
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/4cc5592fe2d (from 19 hours ago, history: https://channels.nix.gsc.io/nixos-19.03)
<{^_^}> [nixpkgs] @marsam opened pull request #65766 → rubocop: 0.73.0 -> 0.74.0 → https://git.io/fj9wX
<ghasshee> I tried another clean installed device, but no problems found .
<ghasshee> So, I might set something wrong or , the upgrader did some strange thing .
<ghasshee> After I upgraded , I installed nixos with bootable usb installation media, which might break something ...
mkoenig has joined #nixos
<clever> ghasshee: ix nix-daemon running?
<ghasshee> I might have done an overwrite of nixos
<Izorkin> Mic92: please check build mariadb.connector-c_3_1 mariadb.client mariadb.server in darwin
<ghasshee> it seems No.
Asmadeus has joined #nixos
<ghasshee> And I do not understand what nix-daemon does.
<ghasshee> ah, I saw man
<{^_^}> [nixpkgs] @ivan opened pull request #65767 → prometheus-pushgateway: remove myself from list of maintainers → https://git.io/fj9w7
linuus has joined #nixos
<ashkitten> hmm
<ashkitten> i might lower the number of parallel builds
<ashkitten> i have it set to the number of threads, but it's frustrating how slowly each individual package takes with that configuration
<ashkitten> might just drop it to 1
<ashkitten> since they all build with 12 threads anyways
<{^_^}> [nixpkgs] @marsam merged pull request #65763 → ripgrep: 11.0.1 -> 11.0.2 → https://git.io/fj9wL
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fj9wb
<{^_^}> [nixpkgs] @marsam merged pull request #65727 → z-lua: 1.7.1 -> 1.7.2 → https://git.io/fj9Ww
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fj9wN
<ghasshee> clever: Thanks, I got keys what I did not know from you and I will try more.
<{^_^}> [nixpkgs] @marsam merged pull request #65742 → pythonPackages.redis: 3.1.0 -> 3.3.4 → https://git.io/fj90M
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fj9wj
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
DariusTheMede has joined #nixos
<{^_^}> [nixos-homepage] @zaoqi opened pull request #293 → Duckduckgo → https://git.io/fj9re
DariusTheMede has quit [Ping timeout: 245 seconds]
ee1943 has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @vbgl merged pull request #65382 → ocamlPackages.merlin_extend-0.3 -> merlin-extend-0.4 → https://git.io/fjDhF
<{^_^}> [nixpkgs] @vbgl pushed to master « ocamlPackages.merlin_extend-0.3 -> merlin-extend-0.4 »: https://git.io/fj9rL
ee1943 has joined #nixos
DariusTheMede has joined #nixos
<ghasshee> clever: Thank you! it worked.
rouma7 has quit [Ping timeout: 276 seconds]
weedloser has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #65769 → dsvpn: init at 0.1.0 → https://git.io/fj9rY
<{^_^}> [nixpkgs] @marsam merged pull request #63881 → protobuf3_8: init at 3.8.0 → https://git.io/fjo82
<{^_^}> [nixpkgs] @marsam pushed 3 commits to master: https://git.io/fj9r3
ghasshee has quit [Ping timeout: 246 seconds]
Chiliparrot has joined #nixos
DariusTheMede has quit [Ping timeout: 258 seconds]
wfranzini has joined #nixos
lambda-11235 has quit [Quit: Bye]
<{^_^}> [nixpkgs] @marsam opened pull request #65770 → grpc: 1.19.1 -> 1.22.0 → https://git.io/fj9rC
ngirard has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #65767 → prometheus-pushgateway: remove myself from list of maintainers → https://git.io/fj9w7
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fj9rl
<{^_^}> [nixpkgs] @mmahut merged pull request #65747 → stow: 2.3.0 -> 2.3.1 → https://git.io/fj9uC
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fj9rR
DariusTheMede has joined #nixos
FRidh has joined #nixos
<{^_^}> [nixpkgs] @mmahut merged pull request #65769 → dsvpn: init at 0.1.0 → https://git.io/fj9rY
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fj9rE
<mbrgm> hey! what's the preferred way of running nixos off a local nixpkgs clone? I did this for a long time for my nixOPS deployments by setting nixpkgs= accordingly, but now I started using nixos on my desktop and I'm not quite sure what's the best way, getting everything (like search unknown command etc.) right?
<{^_^}> [nixpkgs] @mmahut merged pull request #65766 → rubocop: 0.73.0 -> 0.74.0 → https://git.io/fj9wX
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fj9rg
<{^_^}> [nixpkgs] @mmahut merged pull request #65765 → postgresqlPackages.timescaledb: 1.4.0 -> 1.4.1 → https://git.io/fj9wi
<{^_^}> [nixpkgs] @mmahut pushed 3 commits to master: https://git.io/fj9ra
<tilpner> mbrgm: You can set NIX_PATH=nixpkgs=path/to/your/checkout, but that will not get you command-not-found
<tilpner> I'm not sure how to recreate the same index that Hydra builds, but you can use nix-index/nix-locate for more functionality than command-not-found would give you
<mbrgm> tilpner: yeah, that's what I did for nixops. now I thought about moving this definition to configuration.nix? there's several ways to achieve what I'm trying to do, so I was interested in about how other people are doing it...
<{^_^}> [nixpkgs] @FRidh pushed 108 commits to staging-next: https://git.io/fj9rw
<tilpner> You can set nix.nixPath
<tilpner> But that's an annoying two-stage thing, you need to pass -I to nixos-rebuild every time you change nixPath
<tilpner> As for single-stage solutions... they are possible, but more complicated (AFAIK)
<{^_^}> [nixpkgs] @marsam opened pull request #65772 → pythonPackages.scrapy: 1.7.2 -> 1.7.3 → https://git.io/fj9r6
orivej has joined #nixos
DariusTheMede has quit [Ping timeout: 268 seconds]
<ctp> Hi. I have some trouble to use ZFS encryption while bootstrapping a machine from the minimal install image. Kernel/userland mismatch. I guess there is a simple solution how to reload the kernel modules at this stage without rebooting? Here's my issue https://stackoverflow.com/questions/57321726/nixos-zfs-encryption-in-installer
knupfer has joined #nixos
<ctp> Does someone have a hint for me? :D I am documenting the entire procedure for other who might run into same issue
veske has joined #nixos
nhey_ has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed commit from @ivan to master « gnupatch: avoid rebuild from c4ce832e PR #65687 »: https://git.io/fj9rD
MmeQuignon has joined #nixos
weedloser has quit [Ping timeout: 248 seconds]
DariusTheMede has joined #nixos
<tilpner> Uh oh
<tilpner> ctp: Don't just install zfs user tools with nix-env
<{^_^}> [nixpkgs] @vcunat pushed commit from @ivan to release-19.03 « gnupatch: avoid rebuild from 2af7aac7 PR #65687 »: https://git.io/fj9rH
<ctp> tilpner: I did the configuration.nix part as well
<tilpner> One solution is to build your own installation image with zfs unstable enabled
<tilpner> That will have matching kernel and user versions
<ctp> Hm, ok, is there any other solution? :)
<{^_^}> [nixpkgs] @vcunat pushed 2 commits to staging-next: https://git.io/fj9r7
<tilpner> Building your own image is quite easy. I guess you can try to fiddle around with modprobe to reload zfs
knupfer has quit [Ping timeout: 264 seconds]
xkapastel has quit [Quit: Connection closed for inactivity]
<ctp> OK, I give the custom image a try :) Thanks!
veske has quit [Quit: Leaving]
DariusTheMede has quit [Ping timeout: 245 seconds]
orivej has quit [Ping timeout: 245 seconds]
<tilpner> ctp: Try NIX_PATH=nixpkgs=channel:nixos-unstable:nixos-config=$PWD/ctp.nix nix-build --no-out-link '<nixpkgs/nixos>' -A config.system.build.isoImage
<tilpner> ctp: With https://tx0.co/QLk
<{^_^}> [nixpkgs] @vcunat pushed 31 commits to openssl-1.1: https://git.io/fj9ov
<{^_^}> [nixpkgs] @teto opened pull request #65774 → python3Packages.cmd2: 0.9.14 -> 0.9.15 → https://git.io/fj9of
<{^_^}> [nixpkgs] @srhb merged pull request #65516 → ocamlPackages.lambdasoup: init at 0.6.3 → https://git.io/fjy5U
<{^_^}> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/fj9oU
zupo has joined #nixos
<tilpner> ctp: You may also be interested in building the entire disk image of the finished installation, though that's a bit more uncommon
<tilpner> And may not work well with encryption
justanotheruser has quit [Ping timeout: 245 seconds]
orivej has joined #nixos
<ctp> Yeah, I was thinking of it as a source for reproducibility of the entire build, but since it's ZFS, snapshot is fine enough as image of entire disk. OK, I have to run now, but will try the custom image thing later. Thank you so much!
<{^_^}> [nixpkgs] @FRidh merged pull request #65772 → pythonPackages.scrapy: 1.7.2 -> 1.7.3 → https://git.io/fj9r6
<{^_^}> [nixpkgs] @FRidh pushed commit from @marsam to master « pythonPackages.scrapy: 1.7.2 -> 1.7.3 »: https://git.io/fj9oY
veske has joined #nixos
Chiliparrot has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @Kiwi opened pull request #65775 → (WIP?) OCRmyPDF → https://git.io/fj9oO
<tilpner> ctp: With this method, you can customise your image to automatically start installation of your configuration. Just boot, wait, reboot, and you're in your finished NixOS system. Theoretically...
Chiliparrot has joined #nixos
mexisme has joined #nixos
<ctp> yes, sounds smart. thanks!
<{^_^}> [nixpkgs] @Mic92 merged pull request #61475 → graalvm: rc15->19.0.0 → https://git.io/fjWHf
<{^_^}> [nixpkgs] @Mic92 pushed 8 commits to master: https://git.io/fj9o3
DariusTheMede has joined #nixos
veske has quit [Client Quit]
___laika has joined #nixos
alex`` has joined #nixos
<DigitalKiwi> worldofpeace: https://github.com/NixOS/nixpkgs/issues/65620 i had this as well with a thing that uses qt59 should i make a comment about it?
<{^_^}> #65620 (by sjau, 2 days ago, open): qt-full 5.12 - permission denied
thc202 has joined #nixos
<fgaz> Hmm… is cache.nixos.org dropping slow connections to avoid DOS attacks or something?
<abbe> Hi!
MmeQuignon has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @adisbladis merged pull request #59189 → emacs-modes: replace melpa-generated with json format + updater in emacs lisp → https://git.io/fjtwl
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/fj9o1
<{^_^}> [nixpkgs] @lheckemann opened pull request #65777 → EmptyEpsilon: 2019.01.19 -> 2019.05.21 → https://git.io/fj9oM
<fgaz> I'm getting "HTTP error 200 (curl error: timeout was reached)" every time I try to download a big file from the cache
<ivan> fgaz: I hear it has problems over IPv6
<fgaz> ivan: I'm on ipv4 though
<fgaz> A slooooow ipv4
<fgaz> In fact, when I switch to a faster ipv6 connection it works
<{^_^}> #65015 (by feijoas, 2 weeks ago, open): warning: unable to download: HTTP error 200 (curl error: Timeout was reached);
<ivan> (sorry, nothing useful there)
<fgaz> ivan: thanks for the link
o1lo01ol1o has joined #nixos
<ashkitten> ...why does arc-theme have gnome-shell in its nativeBuildInputs
<fgaz> ivan: yeah, no working solution there… I guess I'll just reply to that issue then
veske has joined #nixos
<{^_^}> [nixpkgs] @vbgl opened pull request #65778 → reason: 3.3.7 -> 3.5.0 → https://git.io/fj9ox
___laika has quit [Ping timeout: 272 seconds]
<ashkitten> > gnome-shell for auto-detecting the GNOME Shell version
<{^_^}> undefined variable 'gnome-shell' at (string):255:1
<ashkitten> ...
fendor has joined #nixos
<ashkitten> so instead of supplying the gnome-shell version from nixpkgs which we can acquire without building gnome-shell, we're just putting it in the build inputs
ottidmes has joined #nixos
<abbe> New NixOS (release-19.03 nixpkgs channel) user. If I see a package that's just got some bugfix updates (no version bump or anything) in release-19.03 branch, how do I install them ?
<abbe> I tried 'nix-channel --update ...' and did 'nixos-rebuild switch', and 'nix-env -i ...'
<abbe> but I still get same buggy package, whereas i see the corresponding fixes being present in nixpkgs directory on the host
orivej has quit [Ping timeout: 245 seconds]
<srhb> abbe: Have you read the boxes here? http://howoldis.herokuapp.com/
<abbe> nope, checking
<srhb> abbe: Before nixpkgs/release-19.03 gets promoted to nixpkgs-channels/nixos-19.03 it must pass certain test sets, perhaps that's what you're seeing.
<srhb> The latest commit on nixos-19.03 is currently 4cc5592fe2d264577ca8fb0b4a42f1768030011e -- it might be easier to talk about the package in question rather than in hypotheticals :)
<abbe> sure, just a second
DariusTheMede has quit [Ping timeout: 245 seconds]
<abbe> commit (package) in the question is https://github.com/NixOS/nixpkgs/commit/aeeb30a3b298d4b3ff930f55cb278f8d6c232da2 (sshguard)
o1lo01ol1o has quit [Remote host closed the connection]
<abbe> /root/.nix-defexpr/channels/nixpkgs/nixos/modules/services/security/sshguard.nix on my host contains the changes
<{^_^}> [nixpkgs] @lheckemann closed pull request #55786 → improve perl shebang lines by switching to `use lib ...;` → https://git.io/fh7Dw
justanotheruser has joined #nixos
knupfer has joined #nixos
<srhb> abbe: That commit is in nixos-19.03 already.
asymptotically has joined #nixos
<srhb> Oh sorry, you said nixpkgs-19.03
<srhb> abbe: Er... There's no such thing is there? :-)
<abbe> I don't think I typed nixpkgs-19.03 anywhere
<srhb> abbe: Could you run nix-shell -p nix-info --run nix-info ?
<abbe> sure
<srhb> abbe: no, you said "release-19.03 nixpkgs channel"
<srhb> abbe: I'm not sure what that is.
<abbe> yes, that's what i said
<abbe> oh, sorry
<abbe> i thought release-19.03 git branch corresponds to that channel
niso has quit [Ping timeout: 246 seconds]
<srhb> But you're actually using nixos-19.03, right?
<abbe> right
<abbe> system: "x86_64-linux", multi-user?: yes, version: nix-env (Nix) 2.2.2, channels(root): "nixpkgs-19.03.173214.4cc5592fe2d, nixos-19.09pre186563.b5f5c97f7d6", nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos
<srhb> nixos-19.03 does correspond to release-19.03 -- *after* certain tests have passed. :)
<srhb> Thanks
<srhb> So it looks like you have some channel confusion here.
<abbe> nix-channel --list => nixpkgs https://nixos.org/channels/nixos-19.03
<srhb> and sudo nix-channel --list ?
<srhb> abbe: To avoid confusion you should probably stick to root's one channel, namely nixos-19.03 :)
<srhb> (And delete the rest)
<abbe> hmm
knupfer has quit [Ping timeout: 264 seconds]
<srhb> (Unless you specifically need them, in which case you might want to rename them a bit to not conflict with either nixpkgs or nixos)
<abbe> few days ago I tried to test this patch with: nixos-rebuild switch -I nixpkgs=$HOME/nixpkgs
<abbe> $HOME/nixpkgs being git clone of that repository
<srhb> The default setup is to have one channel, on root, named nixos, which corresponds to the latest stable.
<abbe> is that how I got two in channels(root) ?
<srhb> abbe: No, that must have happened through use of nix-channel commands.
<abbe> okay
<srhb> THe above with -I is entirely transient for just the duration of that command
<abbe> Okay
<abbe> initially when i installed, it was configured with unstable channel
<srhb> Oh, you used an unstable installer?
<abbe> and i then switched to nixos-19.03
<abbe> I'd an Ubuntu VM, i switched that to NixOS
<srhb> WEll, pick any channel, name it nixos, have it owned by root, delete the rest. That should make things clearer :)
<abbe> srhb: but i only see one channel in nix-channel --list output
<srhb> abbe: And with sudo?
<abbe> in both sudo, and my user.
<srhb> Right.
<srhb> THey are different.
o1lo01ol1o has joined #nixos
<abbe> sudo nix-channel --list => https://nixos.org/channels/nixos-19.03
<srhb> As in, they count as two channels, which means if you update one, the other won't be.
<abbe> oh! so I should remove my user's ?
<srhb> YEs.
<srhb> At least, that's the default setup :)
<srhb> There's other ways to do it of course, including just not using channels..
ng0 has joined #nixos
<Izorkin> Mic92: please run command build mariadb.connector-c_3_1 mariadb.client mariadb.server
domogled has joined #nixos
<abbe> srhb: okay, i purged nixpkgs channel from abbe, but not sure about channels(root): "nixpkgs-19.03.173214.4cc5592fe2d, nixos-19.09pre186563.b5f5c97f7d6". https://hasteb.in/ciqufora.js
psy3497 has quit [Ping timeout: 246 seconds]
<srhb> abbe: can you sudo nix-channel --update ?
<srhb> I'm not sure how you would up with the nixpkgs one..
<abbe> srhb: did that, still two channels
<srhb> BUt not in nix-channel --list, right?
<srhb> Now you just want to name your one root channel nixos for clarity, update and you should be good to go.
<srhb> Rename probably means --remove and --add
<abbe> right, two channels were nerver in nix-channel --list
<{^_^}> [nixpkgs] @Mic92 opened pull request #65780 → Cross fixes → https://git.io/fj9K7
<abbe> *never
<srhb> Right.
<abbe> it's only in output of "nix-shell -p nix-info --run nix-info" where I noticed
lsix has quit [Ping timeout: 272 seconds]
<srhb> Well.. There must have been two at some point, or something really broke.
erictapen has joined #nixos
<srhb> But the channels mechanism is so confusing that who knows anyway.
<srhb> Anyway: End up with 1 channel, as root only, called nixos, pointing to nixos-19.03, and you're good to go.
<ivan> fgaz: I'm seeing this too on my own nix-serve's, it might be a bug in nix
is_null has joined #nixos
<ivan> fgaz: or maybe a dependency because I don't see anything relevant in 2.2.2
o1lo01ol1o has quit [Remote host closed the connection]
<abbe> srhb: after doing nix-channel --remove nixpkgs i don't see any channels in nix-channel-list but /root/.nix-defexpr/channels/nixos symlink is still present
<srhb> abbe: It's only relevant for nix-env, ignore it..
<abbe> okay
<srhb> (You generally won't be using nix-env as root anyway)
<abbe> so with no channels I guess I won't be able to install any packages ?
<abbe> or will I ?
o1lo01ol1o has joined #nixos
<abbe> using 'nix-env -i ...'
<srhb> abbe: Your user should have a symlink channels_root iirc
<srhb> In the defexpr path
<{^_^}> [nixpkgs] @prusnak opened pull request #65781 → maintainers: update prusnak → https://git.io/fj96e
<srhb> Or you can set it up yourself, pointing to root's channels.
<abbe> yes
<srhb> So that should work fine then
<abbe> what I meant is there is no channel in either root, or my user
<srhb> in ~abbe/.nix-defexpr?
<abbe> lrwxrwxrwx 1 abbe users 44 Jul 30 16:25 .nix-defexpr/channels_root -> /nix/var/nix/profiles/per-user/root/channels
<srhb> Ah ok.
<srhb> So you're saying nix-channel and sudo nix-channel is empty now
<abbe> correct
<srhb> OK, so just add nixos-19.03 with the name nixos to root now
<abbe> my question is with empty channel list for both users should I be able to install a package using 'nix-env -i ...' basically just to verify my system is consistent with general assumption
<srhb> No.
<abbe> okay
<abbe> but I tried installing ffmpeg (which I have not installed before ever) using 'nix-env -i ffmpeg'
<abbe> and it starts getting installed
<srhb> Yargh.
<abbe> yes, so I guess something is inconsistent in my setup, some hidden channel or something ?
<srhb> ls /nix/var/nix/channels/{root,abbe} ?
<srhb> Oops sorry
<srhb> ls /nix/var/nix/profiles/per-user/{root,abbe}/channels ?
<abbe> /nix/var/nix/profiles/per-user/abbe/channels: => manifest.nix, /nix/var/nix/profiles/per-user/root/channels: => binary-caches manifest.nix nixos
rprospero has quit [Remote host closed the connection]
<Izorkin> Mic92: please run only mariadb.connector-c_3_1 - problem in version 3.1.3, 3.1.2 - normal build
ghasshee has joined #nixos
__monty__ has joined #nixos
__monty__ has joined #nixos
__monty__ has quit [Changing host]
<abbe> srhb: any ideas ?
W1lkins has quit [Quit: Bye]
W1lkins has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
pietranera has joined #nixos
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
Rovanion has quit [Quit: WeeChat 1.4]
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
___laika has joined #nixos
ghasshee has quit [Ping timeout: 272 seconds]
<DigitalKiwi> FRidh: ping
___laika has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @mmahut merged pull request #65781 → maintainers: update prusnak → https://git.io/fj96e
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fj961
<{^_^}> [nixpkgs] @Ma27 merged pull request #65777 → EmptyEpsilon: 2019.01.19 -> 2019.05.21 → https://git.io/fj9oM
<{^_^}> [nixpkgs] @Ma27 pushed 3 commits to master: https://git.io/fj96D
logzet has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #65741 → pythonPackages.python-lz4: 2.1.2 -> 2.1.6 → https://git.io/fj90g
<{^_^}> [nixpkgs] @FRidh pushed commit from @jonringer to master « pythonPackages.python-lz4: 2.1.2 -> 2.1.6 »: https://git.io/fj965
ubert has joined #nixos
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/e851ccd6b4c (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
ghasshee has joined #nixos
veske2 has joined #nixos
__monty__ has quit [Quit: leaving]
__monty__ has joined #nixos
<Mic92> Izorkin: done
veske has quit [Ping timeout: 245 seconds]
<Mic92> Izorkin: what is the attribute name?
<srhb> abbe: Sorry, had to go for a bit
<abbe> np
<srhb> abbe: Clearly you still have a nixos channel in root, did you update?
<Izorkin> Mic92: rollback PR, added test patch
<srhb> abbe: When you sudo nix-channel --update is when the actual profile gets created, in order to facilitate rollbacks to earlier versions
<abbe> srhb: so while you were gone, i added a new channel with url release-19.03 with nixos alias, and then removed it, after that all of my channels were gone for real, now I re-added that same channel, and things are rebuilding
<abbe> and i only see one channel in nix-info
<srhb> abbe: OK. fwiw you should not use release-19.03 unless you're willing to risk breakage. That's the untested version of nixos-19.03
<srhb> So it could eat your system in funny ways.
<azazel> funny... it depends :-)
<srhb> s/funny/interesting then ;-)
<azazel> :-)
<abbe> hmm
<abbe> sorry that is what I meant, didn't use release-19.03, but nixos-19.03. sorry for confusing
<srhb> OK great, sounds like you're in good shape :)
<{^_^}> [nixpkgs] @prusnak opened pull request #65782 → runwayml: init at 0.8.0 → https://git.io/fj9il
<abbe> yes, thank you for your time, and help.
<srhb> No problem :)
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/28bf7ab6e6d (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<azazel> srhb, Mic92: will you be at the conference in october=
<srhb> azazel: I don't think so :(
<Mic92> azazel: no.
<abbe> is there a (recommended) book on learning/understanding nixos concepts ?
<spacekookie> Is there the equivalent package of "texlive-full" on nixos? Because from the manual I can't figure out how
<srhb> abbe: I think the nix pills are still relevant.
<azazel> ah, that's a pity
<srhb> azazel: I'm guessing you are?
<azazel> srhb: yes
<abbe> thanks, didn't know about that.
<srhb> spacekookie: texlive.combined.full probably
<srhb> azazel: nice!
<spacekookie> srhb: that doesn't exist
<{^_^}> [nixpkgs] @Mic92 merged pull request #65730 → verilog: 2019.03.27 -> 2019.08.1 → https://git.io/fj98i
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to master: https://git.io/fj9iu
<srhb> spacekookie: Sorry, texlive.combined.scheme-full
<srhb> spacekookie: tab completion through texlive.combined in general :)
DariusTheMede has joined #nixos
<srhb> Or you can combine your own set using texlive.combine.
<{^_^}> [nixpkgs] @Mic92 opened pull request #65783 → libdrm: cross-compile fix → https://git.io/fj9iz
<spacekookie> Yea, that's what I've been doing so far but it's getting annoying
<spacekookie> Oh I keep forgetting that the wiki exists
<spacekookie> x)
<Izorkin> Mic92: worked, patch updated
<Mic92> Izorkin: so macOS built?
domogled has quit [Ping timeout: 246 seconds]
<Izorkin> yes - https://logs.nix.ci/?key=nixos/nixpkgs.63355&attempt_id=70f2302a-910e-4ffd-a6c9-b77c483e3efc
<Mic92> Izorkin: mind sending your patches also to https://github.com/MariaDB/server. I mean pkgs/servers/sql/mariadb/cmake-without-client.patch and pkgs/servers/sql/mariadb/cmake-fix-crypt-libs.patch
<Mic92> Then it won't become a burden in future.
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
dontdieych has quit [Quit: ZNC 1.7.3 - https://znc.in]
ghasshee has quit [Ping timeout: 248 seconds]
jgt has quit [Ping timeout: 252 seconds]
<Izorkin> Mic92: variant with LIBRARIES ${CRYPT_LIBS} not worked, updated to variant with LIBRARIES ${ED25519_LIBS}
erictapen has quit [Ping timeout: 244 seconds]
<Mic92> Izorkin: This one too.
<{^_^}> [nixpkgs] @ciil opened pull request #65784 → atlassian-jira: 8.2.3 -> 8.3.0 → https://git.io/fj9i9
<Miyu-chan> Uh, is there an `any` module type?
<Miyu-chan> I want to say nullOr any.
<{^_^}> [nixpkgs] @Ma27 merged pull request #64302 → vagrant: 2.2.3 -> 2.2.5 → https://git.io/fj6uv
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/fj9iQ
meteo has quit [Ping timeout: 245 seconds]
<manveru> Miyu-chan: `unspecified` might do?
<emilsp> is there a way I can turn a shell.nix into a tarball that I can _enter_ at any time? getting a bit tired of rebuilding my build env on every reboot.
<Miyu-chan> Thanks.
<manveru> emilsp: https://github.com/target/lorri :)
<DigitalKiwi> emilsp: maybe lorri would help
<DigitalKiwi> manveru: drats you win this time
<manveru> hm, that page doesn't really explain what lorri is
<{^_^}> [nixpkgs] @Ma27 pushed commit from @angristan to release-19.03 « vagrant: 2.2.3 -> 2.2.5 »: https://git.io/fj9iF
psyanticy has joined #nixos
<emilsp> thanks manveru and DigitalKiwi
<__monty__> +1 for direnv/lorri
<emilsp> do I have to use direnv? last time I looked at it, it left a bad taste security wise.
<manveru> how so?
<manveru> and yeah, i don't think lorri will work without direnv
<emilsp> ideally, I'd always be the one executing a thing rather than relying on a side effect of changing my cwd to execute things.
<manveru> but i'd be really interested how direnv is supposed to be insecure (given you don't blindly run `direnv allow` in every directory you go to)
<rawtaz> emilsp: terribly sorry for a silly question, but what was the problem you were having with shell.nix?
<emilsp> rawtaz: building android-sdk often fails intermittently and then typescript langserver takes ages to build and doesn't work the way I want it to work.
<rawtaz> hmm. im probably missing too much context :) thanks though!
<emilsp> rawtaz: I want something that I can shell into immediately rather than rebuilding the whole derivation that my shell.nix declares. Usually after the first build, it will be fine, nix-shell my-project/shell.nix will return in less than 30 seconds, but the first build is always very painful. As such, I was hoping to find out a way to have my shell.nix derviation evaluated once and then saved somewhere on disk in
<emilsp> a way that I can easily _shell into_ when I need to.
<manveru> emilsp: other option is to run something like `mkdir .nix-gc-roots; nix-shell . --pure --indirect --add-root .nix-gc-roots/dep`
<manveru> and not use <nixpkgs> in shell.nix
<manveru> otherwise the shell will depend on your channel, which might change, and your shell will require updating
<emilsp> I can replace nixpkgs channel with a specific commit that doesn't change all the time, right?
<manveru> yes
<emilsp> I'll have to look into that then :)
<emilsp> Gah, there's always too many _other_ things I need to do so I never get around to fixing my nix scripts :/
<__monty__> emilsp: You could also use `myEnvFun` instead of nix-shell.
<manveru> `import (fetchTarball { url = "https://github.com/nixos/nixpkgs-channels/archive/a835adc10cb813d214a9069361d94a2a3f8eb3a5.tar.gz"; sha256 = "0q2nqxadlhs52q02lis27qgx624gbz9p809a5iw6a3fpbnawjdm9"; }) {};`
<manveru> something like that
<averell> why is lorri not packaged?
<manveru> averell: it is
<manveru> just not in nixpkgs
<manveru> `lorri = (import (fetchTarball { url = "https://github.com/target/lorri/archive/rolling-release.tar.gz"; }) { };`
veske2 has quit [Quit: This computer has gone to sleep]
niso has joined #nixos
ghasshee has joined #nixos
<manveru> anw, you can ask more in #lorri :)
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<kandinski> I'm setting up a couple of NixOS systems (my own laptop and a network proxy cache for binary substitutions) and the snag I just found is that iohk pakages don't have a valid signature. What's the standard way to add public keys so nix can recognise packages? The word "key" is a bit too ambiguous to be a good search term.
ng0 has quit [Quit: Alexa, when is the end of world?]
mexisme has quit [Quit: WeeChat 2.5]
<Taneb> kandinski: you want to add a "trusted-public-keys" to your nix.conf file
mexisme has joined #nixos
<Taneb> I don't know where to find IOHK's public key, though
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/0e9548e1497 (from 3 days ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
<kandinski> Taneb: thanks
<kandinski> can I ask though why this goes in nix.conf and not in /etc/nixos/configuration.nix?
hmpffff has joined #nixos
<Taneb> Ah, I'm used to nix-on-other-linux
weedloser has joined #nixos
<Taneb> It's also the nix.binaryCachePublicKeys option
<kandinski> Taneb: that makes sense too, thanks
leotaku has joined #nixos
ghasshee has quit [Ping timeout: 268 seconds]
jgt has joined #nixos
sb0 has joined #nixos
leotaku_ has quit [Ping timeout: 272 seconds]
xkapastel has joined #nixos
MmeQuignon has joined #nixos
noudle has joined #nixos
MmeQuignon has quit [Ping timeout: 248 seconds]
justan0theruser has joined #nixos
iyzsong has joined #nixos
<{^_^}> [nixpkgs] @rawkode opened pull request #65785 → shotcut: use qt5's mkDerivation → https://git.io/fj9Pa
justanotheruser has quit [Ping timeout: 258 seconds]
Moredread[m] has joined #nixos
noudle has quit []
DariusTheMede has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @primeos pushed to master « pythonPackages.pysnmp: 4.4.9 -> 4.4.10 »: https://git.io/fj9Py
<Miyu-chan> Ugh, does anyone know how to use foreign keys with inner join on Nixops's sqlite3 database?
<Miyu-chan> foreign key(machine) references Resources(id) on delete cascade
<yorick> Miyu-chan: oh no
<Miyu-chan> Where's the name in this? ; ;
<Miyu-chan> I hhaven't really used SQL directly.
noudle has joined #nixos
<Miyu-chan> It seems idk. unnamed?
<yorick> Miyu-chan: foreign keys are just constraints, this one is called 'machine'
<Miyu-chan> Oh.
<yorick> you still have to inner join ON machine=Resources.id
<Miyu-chan> Thank youuu
zupo has joined #nixos
<Miyu-chan> Finally.
drakonis has joined #nixos
<Miyu-chan> SELECT value FROM Resources r INNER JOIN ResourceAttrs a ON r.id=machine WHERE r.name="my-key-pair" and a.name="privateKey";
<Miyu-chan> Does this seem sane?
drakonis has quit [Read error: Connection reset by peer]
drakonis has joined #nixos
<Miyu-chan> ...I'm stupid. I finally understand what's happening lol. The line that I sent is saying that the name column constrains or osmething of the sort.
drakonis has quit [Read error: Connection reset by peer]
drakonis has joined #nixos
<averell> also you should use ' quotes for strings
drakonis_ has quit [Ping timeout: 272 seconds]
erictapen has joined #nixos
noudle has quit []
DariusTheMede has joined #nixos
<Miyu-chan> SELECT * FROM DeploymentAttrs INNER JOIN Resources USING (deployment) INNER JOIN ResourceAttrs ON Resources.id=ResourceAttrs.machine WHERE DeploymentAttrs.name='name' and DeploymentAttrs.value='deployment_name' and Resources.name='my-key-pair' and ResourceAttrs.name='privateKey';
<Miyu-chan> Is this sane?
<gchristensen> no, it is not typically a good idea to directly query an application's database when you're not the application
<gchristensen> but yeah that looks right
noudle has joined #nixos
<Miyu-chan> I forgot how to extract the privkey lmao
<Miyu-chan> IIRC, my lst way of doing that was using the --export and passing it through jq.
<Miyu-chan> Now that I think about it.
<gchristensen> yeah that is a good way
<Miyu-chan> Welps, either way, was a good crash course to SQL TBH.
<gchristensen> :) SQL is such a good tool to know
DariusTheMede has quit [Ping timeout: 258 seconds]
<CMCDragonkai> i've got the new gopro hero 7 black
<CMCDragonkai> i connect it to USB, the screen says it is now usb connected
<CMCDragonkai> however i cant seem to see any extra disks to mount
<CMCDragonkai> i can see that the usb device is there with usb-devices
<clever> CMCDragonkai: modern cameras dont register as a mass-storage device, they use something else, that directly serves files, not blocks with an FS
<clever> cant remember the name of it
<{^_^}> [nixpkgs] @lsix merged pull request #65774 → python3Packages.cmd2: 0.9.14 -> 0.9.15 → https://git.io/fj9of
<{^_^}> [nixpkgs] @lsix pushed 2 commits to master: https://git.io/fj9Xe
<CMCDragonkai> clever: ahhh shit
<CMCDragonkai> clever: so we need to install some driver
<clever> CMCDragonkai: you need to use something like gnome or xfce to "mount" it
<CMCDragonkai> clever: or kernel module?
<clever> fuse also has drivers for it
<CMCDragonkai> clever: I use XMonad
<CMCDragonkai> so no desktop environment
<CMCDragonkai> i have nautilus app though, but that doesn't seem to show anything
<clever> fuse should work then, if we knew what it was called, lol
<CMCDragonkai> clever: is it something to do with gphoto or gvfs?
fendor has quit [Remote host closed the connection]
<clever> CMCDragonkai: dont think so
fendor has joined #nixos
<CMCDragonkai> mtp?
<CMCDragonkai> like android?
<clever> thats the one
<Miyu-chan> Eeeep. How do I make ProxyJump use an identity.
<clever> there should be a fuse thing for mtp
<Miyu-chan> Without using ssh configs.
<CMCDragonkai> i hate mtp
<__monty__> Google's turning up a lot of gphoto results for "fusefs camera."
veske2 has joined #nixos
<Miyu-chan> Welps. Guess I have to use ProxyCommand for this.
<CMCDragonkai> clever: I found a nice program gmtp to do it graphically
veske2 has quit [Read error: Connection reset by peer]
<CMCDragonkai> clever: thanks
veske2 has joined #nixos
<Miyu-chan> So I'm pretty close into getting proxycommand + ssh-copy-closure into something. :D
<Miyu-chan> nix-copy-closure*
<clever> Miyu-chan: have you seen remote-store?
<Miyu-chan> Yep, I've considered that.
<Miyu-chan> But nixops currently uses nix-copy-closure.
<clever> ah
noudle has quit []
<Miyu-chan> Yeeet.
<Miyu-chan> [myrl@myrl:/tmp/tmp.9t6AkQUqvt]$ ssh -i deployment.privkey -o ProxyCommand='ssh -i deployment.privkey root@13.229.82.141 nc 10.0.185.77 22' root@10.0.185.77 hostname
<Miyu-chan> ip-10-0-185-77.ap-southeast-1.compute.internal
* Miyu-chan dabs
<clever> lol
<Miyu-chan> clever: I'm thinking of adding `networking.proxyJump = "machine_name";` to nixops for better(security. :)
<Miyu-chan> better(?)*
<clever> Miyu-chan: i think it already has an env var that can set ssh flags
<Miyu-chan> Yeah, you can do it with helper functions, but that requires calling nixops multiple times.
<Miyu-chan> s/helper functions/wrappers/
kyren has joined #nixos
weedloser has quit [Quit: Leaving]
selfsymmetric-pa has joined #nixos
JonReed has joined #nixos
<JonReed> Hi, how do I figure out what the fetchPypi statement should be from the pypi page. E.g. I want to pull the https://pypi.org/project/PyQtWebEngine/#files dependency, but no matter what I try it returns 404. My latest attempt is: https://pastebin.com/jzs1h3fb
___laika has joined #nixos
<JonReed> I'm browsing `nixpkgs` and documentation, but it looks like everyone knows something very obvious that I'm missing.
sb0 has quit [Quit: Leaving]
<srhb> JonReed: Look at the url generators in fetchpypi.nix
<srhb> JonReed: Compare to the urls on the file page.
<srhb> Realize that the package in question has batshit filenames.
<JonReed> srhb: :D. Well, thanks.
___laika has quit [Ping timeout: 258 seconds]
<srhb> Python version: "cp35.cp36.cp37.cp38"
<srhb> wat
<srhb> :P
<srhb> I think you're better off grabbing it from its homepage.
<Miyu-chan> Love it. It's fucking working.
<Miyu-chan> [myrl@myrl:/tmp/tmp.9t6AkQUqvt]$ NIX_SSHOPTS="-F ./ssh_config" nix-copy-closure --to database /nix/store/4iikzfprqy3808ca7cshc7sgc9i0rv3b-postgresql-9.6.13
<Miyu-chan> copying 9 paths...
<Miyu-chan> copying path '/nix/store/9c6w975b888fksaayyncw1nffj5l0q5n-libxml2-2.9.9-bin' to 'ssh://database'...
<Miyu-chan> Now I just need to port this to nixops.
nek0 has quit [Quit: ZNC 1.7.4 - https://znc.in]
DariusTheMede has joined #nixos
vmandela has left #nixos ["Leaving"]
noudle has joined #nixos
nek0 has joined #nixos
DariusTheMede has quit [Ping timeout: 245 seconds]
srid has quit [Ping timeout: 245 seconds]
selfsymmetric-pa has quit [Remote host closed the connection]
noudle has quit []
fendor_ has joined #nixos
drakonis_ has joined #nixos
hmpffff has quit [Quit: Bye…]
fendor has quit [Ping timeout: 248 seconds]
drakonis has quit [Read error: Connection reset by peer]
srid has joined #nixos
noudle has joined #nixos
srid has joined #nixos
srid has quit [Changing host]
drakonis has joined #nixos
hyperfekt has joined #nixos
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « slack: Add update script »: https://git.io/fj91w
drakonis_ has quit [Ping timeout: 276 seconds]
domogled has joined #nixos
<maralorn> When I "nix.nixServe.enable = true" on my Server, enter correct authorizedKeys and use "binaryCaches = [nix-ssh@my-server ...]" on my Laptop. Any reasons this shouldn‘t work?
<__monty__> Passwordless key? And does the server sign stuff?
iyzsong has quit [Ping timeout: 252 seconds]
iyzsong has joined #nixos
work_ has joined #nixos
joehh has joined #nixos
fendor_ has quit [Ping timeout: 244 seconds]
drakonis1 has joined #nixos
ZeDestructor has joined #nixos
paulaneds has joined #nixos
<paulaneds> hey all, how do I install a python package locally?
<paulaneds> I have added pythonPackages.requests to systemPackages, but when I do import requests in my script Iget
<paulaneds> ImportError: No module named requests
<paulaneds> but if I run it from nix-shell -p pythonPackages.requests
<paulaneds> it works just fine :///
<gchristensen> (python.withPackages (pypkgs: [ pypkgs.requests ]))
<gchristensen> > (python.withPackages (pypkgs: [ pypkgs.requests ]))
<{^_^}> "<derivation /nix/store/5q9cfa5p35xvgv44lw4zf0v4zz0n3cbm-python-2.7.16-env.drv>"
<gchristensen> ^ this creates a special python just for you which has requests "built in"
<{^_^}> [nixpkgs] @rawkode opened pull request #65787 → nheko: use qt5's mkDerivation → https://git.io/fj9ML
<{^_^}> [nixpkgs] @rawkode opened pull request #65788 → vokoscreen: use qt5's mkDerivation → https://git.io/fj9Mq
ottidmes has quit [Ping timeout: 272 seconds]
<__monty__> gchristensen: What does nix-shell do differently btw? Afaik with ghc for example you need to do withPackages even in a nix-shell?
<gchristensen> nix-shell runs a setup hook
<joehh> hello all, excited about recent nixos accomplishment
<joehh> had a client visiting a remote site at short notice (1000km+ from them, 3000km from me) which required one of our nixos appliances. created a custom installer image, which connected back to our networks via openvpn. Got client IT to burn to usb, boot random piece of hardware with it, so we could then install nixos on device and then takeover with nixops. client then took device to remote site for
<joehh> installation. No idea how one would accomplish this without nix/nixos/nixops.
<iqubic> What's the latest version of Emacs available on the unstable branch?
paulaneds has quit [Remote host closed the connection]
<averell> 26.1 i think
<averell> .2. i lied.
<iqubic> 26.2.what?
<iqubic> or is it just 26.2?
<averell> just 26.2
hmpffff has joined #nixos
Mr_Keyser_Soze has joined #nixos
stepcut has joined #nixos
<iqubic> When will Emacs 26.2.90 get pushed to unstable? Is there an ETA for that?
iyzsong has quit [Quit: ZNC 1.7.1 - https://znc.in]
iyzsong has joined #nixos
<iqubic> To whomever maintains the emacs derivation in nixpkgs, I would like to point out that this bug currently exists in emacs 26.2, which is the current latest version in unstable. https://debbugs.gnu.org/36810
<__monty__> johnw: ^
phreedom has quit [Remote host closed the connection]
phreedom has joined #nixos
<gchristensen> iqubic: IRC is not a bug tracker, if you'd like to report a bug, please open an issue on https://github.com/nixos/nixpkgs -- or even better, send a PR :)
<iqubic> I know. I will do that.
<iqubic> I'm not sure how to fix up the emacs derivation, but I'll try.
<iqubic> Should I open a new branch for my PR?
<gchristensen> yes
selfsymmetric-pa has joined #nixos
<iqubic> What should I call this new branch?
meteo has joined #nixos
<gchristensen> anything you want
<__monty__> iqubic: The branchname doesn't matter as long as it's in your fork.
<iqubic> Ah. I see.
<averell> i'm thinking it's not there because 26.2.90 is a pretest and the real release is 26.3 (which would be in the mirrors then, unlike this release)
<iqubic> Ah. I see.
<iqubic> Makes sense.
<iqubic> If that is true, then I'm not sure what I should do.
<averell> you can still make a emacs-pretest version or something if the need is there. we have that for many packages.
<iqubic> Oh, I see.
<__monty__> Or backport the patch?
<gchristensen> at any rate, whatever happens, we should cc the current maintainer and get their feedback
<iqubic> backporting the patch sounds like the harder way to solve this.
<averell> but it'll fix the issue for more people :)
<iqubic> I'm going to make a bug report on the Nixpkg github.
<iqubic> It's this one, right: https://github.com/NixOS/nixpkgs ?
<Izorkin> Mic92: mariadb normal build in darwin
<iqubic> Just to make sure I'm not going to be posting to the wrong place.
<__monty__> iqubic: Yep.
ramses_ has joined #nixos
<anton-latukha[m]> I am currently ignorant:
<anton-latukha[m]> Couple of times looked before to find the cause of the state of master trunk.
<anton-latukha[m]> So, what changes broke that 54776 packages and then healed 55100+?
<ramses_> Hi guys, I am having some issue with a mkIf expression that does not seem to be evaluated lazily, like I have an expression "mkIf cond expr" and eventhough cond evaluates to false, nix throws an exception from with expr. Is this intended behaviour?
<anton-latukha[m]> In what component the issue was.
<gchristensen> anton-latukha[m]: link to where you see that?
<samueldr> anton-latukha[m]: cancelled jobs
<gchristensen> samueldr++
<{^_^}> samueldr's karma got increased to 101
<samueldr> there's no distinction about the reason
<{^_^}> ramses_: Please expand your question to include more information, this will help us help you :)
<{^_^}> [nixpkgs] @soundray opened pull request #65789 → Skype bump → https://git.io/fj9Mz
<iqubic> See, I have two questions about my emacs situation.
<iqubic> 1. Is this wrong networking protocol issue present on 26.1, which is the version in the stable nixpkgs branch.
<iqubic> and 2. does this issue effect emacsWithPackages?
<{^_^}> [nixpkgs] @Mic92 merged pull request #63355 → mariadb: 10.3.15 -> 10.3.17 → https://git.io/fjaPW
<{^_^}> [nixpkgs] @Mic92 pushed 10 commits to master: https://git.io/fj9Ma
<iqubic> Also, the nixos manual doesn't seem to recognize that emacs 26 exists.
orivej has joined #nixos
<anton-latukha[m]> <samueldr "anton-latukha: cancelled jobs"> Got it. Yes, also a logical probable variant. Also current delta shows there is some major improvement (>+300). So also logically there were some big change during that swing. Canseled jobs can be related to the change, example: saw the errors, and canseled and fixed the change. I got really satisfied with responce not going to pursue the quest.
<Izorkin> Mic92: please check next update - #65222
<{^_^}> https://github.com/NixOS/nixpkgs/pull/65222 (by Izorkin, 1 week ago, open): mariadb: update packages
nhey_ has quit [Remote host closed the connection]
<Mic92> Izorkin: I assume, we need both 2.3 and 3.1 for some packages?
<iqubic> See, I don't use emacsWithPackages.
<iqubic> I use EXWM, and even then I don't use services.xserver.windowManager.exwm.extraPackages
<iqubic> I instead put all the code to install my various emacs packages into my emacs config.
<Mic92> Izorkin: why do we need to old galera package?
<Mic92> *the
<iqubic> See, I could switch over to using exwm.extraPackages, but that would be a hell of a lot of work.
DariusTheMede has joined #nixos
<iqubic> And even then, I'm not sure if that would fix the issues present with the packaging system using HTTP over HTTPS.
jophish has quit [Quit: WeeChat 2.0]
<Izorkin> Mic92: yes, to compatibility. Galera 25.3.27 need to mariadb 10.3, 26.4.2 need to mariadb 10.4
<Mic92> Izorkin: ok. Do we need 10.3 at all?
jophish has joined #nixos
<FRidh> anton-latukha[m]: there was a mass-rebuild accidentally merged into master and then into staging-next, and got reverted again
DariusTheMede has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @davidak opened pull request #65790 → Backport Doc fix to stable → https://git.io/fj9Mx
<iqubic> And actually, right now, I'm trying to figure out how emacsWithPackages works.
<Izorkin> Mic92: I do not know how the update mariadb to 10.4.7 will affect
drakonis has quit [Ping timeout: 264 seconds]
stepcut has quit []
<Mic92> Izorkin: well. At some point we have to.
joehh has quit [Ping timeout: 272 seconds]
<Izorkin> Mic92: there is an option to use 2 versions - https://github.com/Izorkin/nur-packages/blob/master/default.nix#L11-L12
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lsix has joined #nixos
<{^_^}> [nixpkgs] @aszlig closed pull request #27804 → NixOS /etc/hosts improvements → https://git.io/v74WE
drakonis has joined #nixos
<Mic92> Izorkin: of course, but this means more maintainance overhead in the future.
<Mic92> We only do this, when there is a good reason.
lucus216 has joined #nixos
lucus216 has left #nixos ["-"]
<iqubic> Alright. As far as I can tell, this only really affects people not using emacsWithPackages.
rsoeldner has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @lheckemann merged pull request #65789 → Skype bump → https://git.io/fj9Mz
<{^_^}> [nixpkgs] @lheckemann pushed 2 commits to master: https://git.io/fj9DL
<Izorkin> Mic92: package configuration differs only version. how to combine into one configuration and use two versions of the package - I don’t know
drakonis1 has quit [Quit: WeeChat 2.4]
<{^_^}> [nixpkgs] @xrelkd opened pull request #65791 → youtube-dl: 2019.07.30 -> 2019.08.02 → https://git.io/fj9Dm
<adisbladis> iqubic: There was recently a PR for emacs from git
<adisbladis> If you want to be more bleeding edge :)
<{^_^}> #65300 (by ar1a, 1 week ago, open): RFC: Emacs 27 derivation
<{^_^}> [nixpkgs] @lheckemann pushed 4 commits to release-19.03: https://git.io/fj9DY
<aria> :)
<iqubic> adisbladis: Thank you.
endformationage has joined #nixos
<iqubic> adisbladis: have you seen this issue? https://debbugs.gnu.org/cgi/bugreport.cgi?bug=36810
<adisbladis> iqubic: Nope, but I don't really use package.el
<iqubic> Right. That's what I figured.
<iqubic> How do you install emacs packages?
<adisbladis> emacsWithPackages <3
<iqubic> I see.
<adisbladis> This morning we actually had a big change in how we generate those packages, so it's likely that we will be _much_ more up to date going forward
<Miyu-chan> Anyone else getting Fastly issuse? :/
<adisbladis> I just created #nixos-emacs in case anyone wants to join in on working more on emacs packaging
<adisbladis> I have some big plans that will hopefully materialise this weekend
<iqubic> I hope you don't mind, but I've been using your exwm-overlay like this: http://dpaste.com/0CM7S3B And I've been loading this by putting in the imports section of my configuration.nix
<adisbladis> Miyu-chan: What Fastly issues?
<Miyu-chan> [1/0/1 copied (0.0/502.0 MiB), 0.0/76.4 MiB DL] fetching qemu-3.1.0 from https://cache.nixos.org
<Miyu-chan> Been going on for, uh, around 5 minutes too. Even observable in AWS, I believe.
<adisbladis> gchristensen: ^
<Miyu-chan> I'm trying out https://www.fastly-debug.com/
<Miyu-chan> Give me a few.
<hyperfekt> Can someone help me understand overlays - I thought if I use super I can't get recursion from something being indirectly dependent on itself? https://pastebin.com/4C55pETb
<Miyu-chan> gchristensen: SHould I comment under the gist, or?
<gchristensen> no, please gist the result tome
<thoughtpolice> Miyu-chan: If we could get a .drv or something to try and reproduce that would be nice, too.
<thoughtpolice> Though I may not be able to get to it immediately this morning...
asymptotically has quit [Remote host closed the connection]
asymptotically has joined #nixos
<thoughtpolice> Miyu-chan: Sorry, that was just an example in the comment, `pwih6g12kymmk9nccajz7a934cp6n63h.narinfo` is completely random. You'll want to replace it with the problematic artifact you're trying to fetch.
<Miyu-chan> Does this say anything? I just copied the command in the gist, since I'm nto so sure what to have as an argument.
<thoughtpolice> Unfortunately, nix build really hides this :(
<thoughtpolice> (And similar commands)
<Miyu-chan> > nix build /nix/store/1vf92zjw7zgrvblr343dgr4930c9g2mk-qemu-3.1.0
<{^_^}> undefined variable 'build' at (string):255:5
<Miyu-chan> Err, whoops.
<Miyu-chan> Where are the narinfos located?
<Miyu-chan> The path is what I'm trying to build.
<gchristensen> curl https://cache.nixos.org/$(readlink $(which bash) | cut -d/ -f4 | cut -d- -f1).narinfo
<thoughtpolice> Miyu-chan: You'll actually want the .nar itself, since that's what you're trying to fetch, in this case. (Though it could be hung on the narinfo, as well)
<Miyu-chan> gchristensen: That works for me.
<thoughtpolice> FWIW, you can luckily just take the hash of the actual thing you want to build, in this case, `1vf92zjw7zgrvblr343dgr4930c9g2mk`, and just add `.narinfo` on the end
<thoughtpolice> which wants nar/15qz3d00c0g87gi2v6fkq0k3856lfv3k47451rr6mswabqhwlx64.nar.xz
<Miyu-chan> Yeah, giving that a try.
<Miyu-chan> Yeah, this one's not looking so well. `curl` is not updating.
DariusTheMede has joined #nixos
<Miyu-chan> 0 0 0 0 0 0 0 0 --:--:-- 0:00:42 --:--:-- 0
<thoughtpolice> Can you use the fastly-debug-script by chance?
<thoughtpolice> ./fastly-cache-debug.sh nar/15qz3d00c0g87gi2v6fkq0k3856lfv3k47451rr6mswabqhwlx64.nar.xz
<Miyu-chan> Sure thing.
<thoughtpolice> It should ideally dump the response headers before streaming the result, which might be what's hanging...
<thoughtpolice> If you don't even get the headers, then uh, that's something else
<Miyu-chan> Okay, this is even funnier.
<Miyu-chan> It hangs at
<Miyu-chan> > Host: cache.nixos.org
<thoughtpolice> From the earlier logs, it looks like you're hitting 'SIN' which is Singapore?
<{^_^}> <LAMBDA>
<averell> then my money is on intercepting caching mitm proxy :)
<{^_^}> [nixpkgs] @kalbasit merged pull request #65746 → kustomize: 3.0.0 -> 3.1.0 → https://git.io/fj9EK
<{^_^}> [nixpkgs] @kalbasit pushed 3 commits to master: https://git.io/fj9Dz
<Miyu-chan> thoughtpolice: And that seems to be right. I have good connection to HK and SG.
meteo has quit [Ping timeout: 245 seconds]
<Miyu-chan> FWIW, even AWS is not working.
<thoughtpolice> That's an odd one. I don't have any server access in Asia, etc to test at the moment... So it seems you're getting interfered with at some other level, perhaps...
<thoughtpolice> Ugh. That's so annoying. :( What's strange though is you aren't unilaterally blocked out, it seems, since you can fetch the narinfo files...
<thoughtpolice> I wonder if it's some shithead gateway proxy or something that's trying to like, unzip the .xz files or something. I've had some nightmares with that before.
<Miyu-chan> And, well, the EC2 instance is also located in Singapore, if that's any indication of anything.
<Miyu-chan> Hm. I wonder.
<Miyu-chan> Yeah. Had a guess.
DariusTheMede has quit [Ping timeout: 258 seconds]
<Miyu-chan> [myrl@myrl:/tmp/tmp.bqeMefzSaP]$ nix run nixpkgs.bc
<Miyu-chan> [2 copied (1.4 MiB), 0.3 MiB DL]
<Miyu-chan> So smaller packages seem to work.
<thoughtpolice> Hmm. Here's a big package: `nix run nixpkgs.foundationdb61 -c fdbcli --version`
<thoughtpolice> 200mb . I think? Try that maybe?
Mr_Keyser_Soze has quit [Ping timeout: 245 seconds]
<Miyu-chan> I'll try foundationdb60, since that's what's available in my local nipkgs.
<Miyu-chan> And seems to be not working too.
<Miyu-chan> [myrl@myrl:/tmp/tmp.bqeMefzSaP]$ nix run nixpkgs.foundationdb60 -c fdbcli --version
<Miyu-chan> [0/1 built, 1/0/1 copied (0.0/56.0 MiB), 0.0/12.2 MiB DL] fetching foundationdb-6.0.18 from https://cache.nixos.org
<Miyu-chan> Let me try the fastly debug script on bc.
<{^_^}> [nixpkgs] @zaoqi opened pull request #65792 → Update default.nix → https://git.io/fj9DM
<Miyu-chan> Yeaahh..
<Miyu-chan> I'm gisting.
orivej has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @aanderse opened pull request #65793 → solr: 7.7.1 -> 7.7.2, 8.1.1 -> 8.2.0 → https://git.io/fj9DD
veske2 has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @Infinisil opened pull request #65794 → idrisPackages: Fix overrides not applying → https://git.io/fj9Dy
o1lo01ol1o has quit [Remote host closed the connection]
<Miyu-chan> Anyways, it seems alive now. :)
<thoughtpolice> Miyu-chan: You mean it works?
<averell> hm, maybe it's cached now... :)
<Miyu-chan> Yep.
<Miyu-chan> So I can't provide any more debugging details. :/
<thoughtpolice> I'll ask around internally but I think if you're not even getting response headers from the cache, something might be screwing you up between you and the POP. Which yeah, is going to be very hard to debug...
<thoughtpolice> It shouldn't take *that* long to actually prime the cache even for large things....
<thoughtpolice> Oh. We can also purge it
<adisbladis> aria: I created #nixos-emacs to discuss emacs packaging without spamming here
<averell> i was thinking the (shithead gateyway proxy) in between might be done caching
<thoughtpolice> Miyu-chan: Try `./fastly-cache-debug.sh nar/02pk0mmxj3rkda9nm7m90c4jfwj6yk8791c69682l18a5mq31m7c.nar.xz` again now
<thoughtpolice> I purged it from the cache
<gchristensen> thoughtpolice++
<{^_^}> thoughtpolice's karma got increased to 8
<{^_^}> [nixpkgs] @timokau closed pull request #57800 → [WIP] spotify: 1.0.96.181.gf6bc1b6b-12 -> 1.1.5.153.gf614956d-16 → https://git.io/fjv4L
<thoughtpolice> If it still works (it may take a second or two longer now, since it needs to prime a cold object), then yeah I'm guessing it's either some dumb proxy or bizarre network issues between you and the POP which are... not easy to control.
<Miyu-chan> Hm.
<niso> is anyone aware of a nixos option for executing a script after each system-boot?
<{^_^}> [nixpkgs] @aanderse opened pull request #65795 → solr: 7.6.0 -> 7.7.2 [backport] → https://git.io/fj9DH
<gchristensen> niso: what do you want to do? (typically this is not actually the way things should be done, preferring instead a systemd service)
<Miyu-chan> thoughtpolice: So. `nix run nixpkgs.ghc` seems to be working, but your link does not.
jophish has quit [Quit: WeeChat 2.0]
<thoughtpolice> Interesting.
<Miyu-chan> [myrl@myrl:/tmp/tmp.Mu1lesQn5A]$ ./fastly-cache-debug.sh nar/02pk0mmxj3rkda9nm7m90c4jfwj6yk8791c69682l18a5mq31m7c.nar.xz
<Miyu-chan> 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* Connected to cache.nixos.org (151.101.2.217) port 443 (#0)
<Miyu-chan> *
jophish has joined #nixos
<Miyu-chan> Let me try with fastly-cache-debug on ghc's nar.xz.
<thoughtpolice> Interesting. So what might be happening from what I can tell is that: when you contact Singapore (SIN), it has to contact Ashburn (IAD). This forms two layers to the cache. I wonder if the fact IAD is "cold" has anything to do with it.
jophish has quit [Client Quit]
<thoughtpolice> When you said it worked, I tried to download that same NAR, and I saw it cached in *both* places.
<thoughtpolice> Right now I'm trying to populate the object in IAD, again
<niso> gchristensen: temporary patching something in a hacky way. a) i want to start the nix-daemon b) i want to execute a build script
<Miyu-chan> Maybe it's just my slow internet acting up?
<Miyu-chan> Give me a few, I might have false positived.
<thoughtpolice> That's also possible.
jophish has joined #nixos
<Miyu-chan> I think ghc.doc works, but ghc itself does not.
<Miyu-chan> [myrl@myrl:/tmp/tmp.Mu1lesQn5A]$ nix build nixpkgs.ghc.doc
<Miyu-chan> [0/1 built, 1/0/1 copied (7.8/252.5 MiB), 0.6/14.0 MiB DL]
orivej has joined #nixos
fendor_ has joined #nixos
<thoughtpolice> What is the .nar file for ghc.doc, if you can grab it?
<niso> gchristensen: thanks, guess i'll wrap it in systemd services
MmeQuignon has joined #nixos
* niso wonders why nix-daemon doesn't start automatically
<Miyu-chan> Oh wait. Cool.
<thoughtpolice> gchristensen: I also realized something yesterday, which is that I think I can point my debug/custom version of the Fastly Cache configuration to point right to our S3. This means we can actually test the real cache with my own custom changes, with no interference to cache.nixos.org
<Miyu-chan> thoughtpolice: The headers for the first command just displayed itself. Good thing I didn't C-c C-c it.
<gchristensen> thoughtpolice: oh cool!
<gchristensen> yeah
<thoughtpolice> Interesting. So there may be some kind of inter-POP problem going on, I wonder...
<Miyu-chan> What does this tell you?
<thoughtpolice> Two things: it was in neither cache at the time you fetched. But it should now be in SIN. Can you run that command again? Just immediately?
o1lo01ol1o has joined #nixos
<Miyu-chan> So, around a minute and 30 seconds after. Same thing.
<Miyu-chan> Err, same behavior as the first run.
<Miyu-chan> Only shows me > Host: cache.nixos.org
<thoughtpolice> Hmmmm. So it will probably come through eventually just... it's taking a long time either A) from SIN <-> IAD, or from B) IAD <-> AWS
<thoughtpolice> I would *think* the problem is A) considering, like. It works fine for a lot of other stuff!
<thoughtpolice> But the backbone between SIN/IAD shouldn't have major interferences like that. I hope.
<thoughtpolice> But what's more interesting is you were able to get it work once and then it stopped after my PURGE.
<thoughtpolice> What we really want to see is, if it starts working and is cached, if you can fetch quickly, and repeatedly.
<thoughtpolice> That way we can actually confirm whether the PURGE was related or not.
<thoughtpolice> A bit whack-a-mole, unfortunately.
<Miyu-chan> Hm.
<Miyu-chan> I'm testing with this right now, and it's working as of the moment. nar/0hq55n0il2r8n2inznyapda6b3xgmjcvyyzwpmq329vhkg71hpc8.nar.xz
<Miyu-chan> (This is ghc-doc)
<thoughtpolice> Miyu-chan: And can you hit that repeatedly?
<thoughtpolice> Try like
<thoughtpolice> `for x in $(seq 1 10); do curl -o/dev/null -HFastly-Debug:1 -v https://cache.nixos.org/nar/0hq55n0il2r8n2inznyapda6b3xgmjcvyyzwpmq329vhkg71hpc8.nar.xz; done`
<Miyu-chan> Yep.
<Miyu-chan> Okay, give mea few.
<thoughtpolice> That command should execute very quickly, in seconds
<zimbatm> next, add some sort of on-disk cache to not destroy cache.nixos.org
<averell> pretty cool. is dir-listing a security thing?
<thoughtpolice> Miyu-chan: The interesting thing is that, the ghc.doc deriv is cached in IAD now. FoundationDB was not cached in IAD.
<thoughtpolice> I really wish I could just purge from one POP but I'm not sure (OTTOMH) if that's possible for debugging...
<thoughtpolice> zimbatm: neato
<Miyu-chan> thoughtpolice: Yeah, all seems good so far. :)
<Miyu-chan> My home connection is 5 Mbps, so it's taking a bit more than seconds. :P
<thoughtpolice> Okay, so that is very weird. My best guess is this: when you request objects from SIN, it must ask for them from IAD. If the objects are not in the cache at IAD, it takes a *very* long time, seemingly, to get them to you
<thoughtpolice> But if they are in IAD, then the transfer is fast. I'm.... not sure what to make of this.
__monty__ has quit [Ping timeout: 245 seconds]
orivej has quit [Ping timeout: 268 seconds]
<thoughtpolice> This would seem to imply that for some bizarre reason, when you go through SIN, it takes a long time for IAD to fetch from AWS. But if I go through another POP, say, Dallas to IAD -- it doesn't take long at all, even if it's uncached!
<zimbatm> averell: it's not a security issue but it means unpacking the whole NAR file to get all the files. NAR is just a concatenation of files
<thoughtpolice> Which seems contradictory...
meteo has joined #nixos
DariusTheMede has joined #nixos
<Miyu-chan> Yeah, I think I get what you're saying.
<averell> ah i see.
<thoughtpolice> I suppose later today I'll actually try changing my https://nix-mirror.freetls.fastly.net to use the actual upstream S3 cache
<thoughtpolice> I have logging configured so perhaps I can get more insights
<Miyu-chan> So there's no connection issues between SIN and IAD, nor IAD and AWS, but if IAD doesn't have it cached, and SIN requests it from IAD, it goes wonky?
rouma has joined #nixos
<thoughtpolice> Yeah, that's what it seems like.
<thoughtpolice> It would be nice if some other user in Asia (who would go through Singapore) could confirm this...
<thoughtpolice> I'll ask around internally about this too, but who knows... This is all unfortunately speculation on my part at this exact moment.
DariusTheMede has quit [Ping timeout: 246 seconds]
<Miyu-chan> Mkk. Thanks for helping!
<adisbladis> thoughtpolice: I have a machine in Hong Kong
<adisbladis> If that helps
orivej has joined #nixos
<thoughtpolice> adisbladis: try that `for` loop from earlier
<thoughtpolice> for x in $(seq 1 10); do curl -o/dev/null -HFastly-Debug:1 -v https://cache.nixos.org/nar/0hq55n0il2r8n2inznyapda6b3xgmjcvyyzwpmq329vhkg71hpc8.nar.xz; done
<selfsymmetric-pa> What command can I run to see all reverse dependencies of `binutils-2.30` on my system?
<selfsymmetric-pa> I tried out `vulnix --system` and I'm getting `70 derivations with active advisories`. Yikes.
<thoughtpolice> adisbladis: If you're going through singapore, you should see something like `cache-sinXXXXX-SIN` in the `fastly-debug-path` field
domogled has quit [Quit: domogled]
<Miyu-chan> I don't have any experience in what you're doing, but is it possible that IAD ignores SIN for miss events, and the reason why it works after some time is because another POP hits it?
iyzsong has quit [Quit: ZNC 1.7.1 - https://znc.in]
<{^_^}> [nixpkgs] @xaverdh opened pull request #65797 → xteddy: 2.2 -> 2.2-5 (use debian sources and patches) → https://git.io/fj9ys
work_ has quit [Quit: Connection closed for inactivity]
__monty__ has joined #nixos
<infinisil> selfsymmetric-pa: nix-store -q --referrers-closure /nix/store/...
<infinisil> Prints all paths that have /nix/store/... as a transitive dependency
<thoughtpolice> Miyu-chan: Possibly but if that were the case I'd think we'd be seeing many, many errors and problems internally (and a lot of irritated customers, too)
<adisbladis> thoughtpolice: http://ix.io/1Qns
<adisbladis> (Not going through singapore)
<thoughtpolice> Mmmm. Worth a shot anyway, try doing that again in just one second...
<thoughtpolice> (After I purge)
<thoughtpolice> adisbladis: Run that once again, if you don't mind?
<thoughtpolice> It should complete basically as fast
<thoughtpolice> Or if you have Miyu-chan's problem, it will hang for a bit
jgt has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @jonringer opened pull request #65798 → pythonPackages.msreset: 0.6.8 -> 0.6.9 → https://git.io/fj9yr
jgt has joined #nixos
<Miyu-chan> thoughtpolice: I could give it a try again after you purge, if you want.
<thoughtpolice> Miyu-chan: yes, go ahead, please do so now
<Miyu-chan> Yep. It's dead.
<Miyu-chan> 0 0 0 0 0 0 0 0 --:--:-- 0:00:15 --:--:-- 0
ng0 has joined #nixos
selfsymmetric-pa has quit [Ping timeout: 272 seconds]
npmccallum has joined #nixos
<adisbladis> thoughtpolice: http://ix.io/1Qnu
erasmas has joined #nixos
<Miyu-chan> Also, my 19.03 is ~1 month outdated, so that might contribute to the cache misses.
<thoughtpolice> Okay, so that one actually had a HIT on HKG on the first request, which means it wasn't purged (maybe someone requested it)
jgt has quit [Ping timeout: 250 seconds]
orivej has quit [Ping timeout: 245 seconds]
<hyperfekt> samueldr: how do you prevent your overlay-compat thingy from picking itself up when evaluating the config and thus leading to infinite recursion? :o
<samueldr> I uh... don't?
<samueldr> I mean, I don't do anything particular
<hyperfekt> weird, my rebuilds got stuck in a loop evaling config over and over when i tried it
<samueldr> the way it works is that the only location it's defined is in NIX_PATH, e.g. nixpkgs-overlays=/etc/nixos/modules/overlays-compat/, and then in the nixos configuration, which I think might not follow NIX_PATH?
<samueldr> though I may be wrong
dansho has joined #nixos
<samueldr> I also could have been lucky I guess?
<hyperfekt> nixos-rebuild definitely picks up the NIX_PATH for me 🤔
<samueldr> I think I just don't know at that point :)
<samueldr> I wrote that thing up when I was learning about nix and nixos, and haven't touched it or updated it since
<samueldr> though I'm using it
<hyperfekt> haha that's okay, we're all just scribbling summoning circles after all :b
<samueldr> one of the worst thing about nixos: everything just works, you're never faced with the need to just re-do it from scratch
JonReed has quit [Remote host closed the connection]
<lordcirth> lol
<samueldr> and since it just all works, you don't know really what you did, months later, but you don't really need to either!
ramses_ has quit [Ping timeout: 260 seconds]
<hyperfekt> i mean i'd rather not know what i did and have it written down that not knowing what i did and not having it written down anythere as would be the case if not declarative :b
<{^_^}> [nixpkgs] @angristan opened pull request #65800 → vagrant: add update script → https://git.io/fj9yh
<hyperfekt> maybe it's just incompatible with tilpner's nixpkgs patching magic, since that also messes with the NIX_PATH
selfsymmetric-pa has joined #nixos
<hyperfekt> seems unlikely but i don't have any likely explanations
<{^_^}> [nixpkgs] @mbbx6spp opened pull request #65801 → nixos/doc+manual: change copyright year 2018->2019 → https://git.io/fj9SJ
nDuff has joined #nixos
<{^_^}> [nixpkgs] @grahamc merged pull request #65801 → nixos/doc+manual: change copyright year 2018->2019 → https://git.io/fj9SJ
<{^_^}> [nixpkgs] @grahamc pushed 2 commits to master: https://git.io/fj9ST
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/25eb016a2f5 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
orivej has joined #nixos
<hyperfekt> merged in 42 seconds, that's gotta be a record.
lsix has quit [Quit: Konversation terminated!]
<gchristensen> 1 byte diffs are my favorite
orivej has quit [Read error: Connection reset by peer]
ubert has quit [Quit: Leaving]
orivej has joined #nixos
___laika has joined #nixos
wfranzini has quit [Quit: wfranzini]
<{^_^}> [nixpkgs] @vbgl merged pull request #65627 → ocamlPackages.secp256k1: init at 0.4.0 → https://git.io/fjS51
<{^_^}> [nixpkgs] @vbgl pushed commit from @vyorkin to master « ocamlPackages.secp256k1: init at 0.4.0 »: https://git.io/fj9SZ
___laika has quit [Ping timeout: 268 seconds]
orivej has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @timokau opened pull request #65802 → Sage transient debug → https://git.io/fj9Sc
<{^_^}> [nixpkgs] @jonringer opened pull request #65804 → pyload: fix build → https://git.io/fj9Sl
Soo_Slow has joined #nixos
jgt has joined #nixos
<nurelin[m]> Hello, how can i override the cargo-vendor version in nixos-19.03 ?
<__monty__> ,overlays
<{^_^}> __monty__: Did you mean overlay?
<{^_^}> Overlays look like `self: super: { foo = ...; }`. Use the self argument to get dependencies, super for overriding things and library functions (including callPackage). More info: https://nixos.org/nixpkgs/manual/#sec-overlays-install
<__monty__> nurelin[m]: ^
<__monty__> How can I load a configuration into nix repl? I'd like to troubleshoot my home.nix this way. It expects arguments { config, pkgs, ... }.
ghasshee has joined #nixos
<nurelin[m]> no, i would want to override because of https://github.com/NixOS/nixpkgs/pull/57017#issuecomment-485061833 and it is not in the all-packages.nix file
<nurelin[m]> it has been updated in nixos-unstable
<symphorien> what about using unstable's buildRustPackage then ?
jgt has quit [Ping timeout: 264 seconds]
<__monty__> nurelin[m]: Why is that a problem? I can overlay individual haskell packages just fine.
<nurelin[m]> symphorien: I will try that, thanks
__monty__ has quit [Ping timeout: 258 seconds]
<nurelin[m]> __monty__: I just don't know how to declare the overlay since cargo-vendor is in a not common place in the nixpkgs tree
_kwstas has joined #nixos
<ghasshee> Good Morning guys, I have another basical question. What 'a single derivation' denotes for ? and How can we make a double derivation ?
bennofs has joined #nixos
<sphalerite> ghasshee: there's no such thing as a double derivation, your text is probably referring to a single derivation as opposed to more than one.
<ghasshee> sphalerite: yes, sir. I got an error: nix-shell requires a singlle derivation
<sphalerite> ghasshee: right, so you're probably passing multiple derivations or no derivations to it
drakonis_ has joined #nixos
<ghasshee> sphalerite: I see that it might mean no derivation. Thanks, I going to try.
logzet has quit [Ping timeout: 264 seconds]
drakonis has quit [Ping timeout: 272 seconds]
orivej has joined #nixos
<fgaz> is there a way to manually add a nar to the store?
_kwstas has quit [Quit: _kwstas]
<aminechikhaoui> if I have an expression that takes many arguments and then needs to inherit those and pass them to another expression, how can I achieve that without having to rewrite the list of args
<aminechikhaoui> something like http://ix.io/1QnJ, tried callPackage but I think what I'm doing is wrong
<fgaz> or to use it as a local cache
drakonis_ has quit [Ping timeout: 264 seconds]
x24 has joined #nixos
__monty__ has joined #nixos
orivej has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @WilliButz merged pull request #65751 → prometheus-postgres-exporter: init at 0.5.1 → https://git.io/fj9z9
<{^_^}> [nixpkgs] @WilliButz pushed 2 commits to master: https://git.io/fj9Sh
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/9ca57dc9171 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
<ivegotasthma> hello, any idea why I cannot run a java binary? It's giving me no such file or directory found, when I'm right there with bash. I suspect it's something related to the linker, but file is giving me correct output.
<gchristensen> is it a jar?
<ivegotasthma> no, it's a binary
<ivegotasthma> java: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.9, BuildID[sha1]=b82a586842f6da3df8a61093daadf04180e85c16, not stripped
thc202 has quit [Ping timeout: 250 seconds]
drakonis_ has joined #nixos
<gchristensen> /lib64/ld-linux-x86-64.so.2 is sensible output, but that path probably doesn't exist
<ivegotasthma> it doesn't
<ivegotasthma> is it possible to patch it somehow?
<ivegotasthma> nvm, found the wiki page
srid has quit [Ping timeout: 268 seconds]
<catern> is there a way to list a closure with only derivations, no output paths?
<catern> fixed-outputs would also be acceptable
<catern> the reason I want to do this is to copy a tree of derivations to another host and build it again there, because that host doesn't trust the signature of artifacts built on my host
<{^_^}> [nix] @edolstra pushed 5 commits to master: https://git.io/fj99f
thc202 has joined #nixos
<catern> I tried nix-store --query --requisites $(nix-store --query --deriver mypath), but that seems to include output paths, not just derivations
<{^_^}> [nixpkgs] @JohnAZoidberg opened pull request #65806 → xorg.libXTrap: init at 1.0.1 (Fix build of xorg.xtrap) → https://git.io/fj99k
x24 has quit [Remote host closed the connection]
x24 has joined #nixos
ngirard has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @flatulation opened pull request #65807 → Fix/firefox bin update → https://git.io/fj99L
sdemos-ish has joined #nixos
<catern> although hm I don't just want low-level derivations because some of those don't exist on my source host
<{^_^}> [nixpkgs] @JohnAZoidberg opened pull request #65808 → gdcm: Fix on darwin (include ApplicationServices) → https://git.io/fj99q
lambda-11235 has joined #nixos
<srhb> catern: Won't importing drvs have the same trust restrictions as the artifacts anyway?
<catern> srhb: I don't believe so, you can add an arbitrary drv
<Miyu-chan> AaaaAAa. I can't run ./create-ami.sh in EC2?
<Miyu-chan> error: a 'x86_64-linux' with features {kvm} is required to build '/nix/store/mhkywh7j4jq6nxrcdqrvnc4ysjk0zhb0-nixos-disk-image.drv', but I am a 'x86_64-linux
<Miyu-chan> ' with features {benchmark, big-parallel, nixos-test}
<catern> (well... I don't remember exactly, I guess the output paths need to be right, but at least it *should* work)
<Miyu-chan> Based on what I understand, it's because of the qemu.
<srhb> Miyu-chan: You just need to add the feature. At least, if you have a kvm device node available.
<catern> srhb: another reason it has to work is build offloading - the farm gets the low level drvs from untrusted users
<srhb> (I guess qemu will run, but slowly, without)
<Miyu-chan> Gah, yeah. :/
<noudle> i just installed "nomachine-client" but no i dont find the executable, how is it called? o.O
o1lo01ol1o has quit [Read error: Connection reset by peer]
<Miyu-chan> It will take a few hours for me to upload an AMI from my home. Welps.
drakonis_ has quit [Ping timeout: 264 seconds]
<Miyu-chan> I have no other choice.
<ivegotasthma> gchristensen: is it possible to patch a dynamic library the same way?
<{^_^}> [nixpkgs] @JohnAZoidberg opened pull request #65809 → litecli: 1.0.0 -> 1.1.0 → https://git.io/fj99O
phaebz has joined #nixos
srid has joined #nixos
<srhb> noudle: ls $(nix-build '<nixpkgs>' -A nomachine-client --no-out-link)/bin
<noudle> sec
<noudle> seems like its installing again now lol
<srhb> noudle: You might have installed a different version than that then.
<srhb> noudle: Regardless, it should list the contents of the bin dir.
<noudle> ye it did, ty :)
erictapen has quit [Ping timeout: 268 seconds]
Mrmaxmeier has quit [Quit: The Lounge - https://thelounge.chat]
jgt has joined #nixos
Mrmaxmeier has joined #nixos
orivej has joined #nixos
veske has joined #nixos
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/9ca57dc9171 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.03)
<hyperfekt> is there any equivalent of toFile readFile? like importToStore? Or is this the canonical way?
ris has joined #nixos
<__monty__> hyperfekt: There's passAsFile. Not sure that's what you want though.
<gchristensen> there is a builtin to write text as a file I think
<catern> hyperfekt: you can just write a path and use it as a store path FYI
<catern> importToStore happens automatically :)
<gchristensen> wait, what do you actually want?
drewr has quit [Quit: ERC (IRC client for Emacs 26.2)]
<{^_^}> [nixpkgs] @WilliButz opened pull request #65810 → nixos/prometheus-exporters: replace nobody/nogroup → https://git.io/fj99M
<hyperfekt> i have a script I'm using in a derivation and it's in my config directory. Using it just like that worked! Nix is so neat *-*
<{^_^}> [nixpkgs] @sikmir opened pull request #65811 → qmapshack: use Qt mkDerivation → https://git.io/fj99S
drewr has joined #nixos
noudle has quit []
veske has quit [Quit: This computer has gone to sleep]
dftxbs3e has quit [Ping timeout: 250 seconds]
_kwstas has joined #nixos
<__monty__> Hmm, hit a snag. I'm trying to write a function for my home.nix that goes through all the installed packages and extracts any .app's, so I can link them into ~/Applications.
<__monty__> But apparently you're not allowed to run `pathExists` on outPaths of other derivations?
chloekek has joined #nixos
<srhb> __monty__: This seems like the wrong approach. Instead, I would map a function over them that either makes a new package that puts every .app into a known location within the new package, and then ensure that that's properly joined into the profile buildenv.
<srhb> __monty__: Then all you have to do is symlink that location in your profile into ~/Applications
<srhb> s/either//
<srhb> (Apparently I had a bad idea too and scrapped it, JIT)
<__monty__> srhb: Hmm, how to go about the last step? I'll just assume the apps are in package/Applications for now.
tindvik[m] has joined #nixos
<Church-> Hmm my kernel module is broken
* Church- grumbles
<srhb> __monty__: Can't you make ~/Applications a symlink to ~/.nix-profile/Applications?
<__monty__> .nix-profile/Applications doesn't exist. That's the problem I'm trying to solve.
<__monty__> nix-darwin has a hook for that I believe but I guess home-manager doesn't.
<__monty__> But I want to install apps from home.nix.
<__monty__> /nix/store/package/Library *is* linked into .nix-profile otoh.
<__monty__> Though not everything in package/Library is present there.
<srhb> __monty__: Add it to pathsToLink?
<__monty__> -_-
<srhb> So then it just becomes a buildEnv over all the .app packages you want..
<__monty__> srhb: Oh, it's a buildEnv feature? Probably why I didn't think of it.
o1lo01ol1o has joined #nixos
<davidtwco> Is it more idiomatic when using patchelf to --set-interpreter to "${stdenv.glibc.out}/lib/ld-linux.so.2" or "$(cat $NIX_CC/nix-support/dynamic-linker)"?
<__monty__> srhb: Any other dirs you link? (Applications, Library, bin)
o1lo01ol1o has quit [Ping timeout: 245 seconds]
selfsymmetric-pa has quit [Remote host closed the connection]
<srhb> __monty__: I don't use Mac, so no, I generally don't use this at all. :)
<x24> How would I go about adding additional python packages to FreeCAD?
dansho has quit [Ping timeout: 248 seconds]
dansho has joined #nixos
_kwstas has quit [Quit: _kwstas]
_kwstas has joined #nixos
ngirard has joined #nixos
linarcx has joined #nixos
linarcx has quit [Client Quit]
rouma has quit [Remote host closed the connection]
linarcx has joined #nixos
<__monty__> srhb-- Haha, very funny, I got pwned.
<__monty__> "dumping very large path >256MiB; this *may* run out of memory.
<__monty__> srhb: I figured simply including the buildEnv in home.programs would be fine but apparently it's not. What am I doing wrong?
rouma has joined #nixos
<Church-> What is trying to build this dang pycaption lib...
___laika has joined #nixos
<Church-> Ah there we go, it was gnomecast
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
johnny101m has joined #nixos
___laika has quit [Ping timeout: 246 seconds]
<__monty__> x24: You'd have to override the package's buildInputs but I'm not sure that can be done easily in an overlay. I'd recommend changing the expression so that becomes possible and submit a PR to nixpkgs.
<x24> Thanks!
Jackneill has quit [Remote host closed the connection]
x24 has quit [Remote host closed the connection]
hyperfekt has quit [Remote host closed the connection]
fpob has quit [Ping timeout: 244 seconds]
selfsymmetric-pa has joined #nixos
fusion809 has quit [Remote host closed the connection]
zupo has joined #nixos
zupo has quit [Client Quit]
srid has joined #nixos
srid has quit [Changing host]
fpob has joined #nixos
<__monty__> srhb: Hmm, I tried moving it to a regular overlay but I still get the very large path warning. How can I get around this?
<__monty__> A different problem, this buildEnv would have to refer to other things from my overlays is the only solution making sure it comes alphabetically last?
eof has quit [Quit: eof]
<{^_^}> [nixpkgs] @davidtwco opened pull request #65813 → cc-wrapper: Allow specifying extra compilers to wrap. → https://git.io/fj9Ha
eof has joined #nixos
linarcx has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @dywedir opened pull request #65814 → lsd: 0.15.1 -> 0.16.0 → https://git.io/fj9HM
dansho has quit [Quit: Leaving]
linarcx has joined #nixos
kisik21 has joined #nixos
<kisik21> i hope im in the right timezone right now and I hope this is the right chan when you have trouble with nix building stuff you wrote
<kisik21> so
<kisik21> I have a python app, it needs a package for checkPhase
<kisik21> I have it both in propagatedCheckInputs and tests_require (look up setup.py if you want more info)
<kisik21> and I have it in the overlay
<kisik21> but the checkPhase doesn't see the package! It tries to install it from PyPI and fails due to sandboxing
selfsymmetric-pa has quit [Remote host closed the connection]
<kisik21> thanks to those great people who invented sandboxing!!! without it my build would end up impure >.<
<gchristensen> NixOS office hours #2 will be starting shortly: https://twitter.com/grhmc/status/1157362065687949312
<LnL> I don't think propagated checkInputs are a thing
<kisik21> Then why it doesn't throw an error on invalid argument? :c
<LnL> since test dependencies are only needed for the current pacakge
<LnL> attributes end up as environment variables so it's free form
<averell> ooh, twitch restream. very good.
<kisik21> right, tests are not recursive
<LnL> separating variables from special attributes like buildInputs would indeed make sense and allow better validation, but that's currently not the case
kreisys has joined #nixos
<__monty__> If only I had the bandwidth : /
selfsymmetric-pa has joined #nixos
ghasshee has quit [Ping timeout: 248 seconds]
linarcx has quit [Quit: WeeChat 2.5]
linarcx has joined #nixos
_kwstas has quit [Quit: _kwstas]
_kwstas has joined #nixos
zupo has joined #nixos
<{^_^}> [nixpkgs] @petabyteboy opened pull request #65815 → cbmem: init at 4.9 → https://git.io/fj9Hp
linarcx has quit [Quit: WeeChat 2.5]
linarcx has joined #nixos
<kisik21> do I need to build flask applications as, well, applications or libraries? especially if they are to be deployed with something like uwsgi
<kisik21> its so confusing when you blur the line between those by going web development
veske has joined #nixos
bennofs has quit [Quit: WeeChat 2.3]
zupo has quit [Ping timeout: 248 seconds]
pietranera has quit [Quit: Leaving.]
<Izorkin> Mic92: forced update and rebase PR 65222
<{^_^}> [nixpkgs] @marsam merged pull request #65814 → lsd: 0.15.1 -> 0.16.0 → https://git.io/fj9HM
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fj9Ql
<ToxicFrog> Argh. I'm having an issue with mvn2nix -- it generates the json fine, but when I try to build it, six dependencies (out of hundreds) produce a "Non-resolvable import POM: Cannot access 4thline-repo (http://4thline.org/m2) in offline mode and the artifact <name> has not been downloaded from it before"
<ToxicFrog> But looking at the build logs, it was downloaded, and is present in the nix store!
kim0 has joined #nixos
ottidmes has joined #nixos
erasmas has quit [Quit: leaving]
srid has quit [Ping timeout: 244 seconds]
xkapastel has quit [Quit: Connection closed for inactivity]
psyanticy has quit [Quit: Connection closed for inactivity]
rtjure has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @dywedir opened pull request #65816 → dua: 2.1.5 -> 2.1.11 → https://git.io/fj9QP
wfranzini has joined #nixos
srid has joined #nixos
<fendor_> can I just install the nix executable and use it by supplying a custom store location?
<pie_> fendor_: kind of
<pie_> depends on if you want sandboxing, and you generally want sanboxing
<pie_> also dpends on if youre in single user or multi used mode i guess
<pie_> hm
<pie_> not sure what difference that makes other than needing the nix daemon for multi user mode i think
srid has quit [Changing host]
srid has joined #nixos
<pie_> i think you also need a statically compiled /bin/sh or somesuch because youll get weird errors if you use sandboxing and dont have that (it gets mounted into the sandbox for some reason)
<pie_> i might be wrong about this stuff though
<pie_> actually why _does_ nix mount a sh instead of having its own, wtf?
<pie_> https://discourse.nixos.org/t/thousands-of-lambdas/3532 might have some good insights for limited installations
<fendor_> I want to build a package with nix on a server to compile the package reproducible. Maybe that changes stuff? Machine is a debian vm
<pie_> fendor_: ah also the other problem with custom locations is you have to rebuild the world
mexisme has quit [Ping timeout: 250 seconds]
<pie_> but i think there might be some rewriters that help with that, or using a bind mount
<pie_> ive not done this stuff myself
<fendor_> :( sounds complicated... maybe ill just try to use docker instead... or repartition the vm
<pie_> you could just try the official installer for starters
<pie_> i havent used that yet, it might not be that hard
<pie_> maybe someone else has a better clue about these things and can comment
<pie_> fendor_: so yeah maybe try this https://nixos.org/nix/download.html
<fendor_> pie_, but If I try to use it with a differernt store location, I lose binary caches, right? except for ones cached by cachix?
<pie_> yeah something like that
<pie_> but as i said i think a bind mount is a solution to that, i think there might also be something for rewriting stores
<pie_> if you're up for some reading it there should be some issue on github that goes into this
camsbury has joined #nixos
<pie_> the problem is i dont know because ive ever done it, maybe someone else does
<camsbury> nix copy --to ssh://root@nix.urbinternal.com --all
<camsbury> [1/6/2728 copied (0.4/189.2 MiB)] copying path '/nix/store/9nl3q9k29865nj55z3vp4hi0kerror: hash mismatch importing path '/nix/store/9nl3q9k29865nj55z3vp4hi0kr7swarl-python3.6-structlog-19.1.0';
<camsbury> got: sha256:16zn69d4xw4nn4bpray7gxsanm3jk4z91fm81dyjqikx04wx6v1y
<camsbury> wanted: sha256:0ma3fyw4czcwplha22nva6qj85ah2axnqzr9irgk6jlpccaw3a1x
<camsbury> error (ignored): unexpected end-of-file
jgt has quit [Ping timeout: 250 seconds]
<fendor_> I see... I was trying to use this blog https://matthewbauer.us/blog/static-nix.html but it seems to no longer work like that
<camsbury> this is an example of us trying to put stuff into our hosted cache
<camsbury> and running into some hash mismatch issues
<camsbury> saw various explanations that don't seem to apply to me
<camsbury> could this be a nixpkgs issue?
<{^_^}> [nixpkgs] @ttuegel merged pull request #65526 → qt5*: Enforce strict compatible version paths → https://git.io/fjyFk
<{^_^}> [nixpkgs] @ttuegel pushed 5 commits to staging: https://git.io/fj9QQ
<thoughtpolice> fendor_: Yes, you can use the '--store' argument if you already have `nix` installed
<{^_^}> [nixpkgs] @azazel75 closed pull request #63197 → Kubernetes: fix kubelet service unit configuration → https://git.io/fjamo
<fendor_> thoughtpolice, will that kill the binary caching utility though?
<thoughtpolice> No, but you need to be trusted to use it (I think)
<thoughtpolice> nix copy --to $HOME/my-test-store nixpkgs.hello
<thoughtpolice> nix run --store $HOME/my-test-store nixpkgs.hello -c hello
<thoughtpolice> It kind of depends on what you want to do, really. The --store argument lets you bind mount a random directory, as if it was /nix/store. But it doesn't just magically let you use Nix-compiled packages without 'nix' installed itself, since something has to perform the bind mount step
DRW77 has joined #nixos
<thoughtpolice> There are some various utilities floating around -- basically all the exact same code -- that do this. Nix's "--store" argument is one such implementation
<thoughtpolice> But there are some others that do not depend on --store at all
<thoughtpolice> (Or 'nix' the command)
fendor__ has joined #nixos
<fendor__> thoughtpolice, alright, thx! I think I killed the vm, but i will try that again!
DRW77 has left #nixos [#nixos]
<catern> fendor_: ignore everyone else, you can use that static-nix thing and --store to build something reproducibly in a store from a random directory
fendor_ has quit [Ping timeout: 246 seconds]
<catern> alas! he's gone
<catern> (and you get binary caching too, you don't lose that...)
<{^_^}> [nixpkgs] @bgamari opened pull request #65817 → build-support: Add p11_kit to appimage dependency set → https://git.io/fj97q
___laika has joined #nixos
jgt has joined #nixos
<fendor__> catern, not gone, just disconnected for a second :)
<camsbury> well this is all relevant to what I asked before
<camsbury> copying to a cache using `nix copy --to` and getting hash mismatches
wfranzini has quit [Remote host closed the connection]
rtjure has joined #nixos
<camsbury> when I garbage collected all the things on the cache
<camsbury> so it's like... why would that happen
wfranzini has joined #nixos
<catern> fendor__: oh, I didn't see that your tail got longer :)
<fendor__> catern, I will try the static-nix appraoch once I have fixed the vm! some issue with mounting the tmp folder
___laika has quit [Ping timeout: 245 seconds]
fendor__ has quit [Ping timeout: 244 seconds]
veske has quit [Quit: This computer has gone to sleep]
drakonis_ has joined #nixos
camsbury has quit [Remote host closed the connection]
drakonis has joined #nixos
o1lo01ol1o has joined #nixos
drakonis_ has quit [Ping timeout: 250 seconds]
<worldofpeace> DigitalKiwi: Probably should submit the PR for bitwarden and see if we could come up with something. could be a bug in the application. have you tried searching if other applications had that issue?
linarcx has quit [Read error: Connection reset by peer]
<worldofpeace> DigitalKiwi: and that issue with qt was fixed in master
linarcx has joined #nixos
<{^_^}> #65764 (by Kiwi, 15 hours ago, open): bitwarden: init at 1.15.2
jlv has joined #nixos
<{^_^}> #65756 (by Kiwi, 22 hours ago, open): Updated bitwarden-cli with ./generate.sh so that it builds. Fixes #63158
<DigitalKiwi> did i make the commit message bad on that second one
<jlv> I'm trying to fix a broken package, but the only feedback I'm getting is "builder failed with exit code 1". Is there any way to get more information about why it failed?
<{^_^}> [nixpkgs] @worldofpeace merged pull request #65791 → youtube-dl: 2019.07.30 -> 2019.08.02 → https://git.io/fj9Dm
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fj97B
<worldofpeace> DigitalKiwi: on the second one you should try to prefix the commit with the packages attribute name `bitwarden-cli: .....`
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @xrelkd to release-19.03 « youtube-dl: 2019.07.30 -> 2019.08.02 »: https://git.io/fj97E
<DigitalKiwi> yeah that's what i thought after i'd done it and how i normally do >.>
<pie_> thoughtpolice: wait, --store bind mounts /nix?
<pie_> thoughtpolice: didnt know it does that
ng0 has quit [Quit: Alexa, when is the end of world?]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #65788 → vokoscreen: use qt5's mkDerivation → https://git.io/fj9Mq
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fj97g
xkapastel has joined #nixos
<pie_> cool
* pie_ looks at static-nix
<DigitalKiwi> worldofpeace: ok fixed now?
noudle has joined #nixos
<{^_^}> [nixpkgs] @mmahut merged pull request #65816 → dua: 2.1.5 -> 2.1.11 → https://git.io/fj9QP
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fj97a
<DigitalKiwi> worldofpeace: i did one for OCRmyPDF too
zupo has joined #nixos
<{^_^}> [nixpkgs] @mmahut merged pull request #65815 → cbmem: init at 4.9 → https://git.io/fj9Hp
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fj97w
jfroche91 has joined #nixos
linarcx has quit [Quit: WeeChat 2.5]
<worldofpeace> DigitalKiwi: I've updated the pr title as well. Be testing shortly 👍️
drewr has quit [Ping timeout: 276 seconds]
<DigitalKiwi> ok cool thank you
linarcx has joined #nixos
linarcx has quit [Client Quit]
<{^_^}> [nixpkgs] @Ma27 merged pull request #65810 → nixos/prometheus-exporters: replace nobody/nogroup → https://git.io/fj99M
<{^_^}> [nixpkgs] @Ma27 pushed 6 commits to master: https://git.io/fj97X
kisik21 has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #65756 → bitwarden-cli: fix build → https://git.io/fj9gb
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fj97M
npmccallum has quit [Quit: npmccallum]
selfsymmetric-pa has quit [Remote host closed the connection]
<DigitalKiwi> yay
chloekek has quit [Ping timeout: 245 seconds]
<rawtaz> ya, y?
<DigitalKiwi> #65756 is mine
<{^_^}> https://github.com/NixOS/nixpkgs/pull/65756 (by Kiwi, 22 hours ago, merged): bitwarden-cli: fix build
<rawtaz> oh, well done!
drewr has joined #nixos
<rawtaz> ah, bitwarden. are you involved with that or just a user?
drakonis1 has joined #nixos
gxt has joined #nixos
<DigitalKiwi> rawtaz: just a user
<{^_^}> [nixpkgs] @7c6f434c merged pull request #64753 → Updating documentation about adding new Vim plugins → https://git.io/fjX2y
<{^_^}> [nixpkgs] @7c6f434c pushed 3 commits to master: https://git.io/fj97p
<rawtaz> DigitalKiwi: are you using it for yourself or more users? locally or their online one?
<DigitalKiwi> just me and the online one right now
<rawtaz> ok cool. does it work well? any problems/downsides? im thinking of trying it out for a bunch of users, maybe 20 or so. probably self-hosted though
<rawtaz> and most importantly - does it feel secure? :-)
<{^_^}> [nixpkgs] @FRidh pushed 70 commits to staging-next: https://git.io/fj95v
fendor__ has joined #nixos
fendor__ has quit [Remote host closed the connection]
johnny101m2 has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #65811 → qmapshack: use Qt mkDerivation → https://git.io/fj99S
<{^_^}> [nixpkgs] @FRidh pushed commit from @sikmir to master « qmapshack: use Qt mkDerivation »: https://git.io/fj95L
eof has quit [Quit: eof]
<{^_^}> [nixpkgs] @FRidh pushed commit from @jonringer to master « pyload: fix build »: https://git.io/fj95m
<{^_^}> [nixpkgs] @FRidh merged pull request #65804 → pyload: fix build → https://git.io/fj9Sl
johnny101m has quit [Ping timeout: 246 seconds]
eof has joined #nixos
<DigitalKiwi> they have had outside security audits and everything is on github i've only been using it a few days but highly impressed not sure i like that so much of it is electron but maybe that's not a big problem idk
<{^_^}> [nixpkgs] @grahamc opened pull request #65818 → shotcut: use qt's mkDerivation → https://git.io/fj95O
<rawtaz> thanks for your opinion.
jfroche91 has quit [Ping timeout: 245 seconds]
<DigitalKiwi> you're welcome, always glad to give opinions ;)
<{^_^}> [nixpkgs] @jonringer opened pull request #65819 → python3Packages.ipykernel: 5.1.0 -> 5.1.1 → https://git.io/fj95c
<rawtaz> :3
FRidh has quit [Quit: Konversation terminated!]
ddellacosta has joined #nixos
<DigitalKiwi> worldofpeace: ;_; i just copied the one from bitwarden-cli (wrt the period)
<{^_^}> [nixpkgs] @jonringer opened pull request #65820 → pythonPackages.jsonpickle: 1.1 -> 1.2 → https://git.io/fj95w
tonic0x539[m] has joined #nixos
<DigitalKiwi> worldofpeace: i'm fixing the things it's building a lot of stuff :<
abathur has joined #nixos
<DigitalKiwi> worldofpeace: should i fix the period in bitwarden-cli while i'm at it?
<worldofpeace> DigitalKiwi: sorry I don't know what you mean about the period
<worldofpeace> DigitalKiwi: also it may be buliding lots of stuff because there was a little bloop on nixpkgs. perhaps use an older revision base.
<DigitalKiwi> See contributing guidelines, no periods at the end of description.
<DigitalKiwi> and you know what when i copied it i said to myself they're not supposed to have periods but i left it for consistency with the other one...that i could have changed (but can't remember when i did which)
<gchristensen> might as well
<DigitalKiwi> can i still change it in the PR that i did that fixed it or since it's merged do i need a new one
<gchristensen> if its merged it needs a new pr
asymptotically has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<rawtaz> not much point then, cuz your period commit message will still be in the history :)
<rawtaz> you broke the entire history
<gchristensen> eh?
<DigitalKiwi> how do i do the revision base thing i only know how to do it if checkout the the channel and then create the branch i don't know how to do the existing branch onto it after i rebased onto master
<rawtaz> gchristensen: never mind :)
<DigitalKiwi> make the borgbot reject anything that has a period at the end of description :D
<gchristensen> nice idea
<DigitalKiwi> and that doesn't quote homepage urls
<gchristensen> homepage URLs don't need to be strings, URL syntax is ok
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<DigitalKiwi> noooo must be consistent! and quoted is the best (not quoted, click a link, the semicolon is parsed as part of url, doesn't work) (and also someone was wanting to deprecate url syntax anyway)
<exarkun> is there some simple way to get any kind of networking between a host and a nixos vm built w/ nixos-build-vms?
<qyliss> There's an RFC to deprecate it
<{^_^}> rfcs#45 (by 7c6f434c, 13 weeks ago, open): [RFC 0045] Deprecating unquoted URL syntax
<DigitalKiwi> thanks for the assist
kim0 has quit [Quit: Connection closed for inactivity]
<worldofpeace> having ofborg do that might be a good idea if it could direct people to make the needed changes
<gchristensen> yeah, it could probably go as far as posting a ```suggestion```
<ashkitten> yeah the unquoted url syntax really irks me too
<ashkitten> i really dislike inconsistency like that
<gchristensen> inconsistency like variables in the URL?
noudle has quit []
day|flip has joined #nixos
<ashkitten> inconsistency like 2 ways to write the same string that appear equivalent but some things use one or the other
<ashkitten> it'd make sense if there was a specific url type but afaict it's literally just a string
<gchristensen> it is syntactic sugar
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/fb354a0ac87 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
<gchristensen> which is not so strange for a DSL
<ashkitten> i suppose, but there's not really any reason to use it over quoted strings
<gchristensen> yeah
_kwstas has quit [Quit: _kwstas]
<{^_^}> [nixpkgs] @WilliButz opened pull request #65821 → grafana-loki: 0.1.0 -> 0.2.0 → https://git.io/fj9dk
<{^_^}> [nixpkgs] @samueldr merged pull request #65635 → [19.03] chromium: 75.0.3770.90 -> 76.0.3809.87 → https://git.io/fjSAq
<{^_^}> [nixpkgs] @samueldr pushed 3 commits to release-19.03: https://git.io/fj9dI
<jlv> How would I add a dependency that is needed during preBuild?
_pash has joined #nixos
<_pash> hi guys, i just installed nixos, and i am still very new to it, trying to get bspwm to run without a DE
<_pash> can someone help out?
drakonis1 has quit [Quit: WeeChat 2.4]
<day|flip> without a DM?
<_pash> day|flip: yup correct
<_pash> desktop environment
<_pash> desktop manager
<ashkitten> DM stands for display manager
<{^_^}> [nixpkgs] @davidak opened pull request #65822 → steam chrootenv: add lsb-release → https://git.io/fj9dY
<ashkitten> like lightdm or sddm
<day|flip> i have not tested this. so im not sure if this will work
<_pash> im fine with a DM
<_pash> i just dont want a DE like xfce
erictapen has joined #nixos
drakonis_ has joined #nixos
<day|flip> just be sure when your at your DM. change your session to bspwm or bspwm+none
__monty__ has quit [Quit: leaving]
justan0theruser is now known as justanotheruser
alex`` has quit [Ping timeout: 272 seconds]
drakonis has quit [Ping timeout: 276 seconds]
<_pash> day|flip: yup - just did that a second ago
<_pash> day|flip: works!
<_pash> i had to reboot
erictapen has quit [Ping timeout: 246 seconds]
erictapen has joined #nixos
owickstrom has joined #nixos
<alienpirate5> how do I override module attributes
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> alienpirate5: Please expand your question to include more information, this will help us help you :)
lord| has quit [Quit: WeeChat 2.5]
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/fb354a0ac87 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.03)
thc202 has quit [Ping timeout: 244 seconds]
lord| has joined #nixos
<alienpirate5> I am trying to cross compile NixOS to an ARM image
<alienpirate5> I am having the following issue
<alienpirate5> The X server has an assertion that requires polkit to be enabled
<alienpirate5> polkit requires spidermonkey
<alienpirate5> spidermonkey has a bad python-based build system that has errors when cross compiling
<alienpirate5> I am trying to bypass xorg's polkit assertion
erictapen has quit [Ping timeout: 244 seconds]
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/002b853782e (from 16 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<_pash> how do i install xmodmap with nix?
<infinisil> alienpirate5: So you're getting an error?
Rusty1 has joined #nixos
<alienpirate5> Yeah
<infinisil> _pash: The attribute is `xorg.xmodmap`
<_pash> infinisil: aha, and i can also use xkboptions?
<alienpirate5> infinisil:
<_pash> infinisil: to remap caps to mod3?
<infinisil> alienpirate5: And you want to do what exactly? Remove spidermonkey from polkit's dependencies?
<alienpirate5> you can't
<alienpirate5> it's a hard dependency
<alienpirate5> i want to remove the assertion that xserver makes
<infinisil> _pash: What's mod3?
mbrgm_ has joined #nixos
<infinisil> alienpirate5: Ah I see (should've posted that from the beginning), but unfortunately there's no way to remove assertions in NixOS, you can only remove the module fully (disabledModules) and replace it with one that doesn't have the assertion
<alienpirate5> oh
<alienpirate5> Getting some pretty obscure errors
mbrgm has quit [Ping timeout: 276 seconds]
mbrgm_ is now known as mbrgm
<{^_^}> [nixpkgs] @Ma27 merged pull request #65821 → grafana-loki: 0.1.0 -> 0.2.0 → https://git.io/fj9dk
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/fj9dH
<{^_^}> [nixpkgs] @jonringer opened pull request #65823 → pythonPackages.nbval: 0.9.1 -> 0.9.2 → https://git.io/fj9dQ
<infinisil> Maybe your best bet is to override polkit with `null` or so
<alienpirate5> Here's the fulle rror
<alienpirate5> * Here's the full error
<alienpirate5> ok
<alienpirate5> trying
<alienpirate5> doesn't work
<alienpirate5> many things try using polkit
marwan has joined #nixos
marwan has left #nixos ["WeeChat 2.5"]
marwan has joined #nixos
marwan has left #nixos ["WeeChat 2.5"]
<alienpirate5> yeah it's definitely a spidermonkey_60 issue
m5n has joined #nixos
_pash has quit [Remote host closed the connection]
<m5n> I'm trying to run a nix shell with clang 8, but no matter what I do, I always end up with clang 7
<m5n> `nix-shell -p clang_8` works and I can confirm that the path for clang 8 is available and the binary is there (ie. I can call it manually)
<m5n> But my $PATH seems to pick up clang 7 no matter what I do
<m5n> I suspect it's because that's what the Nix toolchain uses
<m5n> Here's a quick example: nix-shell -p clang_8 --command "clang --version" # outputs clang version 7.1.0
<m5n> Btw, I'm on Darwin, but this doesn't seem like a necessarily Mac-specific issue which is why I'm asking here
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
<{^_^}> [nixpkgs] @WilliButz merged pull request #65784 → atlassian-jira: 8.2.3 -> 8.3.0 → https://git.io/fj9i9
<{^_^}> [nixpkgs] @WilliButz pushed 2 commits to master: https://git.io/fj9dF
<averell> what if you nix-shell --pure? maybe it's just that the installed clang is on the PATH first?
<m5n> averell: still the same issue
<m5n> Running `env` shows that clang 7 is used for an env variable called `NIX_CC`
<m5n> It's always set to that even if I try other versions of clang or use pure/sandbox
rouma has quit [Remote host closed the connection]
<m5n> Looking at $PATH, I can see that both clang7 and clang8 are there, but clang7 is there first, as you suggested is the case
ericsagnes has quit [Ping timeout: 272 seconds]
rouma has joined #nixos
<averell> in what paths? if i do this locally i get 7/8 depending on what i provided to nix-shell, but i'm on master.
<m5n> I get those paths: /nix/store/qvagarl5ghs07v39zhszm5x9rn08k231-clang-wrapper-7.1.0/bin and /nix/store/i2nf6hslid0ak8fzgpj2m082sprihi92-clang-7.1.0/bin no matter what I build
<m5n> I think that Mac uses clang as the default CC and Linux uses gcc as the default one
MarcWeber has quit [Ping timeout: 272 seconds]
<m5n> averell: maybe try using a different version of GCC? I suspect that will trigger the same behavior on Linux for you
dftxbs3e has joined #nixos
dftxbs3e has quit [Read error: Connection reset by peer]
hmpffff has quit [Quit: nchrrrr…]
o1lo01ol1o has joined #nixos
dftxbs3e has joined #nixos
<averell> yes, you are right. also about teh standard CC :)
<averell> https://stackoverflow.com/a/50277776 so you'll have to select a standard env without CC :)
<m5n> I see
<m5n> averell: is there something similar I can do to use clang8 system-wide (in configuration.nix)?
o1lo01ol1o has quit [Ping timeout: 246 seconds]
ericsagnes has joined #nixos
ngirard has quit [Ping timeout: 252 seconds]