<elvishjerricco>
How do you use remote builders from macOS? I've tried setting NIX_BUILD_HOOK and NIX_REMOTE_SYSTEMS, but it doesn't seem to have any effect
stepcut has quit [(Ping timeout: 264 seconds)]
statusbot has joined #nixos
<dhess>
elvishjerricco: personally I have never been able to get that to work, either. :(
<dhess>
though others have, and I cannot figure out what the difference is.
phreedom has quit [(Ping timeout: 264 seconds)]
<elvishjerricco>
I've got it working the other way; Linux master and macOS slave. But macOS doesn't seem to want to use slaves...
pxc has joined #nixos
phreedom has joined #nixos
randomstrangerb has quit [(Ping timeout: 268 seconds)]
<Fannar>
Christ wasn't real! Why the hell are we calling it 2018?
randomstrangerb has joined #nixos
<Fannar>
By saying it's 2018 you passively accept roman catholisism rule.
<Fannar>
REVOLT MY BROTHERS AND SISTERS!
<pkill9>
what should we call it instead?
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] lukeadams opened pull request #33259: airspy: enable Darwin building (master...airspy-darwin) https://git.io/vbxZf
NixOS_GitHub has left #nixos []
<Fannar>
We should construct a giant clock! Put several of them all over the moon. Then base our time system on the last major cataclismic event
<Fannar>
Each event is an age.
<Fannar>
Everytime the shit hits the fan. New age. New calander
otherjrolfs has quit [(Ping timeout: 264 seconds)]
jrolfs_ has quit [(Ping timeout: 256 seconds)]
asuryawanshi has joined #nixos
knupfer has quit [(Ping timeout: 268 seconds)]
asuryawanshi has quit [(Ping timeout: 240 seconds)]
drakonis has quit [(Ping timeout: 252 seconds)]
drakonis has joined #nixos
ottidmes has quit [(Ping timeout: 256 seconds)]
jb55 has quit [(Ping timeout: 240 seconds)]
pkill9 has quit [(Quit: WeeChat 2.0)]
otherjrolfs has joined #nixos
jrolfs_ has joined #nixos
pxc has quit [(Ping timeout: 264 seconds)]
<aminechikhaoui>
good luck with that
dan_b has quit [(Ping timeout: 248 seconds)]
zzamboni has quit [(Quit: Leaving.)]
otherjrolfs has quit [(Ping timeout: 268 seconds)]
jrolfs_ has quit [(Ping timeout: 260 seconds)]
jrolfs_ has joined #nixos
otherjrolfs has joined #nixos
<elvishjerricco>
dhess: I'm not sure, but I _think_ it might have something to do with the environment variables visible to the daemon. Do you know how to set those?
<dhess>
elvishjerricco: no, I'm still running the single-user Nix install on most of my Macs, so I don't use the daemon.
<elvishjerricco>
That probably would have been a good idea :P
<dhess>
elvishjerricco: people running LnL's nix-darwin seemed to have the best luck getting it to work
<dhess>
elvishjerricco: fat lot of good it did me getting remote builds to work ;)
<elvishjerricco>
Oh nix-darwin is interesting!
<LnL>
o/
<dhess>
elvishjerricco: he also has a nix-docker thing that you can use as a remote builder
<dhess>
When I build linux_beagleboard.armv7l-linux, I need to use a different kernel defconfig or even better set my platform to "beaglebone". Any idea how I can do that?
otherjrolfs has quit [(Ping timeout: 264 seconds)]
jrolfs_ has quit [(Ping timeout: 260 seconds)]
<dhess>
on my Beaglebones running NixOS I just set 'nixpkgs.config.platform = (import <nixpkgs> { config = {} ; }).platforms.beaglebone;'
<dhess>
but I'm not sure how to do the equivalent in a Hydra build
<LnL>
hmm, let me check
<LnL>
the release-libs only support a subset of platforms
<dhess>
yeah, I'm only really using that for the aggregate thing. I can define a separate derivation just for this purpose
<dhess>
LnL: oh as far as that is concerned, the beaglebone platform is armv7l-linux
<dhess>
this is "platform" as defined in lib/systems/platforms.nix
<LnL>
oh, well that addition was merged very recently
<dhess>
which is confusing but that's what it is :|
<dhess>
LnL: sure, you mean the armv7l-linux part? Right, and I'm using that now, but that's not the problem I'm having
lambdamu has joined #nixos
<dhess>
Hydra tries to build linux_beaglebone on armv7l-linux like it should. The root problem is that it uses the armv7l-hf-multiplatform defconfig, and I need it to use the beaglebone defconfig
<dhess>
so what I need to do is override stdenv (or just stdenv.platform) when Hydra evaluates it for the armv7l-linux remote builder
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] lopsided98 opened pull request #33260: jemalloc: disable transparent hugepages by default on ARMv6/7 (master...jemalloc-thp) https://git.io/vbxnf
NixOS_GitHub has left #nixos []
notdaniel has joined #nixos
lambdamu_ has quit [(Ping timeout: 264 seconds)]
<LnL>
currently the release-libs only use system, sounds like you want something that also supports the platform argument
<drakonis>
alas, happy new year
<dhess>
yeah I suppose so. There don't appear to be any examples of that in nixpkgs, as far as I can tell
<dhess>
I guess that's something to consider, how I could take one of those release-lib.nix functions and adapt it to take the platform.
<LnL>
it looks like allPackages { platform = ...; } should work
<dhess>
oh huh
<dhess>
I only want to override it for that one particular job though
<dhess>
and allPackages gets constructed for all the jobs at once, doesn't it?
<dhess>
I wonder if I could override selectBySystem from platforms.nix
<LnL>
yeah, it's for caching
<dhess>
or maybe localSystem
<LnL>
but it could be made customisable if pkgsFor is implementend as an attribute lookup that can be extended
<dhess>
oh. I see
<dhess>
so maybe I should just pull that release-lib.nix into my repo, and add a hack for this case, like a .armv7l-bbone-linux or something where I can override the platform
orivej has quit [(Ping timeout: 252 seconds)]
<dhess>
I had release-lib.nix in the repo until just a few hours ago because I needed the armv7l-linux thing that got added yesterday, but removed it when I bumped my fixed nixpkgs version. (cries)
thc202 has quit [(Ping timeout: 265 seconds)]
<dhess>
LnL: that was helpful, thank you.
otherjrolfs has joined #nixos
<LnL>
yeah that's probably easier
jrolfs_ has joined #nixos
<dhess>
yeah. If I get it to work I can try to generalize it and make a PR
klntsky has quit [(Ping timeout: 272 seconds)]
<dhess>
since armv7l-linux just got added to release-lib.nix yesterday, and armv7l-linux is probably the predominant case where this is needed due to all the weird kernel variants, it makes sense that it hasn't really been necessary to override 'platform' up until now.
<dhess>
I wonder if Dezgeg has something for this for his Hydra :)
mbrgm has quit [(Ping timeout: 240 seconds)]
stepcut has joined #nixos
mbrgm has joined #nixos
jrolfs_ has quit [(Ping timeout: 264 seconds)]
otherjrolfs has quit [(Ping timeout: 268 seconds)]
infinisil has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
infinisil has joined #nixos
vidbina has joined #nixos
fragamus has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
Supersonic112 has quit [(Ping timeout: 256 seconds)]
otherjrolfs has joined #nixos
Supersonic112_ has joined #nixos
Supersonic112_ is now known as Supersonic112
otherjrolfs has quit [(Ping timeout: 248 seconds)]
pxc has joined #nixos
fragamus has joined #nixos
Meptl has joined #nixos
<Meptl>
I added a defined shellHook in my shell.nix for a buildPythonApplication expression. This however I believe overwrites the regular shellHook that is part of buildPythonApplication (which installs the current directory's python package). How would I go about appending to shellHook?
<infinisil>
Meptl: You can use preShellHook or postShellHook instead
deech` has quit [(Ping timeout: 264 seconds)]
jrolfs_ has joined #nixos
otherjrolfs has joined #nixos
otherjrolfs has quit [(Ping timeout: 252 seconds)]
<NixOS_GitHub>
[nixpkgs] f--t opened pull request #33262: supercollider: added alsaLib as dependency, req. for MIDI on Linux (master...fix/supercollider) https://git.io/vbxCl
NixOS_GitHub has left #nixos []
oida has quit [(Quit: WeeChat 1.6)]
oida has joined #nixos
otherjrolfs has joined #nixos
jrolfs_ has joined #nixos
pxc has quit [(Ping timeout: 252 seconds)]
iyzsong has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] samueldr opened pull request #33263: Repology/autofixer (master...repology/autofixer) https://git.io/vbxCp
NixOS_GitHub has left #nixos []
<samueldr>
^^
<samueldr>
oh shoot, forgot to change the title
drakonis has quit [(Read error: Connection reset by peer)]
<samueldr>
:/ rebuild-*-stdenv is spooky
<samueldr>
must have hit a couple URLs in stdenv
phreedom has quit [(Ping timeout: 268 seconds)]
fragamus has joined #nixos
otherjrolfs has quit [(Ping timeout: 240 seconds)]
jrolfs_ has quit [(Ping timeout: 268 seconds)]
stepcut has quit [(Remote host closed the connection)]
stepcut has joined #nixos
stepcut has quit [(Remote host closed the connection)]
babyflakes has joined #nixos
aarvar has joined #nixos
ertes has joined #nixos
schoppenhauer has quit [(Ping timeout: 260 seconds)]
schoppenhauer has joined #nixos
isHavvyGhosting is now known as Havvy
otherjrolfs has joined #nixos
jrolfs_ has joined #nixos
jrolfs_ has quit [(Ping timeout: 248 seconds)]
otherjrolfs has quit [(Ping timeout: 248 seconds)]
derreck has joined #nixos
otherjrolfs has joined #nixos
jrolfs_ has joined #nixos
derreck has quit [(Client Quit)]
endformationage has quit [(Quit: WeeChat 1.9.1)]
otherjrolfs has quit [(Ping timeout: 240 seconds)]
otherjrolfs has joined #nixos
fragamus has quit [(Ping timeout: 265 seconds)]
rsynnest has joined #nixos
otherjrolfs has quit [(Ping timeout: 248 seconds)]
jrolfs_ has quit [(Ping timeout: 272 seconds)]
aarvar has quit [(Ping timeout: 268 seconds)]
otherjrolfs has joined #nixos
otherjrolfs has quit [(Ping timeout: 268 seconds)]
jrolfs_ has joined #nixos
otherjrolfs has joined #nixos
aarvar has joined #nixos
jrolfs_ has quit [(Ping timeout: 263 seconds)]
otherjrolfs has quit [(Ping timeout: 272 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] vcunat pushed 1 new commit to master: https://git.io/vbx8O
<NixOS_GitHub>
nixpkgs/master 616048b Vladimír Čunát: simutrans: don't build on Darwin...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] vcunat pushed 1 new commit to release-17.09: https://git.io/vbx83
<NixOS_GitHub>
nixpkgs/release-17.09 0adc066 Vladimír Čunát: simutrans: don't build on Darwin...
NixOS_GitHub has left #nixos []
cement has joined #nixos
jrolfs_ has joined #nixos
randomstrangerb has quit [(Ping timeout: 264 seconds)]
randomstrangerb has joined #nixos
jrolfs_ has quit [(Ping timeout: 248 seconds)]
notdaniel has quit [(Quit: Leaving)]
gspia has quit [(Quit: Leaving)]
otherjrolfs has joined #nixos
jrolfs_ has joined #nixos
otherjrolfs has quit [(Ping timeout: 248 seconds)]
jrolfs_ has quit [(Ping timeout: 256 seconds)]
sigmundv has quit [(Ping timeout: 252 seconds)]
jrolfs_ has joined #nixos
asuryawanshi has joined #nixos
otherjrolfs has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] RubenAstudillo opened pull request #33264: hakuneko: mark as broken (master...hakuneko-broken) https://git.io/vbx4C
NixOS_GitHub has left #nixos []
nh2 has quit [(Ping timeout: 255 seconds)]
sigmundv has joined #nixos
asuryawanshi has quit [(Remote host closed the connection)]
jrolfs_ has quit [(Ping timeout: 248 seconds)]
otherjrolfs has quit [(Ping timeout: 268 seconds)]
otherjrolfs has quit [(Ping timeout: 260 seconds)]
jrolfs_ has joined #nixos
`_ has joined #nixos
otherjrolfs has joined #nixos
otherjrolfs has quit [(Ping timeout: 240 seconds)]
jrolfs_ has quit [(Ping timeout: 272 seconds)]
knupfer has joined #nixos
asuryawanshi has joined #nixos
`__ has joined #nixos
`_ has quit [(Ping timeout: 272 seconds)]
asuryawanshi has quit [(Ping timeout: 240 seconds)]
otherjrolfs has joined #nixos
jrolfs_ has joined #nixos
`__ is now known as `_
Mic92 has quit [(Read error: Connection reset by peer)]
otherjrolfs has quit [(Ping timeout: 252 seconds)]
jrolfs_ has quit [(Ping timeout: 260 seconds)]
klntsky has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] rick68 opened pull request #33266: dockerTools.examples: correct a typo in comments (master...patch-8) https://git.io/vbxR4
NixOS_GitHub has left #nixos []
dywedir has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] vcunat pushed 1 new commit to master: https://git.io/vbxRu
<NixOS_GitHub>
nixpkgs/master 70e9b60 Wei-Ming Yang: dockerTools.examples: correct a typo in comments...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] vcunat closed pull request #33266: dockerTools.examples: correct a typo in comments (master...patch-8) https://git.io/vbxR4
NixOS_GitHub has left #nixos []
sirkha_ has joined #nixos
sirkha has quit [(Ping timeout: 240 seconds)]
cement has quit [(Ping timeout: 265 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Izorkin opened pull request #33267: mariadb: disabling mysql-test and sql-bench directories (staging...mariadb-mysqltest) https://git.io/vbxRj
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] gebner pushed 1 new commit to master: https://git.io/vbx0J
<NixOS_GitHub>
nixpkgs/master 7dcc307 Gabriel Ebner: texlive: use perl 5.24...
NixOS_GitHub has left #nixos []
MP2E has quit [(Remote host closed the connection)]
johnw has joined #nixos
<johnw>
has anyone gotten ghc-mod to work?
<johnw>
I have it building under ghcWithHoogle, and cabal-helper running, but it can't find any packages
Mic92 has joined #nixos
jrolfs_ has joined #nixos
otherjrolfs has joined #nixos
ambro718 has joined #nixos
Mateon3 has joined #nixos
otherjrolfs has quit [(Ping timeout: 248 seconds)]
jrolfs_ has quit [(Ping timeout: 272 seconds)]
b has quit [(Quit: Lost terminal)]
Mateon1 has quit [(Ping timeout: 252 seconds)]
Mateon3 is now known as Mateon1
<`_>
I'm having an issue with su. When I log into another user with `su - x`, and type in a command, if I attempt to use backspace, it instead appears to do what space does. It appends an extra space to the end of the command. Yet in reality, it's doing exactly as I expected, it's just not reflecting that in the terminal.
<`_>
eg whoami<BS> will make my command look like `whoami `, but when I execute it attempts to execute `whoam`.
<`_>
ls<BS>s / looks like `ls s /` but executes `ls /`
<`_>
If I <C-d> back to my original user everything works as expected
<`_>
Oddly enough, multiple levels fail with different users, unless I su into the user that issued the very original su.
Fannar has joined #nixos
Fannar has quit [(Client Quit)]
Fannar has joined #nixos
<`_>
su works as expected, it's just su - that doesn't.
hamishmack has quit [(Quit: hamishmack)]
FRidh has joined #nixos
`_ has quit [(Quit: WeeChat 2.0)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] FRidh pushed 1 new commit to staging: https://git.io/vbxE8
<NixOS_GitHub>
nixpkgs/staging d5a226f Frederik Rietdijk: xapian: 1.4.4 -> 1.4.5
NixOS_GitHub has left #nixos []
hamishmack has joined #nixos
Fannar has quit [(Quit: leaving)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] FRidh deleted python-unstable at 3cf4d23: https://git.io/vbxE4
NixOS_GitHub has left #nixos []
hamishmack has quit [(Quit: hamishmack)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] FRidh created python-unstable from release-17.09 (+0 new commits): https://git.io/v5aIf
NixOS_GitHub has left #nixos []
randomstrangerb has quit [(Ping timeout: 252 seconds)]
randomstrangerb has joined #nixos
`_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] FRidh pushed 79 new commits to python-unstable: https://git.io/vbxEP
<NixOS_GitHub>
nixpkgs/python-unstable c315bb5 Frederik Rietdijk: python: aenum: 2.0.8 -> 2.0.9
<NixOS_GitHub>
nixpkgs/python-unstable aa3f573 Frederik Rietdijk: python: aiofiles: 0.3.1 -> 0.3.2
<NixOS_GitHub>
nixpkgs/python-unstable b4df7dc Frederik Rietdijk: python: alembic: 0.9.5 -> 0.9.6
<NixOS_GitHub>
[nixpkgs] FRidh pushed 1 new commit to python-unstable: https://git.io/vbxuq
<NixOS_GitHub>
nixpkgs/python-unstable 5362b53 Frederik Rietdijk: python.pkgs.testtools: remove patch that is part of update to 1.8.1
NixOS_GitHub has left #nixos []
simendsjo has joined #nixos
wchresta has joined #nixos
sary has quit [(Ping timeout: 264 seconds)]
zzamboni has joined #nixos
simendsjo has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] FRidh pushed 1 new commit to python-unstable: https://git.io/vbxuH
<NixOS_GitHub>
nixpkgs/python-unstable d33334c Frederik Rietdijk: python.pkgs.pytools: fix expression...
NixOS_GitHub has left #nixos []
jrolfs_ has quit [(Ping timeout: 260 seconds)]
otherjrolfs has quit [(Ping timeout: 260 seconds)]
cnu- has quit [(Ping timeout: 265 seconds)]
cnu- has joined #nixos
ma27 has joined #nixos
cnu- has quit [(Ping timeout: 252 seconds)]
otherjrolfs has joined #nixos
jrolfs_ has joined #nixos
cnu- has joined #nixos
jrolfs_ has quit [(Ping timeout: 240 seconds)]
otherjrolfs has quit [(Ping timeout: 240 seconds)]
simendsjo has joined #nixos
hotfuzz has quit [(Read error: Connection reset by peer)]
hotfuzz_ has joined #nixos
ma27 has quit [(Ping timeout: 252 seconds)]
simukis has joined #nixos
ottidmes has joined #nixos
jrolfs_ has joined #nixos
otherjrolfs has joined #nixos
ma27 has joined #nixos
jrolfs_ has quit [(Ping timeout: 264 seconds)]
otherjrolfs has quit [(Ping timeout: 265 seconds)]
ma27 has quit [(Quit: WeeChat 2.0)]
lambdamu has quit [(Remote host closed the connection)]
JosW has joined #nixos
knupfer1 has joined #nixos
knupfer has quit [(Ping timeout: 265 seconds)]
knupfer1 is now known as knupfer
jrolfs_ has joined #nixos
jrolfs_ has quit [(Ping timeout: 264 seconds)]
otherjrolfs has joined #nixos
jrolfs_ has joined #nixos
Excape has joined #nixos
<Excape>
question: I just installed nixos with efi (systemd-boot.enable=true), but upon a nixos-rebuild, it keeps booting into the first generation. The boot loader only shows the opion "NixOS", and there are multiple entries in /boot/loader/entries
<Excape>
i also saw that the first generation was set as "default" in /boot/loader/loader.conf, but removing that doesn't seem to have any effect
<lassulus>
do you have your boot partition mounted at /boot?
otherjrolfs has quit [(Ping timeout: 248 seconds)]
pie_ has quit [(Remote host closed the connection)]
pie_ has joined #nixos
klntsky has quit [(Remote host closed the connection)]
klntsky has joined #nixos
pie_ has quit [(Read error: Connection reset by peer)]
pie_ has joined #nixos
Ridout has joined #nixos
pkill9 has joined #nixos
nuncanada has joined #nixos
pie_ has quit [(Quit: Leaving)]
jrolfs_ has joined #nixos
otherjrolfs has joined #nixos
Ridout has quit [(K-Lined)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] fadenb opened pull request #33273: lldpd module: create a lldpd user as system user (master...patch-1) https://git.io/vbxwN
NixOS_GitHub has left #nixos []
Ridout has joined #nixos
jrolfs_ has quit [(Ping timeout: 260 seconds)]
otherjrolfs has quit [(Ping timeout: 265 seconds)]
coot_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] jtojnar pushed 2 new commits to master: https://git.io/vbxrf
<NixOS_GitHub>
nixpkgs/master 70a0e6f Jan Tojnar: gnome3.gnome_keyring: disable tests...
<NixOS_GitHub>
nixpkgs/master 4d91763 Jan Tojnar: gnome3.gnome_keyring: remove gconf dependency...
NixOS_GitHub has left #nixos []
vidbina has quit [(Ping timeout: 264 seconds)]
orivej has quit [(Ping timeout: 264 seconds)]
<Lisanna>
can runCommand be a fixed-output derivation?
<Lisanna>
(answer: yes!)
<Lisanna>
it works if you put outputHashAlgo, outputHash, and outputHashMode in "env"
<Lisanna>
although, this appears to be a hack, as it depends on the fact that "env" is passed as verbatim attributes to a stdenv, rather than forced through some mechanism to only exist as environment variables
LangeOortjes has joined #nixos
<Dezgeg>
it's very likely an intended feature
<Isorkin>
How to fix error - (No such file or directory) in mysql.service . not running command wsrep_sst_rsync. In systemd.services.mysql path pkgs.mariadb added.
<Lisanna>
sure, it's still a bit hacky though
jluttine has quit [(Quit: WeeChat 1.9.1)]
<LangeOortjes>
I just opened an issue with nixpkgs and since the fix is rather trivial I decided to implement it myself. However, the fix involves a small change to a hooks used by cmake, meson, qt4 and qt5. I won't be able to build everything myself, not on this puny macbook at least. Should I still create a pull request?
cinimod has joined #nixos
wchresta has quit [(Ping timeout: 260 seconds)]
<cinimod>
There is no derivation for the python package `us` :(
<cinimod>
I can see no reason that the package I am copying won't work on Darwin - are folks just being (over) cautious?
asuryawanshi has joined #nixos
<FRidh>
cinimod: it disable the automatic tests for darwin
zzamboni has joined #nixos
jrolfs_ has joined #nixos
zzamboni has quit [(Client Quit)]
zzamboni has joined #nixos
<vaibhavsagar>
I'm tired of having a really old Stackage resolver on 17.09
asuryawanshi has quit [(Ping timeout: 260 seconds)]
<vaibhavsagar>
and I can't see an easy way to override it
<vaibhavsagar>
wutdo?
jtojnar has quit [(Read error: Connection reset by peer)]
jtojnar has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] FRidh pushed 1 new commit to staging: https://git.io/vbxog
<NixOS_GitHub>
nixpkgs/staging 1869e7e Frederik Rietdijk: Merge remote-tracking branch 'upstream/master' into HEAD
NixOS_GitHub has left #nixos []
jtojnar has quit [(Remote host closed the connection)]
jtojnar has joined #nixos
ma27 has joined #nixos
Lisanna2 has joined #nixos
jtojnar has quit [(Read error: Connection reset by peer)]
jtojnar has joined #nixos
<Lisanna2>
does anyone know of any nix code that calls ssh? ssh seems to do a few impure things that I'm not sure how to mitigate
LangeOortjes has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<Lisanna2>
and an example would be nice
<Lisanna2>
one of the nasty things it does is query the passwd database to get the home directory, so I can't just set the HOME environment variable ):
<cinimod>
and I am trying `nix-shell -p python35Packages.numpy python35Packages.toolz python35Packages.us --run "python3" -I nixpkgs=/Users/dom/nixpkgs`
<cinimod>
But I get `error: attribute ‘us’ missing, at (string):1:116`
jrolfs_ has joined #nixos
jrolfs_ has quit [(Ping timeout: 252 seconds)]
<Lisanna2>
ugh, what a nasty program
vidbina has joined #nixos
pukkamustard has joined #nixos
LangeOortjes has joined #nixos
stepcut has joined #nixos
stepcut has quit [(Remote host closed the connection)]
stepcut has joined #nixos
<FRidh>
cinimod: and do you refer to it somewhere in python-packages.nix ?
ixxie has quit [(Ping timeout: 248 seconds)]
jrolfs_ has joined #nixos
otherjrolfs has joined #nixos
<cinimod>
No I just realised I had to do something there
<cinimod>
Lisanna2: why nasty?
<cinimod>
Ah you are talking about another package
<Lisanna2>
it tries to create .ssh
orivej has joined #nixos
<Lisanna2>
and there's no config option to tell it to not do that / put it somewhere else
<Lisanna2>
if I figure this out I'll upstream it to nixpkgs so noone else has to go through this nonsense
<cinimod>
I am guessing that the below means that `us` depends on something called `jellyfish`
<NixOS_GitHub>
[nixpkgs] FRidh pushed 3 new commits to python-unstable: https://git.io/vbx6Y
<NixOS_GitHub>
nixpkgs/python-unstable 32020d0 Frederik Rietdijk: python.pkgs.plone-testing: init at 5.1.1
<NixOS_GitHub>
nixpkgs/python-unstable ad2df95 Frederik Rietdijk: python.pkgs.splinter: init at 0.7.7
<NixOS_GitHub>
nixpkgs/python-unstable 7a2454b Frederik Rietdijk: searx: 0.12.0 -> 0.13.1
NixOS_GitHub has left #nixos []
<FRidh>
cinimod: correct. Do check whether it is a runtime dependency (install_requires -> propagatedBuildInputs) or a test dependency (tests_require -> checkInputs)
otherjrolfs has quit [(Ping timeout: 248 seconds)]
<Isorkin>
How to fix error - (No such file or directory) in mysql.service . not running command wsrep_sst_rsync. In systemd.services.mysql path pkgs.mariadb added.
iyzsong has quit [(Ping timeout: 240 seconds)]
jrolfs_ has joined #nixos
jtojnar has joined #nixos
jtojnar has quit [(Read error: Connection reset by peer)]
asuryawanshi has quit [(Ping timeout: 268 seconds)]
jtojnar has joined #nixos
<hyper_ch>
samae: works but have to start twice
<hyper_ch>
samae: on unstable small
jrolfs_ has quit [(Ping timeout: 240 seconds)]
zzamboni has quit [(Quit: Leaving.)]
otherjrolfs has quit [(Ping timeout: 268 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] peterhoeg pushed 1 new commit to master: https://git.io/vbx6F
<NixOS_GitHub>
nixpkgs/master 8b2d220 Peter Hoeg: cantata: drop qt4 option
NixOS_GitHub has left #nixos []
otherjrolfs has joined #nixos
jrolfs_ has joined #nixos
jtojnar has quit [(Remote host closed the connection)]
jtojnar has joined #nixos
jtojnar has quit [(Remote host closed the connection)]
<samae>
hyper_ch: what do you mean, start twice?
jtojnar has joined #nixos
jtojnar has quit [(Remote host closed the connection)]
<hyper_ch>
start 1 -> crash; start 2 -> all fine
<samae>
ok
<hyper_ch>
server has nick then twice in channel
<samae>
I think in my case it's picking the wrong libxcb
<samae>
How can I find to what derivation a file belongs?
<hyper_ch>
find the true path of the file
<hyper_ch>
realink file
jrolfs_ has quit [(Ping timeout: 264 seconds)]
otherjrolfs has quit [(Ping timeout: 248 seconds)]
<samae>
actually the other way around
otherjrolfs has joined #nixos
jrolfs_ has joined #nixos
<hyper_ch>
?
<samae>
Like what pacman -Qo does: find to which package a file belongs
<hyper_ch>
how would I know what pacman -Qo does?
<samae>
:D
<samae>
Couldn't find another way to express it ^^
<hyper_ch>
realink gives you the real path which wil be /nix/store/[hash]-packagename/.....
<NixOS_GitHub>
[nixpkgs] samueldr closed pull request #33263: Update a bunch (225+) of homepages (permanent redirect problems as found by repology) (master...repology/autofixer) https://git.io/vbxCp
NixOS_GitHub has left #nixos []
<samueldr>
hmmm, that definitely is a mistake :)
<samueldr>
(on my part)
randomstrangerb has quit [(Ping timeout: 248 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] samueldr reopened pull request #33263: Update a bunch (225+) of homepages (permanent redirect problems as found by repology) (master...repology/autofixer) https://git.io/vbxCp
NixOS_GitHub has left #nixos []
randomstrangerb has joined #nixos
pukkamustard has quit [(Ping timeout: 264 seconds)]
orivej has joined #nixos
roblabla has joined #nixos
sigmundv__ has joined #nixos
sigmundv has quit [(Ping timeout: 248 seconds)]
jtojnar has joined #nixos
roblabla has quit [(Remote host closed the connection)]
roblabla has joined #nixos
roblabla has quit [(Remote host closed the connection)]
orivej has quit [(Ping timeout: 255 seconds)]
rogue_koder has joined #nixos
roblabla has joined #nixos
jb55 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] FRidh pushed 2 new commits to python-unstable: https://git.io/vbxXi
<NixOS_GitHub>
nixpkgs/python-unstable a1ab0a6 Frederik Rietdijk: python.pkgs.brotlipy: move expression
<NixOS_GitHub>
nixpkgs/python-unstable b998bfa Frederik Rietdijk: python: brotlipy: 0.6.0 -> 0.7.0
NixOS_GitHub has left #nixos []
pukkamustard has joined #nixos
otherjrolfs has quit [(Ping timeout: 256 seconds)]
<Isorkin>
How to fix error - (No such file or directory) in mysql.service . not running command wsrep_sst_rsync. In systemd.services.mysql path pkgs.mariadb added.
ixxie_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] lopsided98 opened pull request #33279: go-1.8, go-1.9: use stdenv.shell instead of /usr/bin/env bash (master...go-stdenv-shell) https://git.io/vbx1g
NixOS_GitHub has left #nixos []
Lisanna2 has quit [(Ping timeout: 250 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] adisbladis pushed 2 new commits to master: https://git.io/vbx1y
<NixOS_GitHub>
nixpkgs/master f3ec623 Elis Hirwing: testssl: refactor and improve expression
<NixOS_GitHub>
nixpkgs/master 4fe3297 adisbladis: Merge pull request #33105 from etu/testssl-fixups...
NixOS_GitHub has left #nixos []
ssmike has quit [(Ping timeout: 272 seconds)]
ssmike has joined #nixos
zzamboni has joined #nixos
zzamboni has quit [(Client Quit)]
zzamboni has joined #nixos
zzamboni has quit [(Client Quit)]
zzamboni has joined #nixos
klntsky has quit [(Ping timeout: 272 seconds)]
klntsky has joined #nixos
zzamboni has quit [(Client Quit)]
zzamboni has joined #nixos
pie_ has joined #nixos
hiberno has joined #nixos
rihards has joined #nixos
jb55 has quit [(Ping timeout: 248 seconds)]
zzamboni has quit [(Quit: Leaving.)]
asuryawanshi has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] FRidh opened pull request #33280: Python: upgrade package set (staging...python-unstable) https://git.io/vbxMN
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] FRidh pushed 1 new commit to staging: https://git.io/vbxMj
<NixOS_GitHub>
nixpkgs/staging e576535 Frederik Rietdijk: Merge pull request #33280 from NixOS/python-unstable...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] FRidh deleted python-unstable at b998bfa: https://git.io/vbxDe
otherjrolfs has quit [(Ping timeout: 240 seconds)]
jrolfs_ has quit [(Ping timeout: 272 seconds)]
<fahadsadah>
lol changing the kernel needs every package to be rebuilt apparently
astrofog has joined #nixos
FRidh has quit [(Quit: Konversation terminated!)]
<gchristensen>
that doesn't make sense
<gchristensen>
but probably close to 500 packages, instead of, say, 20,000 which hydra builds
<fahadsadah>
Ah
<fahadsadah>
I saw 501+ and rounded up ;p
<fahadsadah>
I wonder why the X11 keymap tests are so flakey
zzamboni has quit [(Quit: Leaving.)]
jrolfs_ has joined #nixos
otherjrolfs has joined #nixos
zzamboni has joined #nixos
x1n4u has quit [(Ping timeout: 240 seconds)]
<gchristensen>
you are surely not alone
x1n4u has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] vquintin opened pull request #33285: nmon: init at 16g (master...nmon-16g) https://git.io/vbxQR
NixOS_GitHub has left #nixos []
jrolfs_ has quit [(Ping timeout: 248 seconds)]
otherjrolfs has quit [(Ping timeout: 248 seconds)]
<gchristensen>
I wonder if some simple fixes could make it more reliable: make the resolution bigger for the OCR, simplify the startup to only run like xterm or something, maybe with a large font
astrofog has quit [(Quit: Quite)]
<fahadsadah>
I think it does only run xterm!
<fahadsadah>
though OCR?! Wow, I'm astounded
<gchristensen>
oh :) I'm not certain on the specifics of those tests anymoroe
<fahadsadah>
It should surely be deterministic either way
otherjrolfs has joined #nixos
jrolfs_ has joined #nixos
ryantrinkle has quit [(Remote host closed the connection)]
<ixxie>
I made a PR, and reviewers requested some changes (including squashing commits); then cstrahan made a new PR to fix these issues, but reviewers still found problems
<ixxie>
now I am trying to fix these problems
<ixxie>
if I squash cstrahan's commits, I will erase his contribution from the history
<gchristensen>
ok
alexfmpe has joined #nixos
<ixxie>
so its kind of a mess and I donno how to sort this out correctly
<gchristensen>
don't fret so much about squashing vs. not squashing, it is okay
<Lisanna>
ugh... for some reason libtool is adding a bunch of "-l" flags to the link commands it generates whenever it links against this library... since those are dependencies of the library rather than the thing being built, I don't include them as buildInputs in the Nix expression. Is there a way to work around this?
andi- has quit [(Remote host closed the connection)]
otherjrolfs has quit [(Ping timeout: 240 seconds)]
coot_ has quit [(Quit: coot_)]
jrolfs_ has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] fpletz pushed 1 new commit to master: https://git.io/vbxxY
<NixOS_GitHub>
nixpkgs/master 0ea0e3c Franz Pletz: linuxPackages.acpi_call: fix build with 4.14+ kernels
NixOS_GitHub has left #nixos []
magnetophon has joined #nixos
<mekeor>
Dezgeg: does that mean that i can simply flash the nixos.iso on the microSD-card and boot it and HDMI will work then?
coot_ has joined #nixos
<Dezgeg>
yes
<mekeor>
cool :)
<mekeor>
thanks :)
andi- has joined #nixos
vidbina has quit [(Ping timeout: 256 seconds)]
vidbina has joined #nixos
<dhess>
Dezgeg: do you have any Hydra/release.nix magic for building kernels with an overridden stdenv.platform ? Like for 'platform = raspberrypi' etc ?
<Dezgeg>
nope
<Dezgeg>
but I'd guess you just pass it in via the config arg
<dhess>
oh via nixpkgsArgs ? Maybe but that gets applied to everything in the release, not just one platform. LnL had a good idea to pass it to allPackages in release-lib.nix, which I'm trying in a local branch. But as far as I can tell it's not working. Anyway, still investigating.
ixxie_ has quit [(Quit: Lost terminal)]
ixxie has quit [(Quit: Lost terminal)]
<dhess>
I can't seem to get the linux_beaglebone kernel to compile on Hydra with 'platform = "beaglebone"', which it needs in order to select the right defconfig for that hardware.
<Dezgeg>
right. one day this kernel stuff should be refactored to not look in platforms.* for the defconfig
<dhess>
at least I think that's what's going on. It's a bit difficult to follow all the steps that are happening by the time the kernel derivation is evaluated.
srdqty has quit [(Ping timeout: 260 seconds)]
<dhess>
Dezgeg: yeah that would be nice. In fact as far as I can tell, linux_beaglebone doesn't even compile if the defconfig is not the bb.org one. In my Hydra builds it keeps breaking on drivers/misc/devovmgr.c
<Dezgeg>
yes
<Dezgeg>
same for linux_rpi
<dhess>
but when I deploy with NixOps and set nixpkgs.config.platform to "beaglebone" that builds just fine. So I'm trying to figure out how to replicate that on Hydra.
<dhess>
Dezgeg: oh interesting, same file and everything?
<Dezgeg>
no, some raspi camera driver
<dhess>
ahh ok
<dhess>
I'm tempted to add a patch that just makes the bb.org defconfig the default.
srdqty has joined #nixos
dan_b has joined #nixos
otherjrolfs has joined #nixos
<dhess>
debugging this is a PITA.
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] chreekat opened pull request #33298: perl-vidir: init at 0.040 (master...perl-vidir) https://git.io/vbxxh
NixOS_GitHub has left #nixos []
<dhess>
the build doesn't die until about 25 minutes in
zzamboni has joined #nixos
jb55 has joined #nixos
otherjrolfs has quit [(Ping timeout: 248 seconds)]
<magnetophon>
This: "alias wh='ls -lR $(which $1)'" should give me the absolute path to $1. It works when I hardcode instead of $1, but not like this. demo: https://hastebin.com/novodemada.sm Any ideas?
<magnetophon>
same problem in bash and zfs
otherjrolfs has joined #nixos
<magnetophon>
s/zfs/zsh/
<Lisanna>
magnetophon: $1 is getting resolved earlier than you want it to?
<Lisanna>
magnetophon: also, use `readlink -f` rather than `ls`
<magnetophon>
Lisanna: thanks,but could you explain that a bit?
otherjrolfs has quit [(Ping timeout: 248 seconds)]
<Lisanna>
shell variables get evaluated at some point, you want $1 to only get evaluated when you invoke the alias, but it could be happening sooner.
<Lisanna>
specifically, while creating the alias
<magnetophon>
Lisanna: so I should make a function instead?
phreedom has joined #nixos
<Lisanna>
yes
zzamboni has quit [(Quit: Leaving.)]
<taohansen>
has anyone attempted to package PowerShell?
<magnetophon>
Lisanna: ok, thanks!
<taohansen>
looks fairly straightforward, might be an interesting challenge as my first Nixpkg if not.
srdqty has quit [(Ping timeout: 256 seconds)]
andi- has quit [(Remote host closed the connection)]
andi- has joined #nixos
srdqty has joined #nixos
phdoerfler has joined #nixos
<phdoerfler>
'ello! htop says I got 2 GB of swap but I never made a swap partition nor a swap file. swapDevices is empty, too (in hardwareconfig.nix). How do I find my mystery swap? Also happy new year
otherjrolfs has joined #nixos
<Lisanna>
happy new year phdoerfler ! good luck on your mystery solving :)
<phdoerfler>
Lisanna: thanks! Just found it. There was another swapDevices hiding in a different .nix file
cinimod has quit [(Quit: Connection closed for inactivity)]
<clever>
phdoerfler: cat /proc/swaps
<phdoerfler>
clever: thanks, I ended up using swapon -s
hiratara has quit [(Ping timeout: 265 seconds)]
otherjrolfs has quit [(Ping timeout: 272 seconds)]
hiratara has joined #nixos
tmaekawa has joined #nixos
tmaekawa has quit [(Client Quit)]
<phdoerfler>
I want to make a package override and I would like nix to install it from a .gz that I got in the home directory of one of my users. But using `src = fetchurl { url = "file:///home/blabla"; sha265… }` results in:
<phdoerfler>
curl: (37) Couldn't open file /home/phi/mb2md-unreleased/mb2md-unreleased.pl.gz
<phdoerfler>
and that file is definitely there
<phdoerfler>
and curl file://home/phi/... > /dev/null works without any hiccups
<phdoerfler>
so what am I doing wrong here?
<phdoerfler>
*curl file:/// (note the 3 slashes)
otherjrolfs has joined #nixos
<clever>
phdoerfler: the mount namespace blocks all access to the filesystem
<clever>
phdoerfler: instead, use src = ./blabla.tar.gz;
<gchristensen>
phdoerfler: no need for fetchurl, just do src = ./blabla
<phdoerfler>
oh
<phdoerfler>
I looked in the docs where fetchurl was mentioned looking for something like this but failed to see / find it
<phdoerfler>
thanks!
<clever>
phdoerfler: in nix, paths have their own special type, and if you try to treat a path as a string, it will automatically copy the file into the nix store
<clever>
but if its already in the store, it just leaves the path as-is
zzamboni has joined #nixos
<clever>
and also, toString path behaves very differently from "${path}"
<clever>
and / + "/foo/" == /foo, it strips the trailing slash
<phdoerfler>
so when I use a relative path / string, what is it resolved from?
<clever>
so / + "/" + "foo" fails
<clever>
its relative to the nix file that contains that path
zzamboni has quit [(Client Quit)]
<phdoerfler>
ok
otherjrolfs has quit [(Ping timeout: 248 seconds)]
fenedor has joined #nixos
simukis has quit [(Ping timeout: 256 seconds)]
oida has joined #nixos
zzamboni has joined #nixos
fendor has quit [(Read error: Connection reset by peer)]
<phdoerfler>
clever: then something else is amiss that I am not seeing. I placed my .pl.gz next to the nix file. But when building, nix creates a "setup" file in some directory in the store but does not place the .pl.gz next to it. This setup file which seems to be a bash script then fails to find the .pl.gz
lejonet has quit [(Ping timeout: 240 seconds)]
dweller has quit [(Ping timeout: 264 seconds)]
joepie91 has quit [(Excess Flood)]
avalan has joined #nixos
<phdoerfler>
I specified ` src = "./mb2md-unreleased.pl.gz";`
joepie91 has joined #nixos
joepie91 has quit [(Changing host)]
joepie91 has joined #nixos
<clever>
phdoerfler: dont quote the path
lejonet has joined #nixos
<phdoerfler>
clever: oooooh
<phdoerfler>
it escaped me that nix has support for literal paths
<clever>
the path type also handles the + operator in weird ways
<clever>
/foo + "/" + "bar" == /foobar
<clever>
/foo + ("/" + "bar") == /foo/bar
<phdoerfler>
speaking of which: this (mb2md) really is a tool that is only needed for one single user. How do I turn a nix file containing a package override into something that can be used with nix-env -i?
<clever>
the file will need to return a set of packages
<clever>
so it could look something like this
<phdoerfler>
clever: my bad, my brain auto corrected your literal / from above to "/"
<phdoerfler>
I tried and failed. I made a "default.nix" inspired by this one liner. I then issued `nix-env -f default.nix -i mb2md-unreleased` but it failed to find derivations matching that selector
MP2E has joined #nixos
otherjrolfs has joined #nixos
<nixy>
Is there any documentation on fixed output derivations?
vidbina has quit [(Ping timeout: 264 seconds)]
alexfmpe has quit [(Ping timeout: 264 seconds)]
otherjrolfs has quit [(Ping timeout: 268 seconds)]