gchristensen changed the topic of #nixos to: Share the output of nix-shell -p nix-info --run nix-info to help us help you. || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://botbot.me/freenode/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64
yegle has joined #nixos
nithor has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] basvandijk opened pull request #33760: elasticsearch-curator-5.4.1 on release-17.09 (release-17.09...elasticsearch-curator-5.4.1-release-17.09) https://git.io/vNswo
NixOS_GitHub has left #nixos [#nixos]
yegle has quit [Remote host closed the connection]
yegle has joined #nixos
<catern> hey #nixos, how do I determine what the Nix prefix is, from a package?
<catern> er, in a derivation, that is
<gchristensen> like /nix/ ?
<catern> yes
<catern> well, no
<catern> like /nix/store
nithor has quit [Ping timeout: 265 seconds]
<srk> ls /nix/store/*package* ?
<gchristensen> not sure, but import <nix/config.nix> might help you
<catern> yep, (import <nix/config.nix>).nixStoreDir
<catern> nice, thanks gchristensen
viric has quit [Ping timeout: 246 seconds]
<gchristensen> I don't have nixStoreDir
drakonis has joined #nixos
<LnL> there's also builtins.storeDir or is that new
<LnL> nixStoreDir is the full store path of nix itself
<catern> for me, nixStoreDir is just /nix/store
<gchristensen> nixStoreDir must be new?
<catern> this is with nix 1.12 so yeah
<LnL> oh?
<gchristensen> nixStoreDir isn't there on 1.11
<gchristensen> builtins.storeDir is there
<LnL> I only see nixBinDir nixPrefix in <nix/config.nix>
<catern> curious
pie_ has quit [Ping timeout: 248 seconds]
pie_ has joined #nixos
<yegle> Hi list, I'm using nix on Linux. I installed weechat and aspell-dict-en, but /aspell listdict doesn't show the dictionary. What could go wrong with my setup?
<LnL> n/m must have mistyped or something
verite has joined #nixos
fyuuri has quit [Ping timeout: 255 seconds]
<dtz> can't you just turn <nix> to a string?
<dtz> $ nix eval '("${<nix>}")'
kragniz is now known as kgz
<dtz> (lol the quotes and parens, but in a derivation "${<nix>}" should work?)
nithor has joined #nixos
silver_hook has quit [Ping timeout: 248 seconds]
silver_hook has joined #nixos
silver_hook has quit [Changing host]
silver_hook has joined #nixos
nithor has quit [Ping timeout: 255 seconds]
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<dtz> oh, nix store dir, reading backlog now O:)
<dtz> vmTools..... yeah it uses "builtins.storeDir"
nithor has joined #nixos
pjan_ has joined #nixos
verite has quit [Read error: Connection reset by peer]
<jack[m]> TIL: /nix/store/d1prcspbh2qsviipvnaxizcj8l3g7fpw-bootstrap-tools/bin/bash is 72 chars.
<jack[m]> ... and something in the bootstrap tools is using bash to execve another shell script.
<jack[m]> ... and bash only reads 80 chars of the shebang line.
nico202 has quit [Quit: Leaving]
xcmw has joined #nixos
<jack[m]> So, if you have a nix store at /some/deep/path/to/my/nix/store/to/avoid/symlinks/on/nfs/ the bash execve doesn't use the whole interpreter and crashes.
<jack[m]> ... with 'bad interpreter: Permission denied'
<jack[m]> But it works when the nix store is in /nix/store/.
<Dezgeg> hilarious :)
<Dezgeg> or well, hilariously bad
<jack[m]> Yeah. I found this by looking through the bash source code.
<jack[m]> Which is hilariously bad.
endformationage has joined #nixos
digitus has quit [Quit: digitus]
<jack[m]> Okay. That's being a bit mean. Bash has a long and (glorious?) history, and has accumulated a lot of cruft over the ages.
chessai has joined #nixos
chessai has quit [Remote host closed the connection]
ssmike has joined #nixos
alexteves has quit [Ping timeout: 268 seconds]
nithor has quit [Ping timeout: 252 seconds]
FRidh has quit [Quit: Konversation terminated!]
FRidh has joined #nixos
coot___ has quit [Quit: coot___]
jb55 has quit [Ping timeout: 268 seconds]
nithor has joined #nixos
nithor has quit [Ping timeout: 265 seconds]
dieggsy has quit [Quit: ERC (IRC client for Emacs 27.0.50)]
<el_putin> lol
dieggsy has joined #nixos
ryanartecona has joined #nixos
justan0theruser has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] kierdavis opened pull request #33762: avrgcc: bake path to avr-ar into avr-gcc-ar (master...fix-avr-gcc-ar) https://git.io/vNsPe
NixOS_GitHub has left #nixos [#nixos]
justanotheruser has quit [Ping timeout: 264 seconds]
dan_b has quit [Ping timeout: 268 seconds]
swayf_ has quit [Remote host closed the connection]
swayf has joined #nixos
jensens has quit [Ping timeout: 240 seconds]
nithor has joined #nixos
swayf has quit [Ping timeout: 265 seconds]
<catern> i really hate that there are two nix shell init files
<catern> i never remember which one to source
<catern> oh wait
<catern> nix-daemon.sh is definitely the right one now
euniarte has quit [Ping timeout: 255 seconds]
nithor has quit [Ping timeout: 276 seconds]
euniarte has joined #nixos
la_putin has joined #nixos
el_putin has quit [Read error: Connection reset by peer]
dieggsy has quit [Remote host closed the connection]
nithor has joined #nixos
nuncanada has quit [Quit: Leaving]
knupfer1 has joined #nixos
knupfer has quit [Ping timeout: 246 seconds]
knupfer1 is now known as knupfer
euniarte has quit [Remote host closed the connection]
alexteves has joined #nixos
srdqty has quit [Ping timeout: 264 seconds]
srdqty has joined #nixos
babyflakes has quit [Quit: Connection closed for inactivity]
drakonis has quit [Read error: Connection reset by peer]
mbrgm has quit [Ping timeout: 264 seconds]
mbrgm has joined #nixos
viric has joined #nixos
stephenjudkins has quit [Remote host closed the connection]
nithor has quit [Ping timeout: 255 seconds]
<pjan_> when using relative paths in nix, how do you 1) go up 2 levels (../../foo/bar doesn't seem to work), and/or 2) create a path from a string from a concatenation of a string and a path
srdqty has quit [Ping timeout: 265 seconds]
<samueldr> pjan_: dunno if this helps https://gist.github.com/samueldr/c95030b22e8551d9e7a8f4dee21d995a but looks like ../.. should work
thc202 has quit [Ping timeout: 256 seconds]
dag_ has joined #nixos
dieggsy has joined #nixos
Supersonic112 has quit [Disconnected by services]
srdqty has joined #nixos
Supersonic112_ has joined #nixos
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nithor has joined #nixos
Supersonic112_ is now known as Supersonic112
Guest77289 has quit [Ping timeout: 265 seconds]
ryanartecona has quit [Quit: ryanartecona]
markus1189 has joined #nixos
markus1199 has quit [Ping timeout: 252 seconds]
MP2E has quit [Remote host closed the connection]
<jasom> pjan_: ../.. will work, but don't forget how ".." works on linux
nithor has quit [Ping timeout: 276 seconds]
<pjan_> samueldr: thanks. Still doesn't seem to do what I want. Works in the repl, not in the nix file. hmmm
<jasom> e.g. foo/bar/.. is not necessarily the same path as foo/
<pjan_> ok: situation as follows: I have a nix file and if I put stuff in there and use ../foo/bar it works. Now I want to move that import into a file in a subdir, where I change it to `../.. + "/foo/bar"`, and use require to call that new file in the original one. This doesn't work
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis closed pull request #33759: pgmanage: 10.0.2 -> 10.1.0 (master...pgmanage-10.1.0) https://git.io/vNsaC
NixOS_GitHub has left #nixos [#nixos]
pxc has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis closed pull request #33716: darktable: lua support requires lua 5.3 (master...darktable-lua) https://git.io/vNOvH
NixOS_GitHub has left #nixos [#nixos]
<pjan_> base.nix with ../foo/bar works. base.nix where I require ./dir/sub.nix which contains ../.. + "/foo/bar" doesn't work
nithor has joined #nixos
kim0 has quit [Quit: Connection closed for inactivity]
pxc has quit [Ping timeout: 240 seconds]
xcmw has joined #nixos
nithor has quit [Ping timeout: 265 seconds]
<adisbladis> pjan_: (../.. + "/foo/bar") works fine
alexteves has quit [Ping timeout: 260 seconds]
nithor has joined #nixos
nixoss has joined #nixos
<nixoss> I'm having some trouble with my installation in virtualbox
<nixoss> Originally the machine wouldn't display in a full resolution so I enables virtualisation.virtualbox.guest
<nixoss> now it displays in the top left quadrant of my screen
<nixoss> I just fixed it
<nixoss> nevermind haha
<samueldr> nixoss: please share, this may end up helping someone through a google search :)
<nixoss> samueldr: the machine was windowed but after fullscreening virtualbox it was fixed
<nixoss> then when switching back to windowed there was no problem
<nixoss> if that makes sense
<samueldr> ah, the good old resize it then back again routine
<nixoss> i just fullscreened it and unfullscreened it
<nixoss> yeah haha
nithor has quit [Ping timeout: 252 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis opened pull request #33766: Sonarr radarr vulns (master...sonarr_radarr_vulns) https://git.io/vNsSu
NixOS_GitHub has left #nixos [#nixos]
dieggsy has quit [Remote host closed the connection]
stepcut has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis pushed 2 new commits to master: https://git.io/vNsSo
<NixOS_GitHub> nixpkgs/master 2377d7b adisbladis: radarr: 0.2.0.846 -> 0.2.0.910
<NixOS_GitHub> nixpkgs/master f2bca29 adisbladis: sonarr: 2.0.0.5054 -> 2.0.0.4949
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis closed pull request #33766: Sonarr & radarr vulnerabilities (master...sonarr_radarr_vulns) https://git.io/vNsSu
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] corngood opened pull request #33767: youtube-dl: disable phantomjs support on darwin by default (master...youtube-dl-darwin) https://git.io/vNsSD
NixOS_GitHub has left #nixos [#nixos]
nithor has joined #nixos
orivej has joined #nixos
nithor has quit [Ping timeout: 276 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/release-17.09 d6815c6 adisbladis: radarr: 0.2.0.846 -> 0.2.0.910...
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/release-17.09 8951727 adisbladis: sonarr: 2.0.0.4949 -> 2.0.0.5085...
<NixOS_GitHub> [nixpkgs] adisbladis pushed 2 new commits to release-17.09: https://git.io/vNsSN
nithor has joined #nixos
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/10c6439a899 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
nix-gsc-io`bot has quit [Client Quit]
ssmike has quit [Remote host closed the connection]
nithor has quit [Ping timeout: 240 seconds]
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nixoss has quit [Quit: Page closed]
nithor has joined #nixos
xcmw has joined #nixos
nithor has quit [Ping timeout: 276 seconds]
<qmm> is it possible to install the ghc 8.2 branch of ghcjs with nix?
<qmm> ttps://github.com/ghcjs/ghcjs/tree/ghc-8.2
concatime has joined #nixos
verite has joined #nixos
nithor has joined #nixos
deepfire has quit [Ping timeout: 248 seconds]
schoppenhauer has quit [Ping timeout: 265 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis opened pull request #33769: kde-applications: 17.12.0 -> 17.12.1 (master...kde-applications-17_12_1) https://git.io/vNsHd
NixOS_GitHub has left #nixos [#nixos]
<concatime> Can someone help me to get this result:
<concatime> +------+------+ | Root | Home | +-------------+ ext4 | xfs | | Swap +------+------+ +-------------+ LVM |
schoppenhauer has joined #nixos
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
swayf has joined #nixos
MP2E has joined #nixos
marusich has joined #nixos
dj_goku has joined #nixos
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
stepcut has quit [Remote host closed the connection]
swayf has quit [Ping timeout: 265 seconds]
stepcut has joined #nixos
nithor has quit [Ping timeout: 276 seconds]
orivej has quit [Ping timeout: 248 seconds]
nithor has joined #nixos
nithor has quit [Ping timeout: 246 seconds]
hamishmack has quit [Quit: hamishmack]
knupfer has quit [Ping timeout: 265 seconds]
dj_goku has quit [Quit: Lost terminal]
<ghuntley> Looking for an example how to specify w/nixos how to install a pypi package into system level image.
`_ has joined #nixos
nithor has joined #nixos
`_ has left #nixos [#nixos]
orivej has joined #nixos
verite has quit [Ping timeout: 264 seconds]
`_ has joined #nixos
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/89517271fa8 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [Client Quit]
verite has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis closed pull request #33714: grammalecte: 0.5.18 -> 0.6.1 (master...up-grmmalecte) https://git.io/vNYdj
NixOS_GitHub has left #nixos [#nixos]
klntsky has quit [Remote host closed the connection]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] alekcz opened pull request #33771: pixie: refactor to allow macOS build (master...master) https://git.io/vNs5X
NixOS_GitHub has left #nixos [#nixos]
babyflakes has joined #nixos
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixpkgs-17.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/89517271fa8 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-17.09-darwin)
nix-gsc-io`bot has quit [Client Quit]
ilyaigpetrov has joined #nixos
mk-fg has quit [Ping timeout: 255 seconds]
mk-fg has joined #nixos
mk-fg has quit [Changing host]
mk-fg has joined #nixos
hamishmack has joined #nixos
ryantrinkle has quit [Ping timeout: 252 seconds]
mrkgnao has joined #nixos
<mrkgnao> I'm getting weird "imported archive lacks a signature" errors when I try to do nix-channel --update
nyberg has quit [Ping timeout: 240 seconds]
<mrkgnao> all the results for that search term have to do with Hydra, which I have never used
justanotheruser has joined #nixos
justan0theruser has quit [Ping timeout: 268 seconds]
nithor has quit [Ping timeout: 252 seconds]
nyberg has joined #nixos
propumpkin has joined #nixos
contrapumpkin has quit [Ping timeout: 240 seconds]
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
simukis has joined #nixos
slack1256 has joined #nixos
verite has quit [Ping timeout: 248 seconds]
nithor has joined #nixos
asuryawanshi has joined #nixos
nithor has quit [Ping timeout: 252 seconds]
hellrazor has joined #nixos
danielrf has quit [Ping timeout: 264 seconds]
andyjscott[m] has quit [Ping timeout: 264 seconds]
ipj[m] has quit [Ping timeout: 264 seconds]
danielrf has joined #nixos
voobscout[m] has quit [Ping timeout: 264 seconds]
smbarte2[m] has quit [Ping timeout: 264 seconds]
leons[m] has quit [Ping timeout: 264 seconds]
noctuid has quit [Ping timeout: 264 seconds]
admin[m]3 has quit [Ping timeout: 264 seconds]
AllanDaemon has quit [Ping timeout: 264 seconds]
moredread[m] has quit [Ping timeout: 264 seconds]
adisbladis[m] has quit [Ping timeout: 264 seconds]
bennofs[m] has quit [Ping timeout: 264 seconds]
nocent has quit [Ping timeout: 264 seconds]
dibblego[m] has quit [Ping timeout: 264 seconds]
itorres has quit [Ping timeout: 264 seconds]
offlinehacker[m] has quit [Ping timeout: 264 seconds]
ipj[m] has joined #nixos
andyjscott[m] has joined #nixos
smbarte2[m] has joined #nixos
leons[m] has joined #nixos
adisbladis[m] has joined #nixos
voobscout[m] has joined #nixos
noctuid has joined #nixos
admin[m]3 has joined #nixos
moredread[m] has joined #nixos
AllanDaemon has joined #nixos
offlinehacker[m] has joined #nixos
bennofs[m] has joined #nixos
itorres has joined #nixos
nocent has joined #nixos
dibblego[m] has joined #nixos
verite has joined #nixos
ma27 has joined #nixos
pjan_ has quit [Read error: Connection reset by peer]
reinzelmann has joined #nixos
orivej has quit [Ping timeout: 248 seconds]
ryantrinkle has joined #nixos
asuryawanshi has quit [Remote host closed the connection]
nithor has joined #nixos
concatime has quit [Quit: Page closed]
<Isorkin> Please help to fix error build - http://pastebin.ru/3Cvc3cU2 Config - http://pastebin.ru/bwV9KfC9
nithor has quit [Ping timeout: 265 seconds]
rauno has quit [Remote host closed the connection]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] cyraxjoe opened pull request #33773: enpass: 5.6.0 -> 5.6.5 (master...enpass-version-upgrade) https://git.io/vNsNO
NixOS_GitHub has left #nixos [#nixos]
MercurialAlchemi has joined #nixos
justbeingglad has joined #nixos
justbeingglad has left #nixos [#nixos]
orivej has joined #nixos
MP2E has quit [Remote host closed the connection]
ma27 has quit [Ping timeout: 252 seconds]
qknight has quit [Remote host closed the connection]
jb55 has joined #nixos
liori has quit [Ping timeout: 240 seconds]
Biappi has quit [Ping timeout: 248 seconds]
<vaibhavsagar> can I set LimitAS to a percentage?
knupfer has joined #nixos
mrkgnao has quit [Ping timeout: 260 seconds]
nithor has joined #nixos
knupfer has quit [Client Quit]
mrkgnao has joined #nixos
freusque has joined #nixos
raving_ has quit [Remote host closed the connection]
stephenjudkins has joined #nixos
nithor has quit [Ping timeout: 265 seconds]
klntsky has joined #nixos
verite has quit [Ping timeout: 240 seconds]
pjan_ has joined #nixos
pjan_ has quit [Client Quit]
nithor has joined #nixos
orivej has quit [Ping timeout: 268 seconds]
johann__ has joined #nixos
nithor has quit [Ping timeout: 276 seconds]
asuryawanshi has joined #nixos
johann__ has quit [Client Quit]
hellrazor has quit [Quit: WeeChat 2.0.1]
asuryawanshi has quit [Ping timeout: 248 seconds]
johann__ has joined #nixos
slack1256 has quit [Remote host closed the connection]
nithor has joined #nixos
johann__ has quit [Client Quit]
pjan_ has joined #nixos
johann__ has joined #nixos
johann__ has quit [Client Quit]
johann__ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master 2832cc7 Frederik Rietdijk: Merge pull request #33467 from nixy/kdeconnect-sshfs...
<NixOS_GitHub> [nixpkgs] FRidh pushed 2 new commits to master: https://git.io/vNsxQ
<NixOS_GitHub> nixpkgs/master d06ab7d Andrew R. M: kdeconnect: Add `sshfs` as a dependency
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #33467: kdeconnect: Add `sshfs` as a dependency (master...kdeconnect-sshfs) https://git.io/vNUID
NixOS_GitHub has left #nixos [#nixos]
johann__ has quit [Client Quit]
johann__ has joined #nixos
stephenjudkins has quit [Remote host closed the connection]
stephenjudkins has joined #nixos
klntsky has quit [Quit: WeeChat 2.0.1]
klntsky has joined #nixos
periklis has joined #nixos
stephenjudkins has quit [Ping timeout: 265 seconds]
jb55 has quit [Ping timeout: 240 seconds]
MP2E has joined #nixos
<jkemet> Hi! Have any of you ever encountered hydra not being able to build something even though nix-build can? I'm getting weird errors sent via mail: "
<jkemet> resulted in the following error:
<jkemet> in job ‘all_packages’:
<jkemet> unsupported value: [ <CODE> <CODE> <CODE> <CODE> <CODE> <CODE> <CODE> <CODE> <CODE> <CODE> <CODE> <CODE> <CODE> <CODE> <CODE> <CODE> <CODE> <CODE> <CODE> <CODE> <CODE> ]
fyuuri has joined #nixos
alex`` has joined #nixos
deepfire has joined #nixos
<pjan_> On the current master branch, one of my overlays started breaking with the following message -> error: attribute ‘source’ missing, at /Users/pjan/src/nix/nixpkgs/pkgs/development/ruby-modules/gem/default.nix:61:18. Should this be reported as an issue?
johann__ has quit [Quit: Leaving.]
Itkovian has joined #nixos
taktoa has quit [Remote host closed the connection]
mrkgnao has quit [Ping timeout: 265 seconds]
nithor has quit [Ping timeout: 255 seconds]
mrkgnao has joined #nixos
shlevy has quit [Ping timeout: 252 seconds]
civodul has joined #nixos
shlevy has joined #nixos
vidbina has joined #nixos
Tucky has joined #nixos
deepfire has quit [Ping timeout: 240 seconds]
<jkemet> Oh. I figured it out. Hydra doesn't like to build lists of derivations, but is fine with building an attribute set of derivations.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] pSub closed pull request #25713: darwin: trash 0.9.0 (master...darwin-trash) https://git.io/v9yND
NixOS_GitHub has left #nixos [#nixos]
FRidh has quit [Quit: Konversation terminated!]
<pjan_> ignore the above. Figured it out
nithor has joined #nixos
FRidh has joined #nixos
nithor has quit [Ping timeout: 240 seconds]
ckauhaus has joined #nixos
goibhniu has joined #nixos
raynold has quit [Quit: Connection closed for inactivity]
asuryawanshi has joined #nixos
nithor has joined #nixos
nithor has quit [Ping timeout: 255 seconds]
thc202 has joined #nixos
asuryawanshi has quit [Remote host closed the connection]
asuryawanshi has joined #nixos
Biappi has joined #nixos
ylwghst has joined #nixos
nithor has joined #nixos
fuyuuri has joined #nixos
ckauhaus has quit [Remote host closed the connection]
ssmike has joined #nixos
ssmike has quit [Remote host closed the connection]
Mateon3 has joined #nixos
pkill9 has joined #nixos
Itkovian has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
periklis has quit [Ping timeout: 248 seconds]
Mateon2 has quit [Ping timeout: 240 seconds]
simukis has quit [Read error: Connection reset by peer]
Mateon3 is now known as Mateon1
simukis has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] basvandijk opened pull request #33774: Elasticsearch curator 5.4.1 cleanup (master...elasticsearch-curator-5.4.1-cleanup) https://git.io/vNGfe
NixOS_GitHub has left #nixos [#nixos]
deepfire has joined #nixos
klntsky has quit [Remote host closed the connection]
klntsky has joined #nixos
orivej has joined #nixos
lonokhov has joined #nixos
__Sander__ has joined #nixos
nithor has quit [Ping timeout: 255 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vNGJv
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master dffe1e5 Pascal Bach: minio: 2017-09-29T19-16-56Z -> 2018-01-02T23-07-00Z (#33724)...
aarvar has quit [Ping timeout: 268 seconds]
goibhniu has quit [Remote host closed the connection]
goibhniu has joined #nixos
thetet has joined #nixos
thetet has quit [Client Quit]
alex`` has quit [Ping timeout: 255 seconds]
Itkovian has joined #nixos
nithor has joined #nixos
vidbina has quit [Ping timeout: 240 seconds]
alex`` has joined #nixos
jensens has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/release-17.09 2146eed Pascal Bach: minio: 20170613 -> 2017-09-29T19-16-56Z...
<NixOS_GitHub> nixpkgs/release-17.09 d35710b Pascal Bach: minio: 2017-09-29T19-16-56Z -> 2018-01-02T23-07-00Z (#33724)...
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to release-17.09: https://git.io/vNGUL
NixOS_GitHub has left #nixos [#nixos]
nithor has quit [Ping timeout: 252 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] andir closed pull request #33740: [17.09] Apache Spark address CVE-2017-12612 (release-17.09...17.09/spark) https://git.io/vN33o
NixOS_GitHub has left #nixos [#nixos]
patrl has joined #nixos
patrl has quit [Client Quit]
pjan_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vNGUX
<NixOS_GitHub> nixpkgs/master 67ce7cb Joel Rivera: enpass: 5.6.0 -> 5.6.5
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master e8d414f Jörg Thalheim: Merge pull request #33773 from cyraxjoe/enpass-version-upgrade...
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] roberth opened pull request #33775: Add documentation to haskell.lib (master...haskell-lib-doc) https://git.io/vNGU7
NixOS_GitHub has left #nixos [#nixos]
ThatDocsLady has joined #nixos
nithor has joined #nixos
leat has quit [Quit: WeeChat 1.9.1]
dan_b has joined #nixos
hamishmack has quit [Quit: hamishmack]
nithor has quit [Ping timeout: 252 seconds]
orivej has quit [Ping timeout: 265 seconds]
nithor has joined #nixos
bencef has joined #nixos
<bencef> i've been googling and greping for the last half an hour. my /tmp is in ram. what's the option in nixos to not use /tmp for derivation builds?
patrl has joined #nixos
patrl has quit [Client Quit]
nithor has quit [Ping timeout: 265 seconds]
<andi-> bencef: TMPDIR
<andi-> set it before you trigger the build
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peti pushed 2 new commits to master: https://git.io/vNGt4
<NixOS_GitHub> nixpkgs/master f40ecb2 Robert Hensing: Add documentation for haskell-modules/lib.nix
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master ab73b0c Peter Simons: Merge pull request #33775 from roberth/haskell-lib-doc...
<bencef> thanks. that could work, but I vaugely remember there's an mkOption for using a privateTmp for builds
freusque has quit [Ping timeout: 265 seconds]
taktoa has joined #nixos
<avn> bencef: also take a note, that _inside_ build sandbox path still be /tmp/.....
nithor has joined #nixos
<bencef> thanks avn
bencef has quit [Quit: bye]
leat has joined #nixos
Guest44147 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] matthiasbeyer opened pull request #33776: Update sigal (master...update-sigal) https://git.io/vNGqi
NixOS_GitHub has left #nixos [#nixos]
nithor has quit [Ping timeout: 252 seconds]
deepfire has quit [Ping timeout: 256 seconds]
zarkone has joined #nixos
el_putin has joined #nixos
alex`` has quit [Ping timeout: 252 seconds]
<zarkone> Hi! Struggling with loops/making sets in Nix. So, I have a set and I want to create a fiew keys which came from array and put some value in it
<zarkone> something like `for domain in domains: do security.acme.certs."${domain}" = {...}`
<zarkone> but I haven't found any info about loops
<zarkone> I only see imap0 and recursive fns
la_putin has quit [Read error: Connection reset by peer]
Guest44147 has quit [Changing host]
Guest44147 has joined #nixos
Guest44147 is now known as TweyII
<TweyII> zarkone: Recursive functions are strictly more powerful than loops (formally speaking, equivalent to a loop + stack)
ThatDocsLady has quit [Ping timeout: 240 seconds]
<TweyII> zarkone: But in this case it sounds like you want to use builtins.listToAttrs
<pkill9> why are they more powerfu
<pkill9> powerful?*
<TweyII> pkill9: Because you also have the implicit callstack to store data in local variables
<TweyII> pkill9: If you also have a stack (data structure) then a loop can be used to emulate recursive functions, but a loop alone won't cut it
<joko> Hey, is anyone using autorandr? It appears it is not working on my laptop, any ideas what could be wrong? I've tried both lightdm and sddm
<TweyII> (or one of a variety of data structures that can be used to emulate a stack, like a Turing machine's tape)
<andi-> joko: works fine for me. Did you save a profile?
<pkill9> what'idk
<pkill9> oops
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #33551: libbladeRF: 1.4.0 -> 1.9.0 (master...bladerf-fix-pr) https://git.io/vNkCD
NixOS_GitHub has left #nixos [#nixos]
<zarkone> Thank you TweyII, pkill9!
<zarkone> will take a look now
ckauhaus has joined #nixos
<pkill9> np, i didn't do do anything though
<zarkone> btw, does nix have TCO?
swayf has joined #nixos
nithor has joined #nixos
swayf_ has joined #nixos
<zarkone> Also, one more annoying question about nix on desktop. Does nix have good wayland support? want to install nix on my laptop, liked it in our deploy system, and want to play around a bit with wm development for wayland
<zarkone> sorry, s/nix/nixos
pkill9 has quit [Quit: WeeChat 2.0]
<elisaado> I tried to get wayland with gnome, but it did not seem to work
<sphalerite> zarkone: it doesn't have any modules to support it AFAIK but it does work, e.g. you can install sway and just run it from a tty
<sphalerite> should be good enough for wm development I think
sigmundv__ has joined #nixos
<TweyII> zarkone: nix-repl> let domains = ["a" "b" "c"]; in with builtins; listToAttrs (builtins.map (domain: { name = "domain-${domain}"; value = "blah blah blah"; }) domains)
<TweyII> { domain-a = "blah blah blah"; domain-b = "blah blah blah"; domain-c = "blah blah blah"; }
<zarkone> Oh, I see! thank you very much. first time here, very responsive channel!
<zarkone> TweyII: exacly what I'm looking for, thanks!
<TweyII> s/builtins\.//
swayf has quit [Ping timeout: 265 seconds]
<zarkone> I even checked out the sources of list, but I actually should ccheck out builtins
<TweyII> zarkone: You could also do it recursively with a set update operator or something
<zarkone> whoa, nix-repl!
<zarkone> ok, got it! but here in that particular case this would be more convenient I think
<zarkone> so, with nix-repl I could develop nix file in more robust way i think
<TweyII> Yeah, use existing functions if they fit :)
<zarkone> now I'm running deploy and check if it works or not
nithor has quit [Ping timeout: 276 seconds]
<joko> andi-: I think so, running "sudo autorandr -c" works, I was hoping it would also work automatically, when booting
<aminechikhaoui> TIL I can't use worker-1 worker-2 worker-3 as VM machine names in nixos tests, those dashes are causing weird issues in the perl driver script
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master 9c3b2b6 Jörg Thalheim: Merge pull request #33762 from kierdavis/fix-avr-gcc-ar...
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vNGOi
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 6bfa422 Kier Davis: avrgcc: bake path to avr-ar into avr-gcc-ar...
<TweyII> zarkone: nix-repl> let f = xs: if xs == [] then { } else ({ "${builtins.head xs}" = "blah blah"; } // f (builtins.tail xs)); in f ["a" "b" "c"]
rcshm has joined #nixos
nallar has joined #nixos
Ross has quit [Ping timeout: 248 seconds]
nallar is now known as Ross
<TweyII> Rather, let f = xs: if xs == [] then { } else { "${builtins.head xs}" = "blah blah"; } // f (builtins.tail xs); in f ["a" "b" "c"]
<zarkone> TweyII: I see! thanks! :)
nithor has joined #nixos
coot___ has joined #nixos
sigmundv__ has quit [Ping timeout: 260 seconds]
phdoerfler has joined #nixos
sigmundv_ has joined #nixos
<phdoerfler> Hi! How do I determine on the command line if a reboot is required (After nixos-rebuild swtich --upgrade)? Is there a file /var/run/reboot-required like in Ubuntu or does NixOS provide some other mechanism?
ylwghst has quit [Ping timeout: 256 seconds]
<infinisil> phdoerfler: I don't think there's anything like that, would be nice though
nithor has quit [Ping timeout: 265 seconds]
<zarkone> !m TweyII
<[0__0]> You're doing good work, TweyII!
<zarkone> =)
<phdoerfler> infinisil: Can I then at least get a list of what updates I'll get when I nixos-rebuild switch --upgrade? That way I could grep for kernel updates and then do a restart myself
<zarkone> haven't find +1 feature, but as I understand #nixos has some kind of automatic cudos
<zarkone> *kudos
ckauhaus has quit [Remote host closed the connection]
ckauhaus has joined #nixos
ThatDocsLady has joined #nixos
<woffs> suffering from https://github.com/NixOS/nixpkgs/issues/28504 I wonder how to give wine on a 64bit machine access to a 32bit OpenGL. Same installation works on a 32bit machine.
ckauhaus has quit [Ping timeout: 265 seconds]
<sphalerite> hardware.opengl.driSupport32Bit = true;
<Isorkin> Please help to fix error build - http://pastebin.ru/3Cvc3cU2 Config - http://pastebin.ru/bwV9KfC9
<sphalerite> Isorkin: that doesn't look like a nix issue
<phdoerfler> does nixos have live kernel patching?
<sphalerite> phdoerfler: no
nithor has joined #nixos
<sphalerite> I think you can do kexec reboots, but there's no support for live patching AFAIK
<phdoerfler> sphalerite: ok
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to release-17.09: https://git.io/vNGsX
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/release-17.09 412ad94 Kier Davis: avrgcc: bake path to avr-ar into avr-gcc-ar...
MP2E has quit [Remote host closed the connection]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #33212: bitlbee-discord: init at 2017-12-27 (master...bitlbee-discord) https://git.io/vbAtC
NixOS_GitHub has left #nixos [#nixos]
alex`` has joined #nixos
<srk> phdoerfler: sphalerite, if live patching is doable I would be interested in that as well. not a priority though
nithor has quit [Ping timeout: 265 seconds]
<phdoerfler> Does the systemd in nixos have any support for kexec reboots or do I need to do it all manually?
ckauhaus has joined #nixos
<sphalerite> phdoerfler: `systemctl kexec` should do it
<phdoerfler> sphalerite: I mean I got to stop all services manually and unmount all drives for this by myself, right?
<sphalerite> no, systemd does that for you if you do `systemctl kexec` rather than `kexec -e`
<phdoerfler> sphalerite: ah ok, cool!
nallar has joined #nixos
Ross has quit [Ping timeout: 248 seconds]
nallar is now known as Ross
<woffs> sphalerite: thanks, it works!
civodul has quit [Quit: ERC (IRC client for Emacs 25.3.1)]
ckauhaus has quit [Ping timeout: 255 seconds]
fuyuuri has quit [Ping timeout: 265 seconds]
ckauhaus has joined #nixos
<srhb> sphalerite: What's the prereqs for booting with the next generation (as in after nixos-rebuild boot) ?
nithor has joined #nixos
orivej has joined #nixos
<Isorkin> sphalerite: others linux system not this error
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] matthiasbeyer opened pull request #33778: pythonPackages.pillow: 4.3.0 -> 5.0.0 (master...update-python-pillow) https://git.io/vNGZt
NixOS_GitHub has left #nixos [#nixos]
ssmike has joined #nixos
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/e0040c638e5 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [Client Quit]
Ross has quit [Ping timeout: 248 seconds]
Ross has joined #nixos
oida has joined #nixos
AndreasO has joined #nixos
<phdoerfler> where do I create an issue for "I want to know if I need to reboot or not"? Do I do that here https://github.com/NixOS/nixpkgs or at some other place?
<phdoerfler> it seems there are solutions for debian based distros that also support systemd. I don't know how easily they can be ported to NixOS though. That's a bit out of my comfort zone
<Lisanna> OK, I've done some performance testing with runInLinuxVM, and nix copy is about 14x slower than a standard cp -rH
jensens has quit [Ping timeout: 240 seconds]
<spacefrogg> phdoerfler: What do you mean? Why do you need someone else to tell you if you need to reboot?
coot___ has quit [Ping timeout: 256 seconds]
ckauhaus has quit [Remote host closed the connection]
ckauhaus has joined #nixos
AndreasO has quit [Quit: Found more important stuff than irc!]
Harpalus has joined #nixos
<spacefrogg> phdoerfler: By reading the backlog I determined that you want to know if the new kernel is different from the old kernel, is that so? You can check that by comparing the links /run/current-system/kernel with /run/booted-system/kernel. If they are the same, kernels don't differ. If they are different, kernels might or might not differ.
ma27 has joined #nixos
ckauhaus has quit [Ping timeout: 255 seconds]
ma27 has quit [Client Quit]
<spacefrogg> phdoerfler: You can issue a 'file /run/{current,booted}-system/kernel' and look if the kernel versions differ. Again, if they do, the kernels are different. If not, they might still be different.
datakurre has quit [Ping timeout: 255 seconds]
ckauhaus_ has joined #nixos
ma27 has joined #nixos
<TweyII> spacefrogg: I think that's backwards… if they're the same, the kernels are definitely not different.
Dezgeg has quit [Ping timeout: 276 seconds]
<TweyII> (that's if the paths match, not just version, of course)
<spacefrogg> TweyII: That I have written in the first post.
<sphalerite> srhb: it boots the current gen of the system profile
datakurre has joined #nixos
ThatDocsLady has quit [Ping timeout: 248 seconds]
<srhb> sphalerite: Oh, so that's just the default behaviour. Neat.
<srhb> (It got stuck on loading new kernel here, but oh well)
<TweyII> sphalerite: Right, but then you said the other thing, which I don't think is correct
<spacefrogg> TweyII: The other thing relates to the kernel version.
<TweyII> Unless you really just meant checking the version
<spacefrogg> I did, yes.
<TweyII> But I'm not sure why you'd do that
<TweyII> Okay
ckauhaus_ has quit [Ping timeout: 240 seconds]
<spacefrogg> TweyII: You might have configured the same kernel version with different functionality. You might also only have built the identical kernel with different tools. You don't know what happened by looking at the nix store path.
nithor has quit [Ping timeout: 255 seconds]
Dezgeg has joined #nixos
Harpalus has quit [Quit: Leaving]
asuryawanshi has quit [Remote host closed the connection]
asuryawanshi has joined #nixos
ssmike has quit [Quit: ssmike]
la_putin has joined #nixos
Itkovian has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ckauhaus has joined #nixos
el_putin has quit [Read error: Connection reset by peer]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master 2eba34d Matthias Beyer: sigal: Move to applications/misc
<NixOS_GitHub> [nixpkgs] Mic92 pushed 4 new commits to master: https://git.io/vNGCP
<NixOS_GitHub> nixpkgs/master b9bade9 Matthias Beyer: sigal: 1.0.1 -> 1.3.0
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 0a339f5 Matthias Beyer: sigal: Use fetchPypi instead of fetchurl
fuyuuri has joined #nixos
Itkovian has joined #nixos
nithor has joined #nixos
fuyuuri has quit [Ping timeout: 252 seconds]
rauno has joined #nixos
vidbina has joined #nixos
orivej has quit [Ping timeout: 246 seconds]
nithor has quit [Ping timeout: 255 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] manveru opened pull request #33780: Ruby: 2.2.8 -> 2.2.9, 2.3.5 -> 2.3.6, 2.4.2 -> 2.4.3 (master...upgrade-ruby) https://git.io/vNGW4
NixOS_GitHub has left #nixos [#nixos]
<joko> Is there any way to insert a CA cert at runtime for download-from-binary-cache.pl? I've tried with SSL_CERT_FILE and NIX_SSL_CERT_FILE, but no luck...
alexteves has joined #nixos
<sphalerite> TweyII: what other thing which was incorrect?
<sphalerite> oh right
<sphalerite> spacefrogg: I think one of us needs to change names, people keep highlighting the wrong one :p
<spacefrogg> :)
nuncanada has joined #nixos
<TweyII> sphalerite: Oops! Sorry xD
<TweyII> That was a bit of a thinko — I didn't just mistype, I thought I was speaking to you…
<srhb> This happens to me a lot if weechat decides on using the same color for multiple people with the same length name.
<spacefrogg> TweyII: Ah! Now it makes sense. ;)
<Isorkin> Рщц to fix туц error build - https://pastebin.com/MyJHDT24 Config - https://pastebin.com/jEn3kmsW
<Isorkin> *new
xcmw has joined #nixos
<Lisanna> Is nixos/lib/make-disk-image.nix exposed as any kind of function in nixpkgs?
nithor has joined #nixos
<sphalerite> Lisanna: not that I know of. I think it's typically used through `import <nixpkgs/nixos/lib/make-disk-image.nix>`
<Lisanna> ):
<Lisanna> okay
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] romildo opened pull request #33781: qlipper: 5.0.0 -> 5.1.1 (master...upd.qlipper) https://git.io/vNGWh
NixOS_GitHub has left #nixos [#nixos]
<sphalerite> actually `import "${pkgs.path}/nixos/lib/make-disk-image.nix"` is better if you have a nixpkgs imported already
<Lisanna> not in this case
<Lisanna> actually, eh, that's probably better regardless
<Lisanna> I'll likely want nixpkgs for other things
<srhb> Isorkin: Are you sure you're using the right version of the cpp standard?
<srhb> Isorkin: Check which version it's supposed to be built with.
<Isorkin> srhb: cpp (GCC) 6.4.0
<Lisanna> what's the smallest, simplest config that I can use with make-disk-image? I honestly just want ot use it as a quick way to get a raw disk image with a filesystem and /nix
nithor has quit [Ping timeout: 252 seconds]
sigmundv has quit [Disconnected by services]
sigmundv has joined #nixos
fyuuri has quit [Ping timeout: 248 seconds]
<Lisanna> and the "lib" argument is bothering me... can't it just get lib from pkgs?
<srhb> Isorkin: I mean which version of the cpp standard.
<srhb> Isorkin: As in C++11 or C++14 or whichever.
<spacefrogg> Lisanna: You might want to look at nixos/modules/virtualisation/* for example usage.
<srhb> Isorkin: That looks to me like an error from compiling <= C++11 code with a C++14 compiler.
alex`` has quit [Ping timeout: 265 seconds]
<srhb> Or is it even older, not sure.
<Lisanna> yeah, all of these are written as if they're part of a nixos-rebuild, accepting config, lib, pkgs, etc.
ylwghst has joined #nixos
<spacefrogg> They are. nixos/maintainers/scripts/openstack/nova-image.nix has a comment on how to use it from the "outside".
<spacefrogg> Lisanna: ^
pjan_ has joined #nixos
<Lisanna> the first line in that file?
freusque has joined #nixos
<spacefrogg> Yes.
<Lisanna> okay
<Lisanna> bleh
<Lisanna> thanks
alexteves has quit [Ping timeout: 268 seconds]
mrkgnao has quit [Ping timeout: 240 seconds]
<GlennS> I am having a slightly weird thing that I do not understand with nix-shell, where the combination of python.withPackages, --pure and --option build-use-sandbox true gives an error. Am I misunderstanding the various pieces here?
<GlennS> A failing example:
ckauhaus_ has joined #nixos
ckauhaus has quit [Ping timeout: 252 seconds]
dieggsy has joined #nixos
nithor has joined #nixos
<GlennS> actually, looks like the --pure has nothing to do with it
<phdoerfler> spacefrogg: oh that's handy. Thank you! That'll suffice for the time being I think :) Also I need this knowledge because I want my server to reboot automatically when necessary or at least tell me there's the need of it.
klntsky has quit [Remote host closed the connection]
<phdoerfler> spacefrogg: At the end of the day it is automatic security updates in the light of the recent CVEs such as meltdown. I don't want my VPS to be vulnerable.
<la_putin> would it be sensible to modify patchelf to use mmap instead of read()
<Isorkin> srhb: use "-DCMAKE_CXX_FLAGS=-std=c++14" or "-DCMAKE_CXX_FLAGS=-std=c++11" - error build
asuryawanshi has quit [Ping timeout: 248 seconds]
hamishmack has joined #nixos
contrapumpkin has joined #nixos
nithor has quit [Ping timeout: 255 seconds]
propumpkin has quit [Ping timeout: 268 seconds]
Neo-- has joined #nixos
<srhb> Isorkin: No idea then.
<FRidh> has anyone attempted to create a binary tarball of Nix with its store at a non-standard location?
<gchristensen> FRidh: not the same, but I have a script to take an arbitrary closure and binary-patch /nix/store out and replace it with /something and turn it in to an RPM ...
<gchristensen> which may possible produce a working nix :)
<FRidh> gchristensen: sounds interesting.
asuryawanshi has joined #nixos
ckauhaus has joined #nixos
<FRidh> I'm looking for a solution to get Nix 1.12 on CentOS 7.4 on a custom location, preferably as a RPM
ssmike has joined #nixos
pie_ has quit [Ping timeout: 256 seconds]
vidbina has quit [Ping timeout: 260 seconds]
<FRidh> gchristensen: you have a link?
<gchristensen> one moment
ckauhaus has quit [Remote host closed the connection]
nithor has joined #nixos
ckauhaus_ has quit [Ping timeout: 255 seconds]
ckauhaus has joined #nixos
<la_putin> is void ElfFile<ElfFileParamNames>::parse() (lines 307 to 333 of patchelf.cc of PatchElf version 0.9) patchelf's version of this https://bpaste.net/show/1e058f6339af ?
rcshm has quit [Ping timeout: 248 seconds]
<gchristensen> FRidh: https://gist.github.com/grahamc/a68f4613d67799c7c69c7f58831e7267 I think I have some additional changes somewhere to this, let me know if you'd like me to find them
zzamboni has joined #nixos
hodapp has quit [Ping timeout: 268 seconds]
dan_b has quit [Ping timeout: 248 seconds]
ckauhaus has quit [Ping timeout: 268 seconds]
nithor has quit [Ping timeout: 265 seconds]
<gchristensen> FRidh: that installs to /_nix_rpms/...
knupfer has joined #nixos
cstrahan has quit [Ping timeout: 252 seconds]
Guest37084 has quit [Ping timeout: 252 seconds]
Guest37084 has joined #nixos
fendor has joined #nixos
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cstrahan has joined #nixos
<FRidh> gchristensen: That's an interesting script. It's a bit similar to that other utility that tarred a closure and allowed you to execute it
ssmike has quit [Ping timeout: 265 seconds]
ckauhaus has joined #nixos
nithor has joined #nixos
ssmike has joined #nixos
ckauhaus has quit [Ping timeout: 248 seconds]
<gchristensen> ah yes, indeed!
asuryawanshi has quit [Ping timeout: 268 seconds]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/412ad9447a8 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [Client Quit]
nithor has quit [Ping timeout: 276 seconds]
knupfer has quit [Ping timeout: 240 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] pallavagarwal07 opened pull request #33782: auquantoolbox: init at 2.0.8 (master...master) https://git.io/vNGEW
NixOS_GitHub has left #nixos [#nixos]
<joko> How to properly escape ${sth} in indented string?
<gchristensen> ''${sth}
marusich has quit [Ping timeout: 240 seconds]
asuryawanshi has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] roelvandijk opened pull request #33783: Opencv 3.3.1 release 17.09 (release-17.09...opencv-3.3.1-release-17.09) https://git.io/vNGEu
NixOS_GitHub has left #nixos [#nixos]
marusich has joined #nixos
<joko> gchristensen: many thanks, it worked!
<gchristensen> you're welcome!
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixpkgs-17.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/412ad9447a8 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-17.09-darwin)
nix-gsc-io`bot has quit [Client Quit]
civodul has joined #nixos
asuryawanshi has quit [Ping timeout: 240 seconds]
<manveru> anybody wanna merge this? https://github.com/NixOS/nixpkgs/pull/33780
<gchristensen> manveru: can that be backported nicely?
asuryawanshi has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] grahamc closed pull request #33780: Ruby: 2.2.8 -> 2.2.9, 2.3.5 -> 2.3.6, 2.4.2 -> 2.4.3 (master...upgrade-ruby) https://git.io/vNGW4
NixOS_GitHub has left #nixos [#nixos]
deepfire has joined #nixos
<manveru> how do you do that?
<manveru> it should be compatible with old versions, mostly the security fix in that release
<manveru> so if possible, i'd like to have it in 17.09 as well
<gchristensen> hmm looks like it'll just need to be redone for 17.09. can yo do that?
rauno has quit [Ping timeout: 248 seconds]
orivej has joined #nixos
<LnL> what's the best way to define an extra phase in a package without overriding the entire builder script?
<LnL> like what a setup-hook does, but for the current package
<manveru> gchristensen: if i get time tonight, sure
nithor has joined #nixos
<gchristensen> please do, manveru
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] zimbatm opened pull request #33784: google-cloud-sdk: 182.0.0 -> 184.0.0 (master...google-cloud-sdk-184) https://git.io/vNGuB
NixOS_GitHub has left #nixos [#nixos]
<joko> LnL: the package has a custom builder?
<LnL> it's something I'm writing
zzamboni has quit [Remote host closed the connection]
alexteves has joined #nixos
zzamboni has joined #nixos
nithor has quit [Ping timeout: 252 seconds]
knupfer has joined #nixos
asuryawanshi has quit [Ping timeout: 252 seconds]
thetet has joined #nixos
pkill9 has joined #nixos
rauno has joined #nixos
pxc has joined #nixos
nithor has joined #nixos
fendor has quit [Quit: Leaving]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] zimbatm closed pull request #33784: google-cloud-sdk: 182.0.0 -> 184.0.0 (master...google-cloud-sdk-184) https://git.io/vNGuB
NixOS_GitHub has left #nixos [#nixos]
nithor has quit [Ping timeout: 276 seconds]
<Isorkin> srhb: https://pastebin.com/pL9TwTGS thats error - any ideas?
<Aleksejs> is it possible to import the whole directory?
<Aleksejs> like { imports = [ .virtualhosts ] }
hodapp has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #33781: qlipper: 5.0.0 -> 5.1.1 (master...upd.qlipper) https://git.io/vNGWh
NixOS_GitHub has left #nixos [#nixos]
ckauhaus has joined #nixos
nithor has joined #nixos
rauno has quit [Remote host closed the connection]
nithor has quit [Ping timeout: 255 seconds]
swayf has joined #nixos
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/459e6ba9fbc (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
nix-gsc-io`bot has quit [Client Quit]
ylwghst has quit [Ping timeout: 260 seconds]
swayf_ has quit [Read error: Connection reset by peer]
<gchristensen> Aleksejs: that'll import ./virtualhosts/default.nix
pxc has quit [Ping timeout: 246 seconds]
submersive has quit [Ping timeout: 246 seconds]
szicari has joined #nixos
Harpalus has joined #nixos
<Harpalus> Hi. Did NixOS recently switch from persistent network device naming (enpXsY) back to legacy device naming (ethX)?
<TweyII> Aleksejs: You can use builtins.readDir to look inside the directory
nithor has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] romildo opened pull request #33785: zuki-themes: 3.24-2 -> 3.24-3 (master...upd.zuki-themes) https://git.io/vNGw8
NixOS_GitHub has left #nixos [#nixos]
dieggsy has quit [Quit: ERC (IRC client for Emacs 27.0.50)]
<Harpalus> FRidh: thanks for the hint
nico202 has joined #nixos
thetet has quit [Quit: Leaving.]
ma27 has quit [Ping timeout: 255 seconds]
ma27 has joined #nixos
nithor has quit [Ping timeout: 252 seconds]
<nico202> I was wondering, is the meltdown/spectre patch already available on unstable? Side question, is there a way to know if it's applied on the running kernel?
<nico202> ok, issue 33689
<aminechikhaoui> nico202: check for "Kernel/User page tables isolation: enabled" in kernel logs
pjan_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<gchristensen> and "yes" it is available in nixos-unstable and nixos-17.09
<ckauhaus> AFAIK KPTI is considered a fix for Meltdown, but not really for the 2 Spectre variants
<ckauhaus> it seems that there is no good fix for Spectre right now
<ckauhaus> correct me if I'm wrong
<gchristensen> don't those microcode updates help with Spectre?
<adisbladis> ckauhaus: Thats my assesment too.
<adisbladis> nico202: For the moment I'd say we are about as well patched as can be (in regards to spectre and meltdown).
<gchristensen> ckauhaus, nico202 https://nixos.org/nixos/options.html#microcode I'd recommend setting your appropriate processor's microcode update option to true to get any updates from your vendor
<ckauhaus> gchristensen: perhaps - but this should be handled separately from the question if the kernel sports KPTI or no
<ckauhaus> t
<gchristensen> right
<ckauhaus> the microcode thing depends heavily on the exact CPU model
<gchristensen> I'm glad y'all are on top of this, because I definitely am not >.>
pjan_ has joined #nixos
<gchristensen> ckauhaus: you might like #nixos-security
* ckauhaus looks
nithor has joined #nixos
dieggsy has joined #nixos
<nico202> gchristensen: thanks, added to both my machines. Does the new version of the installer create this option in the hardware-configuration.nix?
ryantrinkle has quit [Ping timeout: 240 seconds]
<gchristensen> no, I don't think so
<gchristensen> we do need to improve communication around this option
<nico202> gchristensen: I didn't knew about it, even if commented out it would be a way for new users to discover it
<nico202> gchristensen: even if right now I find 99% of the config options by grepping the nixpkgs repo
<andi-> nico202: nixos.org -> Options
<nico202> and the other 1% by looking to others configurations
<nico202> andi-: aren't them for the stable release?
<gchristensen> IMO, it doesn't belong in the default config. there are many important options depending on who you are and what you're doing, and the default config isn't the right place to communicate that information
ThatDocsLady has joined #nixos
iyzsong has joined #nixos
nithor has quit [Ping timeout: 255 seconds]
<nico202> gchristensen: fair. Are the microcode updates open source? It didn't ask me about allow unfree
xcmw has joined #nixos
<gchristensen> I don't know
<andi-> they are considered nonfree
<adisbladis> They are not open source.
jensens has joined #nixos
<nico202> so maybe there's a flag missing
dieggsy has quit [Remote host closed the connection]
<ckauhaus> lol
<ckauhaus> "Currently we are doing further research on this subject"
<ckauhaus> it seems that even Intel's support team doesn't know what's in there
<adisbladis> Changes: new bits, also changed some old bits
pjan_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peti pushed 2 new commits to master: https://git.io/vNG68
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master f98d485 Peter Simons: Merge pull request #33672 from dtzWill/fix/top-level-nix-tools...
<NixOS_GitHub> nixpkgs/master 45ade8d Will Dietz: nix-{delegate,deploy,diff}: add top-level attributes, static
MercurialAlchemi has quit [Remote host closed the connection]
<etu> adisbladis: "Bug fixes and performance improvements^Woh wait, it's probably worse"
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] romildo opened pull request #33786: plano-theme: init at 3.24-3 (master...upd.plano-theme) https://git.io/vNG66
NixOS_GitHub has left #nixos [#nixos]
vidbina has joined #nixos
nithor has joined #nixos
<aminechikhaoui> hm didn't know about #nixos-security , gchristensen could that be added to the topic ? :)
<gchristensen> it can :)
dieggsy has joined #nixos
nithor has quit [Ping timeout: 265 seconds]
klntsky has joined #nixos
dywedir has quit [Ping timeout: 255 seconds]
xcmw has quit [Ping timeout: 256 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master 754b596 Peter Hoeg: uchiwa: 1.1.0 -> 1.1.1
<NixOS_GitHub> nixpkgs/master 96e777a Peter Hoeg: uchiwa: add update script
<NixOS_GitHub> [nixpkgs] peterhoeg pushed 2 new commits to master: https://git.io/vNGi6
NixOS_GitHub has left #nixos [#nixos]
xcmw has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vidbina opened pull request #33787: digitalbitbox: init at 2.2.2 (master...add/digitalbitbox) https://git.io/vNGi9
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] romildo opened pull request #33788: blackbird: 2016-02-20 -> 2017-12-13 (master...upd.blackbird) https://git.io/vNGix
NixOS_GitHub has left #nixos [#nixos]
chpatrick has joined #nixos
<chpatrick> hi
erasmas has joined #nixos
<chpatrick> is it possible to somehow use the systemd service files provided by a package
<chpatrick> or do they need to be "nixified"?
xcmw has quit [Ping timeout: 260 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peti pushed 3 new commits to master: https://git.io/vNGPZ
<NixOS_GitHub> nixpkgs/master e277be1 Peter Simons: Merge pull request #33360 from adnelson/unpin_lzma_versions...
<NixOS_GitHub> nixpkgs/master 6ea3749 Test: loosen version bounds for lzma test dependencies
<NixOS_GitHub> nixpkgs/master a4c8f60 Allen Nelson: reference issue in comment
NixOS_GitHub has left #nixos [#nixos]
<Unode> chpatrick: depends where and how those files are installed/activated. They might need some 'nixification', indeed.
<chpatrick> Unode: so I'm trying to make a nix configuration for ceph
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master d3eaa5a Hamish Mackenzie: haskell: Fix depending on libs with internal libs on darwin.
<NixOS_GitHub> [nixpkgs] peti pushed 2 new commits to master: https://git.io/vNGPc
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master e30ecaa Peter Simons: Merge pull request #33636 from hamishmack/haskell-internal-libs-darwin2...
<chpatrick> which comes with its own .service files in its install dir
<chpatrick> it has stuff like /usr/bin in them but that could be fixed
<chpatrick> can I use those somehow or do I need to recreate them in nix?
earldouglas has quit [Remote host closed the connection]
<Unode> probably easier to simply specify them in nix.
nithor has joined #nixos
cement has joined #nixos
vidbina has quit [Ping timeout: 240 seconds]
jensens has quit [Ping timeout: 248 seconds]
ckauhaus has quit [Quit: Leaving.]
oida has quit [Ping timeout: 255 seconds]
blym has joined #nixos
nithor has quit [Ping timeout: 265 seconds]
submersive has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] romildo opened pull request #33789: jgmenu: 0.7.6 -> 0.8 (master...upd.jgmenu) https://git.io/vNGXG
NixOS_GitHub has left #nixos [#nixos]
<Unode> is there a variant of pkgs.writeText that overwrites the target file if any of the variables mentioned in the template text changes? In https://github.com/NixOS/nixpkgs/pull/30553/files includes & excludes are lists of strings but adding or removing items from these lists does not re-create the configuration file.
submersive has quit [Ping timeout: 246 seconds]
Harpalus has quit [Quit: Leaving]
<gchristensen> something else must be wrong then, because Nix won't make the mistake you're referring to
zarkone has quit [Read error: Connection reset by peer]
erlandsona has joined #nixos
oida has joined #nixos
hgdcs55322 has joined #nixos
nithor has joined #nixos
<Yaniel> how does one run gradle on nixos again?
<Lisanna> How easy is it to override the versions of packages used in stdenv like glibc?
<gchristensen> Lisanna: should be easy enough, but you'll need a lot of CPU time
pie_ has joined #nixos
<gchristensen> wait, for the entire system, or a specific package?
<Lisanna> specific package
<gchristensen> maybe overrideCC in all-packages.nix will help you along your way
<Lisanna> oh, so those aren't part of "stdenv", they're part of the wrapped compiler?
<gchristensen> I'm just thinking you might be able to get where you need from looking at that
<Lisanna> okay
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] romildo opened pull request #33790: pmenu: 2017-04-10 -> 2018-01-01 (master...upd.pmenu) https://git.io/vNG1Z
NixOS_GitHub has left #nixos [#nixos]
hgdcs55322 has quit [Read error: Connection reset by peer]
<Yaniel> IIRC there was something about android studio fhs
knupfer has quit [Ping timeout: 248 seconds]
<Lisanna> yep, looks like I just override one of the wrapped compilers / make a new compiler with wrapCC, and then use overrideCC on a stdenv
<bennofs[m]> my last experience with AS on NIxOS was not so good...
<bennofs[m]> I couldn't get Android Studio to sync without errors
nithor has quit [Ping timeout: 240 seconds]
<Unode> gchristensen: hum... I'll have to retry once I'm home but that's pretty much what I got last time I tried.
submersive has joined #nixos
ryantrinkle has joined #nixos
chepner has joined #nixos
ylwghst has joined #nixos
stepcut has quit [Remote host closed the connection]
chepner has quit [Client Quit]
<Yaniel> I've been usin AS quite okay for a bit now
<Yaniel> but now I need gradle so I can run a test server for this app
earldouglas has joined #nixos
rogue_koder has joined #nixos
dan_b has joined #nixos
leat has quit [Quit: WeeChat 1.9.1]
erlandsona has quit [Remote host closed the connection]
klntsky has quit [Remote host closed the connection]
dan_b has quit [Ping timeout: 248 seconds]
<bennofs[m]> Yaniel: shouldn't gradle alone work by just installing it`
<bennofs[m]> nix-env -iA nixpkgs.gradle (or nixos.gradle if you're on nixos)
<Yaniel> I have android-studio installed
<Yaniel> `nix-shell -p android-studio` seems to work
ylwghst has quit [Remote host closed the connection]
nithor has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] lo1tuma opened pull request #33791: jenkins: 2.95 -> 2.101 (master...jenkins-2.101) https://git.io/vNGSC
NixOS_GitHub has left #nixos [#nixos]
ryanartecona has joined #nixos
spietz has joined #nixos
nithor has quit [Ping timeout: 252 seconds]
FRidh has quit [Remote host closed the connection]
dbe_ has joined #nixos
marusich has quit [Quit: Leaving]
nithor has joined #nixos
klntsky has joined #nixos
drakonis has joined #nixos
nithor has quit [Ping timeout: 240 seconds]
ok2 has quit [Ping timeout: 252 seconds]
ok2 has joined #nixos
<Yaniel> oh wait it wasn't gradle that was the problem
<Yaniel> but protoc
<Yaniel> which gradlew downloads and tries to run -.-
<adisbladis> Yaniel: gradle is madness..
<Yaniel> not the madness I wanted, but the one I have to deal with for a course at uni :(
<dmj`> Anyone know why the haskell packages infrastructure doesn’t allow two packages (same package) of different versions to exist in its ghc-pkg list
<dmj`> For example, containers and containers_5_10_2_0
NixOS_GitHub has joined #nixos
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> [nix] edolstra pushed 1 new commit to master: https://git.io/vNG7B
<NixOS_GitHub> nix/master 74f75c8 Eelco Dolstra: import, builtins.readFile: Handle diverted stores...
nithor has joined #nixos
rcshm has joined #nixos
asuryawanshi has joined #nixos
michaelpj has quit [*.net *.split]
_rvl has quit [*.net *.split]
tghume has quit [*.net *.split]
prooftechnique has quit [*.net *.split]
cheshircat has quit [*.net *.split]
nand0p has quit [*.net *.split]
thoughtpolice has quit [*.net *.split]
mgdelacroix has quit [*.net *.split]
indika has quit [*.net *.split]
manveru has quit [*.net *.split]
fingerzam has quit [*.net *.split]
themistocle has quit [*.net *.split]
houli has quit [*.net *.split]
xplat|work has quit [*.net *.split]
georgew has quit [*.net *.split]
mpickering has quit [*.net *.split]
siel has quit [*.net *.split]
cacatoes has quit [*.net *.split]
dhess has quit [*.net *.split]
PyroLagus has quit [*.net *.split]
cransom has quit [*.net *.split]
Guest34275 has quit [*.net *.split]
queiw has quit [*.net *.split]
rcshm has quit [Client Quit]
siel has joined #nixos
jophish has joined #nixos
queiw has joined #nixos
prooftechnique has joined #nixos
michaelpj has joined #nixos
cheshircat has joined #nixos
dhess has joined #nixos
cacatoes has joined #nixos
tghume has joined #nixos
indika has joined #nixos
nand0p has joined #nixos
mgdelacroix has joined #nixos
jophish is now known as Guest9529
mpickering has joined #nixos
houli has joined #nixos
xplat|work has joined #nixos
fingerzam has joined #nixos
manveru has joined #nixos
themistocle has joined #nixos
cransom has joined #nixos
thoughtpolice has joined #nixos
georgew has joined #nixos
_rvl has joined #nixos
PyroLagus has joined #nixos
nithor has quit [Ping timeout: 252 seconds]
WilliButz has quit [Read error: Connection reset by peer]
<Mic92> bennofs[m]: for my running everything through the android-studio fhs wrapper including gradle was necessary to get the android sdk working.
<Yaniel> how do I do that?
<Mic92> Yaniel: in android studio there is a shell in the bottom bar
<Mic92> Back then I ran gradle from there
<Mic92> maybe a standalone android-studio-shell command is necessary to launch the same environment outside of the IDE.
<Yaniel> ...how have I missed that
WilliButz has joined #nixos
<Yaniel> dammit, that complains about bash missing :D
<Mic92> Yaniel: maybe you can run the full path provided by: echo $(realpath $(which bash))
<Yaniel> I'll have to patch that into the gradle wrapper script
<Mic92> a gradle wrapper for android-studio might be also useful
ThatDocsLady has quit [Ping timeout: 240 seconds]
nithor has joined #nixos
eljih has quit [Quit: Leaving]
leat has joined #nixos
dieggsy has quit [Quit: ERC (IRC client for Emacs 27.0.50)]
dan_b has joined #nixos
eljih has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] paraseba opened pull request #33792: scid-vs-pc: init at version 4.18.1 (master...scidvspc) https://git.io/vNGdl
NixOS_GitHub has left #nixos [#nixos]
krey has joined #nixos
eljih has quit [Client Quit]
shabius has joined #nixos
asuryawanshi has quit [Remote host closed the connection]
stephenjudkins has joined #nixos
JosW has joined #nixos
nico202 has quit [Ping timeout: 260 seconds]
freusque has quit [Quit: WeeChat 1.9.1]
das_j has joined #nixos
shabius has quit [Client Quit]
ertes-w has quit [Quit: Bye!]
shabius has joined #nixos
freusque has joined #nixos
<das_j> Hello everybody. I switched to nixpkgs master to get displaylink to run. I added displaylink, but it segfaults when trying to open /etc/ld-nix.so.preload. Why would it (or ldd?) open that file?
<lassulus> \(• ◡ •)/
freusque has quit [Client Quit]
leat has quit [Quit: WeeChat 1.9.1]
<das_j> Oh, a friend \o/
swayf has quit [Remote host closed the connection]
digitus has joined #nixos
swayf has joined #nixos
<das_j> Hmm, is it possible that the master glibc is just built incorrectly? It shouldn't try to load that file from /etc and gdb tells me it's the glibc trying to access that file
<infinisil> das_j: are you using master for your nixos??
leat has joined #nixos
<das_j> yes, that was probably a bad idea
leat has quit [Client Quit]
<Isorkin> how to patch binary ? ./maxscale: error while loading shared libraries: libmaxscale-common.so.1.0.0: cannot open shared object file: No such file or directory Need change to /nix/store/fj5gllaldaarp3cnhl4jcqabivxhva0b-maxscale-2.1.13/lib/maxscale/libmaxscale-common.so.1.0.0
submersive has quit [Quit: WeeChat 2.0.1]
<infinisil> yeah, don't do that, nixos-unstable is the way to go if you want fast updates
<infinisil> otherwise your nixos might break
<infinisil> das_j: no idea about that file though
iyzsong has quit [Ping timeout: 256 seconds]
leat has joined #nixos
<infinisil> Isorkin: Are you trying to package this library?
swayf has quit [Ping timeout: 265 seconds]
<Isorkin> infinisil: build package maxscale-2.1.13
ckauhaus has joined #nixos
<infinisil> Isorkin: I don't really know right now how to solve that problem, but can you show your nix file?
<das_j> infinisil: Thank you, I'll just reboot and (hopefully) I'll be right back
<infinisil> Isorkin: I bet you could know the solution by looking through packaged libraries in nixpkgs
das_j_ has joined #nixos
<das_j_> Hmm, after a switch back to the reelase-17.09 branch, the problem persists
<das_j_> This is the exact line from strace: access("/etc/ld-nix.so.preload", R_OK) = -1 ENOENT (No such file or directory)
ckauhaus has quit [Ping timeout: 260 seconds]
<TweyII> Isorkin: Usually you should compile from sources — then Nix will patch the RPATH in for you
alex`` has joined #nixos
<TweyII> Isorkin: If you must use a precompiled binary, patchelf is the way to go
<TweyII> Isorkin: Or a wrapper script that sets LD_LIBRARY_PATH
asuryawanshi has joined #nixos
das_j has quit [Ping timeout: 260 seconds]
<Isorkin> builded from surce, not patched library
nithor has quit [Ping timeout: 255 seconds]
asuryawanshi has quit [Remote host closed the connection]
<infinisil> das_j_: Oh hold on
asuryawanshi has joined #nixos
dan_b has quit [Ping timeout: 248 seconds]
<infinisil> das_j_: Hmm i thought i saw something related, but turns out it's something else
drakonis has quit [Read error: Connection reset by peer]
<das_j_> Oh, okay :/
<infinisil> das_j_: the only thing regarding ld-nix is a patch for glibc to use ld-nix.so.preload instead of ld.so.preload
<infinisil> nixpkgs/pkgs/development/libraries/glibc/dont-use-system-ld-so-preload.patch
nithor has joined #nixos
<das_j_> So, should that file actually exist in /etc?
<infinisil> I think it might not have to
<infinisil> maybe it's optional, giving you the opportunity to preload something if you wish to
<das_j_> Actually when using gdb instead of strace, I see that it actually segfaults in strchr()
<das_j_> Which is called by _dl_map_object_deps
__Sander__ has quit [Quit: Konversation terminated!]
Tucky has quit [Quit: WeeChat 2.0.1]
<infinisil> das_j_: I found this issue: https://github.com/NixOS/nixpkgs/issues/32623
<das_j_> Oh well, this is actually my problem
<das_j_> But the weird thing is that the error is already happening in the libc, not in the displaylink code
<das_j_> Also, file tells me it's a dynamic executable while ldd tells me it isn't
nithor has quit [Ping timeout: 252 seconds]
shabius has quit [Quit: Leaving]
lonokhov has quit [Quit: leaving]
<infinisil> Hmm, from https://github.com/NixOS/nixpkgs/pull/18041 it seems to never have worked properly anyways..
<das_j_> Is there any way to make nix also fetch the glibc source code? I'd like to ask gdb to use that
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] sellout opened pull request #33793: flootty: init at 3.2.1 (master...add/flootty) https://git.io/vNGAr
NixOS_GitHub has left #nixos [#nixos]
<symphorien> das_j_: nix-build "<nixpkgs>" -A glibc.src will download the source tarball
<infinisil> das_j_: I actually also have a displaylink connector, and I've been having trouble with the normal xrandr thing (as in hotplugging didn't work), so maybe this is the key to making it work, am interested
shabius has joined #nixos
shabius has quit [Remote host closed the connection]
stepcut has joined #nixos
nithor has joined #nixos
zzamboni has quit [Quit: Leaving.]
shabius has joined #nixos
nithor has quit [Ping timeout: 265 seconds]
zzamboni has joined #nixos
aarvar has joined #nixos
rihards has joined #nixos
stepcut has quit [Ping timeout: 240 seconds]
goibhniu has quit [Ping timeout: 268 seconds]
stepcut has joined #nixos
ambro718 has joined #nixos
stepcut_ has joined #nixos
raynold has joined #nixos
<Mic92> das_j_: you can also get debug symbols for glibc: nix-shell -p glibc.debug
liori has joined #nixos
Itkovian has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
stepcut has quit [Ping timeout: 248 seconds]
nithor has joined #nixos
<das_j_> Mic92: Thank you! I was starting to freak out because of trying to build glibc. It's really the worst libc of all :/
<das_j_> Mic92: From glibc: "separateDebugInfo = false; # this is currently broken for crossDrv"
<das_j_> Does this mean the package lacks the files?
nithor has quit [Ping timeout: 265 seconds]
<Mic92> das_j_: there are debug symbol files in the package: nix-shell -p glibc.debug --command 'find $buildInputs'
<Mic92> das_j_: environment.enableDebugInfo = true on nixos
<Mic92> then they will be in /run/current-system/sw/lib/debug
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] shlevy pushed 1 new commit to master: https://git.io/vNGhR
<NixOS_GitHub> nixpkgs/master 43e7cf5 Shea Levy: haskellPackages.ChasingBottoms: Disable testsuite
NixOS_GitHub has left #nixos [#nixos]
todder has left #nixos ["is such a quitter..."]
nevermind has joined #nixos
nevermind has quit [Client Quit]
`_ has quit [Ping timeout: 248 seconds]
dywedir has joined #nixos
nyberg has quit [Ping timeout: 256 seconds]
nithor has joined #nixos
<das_j_> Is it possible that something went wrong when linking? ldd still doesn't give any output
stepcut_ has quit [Ping timeout: 276 seconds]
TweyII has quit [Ping timeout: 240 seconds]
nithor has quit [Ping timeout: 265 seconds]
temphenk has joined #nixos
asuryawanshi has quit [Remote host closed the connection]
asuryawanshi has joined #nixos
tmaekawa has joined #nixos
<temphenk> Is there a function/command that you need to use if you want a link from somewhere in /etc/ to a file in the nix store? I have seen "environment.something.text = myconfigContents" within modules but in my case it is a regular package and would rather link to it since its not really meant to be human configurable.
tmaekawa has quit [Client Quit]
<temphenk> Or is access to /etc/ only reserved for nix files in the nixos directory?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] yrashk opened pull request #33794: config.hardware.onlykey configuration option (master...onlykey) https://git.io/vNZe5
NixOS_GitHub has left #nixos [#nixos]
<la_putin> is anyone experienced with elf headers and elf.h
nithor has joined #nixos
ryanartecona has quit [Quit: ryanartecona]
jb55 has joined #nixos
nithor has quit [Ping timeout: 246 seconds]
AllanDaemon has quit [*.net *.split]
itorres has quit [*.net *.split]
leons[m] has quit [*.net *.split]
adisbladis[m] has quit [*.net *.split]
offlinehacker[m] has quit [*.net *.split]
andyjscott[m] has quit [*.net *.split]
danielrf has quit [*.net *.split]
benasse has quit [*.net *.split]
matrixkrav has quit [*.net *.split]
jmorriss[m] has quit [*.net *.split]
joepie91 has quit [*.net *.split]
wip_ has quit [*.net *.split]
Swant has quit [*.net *.split]
S0rin has quit [*.net *.split]
tk_ has quit [*.net *.split]
Rovanion has quit [*.net *.split]
sweater_ has quit [*.net *.split]
sweater has joined #nixos
andyjscott[m] has joined #nixos
adisbladis[m] has joined #nixos
offlinehacker[m] has joined #nixos
danielrf has joined #nixos
wip_ has joined #nixos
leons[m] has joined #nixos
matrixkrav has joined #nixos
joepie91 has joined #nixos
joepie91 has quit [Changing host]
joepie91 has joined #nixos
AllanDaemon has joined #nixos
itorres has joined #nixos
jmorriss[m] has joined #nixos
S0rin has joined #nixos
benasse has joined #nixos
tk_ has joined #nixos
Rovanion has joined #nixos
Swant has joined #nixos
akl has quit [Ping timeout: 260 seconds]
sigmundv has quit [Ping timeout: 260 seconds]
akl has joined #nixos
sigmundv has joined #nixos
simendsjo has joined #nixos
nyberg has joined #nixos
`_ has joined #nixos
nithor has joined #nixos
michaelpj_ has joined #nixos
<Mic92> la_putin: You are probably running into a problem, when you have libelf and actually want elfutils-libelf
alex`` has quit [Ping timeout: 252 seconds]
oida has quit [Quit: WeeChat 1.6]
<LnL> temphenk: environment.etc."foo".source = ...;
zzamboni has quit [Quit: Leaving.]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] romildo opened pull request #33795: gstreamermm: 1.8.0 -> 1.10.0 (master...upd.gstreamermm) https://git.io/vNZJz
NixOS_GitHub has left #nixos [#nixos]
nithor has quit [Ping timeout: 255 seconds]
<jtojnar> how is the preserveGitDirectory argument of fetchgit called?
<jtojnar> oh, leaveDotGit
<jtojnar> though that does not seem to work for fetchFromGithub
<adisbladis> jtojnar: Just a hunch but maybe that attribute does not change the beahviour from fetchurl to fetchgit
<LnL> that uses fetchzip
<jtojnar> actually it errors with "anonymous function called with unexpected argument 'leaveDotGit'"
<LnL> err n/m that
<adisbladis> jtojnar: That explains it then :)
<adisbladis> You could pass "fetchSubmodules = true;" to make it use fetchgit
nithor has joined #nixos
<jtojnar> does that work?
ma27 has quit [Ping timeout: 252 seconds]
<jtojnar> for example ostree still has to checkout the submodules manually
ryanartecona has joined #nixos
<jtojnar> adding fetchSubmodules does not really seem to work there
<la_putin> Mic92 ?
<LnL> just use fetchgit
<hoverbear> Can I use things like `programs.zsh` in a `nix-shell`?
blym has quit [Read error: Connection reset by peer]
<jtojnar> anyways, I am trying to build vala with some patch but it does not recognize the version correctly https://paste.gnome.org/ps3xi2sc2
<Mic92> la_putin: it had build errors, when a project failed to compile, because both libelf and elfutils-libelf where in scope
<Mic92> because they both have a elf.h
nithor has quit [Ping timeout: 256 seconds]
<la_putin> ok o.o
<jtojnar> calling valac --version results in Vala UNKNOWN
ryanartecona has quit [Ping timeout: 240 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] StillerHarpo opened pull request #33796: lolcat: 42.1.0 -> 90.8.8 (master...lolcat) https://git.io/vNZU9
NixOS_GitHub has left #nixos [#nixos]
<temphenk> LnL, thanks
lexomsthn has joined #nixos
<lexomsthn> Gentlemen,
<lexomsthn> as I building packages with Nix for myself, which option in .nix file should I use to specify CFLAGS="-march=native -O2 -pipe" ala gentoo make.conf?
<jtojnar> hmm, fetchgit does not download the tagsM
fyuuri has joined #nixos
nithor has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #32712: notary: init at 0.5.1 (master...init-notary) https://git.io/vbrgU
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 48776d5 Florian Engel: lolcat: 42.1.0 -> 90.8.8
<NixOS_GitHub> [nixpkgs] primeos pushed 1 new commit to master: https://git.io/vNZT1
<Mic92> lexomsthn: the best place would be probably to specify that in our gcc/clang wrapper by overwriting the same
NixOS_GitHub has joined #nixos
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 4c96412 Dan Peebles: nixUnstable: pre5810_5d5b931f -> pre5849_74f75c85
<NixOS_GitHub> [nixpkgs] copumpkin pushed 1 new commit to master: https://git.io/vNZTQ
woffs has quit [Quit: Gateway shutdown]
<lexomsthn> okay...
woffs has joined #nixos
<Mic92> lexomsthn assuming you now about the overrideAttrs function
* lexomsthn plan to google that :D
<Mic92> lexomsthn: I have some example code:
<lexomsthn> yes, please?
<Isorkin> How to fix error patchelf --set-rpath ${stdenv.lib.makeLibraryPath [ openssl zlib curl pcre2 glibc gcc.lib ]}:${mariadb.connector-c}/lib/mariadb:$out/lib/maxscale $out/bin/maxscale - error: attribute ‘lib’ missing ?
<Mic92> lexomsthn: the compiler on that line is just a shell script: https://github.com/Mic92/dotfiles/blob/master/nixos/environments/klee/default.nix#L9
<Mic92> you can inject command line flags there
<lexomsthn> Thank you!
<Mic92> if you want that globally you can add the new stdenv to packagesOverrides or an overlay.
<Mic92> otherwise you can also only rebuild some dependencies
aborsu has joined #nixos
<snajpa> oh lolcat <3 (@nixpkgs above)
rihards has quit [Quit: rihards]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] peterstuart opened pull request #1793: Remove extra space in chat_about_sudo() (master...fix-extra-space) https://git.io/vNZku
NixOS_GitHub has left #nixos [#nixos]
<Mic92> lexomsthn: btw. there is also the NIX_CLFAGS environment variable, you can for each package you want to add new cflags.
<Mic92> *you can modify
orivej has quit [Ping timeout: 260 seconds]
<lexomsthn> wow, that last one sounds great! however I use same time nix.useSandbox = true; which builds them in isolated 'sandboxes' , so I beleive there ain't be easy way for me, except to learn nix system from zero to hero
<lexomsthn> thank you, again
<Mic92> lexomsthn: every variable you set inside stdenv.mkDerivation { } will become an environment variable during build.
yegortimoshenko has quit [Remote host closed the connection]
<Mic92> see nixpkgs for examples of NIX_CFLAGS
zzamboni has joined #nixos
temphenk has quit [Remote host closed the connection]
yegortimoshenko has joined #nixos
zzamboni has quit [Quit: Leaving.]
nithor has quit [Ping timeout: 276 seconds]
zzamboni has joined #nixos
ryanartecona has joined #nixos
<Isorkin> How to add path /nix/store/yfkvvnp2ak44nlhfm4xq82i52kzrj4cc-gcc-6.4.0-lib/lib with patchelf --set-rpath ?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vNZI5
<NixOS_GitHub> nixpkgs/master 2769a38 Jörg Thalheim: telegraf: 1.5.0 -> 1.5.1
NixOS_GitHub has left #nixos [#nixos]
hgdcs55322 has joined #nixos
<das_j_> So I found the problem I think. It's --set-rpath of patchelf
<das_j_> Before executing, it's a perfect dynamically linked binary
stephenjudkins has quit [Remote host closed the connection]
stephenjudkins has joined #nixos
srdqty1 has joined #nixos
nithor has joined #nixos
<catern> has anyone used mypy before with Nix python development?
<catern> is there some Nix-specific stuff I need to know, like how to set MYPYPATH or something?
<catern> seems a bit confusing
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis opened pull request #33799: cura: 3.0.3 -> 3.1.0 (master...cura-qt59) https://git.io/vNZLx
NixOS_GitHub has left #nixos [#nixos]
erasmas has quit [Quit: leaving]
<gchristensen> taktoa ping
stephenjudkins has quit [Ping timeout: 268 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis opened pull request #33800: mumble_git: 2017-05-25 -> 2018-01-12 (master...mumble-qt59) https://git.io/vNZtc
NixOS_GitHub has left #nixos [#nixos]
nithor has quit [Ping timeout: 256 seconds]
<toppler> Sorry for off-topic: My laptop's 6 months old and smartmontools on the SSD is reporting 547 Media and Data Integrity errors. That's bad, right?
<lexomsthn> toppler I wonder if u used ZFS without TRIM?
<toppler> ext4
krey has quit [Remote host closed the connection]
oida has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] romildo opened pull request #33801: paper-icon-theme: 2017-02-13 -> 2017-11-20 (master...upd.paper-icon-theme) https://git.io/vNZti
NixOS_GitHub has left #nixos [#nixos]
<mog> gchristensen, is there a way to see the what the borg failed on?https://github.com/NixOS/nixpkgs/pull/33682
coot___ has joined #nixos
orivej has joined #nixos
<lexomsthn> toppler In your place, I would backup my date, then wipe drive, recreate fs and try again smart\read\write tests to see if issue remains. let me know if you tried that
<lexomsthn> *data
<toppler> lexomsthn: Good idea. I'll give it a go.
krey has joined #nixos
<krey> hey guys, how do you version control your /etc/nixos/configuration.nix and ~/.config/nixpkgs/ in the same repo?
concatime has joined #nixos
coot___ has quit [Remote host closed the connection]
<lexomsthn> actually, recently I had hardware problem "read dma ext drdy err icrc", my old linux box began unable to boot and work with 2(!) different drives. based on my personal expirience, logic and small googling, I suspect that in my case that was motherboard\chipset SATA error. Plan to check those drives on different MB later
coot___ has joined #nixos
<lexomsthn> *and smartctl reported nothing in my case. but hdd from time to time were unable to be recognized at bios POST boot screen
ssmike has quit [Remote host closed the connection]
ssmike has joined #nixos
ma27 has joined #nixos
ma27 has quit [Client Quit]
<concatime> Do someone know how to create swap encrypted with random keys?
<lexomsthn> thank god & nix OS, I was able to boot on live usb, and quickly rsync data (to backup storage) while it still at least somewhat readable
ma27 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis pushed 8 new commits to master: https://git.io/vNZqw
<NixOS_GitHub> nixpkgs/master 4ffc43f adisbladis: sigil: 0.9.7 -> 0.9.9
<NixOS_GitHub> nixpkgs/master 747431c adisbladis: smtube: 17.5.0 -> 18.1.0
<NixOS_GitHub> nixpkgs/master 0fbb2f1 adisbladis: qgo: unstable-2016-06-23 -> unstable-2017-12-18
NixOS_GitHub has left #nixos [#nixos]
nithor has joined #nixos
<toppler> concatime: I followed the archlinux guide on that stuff. https://wiki.archlinux.org/index.php/Dm-crypt/Swap_Encryption
<toppler> lexomsthn: Annoyingly, I need to replace the power adaptor on my external hard drive.
<lexomsthn> concatime there is ArchWiki article on that. however I don't use swap at all. but someone can say no=swap - bad practice, but I'm still alive and ok with it for a while
<Isorkin> how to this package ? /nix/store/yfkvvnp2ak44nlhfm4xq82i52kzrj4cc-gcc-6.4.0-lib gcc.lib - not work
<concatime> My issue is not with the steps... but rather with including this swap inside NixOS
<concatime> `swapDevices."/dev/sda2".randomEncryption.enable = true;`
<concatime> Is it correct?
<toppler> concatime: Doesn't the hardware configuration sort it all out automatically?
<toppler> Then I just have swapDevices = [ { device = "/dev/mapper/swap"; } ]; in my configuration.nix.
<concatime> But I don't want to rely on detection. I try to setup everything from *my configuration.
ilyaigpetrov has quit [Quit: Connection closed for inactivity]
<concatime> Why does `randomEncryption` exist? Is it usable?
raynold has quit [Quit: Connection closed for inactivity]
nithor has quit [Ping timeout: 256 seconds]
drakonis has joined #nixos
<lexomsthn> Isorkin, I'm not sure but maybe... have you tried just "gcc" without lib? A friend of mine had a friend, whose surname was Iskorkin - he loved ponis. Another two people I know are Sorokins.
ma27 has quit [Quit: WeeChat 2.0]
ma27 has joined #nixos
<Isorkin> lexomsthn: gcc = gcc-wrapper-6.4.0 need gcc-6.4.0-lib
<symphorien> try gcc.cc.lib
ma27 has quit [Client Quit]
reinzelmann has quit [Quit: Leaving]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ajgrf opened pull request #33802: mblaze: 0.2 -> 0.3 (master...mblaze-update) https://git.io/vNZmK
NixOS_GitHub has left #nixos [#nixos]
`_ has quit [Ping timeout: 268 seconds]
zzamboni has quit [Quit: Leaving.]
jetien has joined #nixos
<lexomsthn> dudes... I want to play my portable game, installed steam-run for that purpose but it throws error:
<lexomsthn> steam-run One_Night_Stand.sh /nix/store/81bclmh5anpma3km5vp98b7kp81zy0sn-steam-run: line 9: exec: One_Night_Stand.sh: not found
<joko> Any thoughts abouts nixops and automatic upgrades?
<toppler> lexomsthn: Don't know enough about steam-run, but I've got round similar issues by editing the script and replacing the call to the actual executable with steam-run <executable>
<Isorkin> thanks, works
<jetien> Help! I just broke my system by trying to switch to grub; now i can't boot any longer. I'm now booted from the livecd and i've mounted to /mnt. How can I nixos-rebuild my system with the corrected configuration.nix file?
Yotam_ has joined #nixos
<joko> lexomsthn: maybe use its full path, e.g. steam-run ./One_Night_Stand.sh? (I have never run steam-run though)
<joko> jetien: mount boot partition, too, fix /mnt/etc/nixos/configuration.nix and run nixos-install --root /mnt -j 4
nithor has joined #nixos
michaelpj_ has quit [Ping timeout: 256 seconds]
<jetien> joko: thanks. trying..
rauno has joined #nixos
das_j_ has quit [Quit: Page closed]
<joko> jetien: fingers crossed it works!
<dhess> Dezgeg: around?
concatime has quit [Quit: Page closed]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis opened pull request #33803: Change package builds to use Qt 5.9 (master...qt59) https://git.io/vNZYy
NixOS_GitHub has left #nixos [#nixos]
zzamboni has joined #nixos
concatime has joined #nixos
<Dezgeg> yup
nithor has quit [Ping timeout: 256 seconds]
Neo-- has quit [Ping timeout: 256 seconds]
zzamboni has quit [Client Quit]
asuryawanshi has quit [Remote host closed the connection]
swayf has joined #nixos
swayf has quit [Remote host closed the connection]
<dhess> Dezgeg: I'm using an armv7l installer from about a week ago and nothing is hitting the cache. It's basically rebuilding everything. I assume this is because gcc was broken for a few weeks. Have you got an earlier installer image around by any chance, something that will hit the cache mostly?
<lexomsthn> jetien I prefer systemd gummiboot, because GRUB became to bloated for me.
asuryawanshi has joined #nixos
swayf has joined #nixos
<jetien> joko: it worked! thanks! :)
<dhess> nixos-install is running out of space on the SD card
<dhess> besides the fact that it's taking forever
<joko> jetien: you're welcome! :)
<Dezgeg> is armv7l on unstable working yet?
<dhess> yes
<dhess> err.
<jetien> joko: do you know how dual boot to windows works with efi by chance?
<dhess> nixpkgs-unstable I don't know
<dhess> does it always rebuild from that channel?
<dhess> s/rebuild/install ?
<jetien> there isn't much documentation to find on that; except for a few github issues
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] romildo opened pull request #33804: roboto: 2.136 -> 2.138 (master...upd.roboto) https://git.io/vNZOt
NixOS_GitHub has left #nixos [#nixos]
<samueldr> Dezgeg: would you consider syncing a branch on nixpkgs fork with the last complete rebuild (per platform)?
<Dezgeg> it should use nixos-unstable
<dhess> actually it looks like nixpkgs-unstable is fixed, though it's using an earlier version of the fix than what is in the tree now
<samueldr> (complete meaning your subset obv.)
<dhess> nixos-unstable has the same pre-fix fix
loli has joined #nixos
<dhess> Dezgeg anyway point is, it's building fine, it's just running out of space
zzamboni has joined #nixos
<joko> jetien: dual boot with grub?
<lexomsthn> toppler , for now I know 2 ways of running portable binaries : 1) patch elf 2) steam run ; here is the super question, is there a way to set an environment to run multiple binaries, shell scripts and stuff without patching them, and without prefixing each one with steam-run? cuz steam-run doen't work for complex shell\python scripts
<Dezgeg> yeah, I've considered some way of having the built ones released as add-able channels but haven't looked into what's the way to do that
<jetien> jetien: yes, or any other boot manager
<dhess> but it sounds like maybe the problem is that the armv7l cache hasn't caught up yet
<jetien> joko: yes, or any other boot manager
<dhess> Dezgeg ok so is there a way to get nixos-install to use the target /nix/store instead of the SD card /nix/store, or something like that which will get around this running-ou-of-space issue?
drakonis has quit [Remote host closed the connection]
<dhess> is it possible to override the nixpkgs that the installer uses? My own Hydra binary cache has most of the stuff that the installer would need if I can get it to build from nixpkgs master
drakonis has joined #nixos
<Dezgeg> sadly no afaik, there's still an bug open on that regression
<Dezgeg> but it should support -I nixpkgs=..., I think
<dhess> ok I will try that
<Dezgeg> if you pass that to nixos-install
JosW has quit [Quit: Konversation terminated!]
<dhess> if I have enough space to check it out :)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] yrashk opened pull request #33805: aenum: make tests pass (master...aenum-tests) https://git.io/vNZOw
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] romildo opened pull request #33806: jdupes: 1.8 -> 1.9 (master...upd.jdupes) https://git.io/vNZOr
NixOS_GitHub has left #nixos [#nixos]
<Dezgeg> if it's on github I think you can pass the .tar.gz arcive url
nithor has joined #nixos
<dhess> oh good idea
<dhess> hmm it appears to have ignored -I nixpkgs=
<dhess> weird, the man page mentions i
<dhess> t
<Dezgeg> hmm... maybe nix-channel --delete, nix-channel --add & --update
<joko> I think the latter would work
<Dezgeg> I hope passing the archive.tar.gz to nix-channel works
<dhess> pbogdan: oh well there you go :)
<dhess> thanks
nithor has quit [Ping timeout: 256 seconds]
leapingfrogs has joined #nixos
<dhess> Dezgeg: nah `nix-channel --add` doesn't like the archive.tar.gz URL
<dhess> oh I think I did it wrong
<dhess> it does work. Wrong order of arguments
<jetien> joko: nixos-rebuild seems to be hanging on the "updateing GRUB 2 menu…" task
loli has quit [Quit: WeeChat 2.0.1]
<dhess> ok now nix-channel nixos points to the archive tarball but when I run nixos-install I get this:
<dhess> warning: Nix search path entry ‘/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs’ does not exist, ignoring
<dhess> error: file ‘nixpkgs’ was not found in the Nix search path (add it using $NIX_PATH or -I)
<dhess> I have run nix-channel --update
leapingfrogs has quit [Read error: Connection reset by peer]
leapingfrogs_ has joined #nixos
<dhess> well I just did `NIX_PATH=nixpkgs=https://github.com/.... nixos-install` and now it's downloading the archive. Let's see how this works
nithor has joined #nixos
leapingfrogs_ has quit [Client Quit]
vidbina has joined #nixos
MP2E has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] dtzWill opened pull request #1794: nix log: use pager (master...feature/nix-log-pager) https://git.io/vNZsF
NixOS_GitHub has left #nixos [#nixos]
Yotam_ has quit [Quit: Leaving]
orivej has quit [Ping timeout: 256 seconds]
concatime has quit [Ping timeout: 260 seconds]
orivej has joined #nixos
<dhess> well it did download a bunch of packages this time rather than trying to build them all, but I still ran out of space :( Oh well, I'll put the installer on a larger SD card and use the nix-channel trick again
zarel has joined #nixos
nithor has quit [Ping timeout: 255 seconds]
MP2E has quit [Remote host closed the connection]
MP2E has joined #nixos
ma27 has joined #nixos
alexteves has quit [Ping timeout: 268 seconds]
asuryawanshi has quit [Ping timeout: 255 seconds]
nithor has joined #nixos
ssmike has quit [Remote host closed the connection]
ssmike has joined #nixos
nithor has quit [Ping timeout: 255 seconds]
lexomsthn has left #nixos [#nixos]
Fare has quit [Remote host closed the connection]
<jetien> joko: thank you for your help! it finally worked. the hanging grub-install seemed was due to hanging IO in /boot (fixed by rebooting). i left some comments on your gist. I hope this ends up in the manual at some point!
swayf has quit [Remote host closed the connection]
swayf has joined #nixos
stephenjudkins has joined #nixos
Mateon1 has quit [Ping timeout: 248 seconds]
Mateon1 has joined #nixos
srdqty1 has quit [Quit: WeeChat 1.9.1]
swayf has quit [Ping timeout: 265 seconds]
nithor has joined #nixos
chpatrick has quit [Quit: Connection closed for inactivity]
zzamboni has quit [Quit: Leaving.]
hiratara has quit [Ping timeout: 240 seconds]
zzamboni has joined #nixos
orivej has quit [Ping timeout: 256 seconds]
hiratara has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jtojnar opened pull request #33808: webkitgtk: 2.18.4 → 2.18.5 (master...webkitgtk-2.18.5) https://git.io/vNZC9
NixOS_GitHub has left #nixos [#nixos]
leapingfrogs has joined #nixos
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/e30ecaa916f (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
nix-gsc-io`bot has quit [Client Quit]
ryanartecona has quit [Quit: ryanartecona]
alexteves has joined #nixos
leapingfrogs has quit [Quit: leapingfrogs]
shabius has quit [Quit: Leaving]
<vidbina> does anyone have experience with nixpkgs-lint? I have a branch checked out with a new package and am running `nixpkgs-lint -f /path/to/nixpkgs -f PHRASE` but am staring at a "selector ‘PHRASE’ matches no derivations" error msg
MP2E has quit [Remote host closed the connection]
shabius has joined #nixos
MP2E has joined #nixos
Neo-- has joined #nixos
simendsjo has quit [Ping timeout: 248 seconds]
zzamboni has quit [Quit: Leaving.]
nithor has quit [Ping timeout: 256 seconds]
orivej has joined #nixos
<joko> jetien: cool!
nithor has joined #nixos
zarel has quit [Quit: Leaving]
[0x4A6F] has joined #nixos
nithor has quit [Ping timeout: 276 seconds]
<vidbina> correction to my former post. For example... running `nixpkgs -f /path/to/nixpkgs -p bitscope` fails on my setup. Checked out to latest current master.
szicari has quit [Quit: szicari]
hiratara has quit [Quit: ZNC - http://znc.in]
hiratara has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] primeos pushed 1 new commit to master: https://git.io/vNZ45
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 403ee96 Michael Weiss: android-studio-preview: 3.1.0.6 -> 3.1.0.7
bennofs has joined #nixos
nithor has joined #nixos
ma27 has quit [Ping timeout: 276 seconds]
dbe_ has quit [Ping timeout: 240 seconds]
Neo-- has quit [Ping timeout: 256 seconds]
nithor has quit [Ping timeout: 276 seconds]
dan_b has joined #nixos
ryantrinkle has quit [Ping timeout: 248 seconds]
nithor has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vbgl pushed 1 new commit to master: https://git.io/vNZRP
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 6887a0f Russell O'Connor: bitcoin: fix boost dependency...
pkill9 has quit [Quit: WeeChat 2.0]
spietz has quit [Ping timeout: 255 seconds]
alexteves has quit [Ping timeout: 256 seconds]
cement has quit [Ping timeout: 265 seconds]
coot____ has joined #nixos
nithor has quit [Ping timeout: 276 seconds]
coot___ has quit [Ping timeout: 256 seconds]
<infinisil> vidbina: Ohh.. I found the problem
la_putin has quit [Read error: Connection reset by peer]
alexteves has joined #nixos
bennofs has quit [Ping timeout: 255 seconds]
<infinisil> my $xml = `nix-env -f '$path' -qa '$filter' --xml --meta --drv-path`;
<infinisil> it should be `-qA` instead of `-qa` ...
[0x4A6F] has quit [Ping timeout: 255 seconds]
<infinisil> Since this file got last modified in 2014, nix might have taken a small a back then, and nobody used it ever since lol
swayf has joined #nixos
la_putin has joined #nixos
la_putin has quit [Client Quit]
nithor has joined #nixos
rauno has quit [Ping timeout: 276 seconds]
la_putin has joined #nixos
<vidbina> infinisil: I'm eternally grateful, oh wise one. Has it not been used since because there is something better. If so, what is it?!?
rauno has joined #nixos
Sonarpulse has quit [Ping timeout: 264 seconds]
nithor has quit [Ping timeout: 276 seconds]
<gchristensen> vidbina: it has not been used for a long time, I think, and there is nothing better at this time
ro6 has joined #nixos
swayf has quit [Remote host closed the connection]
swayf has joined #nixos
raynold has joined #nixos
<infinisil> gonna submit a PR to fix it
tmaekawa has joined #nixos
tmaekawa has quit [Client Quit]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Infinisil opened pull request #33809: nixpkgs-lint: fix (master...fix-nixpkgs-lint) https://git.io/vNZuB
NixOS_GitHub has left #nixos [#nixos]
<vidbina> infinisil and gchristensen: thanks for the help
<infinisil> Um, but the output is pretty useless
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dtzWill opened pull request #33810: boehm-gc, libatomic_ops: 7.6.0 -> 7.6.2 (master...update/boehmgc) https://git.io/vNZu2
NixOS_GitHub has left #nixos [#nixos]
<infinisil> It just tells you how many have some flaw, but doesn't actually tell you which ones
<infinisil> -.-
countoren has joined #nixos
<infinisil> oh wait never mind
<infinisil> Wait no I'm right, and i think it doesn't even pay attention to the -p argument..
<countoren> hello everyone, Im trying to install some personal vim plugins from my github and I would like to test it first, is it possible to test fetchFromGitHub in the nix-repl?
<infinisil> Actually, it even ignores the -f argument, nix-env -q lists your users installed packages..
stephenjudkins has quit [Remote host closed the connection]
<rnhmjoj[m]> countoren: of course, type `:l <nixpkgs>` and the function is pkgs.fetchfromGitHub
stephenjudkins has joined #nixos
<rnhmjoj[m]> * pkgs.fetchFromGitHub
swayf has quit [Ping timeout: 265 seconds]
nithor has joined #nixos
<countoren> ok thanks, im gonna test it
<infinisil> vidbina: Oh hold on, i think i know why, it's not broken after all
<vidbina> infinisil: haha. quite an adventure this... was reading up on https://github.com/NixOS/nixpkgs/issues/11265 meanwhile. Seems to have been operational in Q1 2016
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Infinisil closed pull request #33809: nixpkgs-lint: fix (master...fix-nixpkgs-lint) https://git.io/vNZuB
NixOS_GitHub has left #nixos [#nixos]
stephenjudkins has quit [Ping timeout: 260 seconds]
<infinisil> vidbina: bitscope doesn't work because it doesn't use recurseIntoAttrs
<infinisil> vidbina: try nixpkgs-lint -f path/to/nixpkgs -p hello
simukis has quit [Quit: simukis]
nithor has quit [Ping timeout: 276 seconds]
<vidbina> infinisil: aha... that means that I broke nixpkgs-lint on bitscope because I wrote that sucker. shoot! I'll read into recurseIntoAttrs meanwhile. Perhaps I can refactor the packages I added.
dbe_ has joined #nixos
<infinisil> vidbina: nixpkgs-lint uses nix-env to query packages with a regex
<infinisil> vidbina: but since bitscope itself isn't a package, but an attrset that defines multiple packages nix-env can't find anything
<infinisil> by wrapping the bitscope definition with `bitscope = recurseIntoAttrs (callPackages ...);` nix-env does recurse into the attrset
<infinisil> upon changing that, you can do `nixpkgs-lint -f path/to/nixpkgs -p 'bitscope.*'`
pjan_ has joined #nixos
aborsu has quit [Quit: aborsu]
ghost_ has joined #nixos
<infinisil> vidbina: is there no "main" bitscope package?
<vidbina> infinisil: not really. Just a suite of different tools that are offered through different deb's or rpm's
<rnhmjoj[m]> did something recently change about `toPythonPath`? mpv uses it to load vapoursynth modules but since last week or so it switched from setting /lib/python3.6/site-packages to lib/python2.7/site-packages and vapoursynth can't be loaded anymore.
slyfox has quit [Quit: :)]
slyfox has joined #nixos
nithor has joined #nixos
shabius has quit [Quit: Leaving]
la_putin has quit [Read error: Connection reset by peer]
el_putin has joined #nixos
pjan_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dbe_ has quit [Ping timeout: 240 seconds]
<Mic92> countoren: there is also :b to build expressions
<Mic92> in nix repl
countoren has quit [Ping timeout: 260 seconds]
shabius has joined #nixos
fresheyeball has joined #nixos
<fresheyeball> anyone out there able to recommend a sql gui for nixos?
<fresheyeball> I see a bunch, which is the best?
Yaniel has quit [Excess Flood]
Yaniel has joined #nixos
lucperkins has joined #nixos