srdqty has joined #nixos
srdqty has quit [(Client Quit)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 2 new commits to master: https://git.io/vFZPB
<NixOS_GitHub> nixpkgs/master 998027a Benjamin Staffin: openvpn-auth-ldap: init at 2.0.3
<NixOS_GitHub> nixpkgs/master c0a0d8b Orivej Desh: Merge pull request #31108 from benley/openvpn-auth-ldap...
NixOS_GitHub has left #nixos []
shymega has quit [(Quit: So long, and thanks for all the talking doors.)]
zraexy has quit [(Quit: Leaving.)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej closed pull request #31164: htpdate: 1.1.3 -> 1.2.0 (master...pkg/htpdate) https://git.io/vFZre
NixOS_GitHub has left #nixos []
shymega has joined #nixos
markus1199 has joined #nixos
zraexy has joined #nixos
ylwghst has quit [(Ping timeout: 248 seconds)]
S0rin has quit [(Ping timeout: 248 seconds)]
markus1189 has quit [(Ping timeout: 240 seconds)]
hellrazor_m has joined #nixos
tanonym has quit [(Quit: Leaving)]
hellrazor_m has quit [(Ping timeout: 248 seconds)]
ison111 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vFZXs
<NixOS_GitHub> nixpkgs/master 994cff6 John Boehr: phpPackages.redis: rev 4a37e4 -> 3.1.4
<NixOS_GitHub> nixpkgs/master ddec346 Jörg Thalheim: Merge pull request #31158 from jbboehr/fix/php-redis-3.1.4-m...
NixOS_GitHub has left #nixos []
judson has quit [(Ping timeout: 240 seconds)]
mahalel_ has joined #nixos
<dpc> I think I'm hitting this issue: https://github.com/NixOS/nixpkgs/issues/15495 and I don't understand why is it closed.
ylwghst has joined #nixos
gandreani has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vFZXN
<NixOS_GitHub> nixpkgs/master 3c74fcf John Boehr: phpPackages.apcu: 5.1.2 -> 5.1.8 and enable tests...
<NixOS_GitHub> nixpkgs/master 60c4104 Jörg Thalheim: Merge pull request #31153 from jbboehr/fix/apcu-5.1.8-m...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej closed pull request #30957: gmailieer: init at 0.3 (master...gmailieer) https://git.io/vFtLW
NixOS_GitHub has left #nixos []
<Mic92> sphalerite: chromebook is not there yet: https://nixos.wiki/wiki/NixOS_on_ARM
acowley_away is now known as acowley
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vFZ1n
<NixOS_GitHub> nixpkgs/master 454c42c Linus Heckemann: vboot_reference: Update...
<NixOS_GitHub> nixpkgs/master 90c9291 Jörg Thalheim: Merge pull request #31151 from lheckemann/vboot-update...
NixOS_GitHub has left #nixos []
S0rin has joined #nixos
<__monty__> The nix.sh script creates a duplicate entry for <nixpkgs> in NIX_PATH. Is this on purpose?
<clever> __monty__: it sounds like your sourcing the script twice
<__monty__> clever: I don't think so. Only happens once (conditionally) in my zshrc.
<clever> try clearing NIX_PATH, then manually source it once, and echo
python476 has quit [(Ping timeout: 240 seconds)]
<__monty__> One problem, I can't source the file because my interactive shell is fish.
<__monty__> It is sourced before zsh replaces itself with fish.
mizu_no_oto has joined #nixos
<__monty__> Does zsh source .bash_profile? I see nix automatically created that file and the script is sourced there as well.
ylwghst has quit [(Remote host closed the connection)]
<clever> __monty__: add an echo to both bashprofile and zshrc
ylwghst has joined #nixos
thc202 has quit [(Ping timeout: 240 seconds)]
electrocat has joined #nixos
<__monty__> clever: Just the echo from .zshrc, once.
<__monty__> The syntax in nix.sh isn't entirely clear to me:
<__monty__> export NIX_PATH=${$NIX_PATH:+$NIX_PATH:}nixpkgs=...
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bgamari opened pull request #31166: ngspice: Build shared library (master...libngspice) https://git.io/vFZDG
NixOS_GitHub has left #nixos []
<clever> __monty__: if nix_path has a value, it will append to it with a : as a separator
<clever> __monty__: if it doesnt have a value, it just sets it
<__monty__> But why not export NIX_PATH=$NIX_PATH:nixpkgs=... ?
achambe has joined #nixos
<clever> if nix_path was empty, it would become NIX_PATH=:nixpkgs=...
<achambe> Hi, I'm have a bit of a problem installing a package called dvd+rw-tools is a nix-shell script
<achambe> i cna't work out how to escape the name properly
<__monty__> clever: Makes sense but I still don't get $NIX_PATH:+$NIX_PATH, it's where I thought the repetition came from.
<achambe> I have tried nix-shell --run bash --pure -p bash go \"dvd+rw-tools\"
<achambe> and many others
<clever> __monty__: what if you manualy clear NIX_PATH, then just run zsh normally, what is the end-result?
<__monty__> Set NIX_PATH= (empty) then launch zsh?
<__monty__> achambe: I can't find that package, are you sure it's in nixpkgs?
<clever> __monty__: unset
<__monty__> Fish doesn't have unset.
<clever> __monty__: unset NIX_PATH ; zsh then echo $NIX_PATH
<__monty__> Best I can do is set to empty.
<clever> run bash first then
<clever> unset and set to empty behave very differently
<achambe> I had to escape it to use nix-env
<achambe> but i can't get nix-shell to accept it
<clever> achambe: nix-shell only accepts the attribute path, not the .name
<__monty__> achambe: Ah, it's called dvdplusrwtools here.
<clever> which is the same mechanic as nix-env -iA
<achambe> Thanks!
<achambe> phew, that was frustrating
<__monty__> clever: Then it's not duplicated.
<clever> __monty__: then NIX_PATH had already been set, before you ran zsh
<clever> __monty__: and when you started zsh, it appended an entry
<__monty__> Any idea where it might've been set?
<clever> __monty__: are you using startx?
<__monty__> No
<clever> __monty__: how are you running zsh for testing?
<__monty__> Just opening a new tmux window.
<__monty__> Ah...
<__monty__> Basically answered my own question there now didn't I?
<clever> the shell from before you ran tmux set it once
<clever> and then the shells inside tmux append to it
<__monty__> Is there a clean solution to avoid this?
<clever> unset NIX_PATH before you source nix.sh
<__monty__> Weird thing is PATH isn't updated with duplicates.
anton__ has quit [(Ping timeout: 255 seconds)]
sigmundv__ has joined #nixos
erictapen has quit [(Ping timeout: 252 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] WilliButz opened pull request #31169: grafana: 4.6.0 -> 4.6.1 (master...grafana-update) https://git.io/vFZyz
NixOS_GitHub has left #nixos []
<bgamari> does fetchgit or otherwise nix itself remove the write flag from srcs directories during a build?
<clever> bgamari: nix removes +w on everything once the build is finished
<clever> bgamari: and fetchgit does the download in a seperate job
<bgamari> clever, but what about during installPhase?
<bgamari> oh, or rather postInstall
<clever> bgamari: it happens after the installPhase
<clever> bgamari: but $src points to a different job
<clever> it becomes immutable after all phases have finished
<bgamari> hmm
<clever> can you gist the nix expression?
anton__ has joined #nixos
<bgamari> sure
<clever> srk: ah, i had a feeling those filenames where familiar, lol
<clever> srk: its not flagged as a fork, though..., did i ever put it on github?
<srk> clever: I've didn't clone it, just created new repo, think I can recreate it if you want
<clever> srk: doesnt matter that much
<bgamari> I'm afraid it's an overlay on top of the kicad expression
S0rin has quit [(Ping timeout: 240 seconds)]
<bgamari> the nixpkgs kicad expression seems to work though
<bgamari> so I'm not entirely sure what I'm doing wrong
<__monty__> clever: Thanks for the help. Have a good day/night/applicable span of time : )
<clever> bgamari: can you also gist the full log output when it fails?
<srk> clever: thank you for not-os once again. I owe you some pull requests, mostly regarding documentation :)
<clever> srk: thanks
<clever> srk: i also recently made 2 netboot related things
__monty__ has quit [(Quit: leaving)]
<bgamari> my postInstall override is identical to that of the nixpkgs expression but with the last few lines elided
<clever> srk: this puts the entire "netboot" image into /boot and your grub.cfg
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej closed pull request #31169: grafana: 4.6.0 -> 4.6.1 (master...grafana-update) https://git.io/vFZyz
NixOS_GitHub has left #nixos []
<srk> clever: interesting
<bgamari> clever, I ran my expression in nix-shell and found that the kicad-library-head/ directory and all of its contents had the write bit removed
<clever> bgamari: within postInstall, try doing an "ls -ltrh" on the path your copying from
<bgamari> after adding it manually with chmod I found that installPhase would run to completion
<bgamari> sure
<clever> bgamari: when nix copies the result of fetchgit, its still -w, but it may need a chmod +w -R
<bgamari> clever, ahh
<bgamari> so it's possibly expected that it's -w?
<bgamari> clever, this is what I observed previously in nix-shell: https://gist.github.com/bgamari/b1950acc61b8362e0165de14dadb935a#gistcomment-2246419
<clever> bgamari: yeah, that can happen, just chmod the source in the working dir
<bgamari> alright then
<bgamari> thanks!
<clever> as long as your using nix-daemon, it will enforce the rules and stop you from chmod'ing things you shouldnt
<bgamari> also, what is the policy for including pre-release package versions in nix-pkgs?
<clever> but if your in single-user mode on another distro, you can freely chmod +w anything, and break the rules hard
<bgamari> I see
<clever> those usually have an Unstable postfix in the attribute path, and a date in the .name as a version
<bgamari> but they are generally accepted?
<clever> yeah
<bgamari> alrighg
jgertm has quit [(Ping timeout: 258 seconds)]
<srk> do you people run your systems from nixpkgs master?
<kkini> Can anyone see what's wrong with this? I'm getting the message "cannot coerce a set to a string" while evaluating attribute `hashes' but I don't see why. https://github.com/NixOS/nixpkgs/blob/48d26d453587c5889ebbd121dd87b4333da46233/pkgs/development/interpreters/acl2/default.nix#L9-L19
<kkini> also, interesting that blobs from my fork on github are accessible via github.com/NixOS/nixpkgs ...
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] bgamari opened pull request #1662: Remove errant `-r`s from `nix copy --help` (master...patch-1) https://git.io/vFZSa
NixOS_GitHub has left #nixos []
S0rin has joined #nixos
<bgamari> kkini, it would be helpful to have the full backtrace
<kkini> bgamari: http://sprunge.us/feiF
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
<kkini> oh. I think I figured it out, haha
<bgamari> lovely
<kkini> stdenv.mkDerivation tries to export all members of the set as environment variables for the build process to use, right
<ylwghst> kkini: syntax problem
<ylwghst> ?
<kkini> nah, not a syntax problem
<kkini> I was staring at it thinking it was a syntax problem, but that's what I was doing wrong :)
<kkini> I just need to wrap that hashes thing in a let
<bgamari> is there an easy way to make `nix-copy-closure` work between two non-NixOS machines?
<bgamari> if I try to copy in either direction I get `bash: nix-store: command not found`
<clever> bgamari: make sure nix is in PATH
srdqty has joined #nixos
<bgamari> other than that?
<clever> bgamari: "ssh user@remote 'echo $PATH'"
<clever> bgamari: thats it
<clever> bgamari: and also, the non-shell ssh's use a different rc file in $HOME
<bgamari> yeah
<clever> so you need to tweak the config to ensure its still in PATH
<bgamari> I currently haven't completely dived in to nix yet
<bgamari> so currently Nix isn't in my environment by default
<bgamari> but it's looking more and more inevitable
pie_ has quit [(Ping timeout: 240 seconds)]
nslqqq has quit [(Ping timeout: 248 seconds)]
srdqty has quit [(Ping timeout: 240 seconds)]
Kingsquee has joined #nixos
srdqty has joined #nixos
hellrazor_m has joined #nixos
dbmikus has joined #nixos
sigmundv__ has quit [(Ping timeout: 248 seconds)]
gandreani has quit [(Ping timeout: 258 seconds)]
S0rin has quit [(Ping timeout: 240 seconds)]
Wizek has joined #nixos
S0rin has joined #nixos
ylwghst has quit [(Ping timeout: 248 seconds)]
<srk> clever: do you possibly have not-os hydra configuration somewhere? or is it just a matter of following hydras official instruction with release.nix?
asuryawanshi has joined #nixos
nslqqq has joined #nixos
seanz has joined #nixos
pie_ has joined #nixos
asuryawanshi has quit [(Ping timeout: 248 seconds)]
gandreani has joined #nixos
<infinisil> gstreamer depends on gcc -.-
<srk> clever: cool, thanks
ylwghst has joined #nixos
ylwghst has quit [(Client Quit)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] bgamari closed pull request #1662: Remove errant `-r`s from `nix copy --help` (master...patch-1) https://git.io/vFZSa
NixOS_GitHub has left #nixos []
<clever> srk: oh, and one other thing
<clever> srk: a true netboot, with everything fully configured in nixos
<clever> bbl
ylwghst has joined #nixos
<srk> cool
chessai has quit [(Remote host closed the connection)]
infinisil has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
ylwghst has quit [(Ping timeout: 248 seconds)]
cement has quit [(Ping timeout: 255 seconds)]
jb55 has quit [(Ping timeout: 246 seconds)]
ylwghst has joined #nixos
acowley is now known as acowley_away
Supersonic112 has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jbboehr opened pull request #31170: php: add config.php.mysqlnd option (master...php-mysqlnd-m) https://git.io/vFZ7O
NixOS_GitHub has left #nixos []
Supersonic112_ has joined #nixos
Supersonic112_ is now known as Supersonic112
mbrgm has quit [(Ping timeout: 248 seconds)]
mbrgm has joined #nixos
scribbler has quit [(Remote host closed the connection)]
scribbler has joined #nixos
lambdamu has joined #nixos
<pie_> and so i finally know how to fix whatever was messing up my ui after rstoring from a suspend.... https://askubuntu.com/a/511328
<pie_> no ownder i couldnt find anything with any of the permuttions of window manager i tried to find by greping ps
<pie_> kwin_x11 ? hardly knew 'er
lambdamu_ has quit [(Ping timeout: 240 seconds)]
scribbler has quit [(Ping timeout: 248 seconds)]
hellrazor_m has quit [(Ping timeout: 240 seconds)]
Arcaelyx has joined #nixos
hellrazor_m has joined #nixos
Arcaelyx_ has quit [(Ping timeout: 255 seconds)]
jb55 has joined #nixos
srdqty1 has joined #nixos
srdqty has quit [(Ping timeout: 260 seconds)]
srdqty1 has quit [(Client Quit)]
leothrix has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantrinkle opened pull request #31171: freetds: add openssl support (master...freetds-openssl) https://git.io/vFZ5g
NixOS_GitHub has left #nixos []
taktoa has joined #nixos
NightTrain has quit [(Quit: Lost terminal)]
ylwghst has quit [(Ping timeout: 248 seconds)]
leothrix has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej closed pull request #30910: rust-bindgen: 0.30.0 -> 0.31.1 (master...rust-bindgen) https://git.io/vFI1Y
NixOS_GitHub has left #nixos []
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/5cfd049a03 (from 8 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
nix-gsc-io`bot has quit [(Client Quit)]
dieggsy has quit [(Quit: ERC (IRC client for Emacs 27.0.50))]
hellrazor_m has quit [(Ping timeout: 240 seconds)]
hellrazor_m has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 1 new commit to staging: https://git.io/vFZdy
<NixOS_GitHub> nixpkgs/staging c1de18e Orivej Desh: vigra: enable parallel building...
NixOS_GitHub has left #nixos []
S0rin has quit [(Ping timeout: 260 seconds)]
chessai has joined #nixos
frankpf has quit [(Ping timeout: 255 seconds)]
_rht has joined #nixos
scribbler has joined #nixos
srdqty has joined #nixos
S0rin has joined #nixos
jb55 has quit [(Ping timeout: 248 seconds)]
notdaniel has joined #nixos
asuryawanshi has joined #nixos
spacefrogg has quit [(Quit: Gone.)]
aw has quit [(Quit: Quitting.)]
aw has joined #nixos
spacefrogg has joined #nixos
scribbler has quit [(Remote host closed the connection)]
scribbler has joined #nixos
asuryawanshi has quit [(Ping timeout: 260 seconds)]
scribbler has quit [(Read error: No route to host)]
scribbler has joined #nixos
<vaibhavsagar> is there a way for me to clear a hydra cache?
scribbler has quit [(Remote host closed the connection)]
scribbler has joined #nixos
hellrazor_m has quit [(Quit: "I fear the day at which our technology surpasses our humanness. On the world there will only be a generation of idiots." - Albert Einstein)]
damke_ has joined #nixos
achambe has quit [(Ping timeout: 260 seconds)]
datakurre has quit [(Remote host closed the connection)]
S0rin has quit [(Ping timeout: 260 seconds)]
<vaibhavsagar> thanks srk
vaibhavsagar has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
vaibhavsagar has joined #nixos
S0rin has joined #nixos
slack1256 has joined #nixos
dbmikus has quit [(Ping timeout: 252 seconds)]
notdaniel has quit [(Quit: Leaving)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej opened pull request #31173: mkPythonDerivation: let name default to ${pname}-${version} (master...python-implicit-name) https://git.io/vFZNd
NixOS_GitHub has left #nixos []
seanz has quit [(Quit: Leaving.)]
slack1256 has quit [(Remote host closed the connection)]
vaibhavsagar has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
p4cman has joined #nixos
vaibhavsagar has joined #nixos
endformationage has quit [(Quit: WeeChat 1.9.1)]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/b664074623 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [(Client Quit)]
endformationage has joined #nixos
endformationage has quit [(Quit: WeeChat 1.9.1)]
jsgrant has joined #nixos
reinzelmann has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peterhoeg pushed 2 new commits to master: https://git.io/vFZpY
<NixOS_GitHub> nixpkgs/master d8702bf adisbladis: kde-applications: 17.08.1 -> 17.08.2
<NixOS_GitHub> nixpkgs/master 19d67e1 Peter Hoeg: Merge pull request #30402 from adisbladis/kdeapplications_17_08_2...
NixOS_GitHub has left #nixos []
damke_ has quit [(Ping timeout: 240 seconds)]
damke_ has joined #nixos
reinzelmann has quit [(Quit: Leaving)]
asuryawanshi has joined #nixos
asuryawanshi has quit [(Ping timeout: 240 seconds)]
JosW has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] eqyiel opened pull request #31174: lame: prevent build failure from using outdated symbol list (master...fix-lame) https://git.io/vFZpb
NixOS_GitHub has left #nixos []
nslqqq has quit [(Ping timeout: 248 seconds)]
nslqqq has joined #nixos
gandreani has quit [(Quit: leaving)]
asuryawanshi has joined #nixos
asuryawanshi has quit [(Remote host closed the connection)]
asuryawanshi has joined #nixos
ssmike has joined #nixos
S0rin has quit [(Ping timeout: 260 seconds)]
<JosW> MoreTea: What was the overall conclusion from your talk at Nixcon?
S0rin has joined #nixos
ssmike has quit [(Ping timeout: 248 seconds)]
<vaibhavsagar> is there a vim_configurable without the GUI?
<srhb> vaibhavsagar: Looks like you can override soruce = "vim-nox"
<vaibhavsagar> I see, thanks srhb
Wizek has quit [(Quit: Connection closed for inactivity)]
babs has quit [(Quit: Leaving)]
Itkovian has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] yrashk opened pull request #31175: rust: 1.20.0 -> 1.21.0 (master...rust-1.21) https://git.io/vFZjG
NixOS_GitHub has left #nixos []
<sphalerite> Mic92: yeah I'll put it there once I've got stuff in a more usable state
<sphalerite> still haven't got the kernel building from nixpkgs and stuff
MercurialAlchemi has joined #nixos
Arcaelyx_ has joined #nixos
Arcaelyx has quit [(Ping timeout: 248 seconds)]
<gchristensen> https://gist.github.com/quchen/5280339 <- may our community handle trolls like haskell does
<Havvy> "You're just not aware your goal is learning Haskell."
leat has quit [(Quit: WeeChat 1.9.1)]
reinzelmann has joined #nixos
notdaniel has joined #nixos
ssmike has joined #nixos
Guest16722 has quit [(Ping timeout: 248 seconds)]
damke has joined #nixos
damke_ has quit [(Ping timeout: 240 seconds)]
MP2E has quit [(Remote host closed the connection)]
MP2E has joined #nixos
<vaibhavsagar> is there a straightforward way to set up hydra + https?
<gchristensen> you can setup nginx + acme and reverse-proxy to hydra
seanparsons has quit [(Ping timeout: 240 seconds)]
<vaibhavsagar> that sounds like a good approach
notdaniel has quit [(Quit: Leaving)]
periklis has joined #nixos
periklis has quit [(Client Quit)]
seanparsons has joined #nixos
orivej has quit [(Ping timeout: 240 seconds)]
<JosW> Hé, I would love to read a straightforward way to setup Hydra, the https stuff comes afterwards
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis opened pull request #31176: pythonPackages: Add version and pname attributes to packages (master...pythonPackages-versionattr) https://git.io/vFnep
NixOS_GitHub has left #nixos []
jacob_ has joined #nixos
jacob_ is now known as Guest1421
<hyper_ch> gchristensen: thats log is just fakenews :)
MP2E has quit [(Remote host closed the connection)]
<adisbladis> sphalerite: :(
ambro718 has joined #nixos
leat has joined #nixos
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
srdqty has quit [(Ping timeout: 240 seconds)]
srdqty has joined #nixos
pie_ has quit [(Ping timeout: 255 seconds)]
ma27 has joined #nixos
jsgrant has quit [(Remote host closed the connection)]
nslqqq has quit [(Ping timeout: 258 seconds)]
<sphalerite> should nix-daemon maybe be ioniced to the idle class by default? I find my chromebook becoming unresponsive during builds sometimes
Lisanna_ has joined #nixos
<Lisanna_> What happens if you try to install something from a nix-channel that isn't in the binary cache? will it pull the expression down and build locally?
<sphalerite> Lisanna_: it already has the expression locally
<sphalerite> but yes, it will build it
<Lisanna_> oh right, yeah, duh
<Lisanna_> okay, that's good.
<gchristensen> sphalerite: the nix daemon needs high-ish IO for nix-shells to be responsive
<gchristensen> (ie: time to start a nix-shell)
<sphalerite> aah right
<sphalerite> Wait, does it?
Lisanna has quit [(Ping timeout: 260 seconds)]
Ivanych has quit [(Quit: Leaving.)]
<gchristensen> when I set nix-daeemon to a low IO class, it made everything nix-* sooo slow
<sphalerite> won't the typical case for nix-shell be where it's already available on the system, i.e. the nix-shell process will evaluate and instantiate the derivation (which requires reading nixpkgs but doesn't happen in nix-daemon), then find that it's already in the store so it doesn't even need to talk to the daemon?
ertes has quit [(Ping timeout: 258 seconds)]
<sphalerite> oh wait instantiating involves nix-daemon
<sphalerite> still, nix-* slow is better than "can't get bash to run a command"
<ArdaXi[m]> It'd be nice to be able to set it for build processes only
Ivanych has joined #nixos
<sphalerite> yeah
<sphalerite> but I typed "tmux a" 3 minutes ago and it's still not attached :(
<gchristensen> ionice -u? :)
<gchristensen> with nixbld{1,...}
nslqqq has joined #nixos
* sphalerite uploaded an image: file1509696014494.jpg (66KB) <https://matrix.org/_matrix/media/v1/download/matrix.org/IqdDoYfblLuCEcWClsJYUYSz>
<sphalerite> :(
<gchristensen> I wish long matrix URLs were ~6 chars shorter
<gchristensen> sphalerite: what am I seeing here?
<sphalerite> me trying to log in
<sphalerite> I pressed enter 2 minutes ago
<gchristensen> ouch.
<sphalerite> still waiting for my password prompt
ma27 has quit [(Ping timeout: 248 seconds)]
ckauhaus has joined #nixos
asuryawanshi has quit [(Read error: Connection reset by peer)]
<Lisanna_> if a derivation foo has build inputs a, b, and c (they are all derivations), will Nix build a, b, and c in parallel if build-cores has been set > 1? If so, is it controlled by build-cores or NIX_BUILD_CORES? The manual is not explicit about this.
justbeingglad has joined #nixos
justbeingglad has left #nixos []
asuryawanshi has joined #nixos
<sphalerite> Lisanna_: yes it will, if a, b, and c don't depend on each other.
<sphalerite> Except it isn't defined by build-cores
<Lisanna_> What's it defined by?
<sphalerite> it's max-jobs. max-jobs is the number of builds that will run concurrently
ma27 has joined #nixos
<sphalerite> while build-cores is the number of processes a single build will use (only a suggestion though. Builds may or may not actually honour it)
<Lisanna_> Okay, and if I set it to more cores than I have, will it oversubscribe them?
<gchristensen> it is not a smart system, if that is what you mean
<sphalerite> yeah, it leaves being smart up to the kernel
<Lisanna_> e.g. if I'm building a lot of very I/O bound derivations, I may want to run more jobs than I have cores
<sphalerite> I think if you want more jobs you need to add more build users as well
<Lisanna_> Does that apply on NixOS?
<spacefrogg> It applies to Nix.
<sphalerite> Yes, although it's easy on nixos — just increase nix.nrBuildUsers
<Lisanna_> Okay, cool
<gchristensen> it is important you have nix build users equal the number of max jobs (no use having extra build users)
chessai has quit [(Remote host closed the connection)]
<joko> Hello, I am trying to package a program with a systemd user unit and I have the following problem: I would like to use the already available unit files, but in one of them /bin/true is being run. Should I make coreutils a package dependency and use systemd.packages to expose the user units if the user enable the NixOS service?
<sphalerite> but no harm either, right?
* sphalerite uploaded an image: file1509696668911.jpg (51KB) <https://matrix.org/_matrix/media/v1/download/matrix.org/ddhLJezUyNqAsZNpZxOzmARM>
<sphalerite> Pleeeease
<gchristensen> no harm, but I'm wary of how quickly those comments turn in to "have a few extra just in case :)"
<Lisanna_> haha
<joko> gchristensen: did you have any time to check https://github.com/NixOS/nixpkgs/pull/30192 ? ^_^
<sphalerite> Right so basically set it to the maximum value you anticipate setting max-jobs to (including using the command-line flag -j)
<joko> oops, wrong person, sorry
thc202 has joined #nixos
<joko> nope, I got it right :D
ertes-w has joined #nixos
<gchristensen> :)
freusque has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] makefu opened pull request #31177: snapraid: fix release checksum (master...pkgs/snapraid/fix) https://git.io/vFnUa
NixOS_GitHub has left #nixos []
<Lisanna_> gchristensen: so is there any value in having nix.maxJobs and nix.nrBuildUsers be separate attributes in NixOS? seems like any case where they're not set to the same value isn't useful / valid
<joko> gchristensen: the test vms do not have internet access and thus they cannot build any package. Since my nixpkgs do not have grub2 with zfsSupport, the test vm tries to build it and fails.
<Lisanna_> ...and following this logic further, why does Nix on any OS have max-jobs as being separate from the # of build users? couldn't it just infer the maximum from the number of build users that exist?
ambro718 has quit [(Ping timeout: 248 seconds)]
<gchristensen> Lisanna_: as you noted, if you know you're doing a lot of io-heavy jobs you may want to increase the max jobs temporarily
<Lisanna_> right, but I'll still need the # of build users and # of max jobs to be the same, right?
<Lisanna_> oh, wait, no, I understand
<gchristensen> the # of users can be > # of max
<Lisanna_> max-jobs is easy to change
<Lisanna_> number of build users is not
<Lisanna_> haha, the answer is literally my use case :)
kuznero has joined #nixos
<LnL> gchristensen: about that, the darwin installer only creates 4 so it fails if you run with -j8
hamishmack has quit [(Quit: hamishmack)]
<gchristensen> the darwin installer creates 1 per core?
<gchristensen> is that doing it wrong?
<LnL> yeah, so you can't temporarily increase it when you know it's only substituting stuff
kuznero has quit [(Client Quit)]
<sphalerite> It still hasn't stopped the builds :'(
hamishmack has joined #nixos
ison111 has quit [(Ping timeout: 240 seconds)]
Kingsquee has quit [(Quit: https://i.imgur.com/qicT3GK.gif)]
reinzelmann has quit [(Ping timeout: 246 seconds)]
reinzelmann has joined #nixos
whald has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vFnTw
<NixOS_GitHub> nixpkgs/master 2e6daff Joerg Thalheim: nixos/unbound: correct indented interface/access lists
NixOS_GitHub has left #nixos []
ma27 has quit [(Quit: WeeChat 1.9.1)]
kuznero has joined #nixos
Itkovian has joined #nixos
<kuznero> Hi! How do I check when pandoc-2.0.1 will land in haskell.packages.ghc821 ?
davidak has joined #nixos
<kuznero> I see it is still 1.19... What is the process of getting latest packages of the hackage?
<LnL> have you checked master/nixpkgs-unstable?
a6a3uh has joined #nixos
a6a3uh has quit [(Client Quit)]
<kuznero> LnL: will check it, thanks
<LnL> packages are periodically synced with the latest lts IIRC
<kuznero> 1.19.2.4 is the latest pandoc in pkgs/development/haskell-modules/hackage-packages.nix on master of nixpkgs.
<kuznero> So, I guess that is old one
davidak has quit [(Quit: Leaving.)]
ssmike has quit [(Ping timeout: 264 seconds)]
<LnL> then you'll have to generate an expression for it with cabal2nix and add that with an overlay
davidak has joined #nixos
<LnL> there should be an example for that in the haskell section of the manual
<kuznero> LnL: thanks, but about master of nixpkgs, is it typically a maintainer who's running the update procedure or is it automated somehow?
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
ma27 has joined #nixos
goibhniu has joined #nixos
<gchristensen> both :):
<LnL> it's automated, but it might take some time for an update to end up in an lts
<kuznero> I see
<kuznero> Another question - is it possible to play with hydra on a very modest laptop?
ma27 has quit [(Client Quit)]
ma27 has joined #nixos
<LnL> don't think it uses that many resources, the man bottleneck is evaluation
<LnL> but it should be ok, assuming you don't want to build all of nixpkgs
<ArdaXi[m]> It really depends on what you want to build
<kuznero> ok, and once I will come up with the setup of my projects in hydra, is that generally difficult to migrate it to real hydra setup (away from my laptop)?
<kuznero> I want to build my haskell projects
<kuznero> only my projects
<ArdaXi[m]> I tried to evaluate my own system with Hydra on a 2 GB RAM server and it failed to build ghc
whald has quit [(Remote host closed the connection)]
<kuznero> ArdaXi[m]: ups :(
<LnL> you'll want to configure it so it uses substitutes
<kuznero> I have about 10GB, hope it will be enough.
<kuznero> LnL: what do you mean?
<ArdaXi[m]> I did
<ArdaXi[m]> Still the output was too large for Hydra
<LnL> I think it won't use the cache by default
<LnL> then you have to build everything yourself
<kuznero> Does it make sense to pin nixpkgs for hydra build machinery? Is it possible to do it only for hydra stuff and let the rest of nixos upgrade?
<ArdaXi[m]> Nono, it was in the Nix store
<ArdaXi[m]> Hydra will still use stuff that's already in the Nix store, it just won't pull from binary caches
<kuznero> Is there any way to setup Hydra to use binary cache? Or, will it build its own cache?
<gchristensen> you can tell it to use substitutes
<LnL> both, I can make a snippet of my config in an hour or so if you want
<kuznero> gchristensen: I am sorry for asking lame questions, but my understanding of a substitute is - using string interpolation like this: "... ${something} ..."
<LnL> we're talking about build substitutes
<gchristensen> the binary cache is the substitution systeme
ssmike has joined #nixos
<kuznero> Ah...
<kuznero> thanks
<LnL> that's the name nix uses for a binary cache / remote store / ...
Neo-- has joined #nixos
<gchristensen> sorry for the jargon :)
<kuznero> :) I am catching up :)
<kuznero> But generally once I have my project structure setup in my laptop hydra playground, is that difficult to migrate the project setup to proper hydra setup?
<kuznero> Like e.g. in GoCD (from Thoughtworks) it is just the matter of copying an xml file (or parts of it).
<LnL> there's a mechanism to configure jobsets in a declarative way, but I've not used it
<lewo> kuznero: you will only have to recreate project and jobset
<lewo> kuznero: I'm currently using hydra APIs via a bash script to do this
<LnL> most of the logic is in the release.nix of your project
<lewo> LnL: is it documented somewhere (declarative way)?
<LnL> no idea, maybe in the hydra manual
<kuznero> "This manual will tell you how to set up new projects and build jobs within those projects and write a release.nix file to describe the build process of your project to Hydra" from hydra manual
<kuznero> ok, thanks. Btw, lewo: about skopeo - is it completely wrong docker images it produces? It had worked for me nicely. Using previous implementation fails when it needs to go through the proxy :(
brodul has quit [(Ping timeout: 246 seconds)]
Fare has quit [(Quit: Leaving)]
brodul has joined #nixos
typeggze1o has joined #nixos
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
<lewo> kuznero: in fact, it produces correct docker images, but not exactly what is produced by docker save... So several script that still relies on this format fail when we use skopeo.
erictapen has joined #nixos
<lewo> kuznero: I've created a PR to change this in skopeo but it's not trivial
<kuznero> lewo: nice, can you please post a link to PR?
typeggzero has quit [(Ping timeout: 248 seconds)]
<kuznero> thanks
<kuznero> wow, a big change
__Sander__ has joined #nixos
<Li[m]> for haskell, should I use stack at all? cabal2nix seems to suggest cabal is all we need?
sigmundv has joined #nixos
hamishmack has quit [(Quit: hamishmack)]
maigel[m] has left #nixos ["User left"]
<ma27> Li[m]: I currently use stack for development purposes as it supports a file watcher
darlan has joined #nixos
<ma27> however I deploy using the Nix expression generated by cabal2nix %)
hamishmack has joined #nixos
darlan has quit [(Client Quit)]
<srhb> ma27: ghcid is pretty nice for a lightweight file watcher thing
ThatDocsLady has joined #nixos
kuznero has quit [(Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)]
<Li[m]> so use stack for convenience but finish the job with cabal
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] edolstra closed pull request #1655: Don't freak out if we get a 403 from S3 (master...patch-1) https://git.io/vF3EW
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] edolstra pushed 2 new commits to master: https://git.io/vFnYS
<NixOS_GitHub> nix/master 5ab37f0 tv: fetchMercurial: fix error message
<NixOS_GitHub> nix/master e104842 Eelco Dolstra: Merge pull request #1660 from 4z3/patch-1...
NixOS_GitHub has left #nixos []
Itkovian has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] edolstra closed pull request #1648: nix-collect-garbage: little doc fix (1.11-maintenance...patch-1) https://git.io/vFqp7
NixOS_GitHub has left #nixos []
Neo-- has quit [(Ping timeout: 260 seconds)]
lebel has quit [(Ping timeout: 248 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] edolstra pushed 2 new commits to master: https://git.io/vFnOB
<NixOS_GitHub> nix/master 453f675 Daiderd Jordan: Allow getpwuid in the darwin sandbox.
<NixOS_GitHub> nix/master 9ccea31 Eelco Dolstra: Merge pull request #1651 from LnL7/darwin-sandbox-getpwuid...
NixOS_GitHub has left #nixos []
Ridout has joined #nixos
zzamboni has joined #nixos
pSub has quit [(Remote host closed the connection)]
<jluttine> i'd like to install a plugin for weechat, but this plugin has a dependency on another python package. how can i add this dependency so that the plugin finds it?
pSub has joined #nixos
pSub has quit [(Changing host)]
pSub has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 2 new commits to master: https://git.io/vFn3C
<NixOS_GitHub> nixpkgs/master 5f86f5d Vladimír Čunát: knot-dns: maintenance 2.6.0 -> 2.6.1...
<NixOS_GitHub> nixpkgs/master 4b15ca2 Vladimír Čunát: knot-resolver: 1.4.0 -> 1.5.0...
NixOS_GitHub has left #nixos []
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<sphalerite> jluttine: not possible with the current setup AFAIK
<sphalerite> jluttine: https://github.com/NixOS/nixpkgs/pull/25274 should help but it's kind of stagnated
ma27 has quit [(Ping timeout: 240 seconds)]
<musicmatze> Can someone please merge https://github.com/NixOS/nixpkgs/pull/20607
ma27 has joined #nixos
<musicmatze> It is working and I tested the binary multiple times...
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dezgeg closed pull request #20607: wordgrinder: init at 0.6 (master...add-wordgrinder) https://git.io/vXAqF
NixOS_GitHub has left #nixos []
FRidh has joined #nixos
olto has joined #nixos
<jluttine> sphalerite: thanks for pointing that out
<Lisanna_> Is there any meaningful difference between builtins.listToAttr and (e: map (x: { ${x.name} = x.value; }) e) ?
ericsagnes has quit [(Ping timeout: 240 seconds)]
olto has quit [(Quit: hasta luego)]
olto has joined #nixos
davidak has quit [(Ping timeout: 240 seconds)]
ylwghst has joined #nixos
ylwghst has quit [(Client Quit)]
ylwghst has joined #nixos
hariel has joined #nixos
olto has quit [(Quit: hasta luego)]
olto has joined #nixos
olto has quit [(Client Quit)]
olto has joined #nixos
alhariel has quit [(Ping timeout: 260 seconds)]
ma27 has quit [(Ping timeout: 248 seconds)]
takle has quit [(Remote host closed the connection)]
roberth has quit [(Ping timeout: 240 seconds)]
ericsagnes has joined #nixos
Wizek has joined #nixos
zzamboni has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] teto opened pull request #31180: [WIP] Python language server provider (master...python-lsp) https://git.io/vFncL
NixOS_GitHub has left #nixos []
iyzsong has joined #nixos
damke_ has joined #nixos
damke has quit [(Ping timeout: 240 seconds)]
ma27 has joined #nixos
<sphalerite> Is there a way to see the logs of a running build when it was started with -Q?
Nazral has quit [(Quit: Changing server)]
takle has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dezgeg pushed 1 new commit to master: https://git.io/vFnCn
<NixOS_GitHub> nixpkgs/master b2093d4 Tuomas Tynkkynen: linuxPackages.bcc: Fix quoting for older Nix versions...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] lsix opened pull request #31181: pythonPackages.django: 1.11.6 -> 1.11.7 (master...update_django_1_11_7) https://git.io/vFnCl
NixOS_GitHub has left #nixos []
jensens has joined #nixos
takle has quit [(Ping timeout: 248 seconds)]
S0rin has quit [(Ping timeout: 248 seconds)]
catch22 has quit [(Remote host closed the connection)]
takle has joined #nixos
roberth has joined #nixos
S0rin has joined #nixos
p4cman has quit [(Quit: Connection closed for inactivity)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] zimbatm closed pull request #31145: bundlerEnv: support unicode executables (master...support-bundler-unicode-executables) https://git.io/vFZJN
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rycee pushed 2 new commits to master: https://git.io/vFnWF
<NixOS_GitHub> nixpkgs/master 09ed44c Robert Helgesson: perl-Software-License: 0.103012 -> 0.103013
<NixOS_GitHub> nixpkgs/master 6fb9706 Robert Helgesson: perl-CGI: 4.36 -> 4.37
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 pushed 2 new commits to master: https://git.io/vFnlv
<NixOS_GitHub> nixpkgs/master c894327 Bas van Dijk: postage: replaced by pgmanage-10.0.2...
<NixOS_GitHub> nixpkgs/master 9a15344 Daiderd Jordan: Merge pull request #31149 from LumiGuide/pgmanage-10.0.2...
NixOS_GitHub has left #nixos []
kuznero has joined #nixos
<pstn> Does nixos support having multiple x-servers running without much headache? Is it more work for me to find another computer as a static monitor to show a website, or to configure my box that is running anyway?
<hyper_ch> hi pstn
<pstn> Hi hyper!
<hyper_ch> multiple x-servers? can't you just attach multiple screens?
<pstn> No, I just want to have a monitor that has a browser window open with our monitoring for everybody to see. I don't want to be able to reach it with the mouse or anything. Also it should be working, when my computer is otherwise locked.
<pstn> Think kiosk mode.
<hyper_ch> ah... no idea
<pstn> Yeah, looks like a hassle. I'll just get some other hardware.
tgunb has joined #nixos
davidak has joined #nixos
<sphalerite> philipp: works fine for me with sddm
instantepiphany has joined #nixos
<sphalerite> I send it the dbus-message to create a new session using dbus-send, but I think there should be a GUI option for it in Plasma and probably GNOME too
<DIzFer[m]> with krunner, you can type "new session" for this
Ridout has quit [(Remote host closed the connection)]
kuznero has quit [(Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)]
<instantepiphany> I am having trouble with USB Tethering and Wifi Hotspot on my new laptop with NixOS. Specifically, If I USB tether or connect to a wifi hotspot, I cannot ping IP addresses or hostnames, or load webpages. I checked `ip route` and am not familiar enough with the `ip` commands to know what the issue is. What information do I need first?
<sphalerite> Can I somehow disable the kernel/bootloader/initramfs stuff completely for nixos? I'm managing my kernel and bootloader manually and want to cut down on system build time
<sphalerite> isContainer seems close to what I want but it also disables stuff like ntp
<pstn> Linus: How do you organise your screens?
<typeggze1o> how can I include the vimrc? I have it in .config but it doesn't work
<sphalerite> philipp: oh wait you mean multiple monitors with separate X servers running on them. Sorry, misread the question
<pstn> typeggze1o: I think it's oldschool and needs to be called ~/.vimrc
<pstn> Linus: Yeah, my main monitors that I use anyway plus a completely separate kiosk monitor for everybody to look at.
<sphalerite> typeggze1o: what pstn said, but you may also be interested in using nixpkgs to configure it
<sphalerite> How to do that is in the nixpkgs manual iirc
<sphalerite> philipp: right. Not sure in that case, you could probably get it working by fiddling with the X config enough and adding another service that runs the X server on the kiosk but I imagine it would be quite a fuss.
<Profpatsch> Has anyone already experimented with generating a Docker base image from a NixOS configuration?
<pstn> Linus: Yeah, that's what I thought. I think my employer would appreciate if I didn't spend my time with that but rather earn us some money and use another computer.
<Profpatsch> It probably doesn’t work from scratch in the current module configuration.
<Profpatsch> sphalerite: You have the --fast flag.
instantepiphany has quit [(Quit: Communi 3.5.0 - http://communi.github.com)]
<Profpatsch> Which doesn’t do the grub stuff on rebuild switch
<Profpatsch> And probably skips some other parts of activation.
pie_ has joined #nixos
orivej has joined #nixos
<sphalerite> philipp: :)
<sphalerite> Profpatsch: the main issue for me is that it wants to build the kernel... From source...
<sphalerite> It's not so much the activation as the build stuff that's in my wY
<Profpatsch> ouch
ylwghst has quit [(Ping timeout: 260 seconds)]
kuznero has joined #nixos
<vincent_vdk> other people here using KDE+plasma5?
<hyper_ch> yes
<hyper_ch> (doesn't everyone?)
<vincent_vdk> hyper_ch: does Alt+Tab work for you
<hyper_ch> depends on what result you expect when pressing so
<vincent_vdk> switching between open windows
<hyper_ch> yes
<vincent_vdk> damn, doesnt work here...
<vincent_vdk> shortcut should be ok
<kuznero> Managed to setup Hydra. Pretty simple. But following simple patchelf example project seems strange a bit. I create a patchelf project (as stated in hydra manual), then I created trunk jobset. And section 3.4 Building Jobs is actually missing. How do I trigger my Hydra to build my patchelf project now?
ylwghst has joined #nixos
mithsv has joined #nixos
<hyper_ch> vincent_vdk: nixos unstable?
davidak has quit [(Ping timeout: 240 seconds)]
mithsv_ has joined #nixos
mithsv has quit [(Read error: Connection reset by peer)]
mithsv_ is now known as mithsv
davidak has joined #nixos
<vincent_vdk> hyper_ch: no, stable
<hyper_ch> well, I use unstable
<vincent_vdk> lol
TweyII has joined #nixos
TweyII is now known as Guest6132
<kuznero> When I try to force evaluate this new jobset, it doesn't do anything... :(
<kuznero> What I essentially want is to run the build and see the output in Hydra... what am I missing?
mithsv has quit [(Read error: Connection reset by peer)]
lebel has joined #nixos
ThatDocsLady has quit [(Remote host closed the connection)]
ThatDocsLady has joined #nixos
orivej has quit [(Ping timeout: 240 seconds)]
python476 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] yegortimoshenko opened pull request #31182: chroot-user: rewrite in C, drop CHROOTENV_EXTRA_BINDS (master...chroot-user/c-rewrite) https://git.io/vFnEi
NixOS_GitHub has left #nixos []
<kuznero> And list of all evaluations is empty. I am probably missing something very obvious
<kuznero> Just to clarify, I have a jobset, but no job.
rburkholder has joined #nixos
<hyper_ch> how does it actually work that you can set options/settings in configuration.nix and by doing so configure services?
DiThi has joined #nixos
<hyper_ch> I'd love to be able to set settings for a bash scripts that I wanna cron
<DiThi> hello
<DiThi> I currently use unstable in nixos, but nearly every time I do switch, a new nixpkgs version is downloaded
<ArdaXi[m]> hyper_ch: Depends on the service, most of them create a configuration file that ends up in the Nix store, and the service is given that configuration file on start
<DiThi> what's the best way of keeping one version and updating only when I want?
<ma27> DiThi: do you update your channel before you rebuild?
<Profpatsch> DiThi: What’s your NIX_PATH?
<hyper_ch> ArdaXi[m]: but how to do that :) trying to write a small zfs snapshotting and sending script since existing ones seem to have issues with encrypted datasets
<DiThi> nixpkgs=http://nixos.org/channels/nixos-unstable/nixexprs.tar.xz::nixos-config=/etc/nixos/configuration.nix
<Profpatsch> DiThi: There’s a Link, so that’s downloaded every time.
<hyper_ch> so it would be nice if I could make the configuration in the config.nix
<DiThi> ah wait, I didn't log off since I changed it, now it doesn't have the nixos-config part
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/5cfd049a03 (from 18 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
nix-gsc-io`bot has quit [(Client Quit)]
<Profpatsch> Check out nixpkgs locally, rebuild with nixos-rebuild switch -I nixpkgs=/my/local/checkout
<DiThi> Profpatsch: oh I was expecting some URI format to specify the revision, but that works too, thanks!
<ma27> Profpatsch: wouldn't make it more sense to use the root channel?
<ArdaXi[m]> hyper_ch: I'd recommend looking at a service you have in mind and checking out its source
<Profpatsch> To upgrade, run git fetch && git checkout $(curl https://nixos.org/channels/nixos-unstable/git-revision)
<ArdaXi[m]> The ZFS snapshot script doesn't have any configuration because it's all set in ZFS itself
<hyper_ch> autosnapshot is nice
<Profpatsch> DiThi: Keep in mind that -I *needs* a space before nixpkgs=
<hyper_ch> but it won't allow me to configure to keep different amounts of snapshots on different datasets
<Profpatsch> That bit me before.
<hyper_ch> also it doesn't do zfs send / receive
<DiThi> Profpatsch: I was thinking on just putting that in configuration.nix directly
<Profpatsch> DiThi: Hm, when you depend on some check(out) that is side-effecting, you will have to download something on each rebuild.
<Profpatsch> Only when you depend on local files you circumvent that.
<ArdaXi[m]> hyper_ch: Might want to take that upstream: https://github.com/bdrewery/zfstools
<DiThi> Profpatsch: I mean, I'll put the local path in configuration.nix
bivoje has quit [(Quit: Connection closed for inactivity)]
<ArdaXi[m]> I don't see any reason why it shouldn't get those settings from ZFS rather than a flag
<Profpatsch> DiThi: Yes, that should work.
<hyper_ch> ArdaXi[m]: taking what upstream?
<Profpatsch> Instead of (import <nixpkgs> {}) you use (import /path/to/checkout {})
<ArdaXi[m]> hyper_ch: It seems like it would be easier to fix this in the snapshotting service than to roll your own entirely, but if you want to go the latter route I'd really just look at something similar in nixos modules and copy that
<hyper_ch> ArdaXi[m]: autosnapshot isn't laid out to treat different datasets differently
<hyper_ch> and neither to send them to other pools/servers
<ArdaXi[m]> It is, the frequency is determined per-dataset
<hyper_ch> but not the amount of snapshots for according frequency
<ArdaXi[m]> I know, which is why I suggested you might be able to change that upstream
<hyper_ch> or I learn how to handle snapshots by writing my own script ;)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] frontsideair opened pull request #31183: yarn: 1.2.1 -> 1.3.2 (master...yarn-1.3.2) https://git.io/vFnzq
NixOS_GitHub has left #nixos []
<ArdaXi[m]> Aye, up to you of course
<hyper_ch> :)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] edolstra pushed 5 new commits to master: https://git.io/vFnz1
<NixOS_GitHub> nix/master 0e77aa3 Eelco Dolstra: fetchGit: Don't do a remote fetch if we already have the rev
<NixOS_GitHub> nix/master 4dee01d Eelco Dolstra: fetchGit: Add a test
<NixOS_GitHub> nix/master ee6ac38 Eelco Dolstra: fetchGit/fetchMercurial: Filter out directories with untracked files
NixOS_GitHub has left #nixos []
<kuznero> Is it possible to configure hydra to use proxy?
<kuznero> And is it possible to see in general why hydra does not pick up on a new jobset?
<kuznero> Any error/trace log in web UI?
damke has joined #nixos
davidak1 has joined #nixos
damke_ has quit [(Ping timeout: 240 seconds)]
davidak has quit [(Ping timeout: 255 seconds)]
Guest6132 has quit [(Changing host)]
Guest6132 has joined #nixos
Guest6132 is now known as TweyII
<tobiasBora> Hello,
<tobiasBora> I just installed nixos on my raspberry 1 model a, by using the pre-made image linked in the wiki, and then I just enabled openssh, and now the raspberry pi is compiling, for something like 2 hours...
<tobiasBora> (it's still dealing with bootstrap)
<kuznero> domenkozar: why jobsets are not turned into jobs? Hydra for some reason does not want to start evaluating my jobsets... What can be the reason? I am trying to follow examples on hydra manual...
asuryawa_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] AndersonTorres opened pull request #31184: openmsx: init at git-2017-11-02 (master...upload/openmsx) https://git.io/vFngA
NixOS_GitHub has left #nixos []
asuryawanshi has quit [(Ping timeout: 248 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] pbogdan opened pull request #31185: kafkacat: fix sandboxed build (master...kafkacat-fix-build) https://git.io/vFn2f
NixOS_GitHub has left #nixos []
asuryawa_ has quit [(Ping timeout: 255 seconds)]
<spacefrogg> kuznero: Can you evaluate the jobset by hand?
<tokudan[m]> tobiasBora: last time i installed nixos on rpi3, the first rebuild took about 3 days. with an rpi1 you can probably double that time. Though it heavily depends on the amount of software that actually needs to be built
<Dezgeg> tobiasBora: did you base the config on the wiki page (which lists the binary cache url & signature)
<kuznero> spacefrogg: nope, I was expecting some feedback from Hydra UI or from Hydra logs. But nothing was coming out of it.
<spacefrogg> kuznero: See the journalctl logs for hydra-evaluator.service
<kuznero> spacefrogg: I was running hydra-server as a user
<spacefrogg> kuznero: Do you have hydra-evaluator running in some termnal?
<kuznero> spacefrogg: I only run hydra-server, what is hydra-evaluator?
<kuznero> I see now :)
<kuznero> Thanks!
<spacefrogg> Hydra consists of three main services :)
<spacefrogg> server, evaluator, queue-runner
<kuznero> I see now :) Thanks a lot, missed ~5 lines in the hydra manual :)
<LnL> kuznero: fyi. this is most of my hydra configuration https://gist.github.com/LnL7/fcd5c0bf772f2165a1ac40be6617d2f4
DiThi has quit [(Ping timeout: 260 seconds)]
<kuznero> spacefrogg: it started doing stuff now :D super cool! thanks!
<spacefrogg> kuznero: I did nothing! :)
playX_ has joined #nixos
srdqty has quit [(Quit: WeeChat 1.9.1)]
averell has joined #nixos
<kuznero> LnL: that looks very slim... My setup is half outside Nix - https://github.com/kuznero/sandbox/tree/59cceceeb325cee01622ec8d61bd6543f8edcb89/Hydra
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] mimadrid opened pull request #31186: xarchiver: 0.5.4.7 -> 0.5.4.12 (master...update/xarchiver-0.5.4.12) https://git.io/vFnVY
NixOS_GitHub has left #nixos []
<LnL> oh! you're not using nixos
gilligan_ has joined #nixos
<gilligan_> Hey folks
<gilligan_> I blogged about NixCon2017 on our company blog: http://techblog.holidaycheck.com/post/2017/10/31/nixcon2017 ;-)
<LnL> kuznero: still looks reasonable, expected it to be more work without using the nixos modules
mekeor has joined #nixos
ma27 has quit [(Ping timeout: 240 seconds)]
ma27 has joined #nixos
roberth has quit [(Ping timeout: 264 seconds)]
slabity has quit [(Ping timeout: 260 seconds)]
<VLetrmx> gilligan_, nice
sigmundv has quit [(Ping timeout: 248 seconds)]
reinzelmann has quit [(Quit: Leaving)]
<gilligan_> huh.. what is https://riot.im/app/#/room/#nix:matrix.org - never seen that one before o__O
<LnL> gilligan_: awesome
<averell> i'm having trouble installing python36Packages.tensorflow, there is a build error: https://gist.githubusercontent.com/anonymous/8f2b4b4f282d068155d69e85d1c4b510/raw/3687cba3c18836c84864febd738d792d51ebbf72/output.txt the missing package error is random each build.
<averell> anyone know why? or how to debug further? i tried just running bazel build after -K eeping the directory, and it went through...
<gilligan_> LnL, if you spot anything that needs to be corrected let me know hehe
<LnL> probably a parallel build, you could try to disable that
dbmikus has joined #nixos
waleee has joined #nixos
zzamboni has joined #nixos
playX_ has quit [(Quit: Page closed)]
roberth has joined #nixos
zzamboni has quit [(Remote host closed the connection)]
kuznero has quit [(Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)]
<dtzWill> omg i love the spinning nixos snowflake on nixcon website: http://nixcon2017.org/
<dtzWill> (when you hover over it)
<dtzWill> ٩(^ᴗ^)۶
<goibhniu> hi dtzWill, you said you'd be interested in doing a podcast before, is that right?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ylwghst opened pull request #31187: abiword: 3.0.1 -> 3.0.2 (master...abiword) https://git.io/vFnKr
NixOS_GitHub has left #nixos []
<dtzWill> goibhniu: I don't .. think so! But perhaps I said I would be interested in listening to one? Not sure, I don't remember sorry
trevorriles has joined #nixos
<goibhniu> dtzWill: ahh ... maybe that was it :D
<gilligan_> Can anyone tell me something about using S3 as binary cache? It seems like there is some hydra plugin or so.. How about building a binary cache on S3 without hydra?
asuryawanshi has joined #nixos
<LnL> nix copy (or nix-push) has support for s3
<gilligan_> ah, alright
<gilligan_> LnL, nix-push man page doesn't seem to mention that
Neo-- has joined #nixos
asuryawanshi has quit [(Ping timeout: 240 seconds)]
<LnL> hmm, I could be wrong
marzzzello has joined #nixos
<LnL> I've only used it for a local file cache
taktoa has quit [(Remote host closed the connection)]
<gilligan_> alternatively i could leave the files where they are and use nix-serve but when I tried that before that really didn't work very well.. kept on crashing
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ylwghst closed pull request #31187: abiword: 3.0.1 -> 3.0.2 (master...abiword) https://git.io/vFnKr
NixOS_GitHub has left #nixos []
pie_ has quit [(Ping timeout: 252 seconds)]
typeggze1o has quit [(Quit: leaving)]
<dtzWill> wow the goldest of stars to grahamc for this response: https://github.com/NixOS/nixpkgs/issues/31045#issuecomment-341240038
<Profpatsch> LnL: If you say “looks a lot more like nixos” on nix-docker, does that mean it’s possible to generate e.g. a postgresql nixos service into a layer with dockerTools and use that?
<LnL> no the official one is based on alpine so you have busybox binaries in /bin etc.
<dtzWill> (like you can with nixos-container, Profpatsch? Dunno re:using that w/dockerTools, but seems like a thing that'd work maybe O:))
<dtzWill> oh nvm
<Profpatsch> dtzWill: afaik nixos-container stuff is nspawn, right?
<dtzWill> i think so, ya
<dtzWill> machinectl stuff maybe
<dtzWill> too many related things/techs/terms O:)
<Profpatsch> I want to build dockerfiles so people can use it on their dev machine.
<Profpatsch> e.g. a postgres server with dummy data of our application w/ a docker run or similar
<dtzWill> oh I see. dockerTools makes it easy to, for example, throw a postgresql build into a container--but the logic managing it (esp the awesome configuration goodness) from nixos wouldn't be included. Which is fine for simple things...
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] aszlig pushed 1 new commit to master: https://git.io/vFnXk
<NixOS_GitHub> nixpkgs/master 74260a4 aszlig: vim: 8.0.1150 -> 8.0.1245...
NixOS_GitHub has left #nixos []
<Profpatsch> The README looks to me like it’s not based on Alpine
<dtzWill> i suppose shoving enough of nixos in there to get systemd and leverage nixos existing bits is probably overkill/bad idea O:)
<LnL> yeah, my image uses dockerTools so everything comes from nixkgs
<Profpatsch> LnL: Can I put a nixos service like postgresql in there?
<Profpatsch> I don’t necessarily need nix in it, just a nice base to go from nixos module -> docker image with systemd runtime
<LnL> in some cases you might be able to use the perl runner
<LnL> but my image is only useful if you want nix inside of the container
<Profpatsch> Alternatively I can also work with building lxc images.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] pbogdan opened pull request #31191: snes9x-gtk: fix build (master...snes9x-fix-build) https://git.io/vFnXo
NixOS_GitHub has left #nixos []
<gilligan_> Is anyone here using overlays & nixops ? We are currentlys switching our setup to use overlays. The problem is that nixops just looks at NIX_PATH and gets all packages from there. What I want of course it nixops to use my final nixpkgs after applying all overlays - Any thoughts on that?
mizu_no__ has joined #nixos
lo1tuma has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] mulderr opened pull request #31192: nixpkgs manual: add rstudio shell.nix example (master...master) https://git.io/vFn18
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] pbogdan opened pull request #31193: reaverwps-t6x: fix build (master...reaverwps-t6x-fix-build) https://git.io/vFn17
NixOS_GitHub has left #nixos []
drqweryopt has joined #nixos
trevorriles has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
trevorriles has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ylwghst opened pull request #31194: abiword: 3.0.1 -> 3.0.2 (master...abiword) https://git.io/vFnMg
NixOS_GitHub has left #nixos []
<disasm> pierron: ^^ suggestions for gilligan_?
<pierron> disasm: gilligan_: I don't know anything about NixOps. NixOS has an option to specify overlays to be included for each machine configuration. A part from that, I have no better answer.
<woffs> .oO(and how long does it take to build qt5-webengine on YOUR machine?)
pie_ has joined #nixos
<woffs> i686 being dropped sucks a bit
simukis has joined #nixos
drqweryopt has quit [(Ping timeout: 248 seconds)]
<gilligan_> pierron, thank you. I am not entirely sure about the inner workigns of nixops but i should definitely try that..
<Profpatsch> woffs: Yeah, perhaps somebody should create a binary cache for i686
jtojnar has quit [(Quit: jtojnar)]
srdqty has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] pbogdan opened pull request #31195: curl-unix-socket: fix build (master...curl-unix-socket-fix-build) https://git.io/vFny8
NixOS_GitHub has left #nixos []
<woffs> Profpatsch: I just do "nix-build <nixpkgs/nixos> --argstr system i686-linux -I nixos-config=$HOME/git/configuration.nix/my-configuration.nix -I nixpkgs=$HOME/.nix-defexpr/channels/nixos1709 -A system" every now and then on a faster 64bit machine, but it takes several hours when full rebuilds are to be done
<woffs> poor man's hydra ;)
<adisbladis> woffs: I have built qt5-webengine quite a lot of times.. I have started waiting until I go to bed if I see qt5-webengine in the list of builds ;)
olto has quit [(Remote host closed the connection)]
ylwghst has quit [(Quit: Lost terminal)]
ylwghst has joined #nixos
<woffs> adisbladis: ;)
tgunb has quit [(Ping timeout: 240 seconds)]
jtojnar has joined #nixos
olto has joined #nixos
<Profpatsch> qt-webengine: Compiles the blazingly fast build speeds of a massive C++ codebase with those of another massive C++ codebase!
iyzsong has quit [(Ping timeout: 240 seconds)]
mizu_no__ has quit [(Quit: Computer has gone to sleep.)]
MercurialAlchemi has quit [(Ping timeout: 258 seconds)]
orivej has joined #nixos
<disasm> gilligan_: maybe domenkozar might be able to help you further
ssmike has quit [(Ping timeout: 264 seconds)]
<BlessJah> I have written build script for tool. How do I include the result as input for other tool? http://dpaste.com/39VC2JB
asuryawanshi has joined #nixos
asuryawanshi has quit [(Remote host closed the connection)]
pSub has quit [(Quit: No Ping reply in 180 seconds.)]
asuryawanshi has joined #nixos
<domenkozar> nh2[m]: seems like glusterfs rabbit hole is infinite
pSub has joined #nixos
pSub has quit [(Changing host)]
pSub has joined #nixos
cement has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] disassembler closed pull request #31195: curl-unix-socket: fix build (master...curl-unix-socket-fix-build) https://git.io/vFny8
NixOS_GitHub has left #nixos []
waleee has quit [(Quit: WeeChat 1.9.1)]
pie_ has quit [(Ping timeout: 240 seconds)]
erictapen has quit [(Remote host closed the connection)]
ssmike has joined #nixos
erasmas has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joncfoo opened pull request #31197: Fix nix-shell command example in python docs (master...patch-1) https://git.io/vFn7N
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Lassulus opened pull request #31198: nixos/test-instrumentation: take DISPLAY from system-config (master...test-display) https://git.io/vFn7A
NixOS_GitHub has left #nixos []
erictapen has joined #nixos
Isorkin has quit [(Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org)]
emiLio_esfoobar has quit [(Ping timeout: 248 seconds)]
ssmike has quit [(Remote host closed the connection)]
ssmike has joined #nixos
leat has quit [(Quit: WeeChat 1.9.1)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 2 new commits to master: https://git.io/vFndI
<NixOS_GitHub> nixpkgs/master 1f379ed Piotr Bogdan: snes9x-gtk: fix build
<NixOS_GitHub> nixpkgs/master 1b4f86a Orivej Desh: Merge pull request #31191 from pbogdan/snes9x-fix-build...
NixOS_GitHub has left #nixos []
seville has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 2 new commits to master: https://git.io/vFndm
<NixOS_GitHub> nixpkgs/master 16c6927 Piotr Bogdan: reaverwps-t6x: fix build
<NixOS_GitHub> nixpkgs/master 4762689 Orivej Desh: Merge pull request #31193 from pbogdan/reaverwps-t6x-fix-build...
NixOS_GitHub has left #nixos []
notdaniel has joined #nixos
<nh2[m]> domenkozar: truly so
ssmike has quit [(Ping timeout: 255 seconds)]
Sonarpulse has joined #nixos
emiLio_esfoobar has joined #nixos
joncfoo has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 9 new commits to staging: https://git.io/vFnFG
<NixOS_GitHub> nixpkgs/staging 14d3a7d Joerg Thalheim: python.pkgs.urwid: fix tests
<NixOS_GitHub> nixpkgs/staging 9d8cc4f Joerg Thalheim: python.pkgs.hyperframe: 4.0.1 -> 5.1.0
<NixOS_GitHub> nixpkgs/staging fd261ee Joerg Thalheim: python.pkgs.h2: 2.5.1 -> 3.0.1
NixOS_GitHub has left #nixos []
mizu_no__ has joined #nixos
<seville> Hi, anyone here use i3wm with their nixos?
<LnL> yep
digitus has joined #nixos
<seville> How'd ya manage your i3/config then?
<Mic92> in my home
<LnL> with environment.etc
ThatDocsLady has quit [(Quit: Leaving)]
asuryawa_ has joined #nixos
<seville> LnL, Same, so `environment.etc."i3/config".text = import ./i3.nix;` would be correct usage?
asuryawa_ has quit [(Remote host closed the connection)]
<Mic92> seville: only if i3.nix returns a nix string
asuryawanshi has quit [(Read error: Connection reset by peer)]
asuryawanshi has joined #nixos
<eacameron> If I have a systemd process running as user X, should I create that user as a normal user or system user?
<seville> Mic92, Yeah I pretty much just defined it as a `let in ''<i3 config stuff''` string. Asking because I wanna make sure I understand how user configs are handled in nix
<freeman42x> anyone know what is the Nix equivalent for `build-essential` ?
<Mic92> freeman42x: there is no meta-package for that.
<freeman42x> it is not `stdenv` ?
<Mic92> stdenv maybe, but build-essential includes more afaik
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 2 new commits to master: https://git.io/vFnNM
<NixOS_GitHub> nixpkgs/master 8ee4a36 mimadrid: xarchiver: 0.5.4.7 -> 0.5.4.12...
<NixOS_GitHub> nixpkgs/master 1729e9e Orivej Desh: Merge pull request #31186 from mimadrid/update/xarchiver-0.5.4.12...
NixOS_GitHub has left #nixos []
<CrazedProgrammer> eacameron: a system user
<freeman42x> I'm using Haskell Stack and it keeps needing things to do its work: make, now gcc,..
<freeman42x> I'd rather just install something that provides all required build tools for it
mizu_no__ has quit [(Quit: Computer has gone to sleep.)]
<eacameron> CrazedProgrammer: Can I run commands *as* that user? I want that user to connect to PG DB via `peer`
<freeman42x> Mic92: I'll try `stdenv`, hopefully that covers the Stack needs. I don't get why the Nix Stack package actually installed those as dependencies
ma27 has quit [(Ping timeout: 246 seconds)]
freusque has quit [(Quit: WeeChat 1.7.1)]
<freeman42x> *didn't install those as dependencies
<CrazedProgrammer> eacameron: yes, you can do `sudo -u <user> <command>` which will run the command as the user. if you meant running commands as a systemd service, here are a couple of examples: https://github.com/CrazedProgrammer/nix/blob/master/server/services.nix
ertes-w has quit [(Ping timeout: 255 seconds)]
<eacameron> CrazedProgrammer: Thanks!
<CrazedProgrammer> np :)
<orivej> Is there something like `nix why-depends pkg dep` that can tell why the build of pkg depends on dep? (nix why-depends tells this about the runtime closure, and hence needs to build the pkg to answer this query)
<eacameron> CrazedProgrammer: When I do that command it says "This user is currently not available". Do I need to give it a password?
S0rin has quit [(Ping timeout: 264 seconds)]
<eacameron> CrazedProgrammer: The user is listed in `/etc/passwd`
ma27 has joined #nixos
asuryawa_ has joined #nixos
<CrazedProgrammer> eacameron: that's strange, try logging out and back in
S0rin has joined #nixos
<eacameron> CrazedProgrammer: Same! Hmm... I have mutableUsers = false
seville has quit [(Ping timeout: 240 seconds)]
<Lisanna_> I'm running nix-prefetch-git in a loop to iterate over multiple refs, and it's pretty slow, since it's re-cloning the repo every time... is there a faster way to do this, other than manually git clone && nix-hash ?
mekeor has quit [(Quit: digital revolution = cryptoanarchism + cybercommunism)]
<CrazedProgrammer> eacameron: me too. here are my (system) users which work fine: https://github.com/CrazedProgrammer/nix/blob/master/server/users.nix
asuryawanshi has quit [(Ping timeout: 246 seconds)]
<CrazedProgrammer> are you sure you have sudo rights?
<nliadm> Lisanna_: I think those are your options. you might be able to use git archive in a pipeline from a manual clone to make it suck less?
endformationage has joined #nixos
<Lisanna_> nliadm: the main reason doing it manually with nix-hash is because the hashing method for fetchgit might change in the future, and if it does, nix-prefetch-git will also presumably change with it, but the manual method will not
<Lisanna_> the main reason doing it manually sucks*
asuryawa_ has quit [(Ping timeout: 260 seconds)]
<orivej> Lisanna_: I have not tried this, but another option is git clone && nix-prefetch-git ./path or file://path
<eacameron> CrazedProgrammer: I'm running as root
<eacameron> Also my user doesn't have a home
<eacameron> Could that be it.
<eacameron> It's just `users.users.myappuser.isSystemUser = false;`
erictapen has quit [(Ping timeout: 260 seconds)]
asuryawanshi has joined #nixos
<CrazedProgrammer> try users.extraUsers instead of users.users
<eacameron> I think they `extraUsers` is just an alias.
<CrazedProgrammer> hmmm
<eacameron> I'll try adding a home.
ma27 has quit [(Read error: Connection timed out)]
Itkovian has joined #nixos
jensens has quit [(Ping timeout: 255 seconds)]
ison111 has joined #nixos
Itkovian has quit [(Client Quit)]
seville has joined #nixos
seville has left #nixos []
FRidh has quit [(Quit: Konversation terminated!)]
lo1tuma has quit [(Quit: Page closed)]
roberth has quit [(Ping timeout: 258 seconds)]
<sphalerite> Does anyone know why kexec -e might work fine while systemctl kexec doesn't?
_rht has quit [(Quit: Connection closed for inactivity)]
<sphalerite> I've disabled prepare-kexec.service
Itkovian has joined #nixos
<sphalerite> clever, you know stuff about kexec right?
hellrazor has joined #nixos
<bgamari> Sonarpulse, How are things?
<cbarrett> watching talks from nixcon. how can i help with triaging issues, I’d like to get involved
Mateon1 has quit [(Ping timeout: 258 seconds)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
trevorriles has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
b0f0 has joined #nixos
Mateon1 has joined #nixos
<goibhniu> cbarrett: that would be super-helpful! You can try to reproduce issues, and label them appropriately, if you find out more information you can also add helpful comments, e.g. check if there's a newer version available etc.
<goibhniu> cbarrett: it would be good to go through issues that have no comments at all
<cbarrett> Awesome. Seems like a good candidate for a wiki page if there isnt one already
<cbarrett> including links to GH queries
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Gabriel439 closed pull request #30399: `NIX_PATH`-free `nixpkgs` (master...gabriel/nixpath_free_nixpkgs) https://git.io/vdXyI
NixOS_GitHub has left #nixos []
gilligan_ has quit [(Quit: Leaving)]
ertes has joined #nixos
nschoe has quit [(Quit: Program. Terminated.)]
jgertm has joined #nixos
leat has joined #nixos
mbrgm has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
damke_ has joined #nixos
damke has quit [(Ping timeout: 240 seconds)]
acowley_away is now known as acowley
trevorriles has joined #nixos
<acowley> I have an installPhase for a cmake-using package that ends with: "-- Installing: /nix/store...\n rm: missing operand\nTry 'rm --help' for more information." Does anyone have any suggestions as to how I can track down where this `rm` is coming from?
emiLio_esfoobar has quit [(Ping timeout: 240 seconds)]
<acowley> orivej: Unfortunately this is on darwin. I was wondering if anyone familiar with cmake builds might recognize the "-- Installing" tag and know about any default/typical cleanup actions that might be going awry.
playX has joined #nixos
<Dezgeg> maybe grep for 'rm' in the package's cmake files in case it's from there...
<playX> Hello everyone, i just installed nixos and want to add unfree pkgs, but when i type nixos-rebuild swith i have error, just look at image https://imgur.com/a/I7wfA
hellrazo1 has joined #nixos
emiLio_esfoobar has joined #nixos
<sphalerite> playX: remove the braces around the line
<acowley> Dezgeg: That's the sort of thing I've tried
<acowley> Dezgeg: But I can't find it
<LnL> acowley: cmake is so confusing
<acowley> LnL: This is particularly painful because it happens as the final step of quite a long build and install, and it's almost certainly unnecessary cleanup of temporary build artifacts.
<playX> Thanks, now it's working
<acowley> LnL: But I can't find an `rm`, although various cmake files do define an `RM` command... and then don't use it. So I've got a surplus of red herrings here.
hellrazor has quit [(Ping timeout: 255 seconds)]
<Dezgeg> maybe set -x just in case it's not coming from cmake but some setup hook
<acowley> Ah, yes! That's a good idea
<acowley> How do I do that again? LnL has tried to teach me.
<LnL> acowley: there was something similar with chmod in a package recently, but somebody else fixed it
<Dezgeg> maybe preInstall = "set -x"; or smth
yegortimoshenko has joined #nixos
<acowley> Is there a way I could do this in a nix-shell where the installPhase is currently just past the error?
<acowley> Maybe I could avoid rebuilding everything
<acowley> It takes 1-2 hours to do the build, so iterating on it is painful
<LnL> can't you --keep-failed and run the install part again in a nix-shell
python476 has quit [(Ping timeout: 248 seconds)]
playX has quit [(Ping timeout: 260 seconds)]
<acowley> Oh geese, it literally is "set -x"
<acowley> I thought that was a pseudo-hand-wave
notdaniel has quit [(Quit: Leaving)]
<acowley> That is such a great feature
<acowley> Hah! It's qt
<acowley> Garglebargle, that stuff is so complicated
<acowley> I've spent way more time wrestling with nix building qt things than I have using qt things
python476 has joined #nixos
<acowley> It does a find piped into an xargs rm
Judson has joined #nixos
<acowley> Making that an `rm -f` would fix this, wouldn't it?
playX has joined #nixos
<copumpkin> why not -delete?
Judson is now known as Guest61875
<acowley> That's an xargs flag?
<nliadm> find
<Dezgeg> or xargs -r (--no-run-if-empty)
ckauhaus has quit [(Quit: Leaving.)]
<Dezgeg> but yeah, find -delete probably would be best
<acowley> Oh, probably because the author is like me and doesn't like those flags to find for self-defeating Unix philosophy reasons
<playX> why nix don't want install steam, i removed braces in { nixpkgs.config.allowUnfree = true; } and typed nixos-rebuild switch, when i rebooted nix says that https://imgur.com/a/KtpfX
<ArdaXi[m]> playX: You're using nix-env, you'll want the bit that starts with "for nix-env"
<playX> ok, thanks
<acowley> Thank you so much Dezgeg and LnL for making set -x work and patiently reminding me about it more often than should be necessary
<LnL> :)
__Sander__ has quit [(Quit: Konversation terminated!)]
mbrgm has joined #nixos
<acowley> Now I get to rebuild qtbase /and/ the thing I'm trying to build. Need to overclock my darwin build farm (i.e. old mbp).
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #31197: Fix nix-shell command example in python docs (master...patch-1) https://git.io/vFn7N
NixOS_GitHub has left #nixos []
hellrazo1 has quit [(Ping timeout: 260 seconds)]
hotfuzz has quit [(Quit: WeeChat 1.9.1)]
marzzzello has quit [(Quit: bb)]
goibhniu has quit [(Ping timeout: 240 seconds)]
marzzzello has joined #nixos
jluttine has quit [(Quit: WeeChat 1.9.1)]
<woffs> webengine build is finished! now haskell stuff.
jluttine[m] is now known as jluttine
Isorkin has joined #nixos
erictapen has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to master: https://git.io/vFcq9
<NixOS_GitHub> nixpkgs/master 5c4352f Frederik Rietdijk: Python docs: fix quotes PR #31197
NixOS_GitHub has left #nixos []
<mbrgm> hey! are there concepts to have a more dynamic (e.g. autoscaling) deployment using nixos/nixops?
<copumpkin> so NixOS (minus the ops) supports AWS userdata-based config
<copumpkin> you can just stick your configuration.nix into userdata for your autoscaling group and the machines will reconfigure themselves at startup
playX has quit [(Quit: Page closed)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] gnidorah opened pull request #31201: sway module: setcap binary, not wrapper (master...sway) https://git.io/vFcYC
NixOS_GitHub has left #nixos []
<edef> or you can build an AMI and use that for your ASG
yegortimoshenko has quit [(Ping timeout: 255 seconds)]
<ArdaXi[m]> Do Nix-built AMIs also support userdata?
lfish has joined #nixos
<edef> nixos/modules/virtualisation/ec2-data.nix, I think?
<edef> which nixos/modules/virtualisation/amazon-image.nix includes
<lfish> hello, I have a problem with error messages, for example "$nix-env -i alex" returns "error: selector â matches no derivation". I get â or  instead of the offending expression with every nix tool
<lfish> I'm on nixos, have already run nix-store --verify --check-contents --repair, and have no idea as to what can be causing that behaviour
<ArdaXi[m]> I really wish I could convince $workplace to go NixOS
<srhb> lfish: Looks like your shell is messed up.. There is no "alex" top level derivation though. Do you mean the haskell lexer? If so, check haskellPackages
<srhb> lfish: that is, nix-env -iA nixos.haskellPackages.alex
<lfish> that was just an example to reproduce the error, the idea is that error messages are messed up
<srhb> lfish: Ah, okay.
<srhb> lfish: Is it reproducible in a completely clean shell environment?
<woffs> lfish: what is the output of echo $LANG
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #31173: mkPythonDerivation: let name default to ${pname}-${version} (master...python-implicit-name) https://git.io/vFZNd
NixOS_GitHub has left #nixos []
<lfish> en_Us.UTF-8
srhb has quit [(Quit: Quit)]
<nh2[m]> domenkozar: I think I found a problem with nixops keys. It seems to upload the files in a non-atomic fashion. My glusterfs startup sometimes fails, complaining that the the SSL privkey used doesn't have a proper header (most likely it's empty, and a few milliseconds after that, it actually gets its contents). the "...-key" inotify-based service exits as soon as the file exists, doesn't wait until the contents are up
srhb has joined #nixos
c0bw3b has joined #nixos
<nh2[m]> domenkozar: http://patchlog.com/patches/atomic-scp-and-sftp-upload/ says "There's no way of knowing when the files have been fully transferred, both sftp and scp would create the files as soon as the transfer begins and will close then when it finishes"
<freeman42x> > freeman42x: isn't https://nixos.org/nixpkgs/manual/#how-to-build-a-haskell-project-using-stack sufficient? Nixpkgs manual Nixpkgs NixOS Nix NixOps Nixpkgs Hydra Disnix Download Manual Nixpkgs Contributors Guide Version 17.09.1971.937ea32f1f
<freeman42x> The issue I was having was that I had `enabled: true` instead of `enable: true` 😞 oh boy haha, so it was not using Nix
<lfish> woffs: I get the same error messages unsetting LANG, and setting it to something else
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 2 new commits to release-17.09: https://git.io/vFc3H
<NixOS_GitHub> nixpkgs/release-17.09 ee2f36c Tim Steinbach: kubernetes: 1.7.1 -> 1.7.8...
<NixOS_GitHub> nixpkgs/release-17.09 7de5e79 Tim Steinbach: kubernetes: 1.7.8 -> 1.7.9...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 2 new commits to staging: https://git.io/vFc3d
<NixOS_GitHub> nixpkgs/staging 9711aac Orivej Desh: nixUnstable: rename to nix-unstable
<NixOS_GitHub> nixpkgs/staging 2c822b1 Frederik Rietdijk: Merge pull request #30880 from orivej/nix-unstable...
NixOS_GitHub has left #nixos []
<woffs> lfish: and $TERM?
<lfish> woffs: xterm-color
lfish_ has joined #nixos
<woffs> what kind of terminal? seems your terminal is configured to use ISO-8859-1 when it should use UTF-8
<nh2[m]> domenkozar: filed as https://github.com/NixOS/nixops/issues/762
S0rin has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 1 new commit to master: https://git.io/vFcs2
<NixOS_GitHub> nixpkgs/master a9a26d9 Tim Steinbach: hipchat: 4.29.4.1662 -> 4.30.0.1663
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 1 new commit to release-17.09: https://git.io/vFcs7
<NixOS_GitHub> nixpkgs/release-17.09 9ab2ca7 Tim Steinbach: hipchat: 4.29.4.1662 -> 4.30.0.1663...
NixOS_GitHub has left #nixos []
<lfish_> woffs: I get the correct error in rxvt, I'll check the configuration, thank you
lfish has quit [(Ping timeout: 260 seconds)]
<woffs> lfish_: try echo $'\xe2\x98\xba' ☺
S0rin has joined #nixos
jgertm has quit [(Ping timeout: 240 seconds)]
damke_ has quit [(Ping timeout: 240 seconds)]
Neo-- has quit [(Ping timeout: 252 seconds)]
lfish has joined #nixos
lfish_ has quit [(Ping timeout: 260 seconds)]
<cement> either I'm really really bad at nix, or it seems to me that even the slightest change to a .nix file invariably results in multiple failures
jgertm has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] benley opened pull request #31202: keybase service: Turn off debug logging (master...keybase-debug-log) https://git.io/vFccZ
NixOS_GitHub has left #nixos []
<c0bw3b> what is a textbook case of a mono app build with Nix magic ?
<c0bw3b> *built
<c0bw3b> nliadm : yes looks like a good start, thanks!
ylwghst has quit [(Ping timeout: 255 seconds)]
erictapen has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] mimadrid opened pull request #31203: zstd: 1.3.0 -> 1.3.2 (master...update/zstd-1.3.2) https://git.io/vFcCd
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] mimadrid opened pull request #31204: zsh-completions: 0.26.0 -> 0.27.0 (master...update/zsh-completions-0.27.0) https://git.io/vFcWf
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] mimadrid opened pull request #31205: zsh-syntax-highlighting: 0.5.0 -> 0.6.0 (master...update/zsh-syntax-highlighting-0.6.0) https://git.io/vFcWk
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 3 new commits to master: https://git.io/vFcWM
<NixOS_GitHub> nixpkgs/master 525380b c0bw3b: treewide: abandon Google Code homepages
<NixOS_GitHub> nixpkgs/master 4ccf05b Orivej Desh: qtscriptgenerator: enable parallel building
<NixOS_GitHub> nixpkgs/master 43d4ebb Orivej Desh: Merge pull request #30846 from c0bw3b/pkg/Gcode...
NixOS_GitHub has left #nixos []
ahstro has joined #nixos
S0rin has quit [(Ping timeout: 248 seconds)]
<ahstro> Anyone know how to install Firefox Developer Edition in NixOS?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #31204: zsh-completions: 0.26.0 -> 0.27.0 (master...update/zsh-completions-0.27.0) https://git.io/vFcWf
NixOS_GitHub has left #nixos []
<srhb> ahstro: Mozilla provides a nixpkgs overlay, I wonder if it's included there?
<srhb> (I'm not sure what "developer version" really is)
<ahstro> srhb: It is, but it also seems to be part of official nixpkgs, I just don't know how to get to it...
<srhb> ahstro: Can you point me at it? Then I can probably show you how to get it :)
<ahstro> There's a devedition_sources.nix file in there and mention of devedition in default.nix :)
yegortimoshenko has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #31205: zsh-syntax-highlighting: 0.5.0 -> 0.6.0 (master...update/zsh-syntax-highlighting-0.6.0) https://git.io/vFcWk
NixOS_GitHub has left #nixos []
<srhb> ahstro: top-level/all-packages.nix defines a firefox-devedition-bin that points there.
<srhb> ahstro: In other words, that's the attribute name you should use to install it :)
mbrgm has quit [(Ping timeout: 252 seconds)]
<ahstro> srhb: Thanks! That was.. super simple! I didn't see it in the output of `nix-env -qaP`, which I read would show available packages
<srhb> ahstro: That's strange, nix-env -qaP | grep firefox-devedition does show it for me
<woffs> git grep is my friend :)
<srhb> and grep thing pkgs/top-level/all-packages.nix ^^
MP2E has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 1 new commit to master: https://git.io/vFcl2
<NixOS_GitHub> nixpkgs/master 930414e Orivej Desh: arora: use fetchFromGitHub
NixOS_GitHub has left #nixos []
ahstro_ has joined #nixos
datakurre has joined #nixos
<ahstro_> Well, I saved the output of `nix-env -qaP` a week or so ago, so maybe it's been added since?
<ahstro_> Nope, still not there
<srhb> ahstro_: Nope.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 2 new commits to master: https://git.io/vFclS
<NixOS_GitHub> nixpkgs/master 8e982d5 mimadrid: zstd: 1.3.0 -> 1.3.2
<NixOS_GitHub> nixpkgs/master 3463add Orivej Desh: Merge pull request #31203 from mimadrid/update/zstd-1.3.2...
NixOS_GitHub has left #nixos []
ahstro has quit [(Ping timeout: 260 seconds)]
TweyII has quit [(Ping timeout: 260 seconds)]
S0rin has joined #nixos
<srhb> Strange, it's marked as unfree..
datakurre has quit [(Client Quit)]
<woffs> https://nixos.org/nixos/packages.html does not find it
<srhb> woffs: Because of unfree
<srhb> Or perhaps just a missing license attribute? Not sure how that defaults.
ylwghst has joined #nixos
datakurre has joined #nixos
<srhb> Oh, right.
<srhb> The firefox trademark.
* srhb facepalms
mbrgm has joined #nixos
<srhb> So that affects all the binary versions.
<woffs> The Salmon Mousse ;)
datakurre has quit [(Client Quit)]
datakurre has joined #nixos
<ahstro_> srhb: Huh, strange
<srhb> ahstro_: You can enable allowUnfree in ~/.config/nixpkgs/config.nix to make it show up
<ahstro_> srhb: Cool, thanks :)
<srhb> Do we have explicit permission to alter the binaries? Or is patchelf not considered "altering" ?
<srhb> Seems fishy.
davidak1 has quit [(Ping timeout: 248 seconds)]
<srhb> I suppose we're not actuall distributing "modified" so I guess it's fine :-P
ahstro has joined #nixos
<srhb> woffs: Thanks for that, I hadn't seen that sketch :P
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dezgeg pushed 2 new commits to master: https://git.io/vFc4R
<NixOS_GitHub> nixpkgs/master d2717a5 Tuomas Tynkkynen: ethtool: 4.11 -> 4.13
<NixOS_GitHub> nixpkgs/master 78eaae0 Tuomas Tynkkynen: vim: 8.0.1245 -> 8.0.1257
NixOS_GitHub has left #nixos []
<woffs> :-)
ahstro_ has quit [(Ping timeout: 260 seconds)]
<srhb> woffs: ffsl is not labelled unfree in lib/licenses.nix
<woffs> srhb: I have inserted it there ;)
ahstro has quit [(Client Quit)]
<srhb> oh. :P
ahstro has joined #nixos
<joepie91> woffs: it certainly violates the Open-Source Definition
<joepie91> and is therefore not an open-source license
<joepie91> how that relates to NixOS' definition of "free", I'm unsure
<woffs> because it is forbidden to sell derivatives commercially?
<sphalerite> There's a definition?
<sphalerite> woffs: yes
<joepie91> actually, let me double-check that
<joepie91> sphalerite: yeah, https://opensource.org/osd-annotated
<joepie91> has been for a long time :)
<sphalerite> joepie91: I mean for nixos :p
<joepie91> oh
<joepie91> then idk :P
<woffs> feel free to label it unfree, if you think it should.
<sphalerite> /nixpkgs
<srhb> sphalerite: NixOS (the organization) ? :-)
<srhb> So many Nix-named things we even overload the *specific* words.
<joepie91> woffs: yeah, it's violating the OSD, as it discriminates by usecase
lfish has quit [(Ping timeout: 260 seconds)]
<joepie91> and disallows sale of derivative works, which I don't think is allowed either
<joepie91> so not open-source, and I suspect it's not "Free" (in the freedom sense) either
<joepie91> this seems like a misleading license name at best...
<srhb> The license itself is CC BY-SA though, so we can just fix that, right?
<srhb> (kidding, of course)
<joepie91> ha
<ArdaXi[m]> This is a bit more complicated, I think. The spirit of that rule is, I believe, to forbid people from requiring a fee to redistribute software
<ArdaXi[m]> What would CC-NC be then?
<c0bw3b> it's not even referenced on spdx.org
<mbrock> here's a Nix shoutout and a bit of unexpected applause for Nix at the Ethereum developer conference earlier today :) https://youtu.be/k42YNyvG8CU?t=1h34m51s
<ArdaXi[m]> OSI doesn't mention CC-BY or CC-BY-SA even though I'm pretty sure those qualify
<joepie91> ArdaXi[m]: CC licenses are generally not recognized as being suitable for code/software
<joepie91> which might be why
<srhb> mbrock: Nice analogy in that crowd too :)
roberth has joined #nixos
Fare has joined #nixos
<ArdaXi[m]> joepie91: Sure, but they don't violate any of the OSD
<joepie91> ArdaXi[m]: the OSI list is not complete :)
<ArdaXi[m]> Except for the No Derivatives version… and the No Commercial we're curious about
<joepie91> NC definitely violates OSD
<joepie91> ArdaXi[m]: another license that complies with the OSD but is not on the OSI list is the WTFPL for example
<joepie91> there's a few others that aren't on the list but considered compliant
<joepie91> afaik the intention of the OSI list was never to make it a complete list
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vbgl pushed 2 new commits to master: https://git.io/vFcBM
<NixOS_GitHub> nixpkgs/master ee23541 Vincent Laporte: ocamlPackages.ocaml_expat: 0.9.1 -> 1.0.0
<NixOS_GitHub> nixpkgs/master 0eb284b Vincent Laporte: alt-ergo: remove constraint on OCaml version
NixOS_GitHub has left #nixos []
<ArdaXi[m]> They seem to disagree: https://opensource.org/faq#unlisted-licenses
<mbrock> srhb: yeah, nixpkgs as a Merkle root for your whole computer, should make sense to blockchain people :)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 4 new commits to master: https://git.io/vFcRe
<NixOS_GitHub> nixpkgs/master cc95949 Yellow Ghost: abiword: 3.0.1 -> 3.0.2
<NixOS_GitHub> nixpkgs/master 100583c Yellow Ghost: abiword: 3.0.1 -> 3.0.2
<NixOS_GitHub> nixpkgs/master da793b2 Yellow Ghost: abiword: 3.0.1 -> 3.0.2
NixOS_GitHub has left #nixos []
<ArdaXi[m]> I'm pretty sure using the WTFPL is discouraged as well, because it doesn't have a great legal foundation
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to release-17.09: https://git.io/vFcRc
<NixOS_GitHub> nixpkgs/release-17.09 3870fa6 Yellow Ghost: abiword: 3.0.1 -> 3.0.2...
NixOS_GitHub has left #nixos []
<joepie91> ArdaXi[m]: discouraged by whom? a limited amount of people have made claims about "not having a great legal foundation", but I have yet to see actual concrete reasons for that, and several other legal professionals have reviewed it and found no issue with it
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #31166: ngspice: Build shared library (master...libngspice) https://git.io/vFZDG
NixOS_GitHub has left #nixos []
<joepie91> as far as I can tell, it boils down to "it doesn't sound serious enough"
<ArdaXi[m]> Which is an actual issue
<joepie91> how is it?
<ArdaXi[m]> Open-source licenses grant specific rights
<ArdaXi[m]> With the WTFPL, you open yourself up to interpretation as to "whatever the fuck you want" actually means
<joepie91> how is that open to interpretation? seems pretty clear to me
<ArdaXi[m]> You can't actually give rights to someone to do "whatever they want" in most jurisdictions
<ArdaXi[m]> So there are exceptions, which means, in a court of law, you're going to have a fun discussion about what all those exceptions are
<ArdaXi[m]> This is all extremely theoretical and the domain of lawyers until it comes to an actual court case, and even then you've only narrowed it down to one jurisdiction
jb55 has joined #nixos
jb55 has quit [(Client Quit)]
<joepie91> seems pretty obvious to me - whichever things you couldn't grant in the first place
<joepie91> like, I am well aware that there are fuzzy "well, what COULD happen..." claims around all sorts of licenses (not just the WTFPL) but nobody has ever been able to make any of those claims plausible as far as I've seen
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vFc0n
<NixOS_GitHub> nixpkgs/master 10169cc Fatih Altinok: yarn: 1.2.1 -> 1.3.2
<NixOS_GitHub> nixpkgs/master 8dc6338 Jörg Thalheim: Merge pull request #31183 from frontsideair/yarn-1.3.2...
NixOS_GitHub has left #nixos []
Lisanna_ has quit [(Ping timeout: 260 seconds)]
ertes has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] afrepues opened pull request #31206: gitlab: 10.0.2 -> 10.0.4 (master...gitlab-10.0.4) https://git.io/vFcER
NixOS_GitHub has left #nixos []
<ArdaXi[m]> There's some background here: https://opensource.org/faq#public-domain
<ArdaXi[m]> Particularly liability is an issue
<ArdaXi[m]> They link to a bunch of interesting debate there
* dmj` wishes ghc 6.x worked with ghcWithPackages
vcunat has joined #nixos
<Sonarpulse> bgamari: hey!
<Sonarpulse> nixcon went well
<bgamari> awesome
<Sonarpulse> I've been working on rebasing my prs
<Sonarpulse> so sorry I did see yours, and it's great!
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/9ab2ca734b (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
<Sonarpulse> but haven't combed through line by line yet
nix-gsc-io`bot has quit [(Client Quit)]
<bgamari> Sonarpulse, sure, quite alright
MichaelRaskin has joined #nixos
<bgamari> I ran into some trouble but I've forgotten precisely what
<Sonarpulse> haha ok
drakonis has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to release-17.09: https://git.io/vFcuF
<NixOS_GitHub> nixpkgs/release-17.09 1d3ba19 Jörg Thalheim: Merge #31143: libdwarf: 20161124 -> 20170709...
NixOS_GitHub has left #nixos []
<bgamari> Sonarpulse, ahh, right
<bgamari> I am trying to build a native ARM gcc with my cross compiler
<bgamari> but getting GCC's build system to use the right compilers/libcs at the right points seems to be a challenge
zzamboni has joined #nixos
<Sonarpulse> bgamari: oh!
<Sonarpulse> yeah that broken
<Sonarpulse> *broke
<Sonarpulse> last summer
<bgamari> oh?
<Sonarpulse> after I got rid of the old cross wrapper
<Sonarpulse> :/
<bgamari> at the moment I have,
<bgamari> #include_next <stdlib.h>
<bgamari> bah
<bgamari> /nix/store/qkzr8h5jgmj7p10rvwiwf9g8cmyp06k0-gcc-6.4.0/include/c++/6.4.0/cstdlib:75:25: fatal error: stdlib.h: No such file or directory
<bgamari> from x86_64-unknown-linux-gnu-g++
<Sonarpulse> any idea what the earlier errors you faced were?
<Sonarpulse> I am wondering whether the first one was the one I had
tanonym has joined #nixos
<bgamari> which one? :)
__Sander__ has joined #nixos
b0f0 has quit [(Quit: WeeChat 1.9.1)]
<bgamari> Sonarpulse, so I take it you know why it broke?
<Sonarpulse> bgamari: sorry
<Sonarpulse> maybe I can find the hydra log
<Sonarpulse> but something about "linking tests when we shouldn't be"
<Sonarpulse> IRC
<Sonarpulse> IIRC
<Sonarpulse> and no, I don't know why, sadly :(
<bgamari> alas
Ivanych has quit [(Ping timeout: 260 seconds)]
<bgamari> otherwise I think I have everything necessary for a minimal linux system cross compiled
<bgamari> I tried working out how to build a small nixos image
<bgamari> but ran out of time
<bgamari> it seems not to be entirely easy
<Sonarpulse> bgamari: ah so close!
<Sonarpulse> well I am definitely intersted in figuring that out
<Sonarpulse> and getting to that milestone
<bgamari> it seems it ought to be doable
<bgamari> not-os is a good model
taktoa has joined #nixos
<Sonarpulse> bgamari: ah glad you saw that
<bgamari> but if my knowledge of nixpkgs is narrow then my knowledge of nixos is razor thin
<Sonarpulse> heh same ratio here
<Sonarpulse> chromium seemingly dropped my history
<Sonarpulse> so one sec let me dredge it up
zzamboni has quit [(Remote host closed the connection)]
ylwghst has quit [(Ping timeout: 260 seconds)]
<Sonarpulse> ok that is a less informative error than I remebered
<Sonarpulse> is where it came from
<samueldr> Sonarpulse: use raw, which links to the proper cache
<bgamari> hmm
<samueldr> or hm
<samueldr> sorry
<samueldr> never realized
<samueldr> that I had to whitelist amazon
<samueldr> disregard me
<bgamari> Sonarpulse, well, I think I got a bit farther than that
<bgamari> but not much
gfixler has joined #nixos
<Sonarpulse> bgamari: was this with the _FOR_BUILD env vars/
<Sonarpulse> *?
<bgamari> yes
<Sonarpulse> ah ok
<Sonarpulse> that should help yes
ylwghst has joined #nixos
<gfixler> Are Lethalman's Nix Pill posts still relevant? The first one is from 2014.
<Sonarpulse> gfixler: they have been converted
<gfixler> Sonarpulse: in-place?
<sphalerite> gfixler: they're maintained as official docs on the website jow
<sphalerite> Now*
<gfixler> Oh, so I should just read the official docs?
<gfixler> Excellent - glad I asked.
<bgamari> Sonarpulse, this is how it falls over: https://gist.github.com/bgamari/396f86d489068b28192a42cd0c01b0fb
<srhb> gfixler: https://nixos.org/nixos/nix-pills/ here's the build.
<gfixler> Thanks!
* bgamari doesn't know what #include_next is
<Sonarpulse> bgamari: have you seen the builder script for gcc?
<Sonarpulse> it's really...arbitrary
<sphalerite> bgamari: it's a nasty hack for overriding headers
<Sonarpulse> my idea was to try replacing that
<bgamari> no actually
<bgamari> ahh
<bgamari> sounds plausible
orivej has quit [(Ping timeout: 260 seconds)]
<Sonarpulse> bgamari: it would take a little hacking to avoid a mass rebuild every time
<bgamari> yes, this is much... longer than I would have expected
<bgamari> yeah
<Sonarpulse> i.e. just changing the derivation for the cross, not native
<bgamari> I wish there were an easy way to freeze some sets of packages
<Sonarpulse> I can help you with that if you like
<Sonarpulse> yeah
<Sonarpulse> that would be nice
<bgamari> Sonarpulse, that would be helpful
M1k3y has joined #nixos
<LnL> I sometimes copy-paste package folder and work on that
<LnL> if it's part of the stdenv
<bgamari> what is the rough gist of it?
<bgamari> LnL, yeah, that's likely what I would try
<M1k3y> Hello. Is it possible to write a nix expression that gets ignored when running from the live cd?
<Sonarpulse> bgamari: copy paste could work
<Sonarpulse> or changing the cross stdenv changes
<sphalerite> Anyone know a text-based (as in, will run in a terminal) tool for navigating a graph? Specifically I want to be able to navigate dependency graphs for nix derivations and other store paths.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 1 new commit to master: https://git.io/vFcae
<NixOS_GitHub> nixpkgs/master 94043f5 Franz Pletz: zfs: 0.7.2 -> 0.7.3...
NixOS_GitHub has left #nixos []
<Sonarpulse> bgamari: ok yeah this is more complicated than I thought with the weird libc bootstrapping, I'd just copy
<bgamari> Sonarpulse, alright, thanks!
<Sonarpulse> sphalerite: that would be nice!
<Sonarpulse> bgamari: thank you!
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] svanderburg pushed 1 new commit to master: https://git.io/vFcat
<NixOS_GitHub> nixpkgs/master 5e563ae Sander van der Burg: node2nix: 1.3.0 -> 1.4.0 + regenerate packages
NixOS_GitHub has left #nixos []
<sphalerite> Just had a really hacky idea - since it's a tree I could turn it into a directory tree and navigate it using some file browser. But oh goodness the hackiness.
<Sonarpulse> beating me to my own to do list :)
<nliadm> yeah, 9p lives
<nliadm> everything's a filesystem
<sphalerite> M1k3y: what do you mean?
<sphalerite> nliadm: nah that would be elegant. What I'm thinking of is making it into a directory tree using a nasty script of some sort
<nliadm> you could probably spit some text representation to less and jump around via regexps
<M1k3y> sphalerite: I have a setup where I regulary deploy new systems with a default set of nix expressions. The problem is, that I need some packages to be installed, that need to much diskspace while compiling to run on the live system. I want those to be ignored at nixos-install.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 1 new commit to release-17.09: https://git.io/vFcaV
<NixOS_GitHub> nixpkgs/release-17.09 24eaf4c Franz Pletz: zfs: 0.7.2 -> 0.7.3...
NixOS_GitHub has left #nixos []
<nliadm> if it's a default set, can you just cache them somewhere?
<nliadm> and avoid compiling them on the system?
<Sonarpulse> also sphalerite LnL, funny being back to nicks after nixcon :)
<LnL> yeah :)
<M1k3y> nliadm: not at the moment. I also thought about this, but at the moment I either do this by hand or I need a way to ignore these expressions when installing.
<cement> I get an infinite recursion error whenever I try to get nix to build haskell's containers package
<M1k3y> Is there a way to check if some environment variables are set? With this I could build a (ugly) workaround to my problem.
asuryawa_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 3 new commits to release-17.03: https://git.io/vFcV4
<NixOS_GitHub> nixpkgs/release-17.03 c4052e6 Graham Christensen: openssl_1_0_2: 1.0.2l -> 1.0.2m...
<NixOS_GitHub> nixpkgs/release-17.03 13d0621 Graham Christensen: openssl_1_1_0: 1.1.0f -> 1.1.0g...
<NixOS_GitHub> nixpkgs/release-17.03 d77e096 Graham Christensen: openssl: fix nix patch for recent update...
NixOS_GitHub has left #nixos []
hamishmack has quit [(Quit: hamishmack)]
<sphalerite> M1k3y: they should actually get built on the target disk, it's a bug that should hopefully be fixed soon
<sphalerite> M1k3y: but yes, there's the impure builtins.getEnv
<M1k3y> aphalerite: good to hear that.
asuryawanshi has quit [(Ping timeout: 248 seconds)]
<M1k3y> sphalerite: thanks, I'll look into this then.
<sphalerite> nliadm: yeah there's nix-store -q --tree but navigating that with regexes is awful :(
hellrazo1 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rnhmjoj opened pull request #31207: mutt: add option to configure S/MIME and GnuPG (master...mutt-gpg) https://git.io/vFcVX
NixOS_GitHub has left #nixos []
asuryawa_ has quit [(Ping timeout: 240 seconds)]
trevorriles has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
randomenduser[m] has joined #nixos
<sphalerite> Hm, nix-store -q --graph might be better
hamishmack has joined #nixos
<dmj`> Does nixos work on solaris?
<dmj`> Er, nix the package manager :)
<sphalerite> But yeah what I'd really like is a curses tool that can navigate a graphviz graph
<sphalerite> dmj`: probably not. You can try and port it of course, but I doubt it'll be trivial
<dmj`> fml
<sphalerite> I don't know of anyone having used it there before, at least
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] svanderburg pushed 1 new commit to release-17.09: https://git.io/vFcwl
<NixOS_GitHub> nixpkgs/release-17.09 5b12708 Sander van der Burg: node2nix: 1.3.0 -> 1.4.0 + regenerate packages
NixOS_GitHub has left #nixos []
S0rin has quit [(Ping timeout: 246 seconds)]
ahstro has quit [(Quit: Page closed)]
S0rin has joined #nixos
<vcunat> dmj`: there was at least one guy using nix on solaris
ahstro has joined #nixos
<dmj`> vcunat: oh?
<dmj`> vcunat: do you remember who exactly :)
<ahstro> Does anyone here know how to use xmodmap? I've tried using both ~/.xinitrc and ~/.Xmodmap, but neither work, and the only related code I find in nixpkgs is Darwin specific
riclima has joined #nixos
<dmj`> vcunat: fantastic, thank you
<vcunat> I hope it hasn't broken too much since then.
<MichaelRaskin> ahstro: I just use it from scripts
<ahstro> MichaelRaskin: Which scripts would make the most sense?
kp__ has joined #nixos
<vcunat> dmj`: I don't expect (any) broken packages will be too hard to fix up for solaris-like systems
<vcunat> at least those that generally work on solaris and also on nixpkgs+linux
<tilpner> How do you best manage and update gc roots for a nix-built project?
riclima has quit [(Client Quit)]
<tilpner> I just set dates = "weekly"; because it deleted expensive build outputs. I could manually create a root, but what if I update the build src? Won't I need to update the root too?
<MichaelRaskin> ahstro: I mean I just wrote a few shell scripts to call whenever I want to mess with keyboard layout.
S0rin has quit [(Ping timeout: 240 seconds)]
<dmj`> vcunat: fantastic, am hoping Haskell packages in particular will work, along with a few third party deps.
hotfuzz has joined #nixos
<ahstro> MichaelRaskin: Ah, cool. :)
chessai has joined #nixos
<vcunat> dmj`: note that we currently provide no binaries for solaris, so you'll have to compile all by yourself, most likely
S0rin has joined #nixos
roberth has quit [(Ping timeout: 248 seconds)]
<chessai> hello
hamishmack has quit [(Quit: hamishmack)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] cruizh closed pull request #31129: skypeforlinux: 5.5.0.1 -> 8.10.76.2 (release-17.09...fix/skypeforlinux-update) https://git.io/vFGIa
NixOS_GitHub has left #nixos []
<chessai> would anyone be able to tell me why i'm getting an infinite recursion error when running nix-shell on the following: https://gist.github.com/b136ec734a71779be57686da6057bb4f
olto has quit [(Quit: hasta luego)]
<chessai> this is the full error
<tilpner> chessai - Can you try again with --pure?
nisstyre is now known as zer0_c00l
<chessai> it gave me the same error again
dywedir has joined #nixos
<chessai> tilpner: it gave me the same error again
<tilpner> Aww
<vcunat> chessai: "with self;" is probably a bad idea
zer0_c00l is now known as nisstyre
<chessai> vcunat: ok
Capprentice has joined #nixos
<chessai> vcunat: should i just qualified things, e.g. 'self.callPackage'
<vcunat> super.* for functions
<vcunat> and self.* for packages that you depend on
MP2E has quit [(Remote host closed the connection)]
<vcunat> and super.foo if you want to override foo in terms of foo
<chessai> alright
JosW has quit [(Quit: Konversation terminated!)]
<chessai> this is the new default.nix
<chessai> still getting an infinite recursion error
<chessai> thanks for that tip btw
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 2 new commits to master: https://git.io/vFcKz
<NixOS_GitHub> nixpkgs/master 600f393 Benjamin Staffin: keybase service: Turn off debug logging...
<NixOS_GitHub> nixpkgs/master 1c27de4 Tim Steinbach: Merge pull request #31202 from benley/keybase-debug-log...
NixOS_GitHub has left #nixos []
<tanonym> Okay, seems that when I enable nix.package = pkgs.nixUnstable; in my configuration.nix I get unexpected EOF errors when trying to use nix-env -i ${packgage}
<vcunat> chessai: super.callPackage everywhere, though I'm not really certain that's the probem
<tanonym> It's not specific to one package. If I comment out the nix.package line and rebuild the issue goes away.
<chessai> vcunat: have you ever encountered an infinite recursion error
ma27 has joined #nixos
<vcunat> yes, though it might be years now
<chessai> vcunat: using nix*
<chessai> ah
<chessai> tanonym: are you trying to install packages from nixos.unstable?
<vcunat> I don't do much complex overriding anymore
<chessai> ah
<vcunat> (and no longer do mistakes in the simple package changes I need)
<tanonym> Not specifically I just tried to run nix-env -i connman_dmenu-git
<tanonym> It seems to happen with both nix-env -i firefox or nix-env -iA unstable.chromium
hellrazo1 has quit [(Ping timeout: 258 seconds)]
<vcunat> chessai: there was a talk now on NixCon about Overlays - and it contained quite some information about overriding: http://nbp.github.io/slides/NixCon/2017.NixpkgsOverlays/?full#p3-overlay-arguments
<tanonym> I had enabled it to be able to use the nix search function more than anything.
<chessai> vcunat: thanks i will read this
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 2 new commits to master: https://git.io/vFc6U
<NixOS_GitHub> nixpkgs/master e270f15 Tim Steinbach: lightdm: 1.22.0 -> 1.24.0
<NixOS_GitHub> nixpkgs/master 4142887 Tim Steinbach: Merge pull request #30938 from NeQuissimus/lightdm_1_24...
NixOS_GitHub has left #nixos []
<vcunat> chessai: you might also find the talk somewhere in the recordings https://www.youtube.com/watch?v=WxnxukJve8k
<chessai> vcunat: thanks
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 1 new commit to release-17.09: https://git.io/vFc6q
<NixOS_GitHub> nixpkgs/release-17.09 8c6dbd7 Tim Steinbach: lightdm: 1.22.0 -> 1.24.0...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] afrepues opened pull request #31208: gitlab: 10.0.2 -> 10.1.1 (master...gitlab-10.1.1) https://git.io/vFc6O
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 2 new commits to master: https://git.io/vFc6l
<NixOS_GitHub> nixpkgs/master 194d785 gnidorah: sway module: setcap binary, not wrapper
<NixOS_GitHub> nixpkgs/master 5925aeb Tim Steinbach: Merge pull request #31201 from gnidorah/sway...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] afrepues closed pull request #31206: gitlab: 10.0.2 -> 10.0.4 (master...gitlab-10.0.4) https://git.io/vFcER
NixOS_GitHub has left #nixos []
tanonym has quit [(Quit: Leaving)]
<mbrock> sphalerite: you could whip up a shell script using the `dialog` program
hamishmack has joined #nixos
<mbrock> sphalerite: for a nice "Debian installer" aesthetic
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 2 new commits to master: https://git.io/vFc6F
<NixOS_GitHub> nixpkgs/master d83cfdc Piotr Bogdan: kafkacat: fix sandboxed build
<NixOS_GitHub> nixpkgs/master a5847e8 Tim Steinbach: Merge pull request #31185 from pbogdan/kafkacat-fix-build...
NixOS_GitHub has left #nixos []
<sphalerite> mbrock: or Linux kernel config :p
<mbrock> otherwise I dig the temp directory idea, files and directories are really ergonomic
chris| has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bnikolic opened pull request #31209: nixos/cc-wrapper: Fix bug if dynamicLinker not found (staging...ccwrapper-dynamiclinker-staging) https://git.io/vFciN
NixOS_GitHub has left #nixos []
yegortimoshenko has quit [(Ping timeout: 240 seconds)]
hiratara has quit [(Ping timeout: 252 seconds)]
chris| has joined #nixos
hotfuzz has quit [(Quit: WeeChat 1.9.1)]
davidak has joined #nixos
hiratara has joined #nixos
M1k3y has quit [(Quit: Page closed)]
tanonym has joined #nixos
<c0bw3b> sphalerite: wild guess but what about querying hte sqlite database itself?
<c0bw3b> *the
takle has quit [(Remote host closed the connection)]
dbmikus has quit [(Quit: WeeChat 1.9.1)]
orivej has joined #nixos
ylwghst has quit [(Ping timeout: 258 seconds)]
hotfuzz has joined #nixos
<sphalerite> c0bw3b: to get how long builds took? No
<sphalerite> Only includes when a path was registered
cement has quit [(Ping timeout: 248 seconds)]
<vcunat> sphalerite: maybe it's minable from "stat /nix/var/log/nix/drvs/1p/15pzn0anslrzkcmaggn9m310nls0sw-libnetfilter_conntrack-1.0.6.drv.bz2"
<sphalerite> vcunat: oooh neat idea
<vcunat> for me access and modify times are ~15s apart in this case
<vcunat> that feels right for a download
<sphalerite> Using mtime-ctime you mean, right?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] woffs opened pull request #31210: licenses.ffsl: non-free (master...ffsl-nonfree) https://git.io/vFcX9
NixOS_GitHub has left #nixos []
<vcunat> or that
Ridout has joined #nixos
Guest1421 has quit [(Quit: Lost terminal)]
roberth has joined #nixos
jgertm has quit [(Ping timeout: 240 seconds)]
jgertm has joined #nixos
taktoa has quit [(Remote host closed the connection)]
babs has joined #nixos
<sphalerite> Access times are less reliable I'd say since they also get affected by reading in principle
<vcunat> it's curious that I'm getting acces time older than last change time
<vcunat> or not - the FS is mounted with noatime so it's the file's creation time, I guess
<sphalerite> In practice a time often isn't recorded accurately :p
<sphalerite> Yeah that
<sphalerite> Anyway I need to sleep, thanks for the suggestion!
<vcunat> :-)
MP2E has joined #nixos
gilligan_ has joined #nixos
<gilligan_> evening
kkini has quit [(Remote host closed the connection)]
kkini has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] matthiasbeyer opened pull request #31211: Revert "redmine: mark as broken" (master...revert-redmine-broken) https://git.io/vFcMa
NixOS_GitHub has left #nixos []
<gilligan_> can't update my system on current nixos-unstable it seems .. because of the broken python2.7-urwid which is required by dbus/polkit/system-path/..
<gilligan_> first time i've ever heard of urwid actually - *shrug*
hiratara has quit [(Quit: ZNC - http://znc.in)]
srdqty has quit [(Quit: WeeChat 1.9.1)]
hiratara has joined #nixos
<earldouglas> Has anyone run into "error: [Errno 17] File exists: '/home/user/.ssh'" during NixOps deployment?
<earldouglas> I added a new machine to my deployment, and `nixops deploy` throws this just after it gets the IP for the new machine.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vFcDB
<NixOS_GitHub> nixpkgs/master f7616c4 Ricardo M. Correia: openntpd: fix constraints feature on NixOS...
<NixOS_GitHub> nixpkgs/master 3328e35 Jörg Thalheim: Merge pull request #30987 from wizeman/u/fix-openntpd-cert...
NixOS_GitHub has left #nixos []
<BlessJah> I need some help building go package: https://github.com/NixOS/nixpkgs/compare/release-17.09...BlessJah:mtail
<mpickering> What is the docs repo which was created recently called?
<BlessJah> go/src/github.com/google/mtail/vm/compiler.go:5: running "/tmp/nix-build-mtail-3.0.0-rc4.drv-4/go:/nix/store/0pzn...lkyh-go-1.8.5/share/go:/nix/store/h721z...7c20-gotools-20170807-5d2fd3c/share/go/bin/goyacc": fork/exec /tmp/nix-build-mtail-3.0.0-rc4.drv-4/go:/nix/store/0pzn...lkyh-go-1.8.5/share/go:/nix/store/h721...7c20-gotools-20170807-5d2fd3c/share/go/bin/goyacc: no such file or directory
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to release-17.09: https://git.io/vFcDD
<NixOS_GitHub> nixpkgs/release-17.09 f2d4898 Ricardo M. Correia: openntpd: fix constraints feature on NixOS...
NixOS_GitHub has left #nixos []
takle has joined #nixos
<orivej> BlessJah: goyacc has to packaged first, then it can be added to the nativeBuildInputs of google-mtail
MP2E has quit [(Remote host closed the connection)]
<orivej> ignore this, I don't understand this excerpt of the error message
frankpf has joined #nixos
mkoenig has quit [(Ping timeout: 240 seconds)]
takle has quit [(Ping timeout: 260 seconds)]
<BlessJah> orivej: with 'preBuild = "command -V goyacc ; false";' I get goyacc is /nix/store/pgjkx7272kbmjmzzkx3l46c6m8rsmalc-gotools-20170807-5d2fd3c-bin/bin/goyacc
<earldouglas> I fixed that "error: [Errno 17] File exists: '/home/user/.ssh'" error by `chmod -R u-w` my .ssh directory.
alfie has quit [(Quit: Bye.)]
takle has joined #nixos
<BlessJah> orivej: goyacc is provided by gotools
alfie has joined #nixos
mkoenig has joined #nixos
alfie has quit [(Client Quit)]
alfie has joined #nixos
Itkovian has joined #nixos
<orivej> BlessJah: its vm/compiler.go has "//go:generate $GOPATH/bin/goyacc", this does not work when GOPATH contains multiple directories, you have to patch this line
alfie has quit [(Remote host closed the connection)]
hamishmack has quit [(Quit: hamishmack)]
alfie has joined #nixos
<BlessJah> s/$GOPATH/${gotools}/ then? Let me check that!
<orivej> yes, or see if deleting "$GOPATH/bin/" works
<BlessJah> orivej: you seem to know golang
<BlessJah> orivej: is it a comment? that changes compilation behavior?
Itkovian has quit [(Client Quit)]
<BlessJah> worked
<orivej> it is a comment for the go compiler, but a directive for the go generate tool that you run in google-mtail/default.nix
<BlessJah> It looks like a comment, quacks like a comment, yet it changes compilation/generation :|
<manveru> not all comments are created equal
<BlessJah> it isn't as bad as GOs lack of dependency versioning (the very reason for me doing what I'm doing)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vbgl pushed 1 new commit to master: https://git.io/vFcSH
<NixOS_GitHub> nixpkgs/master 4f7c0ae Vincent Laporte: ocaml: init at 4.06.0
NixOS_GitHub has left #nixos []
vcunat has quit [(Quit: Leaving.)]
__Sander__ has quit [(Quit: Konversation terminated!)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] cruizh opened pull request #31212: fava: 1.3 -> 1.5, refactor and fetchfromPypi (master...fava-1.5) https://git.io/vFc9W
NixOS_GitHub has left #nixos []
<Mic92> does somebody has a default.nix for android development
gilligan_ has quit [(Quit: Leaving)]
<gfixler> can I install nixos on a laptop that uses BIOS?
<MichaelRaskin> Yes.
<MichaelRaskin> Well, there could be some _different_ problem if you have some exotic hardware, but BIOS boot per se works.
hamishmack has joined #nixos
<BlessJah> orivej: any opinion on advancing gotools one year? may it break other things? before I submit PR
<BlessJah> nah, it seems noone uses gotools
<orivej> we will test all affected packages anyway, so please submit the PR
<gfixler> MichaelRaskin: thanks - the docs felt a bit fuzzy on this point to m e
<BlessJah> orivej: are you involved in go packages in NixOS?
<orivej> I know it
<BlessJah> kk
<BlessJah> I cannot find overview on what should I include in metadata
<BlessJah> thanks
<c0bw3b> homepage, desc, license, platforms are the necessary ones
hamishmack has quit [(Quit: hamishmack)]
ma27 has quit [(Ping timeout: 248 seconds)]
hamishmack has joined #nixos
<BlessJah> c0bw3b: hint, what should I put in platform?
<BlessJah> link to nix expression in manual is broken and I cannot make any sense from lib/systems/platforms.nix
<orivej> BlessJah: buildGoPackage will fill the platforms for you
<BlessJah> orivej: for metadata?
<orivej> yes, see the end of pkgs/development/go-modules/generic/default.nix
<BlessJah> greatm thanks
Baughn has quit [(Ping timeout: 240 seconds)]
<orivej> BlessJah: by the way, could you fix the broken link you mentioned? it is somewhere in the doc/ directory of nixpkgs
<BlessJah> orivej, c0bw3b google-mtail vs mtail for both package name (path?) and directory?
Baughn has joined #nixos
<orivej> just mtail
<BlessJah> kk
grumble has quit [(Quit: FLOOOOR)]
<orivej> BlessJah: also don't use fetchurl for github, it changes over time. use fetchFromGitHub
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] acowley opened pull request #31213: qt5: fix cmake cleanup on darwin (master...qt5-cmake-cleanup) https://git.io/vFcQW
NixOS_GitHub has left #nixos []
digitus has quit [(Quit: digitus)]
grumble has joined #nixos
erasmas has quit [(Quit: leaving)]
dywedir has quit [(Remote host closed the connection)]
<srk> Pretty-print all GHCi output
<srk> wow!
<tanonym> I am looking a the services.xserver.windowManager.i3.extraPackages option. Do have to add = true; in configuration.nix?
alfie has quit [(Quit: Bye.)]
alfie has joined #nixos
alfie is now known as ap
ap is now known as alfie
<BlessJah> I'll check if all deps are necessary, reword messages and submit PR
<c0bw3b> looks pretty ready yes :)
ison111 has quit [(Ping timeout: 252 seconds)]
<c0bw3b> nitpick : the description of mtail should not start with the name of the package and should not end with a dot
<BlessJah> c0bw3b: can I reuse this one to have mtail-static-musl-upx-stripped
frankpf has quit [(Read error: Connection reset by peer)]
Sonarpulse has quit [(Ping timeout: 240 seconds)]
<BlessJah> i.e. abuse that derivation to get small static binary?
<BlessJah> c0bw3b: how should it read? desc = "A tool ..." "tool ..." "Tool ..."
<c0bw3b> desc = "Tool for extracting metrics from application logs to be exported into a timeseries database or timeseries calculator for alerting and dashboarding"
<orivej> too long
<BlessJah> 24 description = "Tool for extracting metrics from application logs";
<orivej> good
<BlessJah> that'll do
ona has joined #nixos
<c0bw3b> yep better
ona has quit [(Client Quit)]
<c0bw3b> as for making a second non-default mtail : you could have a second nix definition under mtail directory
<BlessJah> I want to have a number of static-musl-upx tools, separate repo would be nice
<c0bw3b> but I'm not familiar with Go env and really not sure how you would throw musl into that :p
<BlessJah> it works, I've tried that using alpine docker image
<BlessJah> what bothers me is that GO will happily download whatever is on master branch of dependencies
<orivej> we build packages in the sandbox without internet and will catch this as an error
<orivej> and only "go get" accesses internet, all other commands don't
<c0bw3b> if you plan to make a collection of these then yes create your own repo
AluisioASG has quit [(Read error: Connection reset by peer)]
<BlessJah> Yep, that's why I do use nix and not docker/alpine
<c0bw3b> or define them locally in your user env in nix and build them from source
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vbgl pushed 1 new commit to master: https://git.io/vFc74
<NixOS_GitHub> nixpkgs/master 0ce1067 Vincent Laporte: ocamlPackages.num: init at 1.1
NixOS_GitHub has left #nixos []
AluisioASG has joined #nixos
<BlessJah> I want to build them with nix but use it everywhere
<orivej> BlessJah: this command produces a fully static 5 MB executable "mkdir tmpdir; CGO_ENABLED=0 go install -ldflags '-s -w' -pkgdir tmpdir github.com/google/mtail"
kp__ has quit [(Quit: WeeChat 1.9.1)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] BlessJah opened pull request #31215: Mtail (release-17.09...mtail) https://git.io/vFc7p
NixOS_GitHub has left #nixos []
<BlessJah> orivej: -ldflags -extldflags -static or sth like this gave me static with musl
<BlessJah> but I've used Makefile then