AllanEspinosa has quit [(Ping timeout: 240 seconds)]
<NixOS_GitHub> [nixpkgs] Mic92 pushed 3 new commits to master: https://git.io/vySkC
<NixOS_GitHub> nixpkgs/master 00addcb Jörg Thalheim: pythonPackages.python-jose: init at 1.3.2
<NixOS_GitHub> nixpkgs/master 09cfbc8 Jörg Thalheim: PyGithub: init at 1.32
<NixOS_GitHub> nixpkgs/master 26045fa Jörg Thalheim: cligh: init at 0.3...
pmade has quit [(Quit: ZNC - http://znc.in)]
pmade- is now known as pmade
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #23914: cligh : init at 0.3, pyGithub : init at 1.32, python-jose : init at 1.3.2 (master...cligh) https://git.io/vyDvc
c0bw3b has left #nixos []
stepcut has joined #nixos
thc202 has quit [(Quit: thc202)]
eacameron has quit [(Remote host closed the connection)]
eacameron has joined #nixos
dhess2 has quit [(Ping timeout: 264 seconds)]
proteusguy has quit [(Ping timeout: 240 seconds)]
eacameron has quit [(Remote host closed the connection)]
eacameron has joined #nixos
eacameron has quit [(Remote host closed the connection)]
eacameron has joined #nixos
systemfault has joined #nixos
eacamero_ has joined #nixos
eacameron has quit [(Ping timeout: 240 seconds)]
ericsagnes has joined #nixos
Jackneill has quit [(Read error: Connection reset by peer)]
dbmikus has quit [(Ping timeout: 240 seconds)]
georges-duperon has joined #nixos
eacamero_ has quit [(Remote host closed the connection)]
eacameron has joined #nixos
<NixOS_GitHub> [nixpkgs] womfoo opened pull request #23945: sipp: 3.4-beta2 -> 3.5.1 (master...bump/sippy-3.5.1) https://git.io/vySLy
eacameron has quit [(Ping timeout: 260 seconds)]
eacameron has joined #nixos
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
thetet has quit [(Ping timeout: 240 seconds)]
eacameron has quit [(Remote host closed the connection)]
markus1209 has joined #nixos
markus1219 has joined #nixos
<benley> Mic92: yeah I think there are probably better solutions, like possibly https://www.mediawiki.org/wiki/Extension:XMLContentExtension, or just translating via xhtml
markus1199 has quit [(Ping timeout: 264 seconds)]
markus1189 has quit [(Ping timeout: 256 seconds)]
proteusguy has joined #nixos
Acou_Bass has quit [(Ping timeout: 240 seconds)]
AllanEspinosa has joined #nixos
odi_ has joined #nixos
<contrapumpkin> maurer: I'm trying to figure out how to make an OCaml package
<contrapumpkin> and am failing miserably
Acou_Bass has joined #nixos
<contrapumpkin> this one seems to want topfind
thetet has joined #nixos
odi_ has quit [(Ping timeout: 260 seconds)]
dhess2 has joined #nixos
Rotaerk has joined #nixos
devoid1 has left #nixos []
nh2 has quit [(Quit: Leaving.)]
nh2 has joined #nixos
Sonarpulse has quit [(Ping timeout: 260 seconds)]
MinceR has quit [(Ping timeout: 240 seconds)]
dhess2 has quit [(Ping timeout: 240 seconds)]
MinceR has joined #nixos
abrar has quit [(Ping timeout: 260 seconds)]
thetet has quit [(Ping timeout: 240 seconds)]
thetet has joined #nixos
nh2 has quit [(Quit: Leaving.)]
nh2 has joined #nixos
eacameron has joined #nixos
eacameron has quit [(Remote host closed the connection)]
eacameron has joined #nixos
eacameron has quit [(Remote host closed the connection)]
eacameron has joined #nixos
dgpratt has joined #nixos
jeremejevs has quit [(Ping timeout: 260 seconds)]
alx741 has quit [(Quit: alx741)]
eacameron has quit [(Remote host closed the connection)]
mizu_no_oto has joined #nixos
mizu_no_oto has quit [(Client Quit)]
<neeasade> so is the reason for nixos/nixpkgs-channels repo just to separate concerns/be clean reference for package definitions for systems?
<NixOS_GitHub> [nixpkgs] peterhoeg pushed 1 new commit to master: https://git.io/vySsY
<NixOS_GitHub> nixpkgs/master bf5dc90 Peter Hoeg: keybase: 20170209 -> 1.0.20
<neeasade> and what's the difference between the nixos-unstable and nixpkgs-unstable branches in that repo
relrod has quit [(Ping timeout: 240 seconds)]
georges-duperon has quit [(Ping timeout: 240 seconds)]
jsgrant- has quit [(Ping timeout: 260 seconds)]
relrod has joined #nixos
relrod has quit [(Changing host)]
relrod has joined #nixos
eacameron has joined #nixos
dhess2 has joined #nixos
ndowens08 has quit [(Ping timeout: 260 seconds)]
jsgrant- has joined #nixos
dhess2 has quit [(Ping timeout: 258 seconds)]
<NixOS_GitHub> [nixpkgs] copumpkin pushed 1 new commit to master: https://git.io/vySGn
<NixOS_GitHub> nixpkgs/master e3abe9c Dan Peebles: pythonPackages.pants13-pre: init
<clever> neeasade: nixos-unstable waits for testing to ensure it wont brick a nixos machine
<clever> neeasade: nixpkgs-unstable only confirms that vim + emacs work on linux + darwin
Supersonic112 has quit [(Disconnected by services)]
mbrgm has quit [(Ping timeout: 260 seconds)]
mbrgm_ has joined #nixos
Supersonic112_ has joined #nixos
mbrgm_ is now known as mbrgm
Supersonic112_ is now known as Supersonic112
<neeasade> clever: I see, thanks
pdobrogost has quit [(Quit: Connection closed for inactivity)]
mudri has quit [(Quit: WeeChat 1.7)]
sivteck has quit [(Read error: Connection reset by peer)]
hexagoxel has quit [(Ping timeout: 260 seconds)]
eacameron has quit [(Remote host closed the connection)]
hexagoxel has joined #nixos
ericsagnes has quit [(Ping timeout: 246 seconds)]
<neeasade> how can I use th e17.03 channel at system level? as root I did nix-channel add "https://nixos.org/channels/nixos-17.03"
<neeasade> but then "nixos-rebuild dry-build --upgrade" doesn't seem to use it
<clever> neeasade: do nix-channel --list
<clever> nixos-rebuild uses the channed called "nixos" by default
<maurer> contrapumpkin: What are you trying to package?
<neeasade> clever: can I rename nixos-17.03 channel to nixos
<clever> neeasade: check nix-channel --help
<neeasade> ahhh add <url> [name]
<neeasade> thanks
<contrapumpkin> maurer: turns out vbgl packaged the specific thing I was going to ask about, but more broadly, it's https://github.com/mirage/mirage-block-unix
<contrapumpkin> (other parts of mirage would be awesome too :P)
<clever> neeasade: and for extra fun, --list gives them in the other order
eacameron has joined #nixos
<contrapumpkin> maurer: odd coincidence :) when I was git pull'ing, it warned me that there was a conflict on rresult
<contrapumpkin> and it turned out he had literally packaged it just as I was trying to
<neeasade> hmmm -- after adding that and trying to build crashes before starts building on 'cannot coerce a list to a string' in strings.nix
lezed1 has joined #nixos
<lezed1> I have a quick question about getting video to work. Whenever I try to run a program with a GUI, I get something along the lines of "libGL error: unable to load driver: i965_dri.so". To me that looks like I'm missing the Intel video driver, but I can't seem to load it. How can I install the missing driver?
rui1 has quit [(Ping timeout: 256 seconds)]
dhess2 has joined #nixos
hexagoxel has quit [(Ping timeout: 256 seconds)]
hexagoxel has joined #nixos
dhess2 has quit [(Ping timeout: 260 seconds)]
Rizy has joined #nixos
takle has quit [(Remote host closed the connection)]
Rizy has quit [(Client Quit)]
<NixOS_GitHub> [nixpkgs] MP2E pushed 1 new commit to master: https://git.io/vySCa
<NixOS_GitHub> nixpkgs/master f60fec9 Cray Elliott: SDL2_mixer: add optional fluidsynth support...
<NixOS_GitHub> [nixpkgs] MP2E closed pull request #23706: SDL2_mixer: add optional fluidsynth support (master...sdl2_mixer_update) https://git.io/vywRU
hexagoxel has quit [(Ping timeout: 260 seconds)]
lezed1 has quit [(Remote host closed the connection)]
marsam has joined #nixos
hexagoxel has joined #nixos
rui1 has joined #nixos
mkoenig has joined #nixos
AllanEspinosa has quit [(Ping timeout: 240 seconds)]
marusich has joined #nixos
takle has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
dhess2 has joined #nixos
thetet has quit [(Ping timeout: 268 seconds)]
takle has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
hexagoxel has quit [(Ping timeout: 258 seconds)]
takle has joined #nixos
dhess2 has quit [(Ping timeout: 258 seconds)]
hexagoxel has joined #nixos
takle has quit [(Ping timeout: 264 seconds)]
takle has joined #nixos
desktop has joined #nixos
desktop is now known as _deepfire
takle has quit [(Ping timeout: 260 seconds)]
marsam has quit [(Remote host closed the connection)]
takle has joined #nixos
i_rony|nb has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
hexagoxel has quit [(Ping timeout: 260 seconds)]
smola_ has quit [(Ping timeout: 240 seconds)]
smola_ has joined #nixos
ktosiek has joined #nixos
hexagoxel has joined #nixos
takle has joined #nixos
takle has quit [(Ping timeout: 260 seconds)]
takle has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
takle has joined #nixos
eacameron has quit [(Remote host closed the connection)]
odi_ has joined #nixos
takle has quit [(Ping timeout: 258 seconds)]
odi_ is now known as odi
dhess2 has joined #nixos
marusich has quit [(Ping timeout: 256 seconds)]
<paperd> is bower2nix still working? It isn't in nixpkgs
dhess2 has quit [(Ping timeout: 260 seconds)]
hexagoxel has quit [(Ping timeout: 260 seconds)]
Rizy has joined #nixos
hexagoxel has joined #nixos
i_rony|nb has quit [(Ping timeout: 258 seconds)]
willingc has joined #nixos
<Mic92> paperd: nix-shell -p nodePackages.bower2nix
<Mic92> don't know if it is working though, but there are some consumers in nixpkgs though
<paperd> Mic92: awesome, thanks. It doesn't show up in nix-env -qaP | grep bower2nix... I assume it is defined in some other package?
willingc has quit [(Quit: Textual IRC Client: www.textualapp.com)]
willingc has joined #nixos
<Mic92> paperd: the nodePackages is not evaluated by nix-env -qaP
<Mic92> I search in nixpkgs git instead
<paperd> Good to know. I'll keep that in mind moving foward, thanks.
silver_hook has left #nixos ["Konversation terminated!"]
<Mic92> would probably too much overhead with all the haskellPackages, nodePackages and pythonPackages we have
<Mic92> *would be
Willi_Butz has quit [(Quit: WeeChat 1.4)]
eacameron has joined #nixos
mkoenig has quit [(Ping timeout: 240 seconds)]
willingc has quit [(Quit: Textual IRC Client: www.textualapp.com)]
willingc has joined #nixos
mkoenig has joined #nixos
eacameron has quit [(Ping timeout: 258 seconds)]
odi has quit [(Remote host closed the connection)]
willingc has quit [(Quit: Textual IRC Client: www.textualapp.com)]
MercurialAlchemi has joined #nixos
dhess2 has joined #nixos
takle has joined #nixos
dhess2 has quit [(Ping timeout: 240 seconds)]
takle has quit [(Ping timeout: 240 seconds)]
takle has joined #nixos
reinzelmann has joined #nixos
systemfault has quit [(Quit: Bye!)]
takle has quit [(Ping timeout: 264 seconds)]
hexagoxel has quit [(Ping timeout: 260 seconds)]
hexagoxel has joined #nixos
takle has joined #nixos
Intensity has joined #nixos
k2s has joined #nixos
takle has quit [(Ping timeout: 260 seconds)]
timor has joined #nixos
k2s has quit [(Remote host closed the connection)]
_deepfire has quit [(Ping timeout: 264 seconds)]
pdobrogost has joined #nixos
takle has joined #nixos
obadz has quit [(Ping timeout: 268 seconds)]
obadz has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
endformationage has quit [(Quit: WeeChat 1.6)]
ericsagnes has joined #nixos
hexagoxel has quit [(Ping timeout: 260 seconds)]
MercurialAlchemi has quit [(Remote host closed the connection)]
MercurialAlchemi has joined #nixos
hexagoxel has joined #nixos
Rizy has quit [(Quit: Rizy)]
eacameron has joined #nixos
ravloony has joined #nixos
ivan has quit [(Quit: lp0 on fire)]
<NixOS_GitHub> [nixpkgs] vbgl pushed 1 new commit to master: https://git.io/vySga
<NixOS_GitHub> nixpkgs/master 49c18cc Vincent Laporte: ocamlPackages.bos: init at 0.1.4...
i_rony|nb has joined #nixos
eacameron has quit [(Ping timeout: 240 seconds)]
ambro718 has joined #nixos
dhess2 has joined #nixos
takle has joined #nixos
takle has quit [(Ping timeout: 264 seconds)]
dhess2 has quit [(Ping timeout: 256 seconds)]
thc202 has joined #nixos
i_rony|nb has quit [(Read error: Connection reset by peer)]
takle has joined #nixos
derjohn_mob has joined #nixos
i_rony has joined #nixos
takle has quit [(Ping timeout: 268 seconds)]
i_rony has quit [(Client Quit)]
odi has joined #nixos
takle has joined #nixos
<pallav> Does anyone know if there's a nix function that returns the output of a shell command?
<pallav> Like "builtins.readFile ./abc" returns content of file abc, is there a command like `getShellOutput "ls"` that would get me the output of "ls" command?
<LnL> no, you can't execute commands without a drv
<pallav> any specific reason (if it is a design choice)?
takle has quit [(Ping timeout: 240 seconds)]
<LnL> you can do something like runCommand "foo" {} ''echo foo > $out''
<pallav> LnL: how do I import runCommand?
<clever> pallav: there is also a builtin to read a directory listing
<hyper_ch> pallav: what do you want to do? provider like passwords and stuff from an own file seperate from the configuration nix?
<pallav> I don't have a specific task in mind. This is more of a curiosity of how flexible the language is
<hyper_ch> ah
<hyper_ch> well, I do that with passwords ;)
<pallav> hyper_ch: I still didn't get how you accomplish it. help appreciated :P
<hyper_ch> importing it as nix file
eacameron has joined #nixos
<pallav> ah okay
filterfish has quit [(Ping timeout: 260 seconds)]
<pallav> I am still curious about my original question, if running a shell command and getting its output as a string is possible
<pallav> and based on what LnL said, I am still wondering what runCommand is
<clever> pallav: should be able to call readFile on the result of runCommand
<MarcWeber> Anybody using qgis? I've problems using georeferencing -> the generated tif doesn't get drawn and on the georeferencer view the image sometimes disappears, too.
<hyper_ch> pallav: https://paste.simplylinux.ch/view/eada55b7 here with using hostname and user
<clever> pallav: builtins.readFile (pkgs.runCommand "foo" { buildInputs = []; } "echo stuff > $out");
<hyper_ch> but it's not the same as read content of a file though
<LnL> pallav: the nix expression language is used to define build instructions
FRidh has joined #nixos
<clever> hyper_ch: line 42, if you set isNormalUser=true;, home is set for you, with a sane value
eacameron has quit [(Ping timeout: 260 seconds)]
<LnL> pallav: running commands only happens after the expression is evaluated
<FRidh> Mic92: actually, pipfile won't make much of a difference. pipfile is for environment requirements and not for package requirements
<hyper_ch> clever: sane value?
<clever> hyper_ch: exactly the same value your setting it to
<LnL> pallav: evaluating that runCommand will return a "package", building the resulting package will run the commands and give you a file with the contents foo in your /nix/store
<pallav> Oh cool , I guess that'd serve the purpose
<pallav> (If I ever need it)
filterfish has joined #nixos
<hyper_ch> clever: I see... I could omit line 42 then....
filterfish has quit [(Remote host closed the connection)]
filterfish has joined #nixos
<hyper_ch> and a few others
<clever> yep
<Havvy> I'm trying to use a newer emscripten than what's in the unstable channel.
<hyper_ch> clever: you also have a fix for virtualbox interface? :)
<clever> hyper_ch: also, i prefer setting initialPasswordHash in configuration.nix
<clever> hyper_ch: otherwise, anybody that can read /nix/store can find your password
<Havvy> I tried doing `emscripten = let nixpkgs2 = import /home/havvy/workspace/nixpkgs {}; in nixpkgs2.emscripten;` but I get Too many heap sections: Increase MAXHINCR or MAX_HEAP_SECTS when I do that.
<hyper_ch> if people can read /nix/store I have an issue anyway
<Havvy> Is that the correct way to do what I'm trying to do, and thus should increase the GC, or am I doing it wrong?
<clever> hyper_ch: becomes an issue when you have a multi-user system
<hyper_ch> nobody touches my notebook!!!
takle has joined #nixos
<clever> hyper_ch: ive mainly used vbox with the user nat mode, so it didnt need any special config
<hyper_ch> it comes with shotgun security
<hyper_ch> clever: the vbox user interface refuses to start
filterfish_ has joined #nixos
filterfish has quit [(Read error: Connection reset by peer)]
filterfish_ has quit [(Read error: Connection reset by peer)]
<clever> hyper_ch: 22914 is a result of upgrading nixos and the location of sudo changing
<clever> hyper_ch: so $PATH is wrong and cant find the right sudo
<clever> hyper_ch: and the comment you linked first, appears to be a lack of a setuid root wrapper on a vbox program
<clever> which may or may not be related
ixxie has joined #nixos
<clever> a reboot would be needed to confirm
<hyper_ch> I've rebooted like 30 times since I posted my comment
filterfish_ has joined #nixos
ambro718 has quit [(Ping timeout: 260 seconds)]
takle has quit [(Ping timeout: 240 seconds)]
<clever> hyper_ch: then either the wrapper is missing, or somebody hard-coded the path for it
<hyper_ch> I did add security.wrappers."virtualbox".source = "${pkgs.virtualbox}/bin/VirtualBox"; but no luck
<hyper_ch> I can run the vms with VBoxManage startvm "xxx"
<hyper_ch> but the interface is good for creating/exporting/etc new vms
<hyper_ch> :(
<hyper_ch> gotta read up on initialPasswordHash
ivan has joined #nixos
mkoenig has quit [(Remote host closed the connection)]
<hyper_ch> using initialHashedPsasword seems to be easy :)
mkoenig has joined #nixos
takle has joined #nixos
eacameron has joined #nixos
<hyper_ch> first, I need to install mkpasswd
filterfish_ has quit [(Ping timeout: 240 seconds)]
<clever> hyper_ch: i just steal the hash out of /etc/shadow
<clever> hyper_ch: it also lets me make users on remote boxes that already have my pass
<clever> just the minor cost of loosing the benefits of shadow
takle has quit [(Ping timeout: 240 seconds)]
eacameron has quit [(Ping timeout: 260 seconds)]
zraexy has quit [(Ping timeout: 240 seconds)]
filterfish_ has joined #nixos
jlle has quit [(Quit: Page closed)]
i_rony|nb has joined #nixos
takle has joined #nixos
<hyper_ch> clever: if I run the command in the cli and compare it with shadow, they are different
<clever> hyper_ch: thats the salt, it prevents brute forcing
<clever> hyper_ch: every time you hash a given password, it will come up differently
<hyper_ch> ah... so the returning string also contains salt?
<clever> yeah
takle has quit [(Ping timeout: 240 seconds)]
filterfish_ has quit [(Ping timeout: 260 seconds)]
<hyper_ch> so, last problem I currently have is how to fix vbox user interface
ixxie has quit [(Ping timeout: 258 seconds)]
dhess2 has joined #nixos
dhess2 has quit [(Ping timeout: 258 seconds)]
takle has joined #nixos
i_rony|nb has quit [(Ping timeout: 258 seconds)]
nschoe has joined #nixos
civodul has joined #nixos
thetet has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
takle_ has joined #nixos
jensens has joined #nixos
goibhniu has joined #nixos
takle_ has quit [(Ping timeout: 246 seconds)]
takle has joined #nixos
freusque has joined #nixos
takle has quit [(Ping timeout: 260 seconds)]
Kendos-Kenlen has joined #nixos
Rizy has joined #nixos
takle has joined #nixos
derjohn_mob has quit [(Ping timeout: 260 seconds)]
pdobrogost has quit [(Quit: Connection closed for inactivity)]
takle has quit [(Ping timeout: 268 seconds)]
odi has quit [(Remote host closed the connection)]
takle has joined #nixos
eacameron has joined #nixos
i_rony|nb has joined #nixos
georges-duperon has joined #nixos
takle has quit [(Ping timeout: 260 seconds)]
tsmeets has joined #nixos
eacameron has quit [(Ping timeout: 240 seconds)]
timor has quit [(Ping timeout: 258 seconds)]
<tsmeets> Hello, how do I create a systemd service that has access to the xserver display?
takle has joined #nixos
<tsmeets> I try to run xmodmap inside a service, but it fails with "can't open display :0"
ivan has quit [(Quit: lp0 on fire)]
mkoenig has quit [(Ping timeout: 260 seconds)]
andymandias has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
mkoenig has joined #nixos
dhess2 has joined #nixos
teknico has joined #nixos
<Unode> tsmeets: systemd is a bit annoying in that regard. As far as I know you need to export your user environment for this to work.
<Unode> You also need to depend on the X user target
<Unode> I think the best example I found lived in the archlinux wikis.
<tsmeets> Unode: thanks, Iill take a look
dhess2 has quit [(Ping timeout: 260 seconds)]
takle has joined #nixos
<steveeJ> Mic92: you know, busybox uses pkgconfig and I forgot to install that in my nix-shell :-D
<steveeJ> tsmeets: for testing purposes it might be enough to export DISPLAY=:0
derjohn_mob has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
takle has joined #nixos
odi has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
takle has joined #nixos
tsmeets has quit [(Quit: leaving)]
<rycee[m]> tsmeets: If you don't want to hardcode the DISPLAY variable in the service file then you can import the variable: systemctl --user import-environment DISPLAY
<rycee[m]> You may need XAUTHORITY as well...
tomsmeets has joined #nixos
ravloony has quit [(Remote host closed the connection)]
ravloony has joined #nixos
Rizy has quit [(Ping timeout: 260 seconds)]
takle has quit [(Ping timeout: 260 seconds)]
tomsmeets has quit [(Client Quit)]
takle has joined #nixos
<NixOS_GitHub> [nixpkgs] pSub pushed 1 new commit to master: https://git.io/vySMP
<NixOS_GitHub> nixpkgs/master 1ae9a79 Pascal Wittmann: cligh: fix evaluation
tsmeets has joined #nixos
<tsmeets> setting DISPLAY did not help.
<tsmeets> I could restart the service until it succeeds.. but that sounds like a bad idea
takle has quit [(Ping timeout: 268 seconds)]
takle has joined #nixos
<tsmeets> I think the problem is that my service runs before xorg
takle has quit [(Ping timeout: 246 seconds)]
ericsagnes has quit [(Ping timeout: 264 seconds)]
reinzelmann has quit [(Ping timeout: 240 seconds)]
<NixOS_GitHub> [nixpkgs] peterhoeg pushed 2 new commits to master: https://git.io/vySyU
<NixOS_GitHub> nixpkgs/master aca073e Peter Hoeg: pytest-catchlog: init at 1.2.2
<NixOS_GitHub> nixpkgs/master 99c7aa4 Peter Hoeg: s3ql: 2.17.1 -> 2.21
__Sander__ has joined #nixos
takle has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
Willi_Butz has joined #nixos
takle has joined #nixos
mkoenig has quit [(Ping timeout: 260 seconds)]
reinzelmann has joined #nixos
mkoenig has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vySSI
<NixOS_GitHub> nixpkgs/master 9bd988e Kranium Gikos Mendoza: sipp: 3.4-beta2 -> 3.5.1...
tsmeets has quit [(Quit: Yaaic)]
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #23945: sipp: 3.4-beta2 -> 3.5.1 (master...bump/sippy-3.5.1) https://git.io/vySLy
ThatDocsLady has joined #nixos
[0x4A6F] has quit [(Ping timeout: 240 seconds)]
nh2 has quit [(Ping timeout: 260 seconds)]
[0x4A6F] has joined #nixos
dhess2 has joined #nixos
<NixOS_GitHub> [nixpkgs] rbasso opened pull request #23948: sc-im: 0.4.0 -> 0.5.0 (master...sc-im-bump-to-v0.5.0) https://git.io/vyS9u
ericsagnes has joined #nixos
dhess2 has quit [(Ping timeout: 268 seconds)]
blahdodo has quit [(Remote host closed the connection)]
Rizy_ has joined #nixos
blahdodo has joined #nixos
JagaJaga has joined #nixos
desktop has joined #nixos
desktop is now known as _deepfire
<NixOS_GitHub> [nixpkgs] kamilchm opened pull request #23949: chromium: flashplayer: 24.0.0.221 -> 25.0.0.127 (master...chromium) https://git.io/vySQn
hexagoxel has quit [(Ping timeout: 260 seconds)]
mkoenig has quit [(Ping timeout: 240 seconds)]
hexagoxel has joined #nixos
<qknight> why is cups running as root (services.printing)? some files in /tmp from my 'brother' driver are owned by root afterwards
<hyper_ch> clever: so, applied that hashedpwd thing... I'll see upon next reboot if it still lets me login :)
jgertm- has joined #nixos
ixxie has joined #nixos
oleks_ has joined #nixos
JagaJaga has quit [(Ping timeout: 258 seconds)]
oleks_ has quit [(Client Quit)]
k2s has joined #nixos
oleks has quit [(Read error: Connection reset by peer)]
oleks has joined #nixos
ThatDocsLady has quit [(Quit: Arma-geddin-outta-here!)]
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to master: https://git.io/vySFn
<NixOS_GitHub> nixpkgs/master 645c218 Frederik Rietdijk: pythonPackages.pytest-django: unpin setuptools_scm...
mudri has joined #nixos
filterfish_ has joined #nixos
dhess2 has joined #nixos
ThatDocsLady has joined #nixos
timor has joined #nixos
dhess2 has quit [(Ping timeout: 240 seconds)]
ixxie has quit [(Ping timeout: 260 seconds)]
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #23923: go2nix: 1.1.1 -> 1.2.0 (master...go2nix) https://git.io/vyDMw
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to release-17.03: https://git.io/vySNJ
<NixOS_GitHub> nixpkgs/release-17.03 1f87bd6 Kamil Chmielewski: go2nix: 1.1.1 -> 1.2.0...
uralbash has quit [(Ping timeout: 240 seconds)]
k2s has quit [(Remote host closed the connection)]
civodul has quit [(Ping timeout: 240 seconds)]
mogria has joined #nixos
<NixOS_GitHub> [nixpkgs] grwlf opened pull request #23950: git-repo: bump to version 1.23 (master...git-repo-bump) https://git.io/vySN7
<justanotheruser> Can someone share with me an example of overriding stdenv.mkDerivation, I'm specifically looking at https://github.com/NixOS/nixpkgs/blob/9775a26da39e72298bae1914ddec24799f80e33f/pkgs/development/tools/misc/stlink/default.nix
<NixOS_GitHub> [nixpkgs] grwlf closed pull request #23950: git-repo: bump to version 1.23 (master...git-repo-bump) https://git.io/vySN7
siel has quit [(Ping timeout: 260 seconds)]
<domenkozar> does anyone know if ElvishJerricco is on irc?
siel has joined #nixos
uralbash has joined #nixos
mudri has quit [(Ping timeout: 260 seconds)]
_deepfire has quit [(Remote host closed the connection)]
<LnL> justanotheruser: what are you looking for?
<justanotheruser> LnL: to override the version
cfricke has joined #nixos
<LnL> justanotheruser: stlink.overrideDerivation (drv: { name = "stlink-1.3.1"; src = ...; })
<justanotheruser> thanks! Also, is it possible to just override the source?
<justanotheruser> actually nvm, just realized that then the hashes wouldn't match so I'll need to override src anyways
siel has quit [(Ping timeout: 246 seconds)]
siel has joined #nixos
siel has quit [(Changing host)]
siel has joined #nixos
willingc has joined #nixos
siel has quit [(Ping timeout: 246 seconds)]
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #23949: chromium: flashplayer: 24.0.0.221 -> 25.0.0.127 (master...chromium) https://git.io/vySQn
siel has joined #nixos
siel has quit [(Ping timeout: 260 seconds)]
siel has joined #nixos
willingc has quit [(Quit: Textual IRC Client: www.textualapp.com)]
<justanotheruser> How do I define the package that I want to call the new derivation? https://hastebin.com/raw/topifariji The option `mystlink' defined in `/etc/nixos/overrides.nix' does not exist.
mkoenig has joined #nixos
siel has quit [(Ping timeout: 246 seconds)]
bfrog has joined #nixos
siel has joined #nixos
siel has quit [(Remote host closed the connection)]
siel has joined #nixos
dhess2 has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to release-16.09: https://git.io/vySj0
<NixOS_GitHub> nixpkgs/release-16.09 91e8742 Kamil Chmielewski: chromium: flashplayer: 24.0.0.221 -> 25.0.0.127...
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to release-17.03: https://git.io/vySjw
<NixOS_GitHub> nixpkgs/release-17.03 98cc721 Kamil Chmielewski: chromium: flashplayer: 24.0.0.221 -> 25.0.0.127...
siel has quit [(Remote host closed the connection)]
sivteck has joined #nixos
dhess2 has quit [(Ping timeout: 258 seconds)]
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #23948: sc-im: 0.4.0 -> 0.5.0 (master...sc-im-bump-to-v0.5.0) https://git.io/vyS9u
proteusguy has quit [(Ping timeout: 256 seconds)]
siel has joined #nixos
siel has quit [(Changing host)]
siel has joined #nixos
proteusguy has joined #nixos
eacameron has joined #nixos
siel has quit [(Remote host closed the connection)]
siel has joined #nixos
mogria has quit [(Ping timeout: 256 seconds)]
siel has quit [(Ping timeout: 246 seconds)]
eacameron has quit [(Ping timeout: 260 seconds)]
derjohn_mob has quit [(Ping timeout: 240 seconds)]
siel has joined #nixos
freusque has quit [(Ping timeout: 246 seconds)]
adfaure has quit [(Ping timeout: 258 seconds)]
mogria has joined #nixos
dannyg has joined #nixos
afics has quit [(Ping timeout: 268 seconds)]
siel has quit [(Ping timeout: 246 seconds)]
<contrapumpkin> niksnut: any chance you want to merge my option change to nix :)
<contrapumpkin> niksnut: I have a few other nice little changes/improvements to Nix but the amount of uncertainty about merges/feedback makes me hesitate to invest much time in them
freusque has joined #nixos
<contrapumpkin> also, who runs the swag link in the topic? it has the old logo in it
siel has joined #nixos
derjohn_mob has joined #nixos
siel has quit [(Remote host closed the connection)]
siel has joined #nixos
periklis has joined #nixos
<samae> contrapumpkin: what's the new one?
<contrapumpkin> it's on nixos.org
<contrapumpkin> the new logo?
<samae> Oh, OK. It's the same but reworked, isn't it?
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vy9JN
<NixOS_GitHub> nixpkgs/master a89e9e9 ndowens: libextractor: 1.2 -> 1.3
<NixOS_GitHub> nixpkgs/master 1d36642 Jörg Thalheim: Merge pull request #23941 from ndowens/libextractor...
siel has quit [(Ping timeout: 246 seconds)]
<LnL> yes, the design is similar
cpennington has joined #nixos
MoreTea has joined #nixos
afics has joined #nixos
odi has quit [(Ping timeout: 240 seconds)]
<NixOS_GitHub> [nix] edolstra pushed 8 new commits to master: https://git.io/vy9UK
<NixOS_GitHub> nix/master 43f158b Eelco Dolstra: nix-copy-closure: Fix assertion failure...
<NixOS_GitHub> nix/master 0ec7f47 Eelco Dolstra: Remove "killing process <pid>" messages...
<NixOS_GitHub> nix/master 7a716ef Eelco Dolstra: Fix nix-copy-closure --to
siel has joined #nixos
siel has quit [(Changing host)]
siel has joined #nixos
tommyangelo_ has joined #nixos
siel_ has joined #nixos
siel_ has quit [(Changing host)]
siel_ has joined #nixos
<sphalerite> same concept but with sharper edges, straighter lines and different colours.
siel has quit [(Ping timeout: 258 seconds)]
<samae> Now that I really paid attention to it, I see the differences better : )
<LnL> I really like the new one
ravloony has quit [(Ping timeout: 260 seconds)]
bennofs has joined #nixos
siel_ has quit [(Ping timeout: 246 seconds)]
<icetan> I'm getting some different results when running a build on Hydra then running it locally. I've recreated the Hydra build error locally by unsetting LANG
siel has joined #nixos
siel has quit [(Changing host)]
siel has joined #nixos
<icetan> Anyone know how to set locale in a build correctly
<LnL> add LANG = "foo"; to the mkDerivation attrs
<bennofs> icetan: how did you run the build locally?
<bennofs> icetan: because I don't think your LANG should leak into the build if you use nix-build
<icetan> nix-build release.nix -A build
i_rony|nb has quit [(Ping timeout: 240 seconds)]
civodul has joined #nixos
<icetan> I have set it in the derivation
<icetan> And it works locally
<hyper_ch> hey, question: why is nixos unstable still using chromium v56 when v57 is declared stable=
<icetan> But not on Hydra
<icetan> And removing the LANG locally creates the same error locally as on Hydra
<bennofs> icetan: try nix-build --option 'build-use-sandbox true'
bfrog has quit [(Ping timeout: 240 seconds)]
<bennofs> icetan: sorry, nix-build --option build-use-sandbox true
<icetan> Aha
<icetan> bennofs: thanks will try!
siel has quit [(Ping timeout: 264 seconds)]
joelmo has joined #nixos
mkoenig has quit [(Ping timeout: 240 seconds)]
mkoenig has joined #nixos
sivteck has quit [(Quit: Leaving)]
odi has joined #nixos
<icetan> Haha my machine froze
<icetan> hmmm, I think I hit some memory limit
odi_ has joined #nixos
dhess2 has joined #nixos
<icetan> bendlas: OK, just had to shut some VMs down
<icetan> sorry bennofs
<icetan> now I get the same error locally with LANG set
<icetan> thats a good start
<icetan> now how do I fix it :D
<contrapumpkin> hyper_ch: presumably because nobody's updated it yet? :P
mkoenig has quit [(Ping timeout: 268 seconds)]
odi has quit [(Ping timeout: 260 seconds)]
<maurer> I am literally in the process of building it locally to test that it builds before opening a PR
siel has joined #nixos
siel has quit [(Changing host)]
siel has joined #nixos
mkoenig has joined #nixos
eacameron has joined #nixos
siel has quit [(Remote host closed the connection)]
siel has joined #nixos
dhess2 has quit [(Ping timeout: 240 seconds)]
dbmikus has joined #nixos
mudri has joined #nixos
<pierron> zimbatm: thanks for the rust overlay documentation, but the path changed to ~/.config/nixpkgs/overlays since my initial commit. https://github.com/NixOS/nixpkgs/blob/master/pkgs/top-level/impure.nix#L43
cfricke has quit [(Quit: WeeChat 1.7)]
phaebz has joined #nixos
<pierron> zimbatm: I will fix it ;)
<zimbatm[m]> ah, that's why I had to set the NIX_PATH
<zimbatm[m]> I was wondering why it wouldn't find my overlays
erasmas has joined #nixos
<bennofs> icetan: what is the error that you get
sellout- has quit [(Quit: Leaving.)]
mogria has quit [(Remote host closed the connection)]
mogria has joined #nixos
<NixOS_GitHub> [nixpkgs] domenkozar pushed 1 new commit to master: https://git.io/vy9qD
<NixOS_GitHub> nixpkgs/master a17e8e7 Domen Kožar: servant-auth-server, servant-swagger: enable hydra build
<icetan> bennofs: I have reduced it to JVM String.toBytes() being affected by the locale
<icetan> I diffed the output of a sandbox/no-sandbox build and found this
<icetan> < Default locale: en_US, platform encoding: UTF-8
<icetan> > Default locale: en_US, platform encoding: ANSI_X3.4-1968
<NixOS_GitHub> [nixpkgs] globin pushed 1 new commit to staging: https://git.io/vy9m3
<NixOS_GitHub> nixpkgs/staging 7ff6eec Nikolay Amiantov: makeWrapper: quote paths...
<icetan> managed to set the platform encoding with JAVA_OPTS now but still failing :(
<icetan> and can't set LC_ALL either
Rotaerk has quit [(Quit: Leaving)]
<timor> I am trying out the overlay feature. I have set the NIX_PATH component nixpkgs-overlays to a directory with a subdir named "local", which contains a default.nix. It seems that this is not evaluated or added to the package set correctly. Is there a way to debug that?
<icetan> bennofs: is there some way to configure locale in a sandbox or how does that work?
<pierron> zimbatm[m]: Are you using the rust-overlay?
<pierron> zimbatm[m]: or just documenting it after the reddit question?
i_rony|nb has joined #nixos
<zimbatm[m]> pierron: it came up during our last hackday so I documented it
<zimbatm[m]> this time we had more than 5 people :)
<zimbatm[m]> doubled it :p
<pierron> Nice :)
marsam has joined #nixos
<pallav> Is the rust (programming language) package broken?
<pallav> nix-shell -p rust gives me error
<pallav> ` cannot coerce a set to a string`
jsgrant- has quit [(Ping timeout: 246 seconds)]
<bennofs> pallav: try -p rust.rustc
<pierron> pallav: rust is a set of packages, which contains rustc, and cargo if I recall correctly.
mkoenig has quit [(Ping timeout: 240 seconds)]
mogria has quit [(Ping timeout: 260 seconds)]
<Baughn> It would be nice if nix-shell was smarter about that, at least in interactive mode.
<Baughn> It's a set? Let's show a menu.
ThatDocsLady is now known as ThatDocsLady_afk
<pallav> oh. This is the first time I've encountered this. For the next time, how do I get the hint that something like this is the case?
<Baughn> The "cannot coerce" error is your hint.
<pierron> Baughn: nixos-option does that, but nixos-option is a big pile of sed hacks I made.
<gchristensen> "a set"
<pallav> I mean, how do I get the correct names of packages?
<pallav> nevermind. I see it in all-packages.nix
<pallav> thanks :)
<pierron> pallav: nix-instantiate --eval '<nixpkgs>' -A rust ?
mkoenig has joined #nixos
<Baughn> nix-repl '<nixpkgs>'
<Baughn> Then use tab completion. :)
marsam has quit [(Remote host closed the connection)]
<pallav> Baughn: thanks! that's a much better method
* pierron never used nix-repl
<sziszi> HERESY!
<Baughn> https://www.youtube.com/watch?v=fqPiDICPkj8 <- The Psi tutorial's description of vector projection really needs pictures. Here's a lot of pictures.
<Baughn> ...aaaand totally wrong channel. :X
<gchristensen> neat, Baughn, thanks!
<Baughn> *sweatdrop*
odi_ has quit [(Remote host closed the connection)]
<pierron> sziszi: I tried to launch it, but it says command not found :P
<Baughn> gchristensen: Are you by any chance playing with it?
mogria has joined #nixos
<gchristensen> not yet
<Baughn> Hum.
<Baughn> Need a server? We're running SF3 right now. :)
<Baughn> pierron: nix-env -i nix-repl
<bennofs> pierron: nix-env -iA nixpkgs.nix-repl
odi has joined #nixos
<pierron> too much effort :P
willingc has joined #nixos
takle has quit [(Remote host closed the connection)]
<zimbatm[m]> pierron: `nix-shell -p nix-repl --run nix-repl` :p
<pierron> zimbatm[m]: you are not far from how I start the latest Firefox.
<pierron> zimbatm[m]: hint: nix-channel --update is too painful ;)
<zimbatm[m]> `alias runthis='nix-shell -p $1 --run "$*"`
<pierron> Haha … I should definitely do that!
<pierron> zimbatm[m]: -I nixpkgs= ?
<zimbatm[m]> just trying to make it work :)
mkoenig has quit [(Remote host closed the connection)]
<zimbatm[m]> why do you want to set the nixpkgs?
<pierron> zimbatm[m]: to run the latest.
MercurialAlchemi has quit [(Ping timeout: 260 seconds)]
mkoenig has joined #nixos
<zimbatm[m]> I see
<pierron> zimbatm[m]: At least, until I create a firefox-overlay.nix
tommyangelo_ has quit [(Remote host closed the connection)]
tommyangelo_ has joined #nixos
<zimbatm[m]> maybe the command would be context-sensitive
mguentner has joined #nixos
<zimbatm[m]> and look for a .nixpkgs in the current folder
<zimbatm[m]> also I want to avoid splatting the arguments if possible
<zimbatm[m]> nix-shell is due for an overhaul
johbo has quit [(Quit: Bye)]
<steveeJ> viric: do you by chance have an expression that uses nixpkgs.wrapGCC out of tree?
Nafai has quit [(Ping timeout: 240 seconds)]
derjohn_mob has quit [(Ping timeout: 240 seconds)]
<zimbatm[m]> but first we need a nix 1.12 release
johbo has joined #nixos
ryanartecona has joined #nixos
zraexy has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm opened pull request #23952: libsodium: 1.0.11 -> 1.0.12 (master...libsodium-bump) https://git.io/vy9GK
dhess2 has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm pushed 1 new commit to release-17.03: https://git.io/vy9Gp
<NixOS_GitHub> nixpkgs/release-17.03 b86fd7d Joachim Fasting: travis: send emails iff commit caused the build to start failing...
peterhoeg has joined #nixos
marsam has joined #nixos
<NixOS_GitHub> [nixpkgs] copumpkin pushed 1 new commit to master: https://git.io/vy9Zi
<NixOS_GitHub> nixpkgs/master 504b596 Dan Peebles: pythonPackages.pathspec_0_5: init...
jensens has quit [(Quit: Leaving)]
<contrapumpkin> niksnut: I was thinking of factoring out the "sandboxing" logic into a separate file (build.cc is getting enormous), where it can do different things on Darwin and Linux and expose a few common options between the platforms. Make sense?
<icetan> bennofs: woho! fixed it by just explicitly setting the encoding in getBytes()
spacekitteh has quit [(Ping timeout: 264 seconds)]
<gchristensen> contrapumpkin: :o could that get us sandboxing on darwin?
dhess2 has quit [(Ping timeout: 240 seconds)]
<contrapumpkin> gchristensen: it would be a step towards turning it back on, yes
<contrapumpkin> I mean all the code is in there already
<contrapumpkin> it's just a PITA to manage and iterate on
<wrl> oh dope, nixos unstable works on kaby lake
<contrapumpkin> :P
<steveeJ> pierron: thanks, I'll have a look. on first sight it's using wrapCC which is possibly (?) not the same as wrapGCC
<steveeJ> I'm extremely confused by localSystey, system, platform, targetPlatform
<bennofs> What is the reasoning for super.callPackage to take deps from self in the all-packages fixpoint?
sellout- has joined #nixos
<gchristensen> bennofs: bear with me if this is wrong, but I think it is so you can override packages in the callPackage call
<bennofs> gchristensen: well, wouldn't it better if you just used self.callPackage ?
<bennofs> seems more logical to me
* gchristensen is out of his league
mckeankylej has joined #nixos
spacekitteh has joined #nixos
<mckeankylej> I switched from NixOS to macos and now when I try to build my packages I sometimes get ssl cert errors like this one: http://lpaste.net/3304130315181621248 does anyone know how to fix this?
tommyangelo_ has quit [(Ping timeout: 240 seconds)]
odi has quit [(Read error: Connection reset by peer)]
<NixOS_GitHub> [nixpkgs] joachifm pushed 2 new commits to master: https://git.io/vy9Wv
<NixOS_GitHub> nixpkgs/master c317e5c Joachim Fasting: ldns: split man pages...
<NixOS_GitHub> nixpkgs/master 0526467 Joachim Fasting: dnscrypt-proxy: enable additional plugins...
<nixy> You should be able to fix it with SSL_CERT_FILE=$NIX_SSL_CERT_FILE
thetet has left #nixos []
echo_oddly has quit [(Remote host closed the connection)]
willingc has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
Nafai has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vy9W0
<NixOS_GitHub> nixpkgs/master 9b0a175 Rommel M. Martinez: emem: 0.2.40 -> 0.2.41
<NixOS_GitHub> nixpkgs/master 7f6d923 Jörg Thalheim: Merge pull request #23939 from ebzzry/emem-0.2.41...
<mckeankylej> nixy: i dont see a way to fix my stuff in that issue. The problem is when I use fetch-git not when I run git pull on the command line
peterhoeg has quit [(Remote host closed the connection)]
systemfault has joined #nixos
deepfire` has joined #nixos
Acou_Bass has quit [(Ping timeout: 240 seconds)]
Acou_Bass has joined #nixos
willingc has joined #nixos
<deepfire`> has anyone ever successfully used 'sar' on NixOS?
deepfire` is now known as _deepfire
<periklis> django_guardian.nix breaks currently nipkgs master eval
proteusguy has quit [(Ping timeout: 258 seconds)]
<nixy> mckeankylej: I believe that issue also applies to curl using the wrong SSL certificates, which seems to be the issue you are running into
freusque has quit [(Read error: Connection reset by peer)]
jsgrant- has joined #nixos
i_rony|nb has quit [(Ping timeout: 258 seconds)]
tommyangelo_ has joined #nixos
<wrl> is there any documentation about recommended partitioning setup for nixos?
<wrl> installation guide basically punts on that entire section
<icetan> now some other build in hydra is getting aborted constantly
<goibhniu> hi wrl, I don't think there's anything special about NixOS in that regard
<gchristensen> wrl: EFI? /boot, and a /. not EFI? /
<icetan> ghc-7.4.2-binary
<goibhniu> wrl: if you want to have a separate /boot then you probably want it larger than normal
<mckeankylej> nixy: the problem actually turned out to be emacs not sourcing the my ~/.profile
* goibhniu doesn't see the point in having it in a separate partition, personally
<gchristensen> goibhniu: I think EFI requires it be?
<icetan> Status is "Aborted: no source" then "Aborted: protocol error processing standard error" and so on
<goibhniu> oh! that's a great reason :D
* goibhniu hasn't used EFI
<gchristensen> yeah, I think it has to be FAT16 or something
<gchristensen> so unless you want / to be FAT
<goibhniu> lol
<wrl> i'll do EFI with luks
freusque has joined #nixos
<wrl> should be ok
takle has joined #nixos
<goibhniu> ah, wrl ... I thought I recognised your nick ... we met at the linux audio conf a few years back ... hi!
freusque has quit [(Quit: WeeChat 1.7)]
griff_ has joined #nixos
mckeankylej has quit [(Quit: Page closed)]
uralbash has quit [(Ping timeout: 240 seconds)]
<wrl> goibhniu: ah yeah we did!
<wrl> i'm finally getting around to playing with nix :)
<wrl> been an arch guy forever
<goibhniu> awesome \o/
<periklis> welcome
<wrl> thanks
mogria has quit [(Remote host closed the connection)]
<wrl> ok after i mount the nixos root to /mnt do i need to mkdir /mnt/boot && mount /dev/the/boot/device/node /mnt/boot ?
<wrl> or no
freusque has joined #nixos
systemfault has quit [(Quit: Bye!)]
<goibhniu> that's right
<goibhniu> (you do need to mount /mnt/boot)
<wrl> ok
journal has joined #nixos
<wrl> "You must set the option boot.loader.grub.device to specify on which disk the GRUB boot loader is to be installed. Without it, NixOS cannot boot."
<wrl> "/boot" or "/dev/nvme0n1p1" or what, here?
<wrl> this is fairly ambiguous
<steveeJ> clever: does runcomand "kernel" from https://github.com/cleverca22/nix-tests/blob/c57df0901f271cf19ccfdd11bef03378fb199422/cross-compiled-kernel.nix run the shell commands defined in the header?
journal has quit [(Client Quit)]
<wrl> wait but in uefi mode it's using systemd-boot anyway?
ryanartecona has quit [(Quit: ryanartecona)]
<goibhniu> wrl: right, you could use the use /dev/disk/by-uuid/blah-blah or /dev/nvme0n1p1 etc.
<wrl> goibhniu: do i still need it in uefi mode?
* goibhniu should shut up ... haven't used EFI
<goibhniu> AFAIK you can also use grub with uefi
<wrl> right but it set "boot.loader.systemd-boot.enable"
<icetan> does anyone know why a hydra build would constantly get aborted?
<icetan> with "no source"?
<goibhniu> ah yeah, and nixos-generate-config should set it up for you in hardware-configuration.nix
<wrl> alright well
<wrl> i've run nixos-install, fingers crossed
justbeingglad has joined #nixos
<icetan> super frustrating I have hade so much trouble with my hydra, what am I doing wrong
griff_ has quit [(Quit: griff_)]
<wrl> "File system "/boot" has wrong type for an EFI System Partition" oh good, really excited about this
griff_ has joined #nixos
<wrl> thanks for waiting until after "finalising the installation..." to let me know about that, nixos-install
<contrapumpkin> wrl: file an issue. I want to improve nixos-install and it'd be nice to have some recorded things
<LnL> yeah I think that parot of the documentation could use some work
justbeingglad has left #nixos []
<goibhniu> wrl: did you use partition code EF00 and format it as vfat?
Sonarpulse has joined #nixos
<wrl> goibhniu: vfat yes, gparted didn't give me a way to set the partition code
<wrl> ah, cfdisk let me do it in-place
<goibhniu> ah, cool
<goibhniu> at least finalizing the install will be quick
<LnL> I have a file with a bunch of sgdisk commands that I always forget
dhess2 has joined #nixos
phaebz has quit [(Ping timeout: 240 seconds)]
systemfault has joined #nixos
revtintin has joined #nixos
<_deepfire> has anyone ever successfully used 'sar' on NixOS?
<ikwildrpepper> _deepfire: what's the issue you are having?
<_deepfire> Cannot open /var/log/sa/sa16: No such file or directory
<periklis> can someone with commit-rights, fix 645c2189 ? It breaks the eval of master.
<ikwildrpepper> _deepfire: do you have services.sysstat.enable = trie ?
<ikwildrpepper> true
<_deepfire> ikwildrpepper: that's the thing!
<ikwildrpepper> interestingly it is not included in the default module list somehow
<ikwildrpepper> wonder why
<wrl> whose terrible idea was it to ship nano as the default editor and not even have vi available >:(
<ikwildrpepper> i love nano
<contrapumpkin> ikwildrpepper: the swag in the topic has the old logo!!!!!! 😱😱😱😱
<wrl> ikwildrpepper: you're dead to me
<ikwildrpepper> wrl :)
<LnL> periklis: I can in an hour or so
<ikwildrpepper> contrapumpkin: yeah, can't remember the cafepress password ;)
<contrapumpkin> lol
<LnL> wrl: I thought we had vi now
<ikwildrpepper> (and don't care enough)
<wrl> LnL: not on the most recent unstable
dhess2 has quit [(Ping timeout: 260 seconds)]
<contrapumpkin> ikwildrpepper: 😱😱😱😱😱😱
<contrapumpkin> consistent branding!!!! 😱😱😱😱
<ikwildrpepper> contrapumpkin: cafepress never had really nice stuff
<ikwildrpepper> contrapumpkin: my nixos mug also still has the old logo
<contrapumpkin> how can you live with yourself???
<ikwildrpepper> yeah, it's hard
<_deepfire> ikwildrpepper: how do I enable the option, then? it says the 'services.sysstat.enabled' option is unavailable..
<LnL> wrl: guess not then, you can run nix-shell -p vim --run vim if you have a network connection
<ikwildrpepper> _deepfire: I guess, import <nixpkgs/nixos/modules/services/monitoring/sysstat.nix> , and set services.sysstat.enable (without d)
<ikwildrpepper> gchristensen: looks like you added it
<ikwildrpepper> gchristensen: any idea why it is not part of the default module list?
<wrl> LnL: "error: getting status of '/root/vim': No such file or directory"
<goibhniu> `nix-env -i vim` should do the trick too
<_deepfire> ikwildrpepper: removing the 'd' helped on its own, without the import : -)
<LnL> ^ right, I think there was some issue with running nixos-install in a nix-shell
<_deepfire> ikwildrpepper: thank you!
<gchristensen> ikwildrpepper: uhh
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #23938: libdiscid: 0.6.1 -> 0.6.2 (master...libdiscid) https://git.io/vyy7R
<ikwildrpepper> ah, maybe it is included then, I am bad at searching ;)
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vy9gd
<NixOS_GitHub> nixpkgs/master a1ea287 ndowens: libdiscid: 0.6.1 -> 0.6.2
<NixOS_GitHub> nixpkgs/master e82ca0f Jörg Thalheim: Merge pull request #23938 from ndowens/libdiscid...
<gchristensen> ikwildrpepper: incompetence?
<periklis> LnL: thx
<ikwildrpepper> gchristensen: never mind the noise, apparently all is fine :D
<gchristensen> oh great :)
* ikwildrpepper just likes to point to gchristensen
<wrl> how do i uninstall nano
<gchristensen> ikwildrpepper: :) I'm a good for pointing at, if I may say so myself
<gchristensen> wrl: you can't
<LnL> ofcorse you can
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to master: https://git.io/vy926
<NixOS_GitHub> nixpkgs/master 2e72372 Frederik Rietdijk: pythonPackages.django_guardian: fix eval
<gchristensen> LnL: I thought it was in an unoveridable list?
<wrl> gchristensen: brb installing arch
<gchristensen> wrl: ok
<LnL> wrl: gchristensen: nixpkgs.config.packageOverrides = pkgs: { nano = null; }
<gchristensen> LOL
<wrl> LnL: this happens in configuration.nix?
<LnL> yep
joelmo has quit [(Quit: Connection closed for inactivity)]
<NixOS_GitHub> [nixpkgs] jbaum98 opened pull request #23954: pdfpc: Add darwin support (master...pdfpc-darwin) https://git.io/vy92j
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vy9af
<NixOS_GitHub> nixpkgs/master 3cecb95 ndowens: libdap: 3.15.1 -> 3.18.3
__Sander__ has quit [(Quit: Konversation terminated!)]
ryanartecona has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #23935: libdap: 3.15.1 -> 3.18.3 (master...libdap) https://git.io/vyyMt
derjohn_mob has joined #nixos
dannyg has quit [(Quit: dannyg)]
marsam has left #nixos ["Killed buffer"]
uralbash has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vy9V7
<NixOS_GitHub> nixpkgs/master 00b6d82 ndowens: libcouchbase: 2.5.2 -> 2.7.2...
reinzelmann has quit [(Quit: Leaving)]
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #23932: libcouchbase: 2.5.2 -> 2.7.2 (master...libcouchbase) https://git.io/vyyPd
Kendos-Kenlen has quit [(Quit: Konversation terminated!)]
griff_ has quit [(Quit: griff_)]
griff_ has joined #nixos
exarkun has quit [(Read error: Connection reset by peer)]
<maurer> Out of curiosity, what's the mechanism by which things make it from nixpkgs master into unstable?
<MoreTea> @maurer, I guess that all the packages build, and that the nixos tests pass ;)?
<maurer> Sure, but I mean like, is it "once a week, take latest version of nixpkgs that passes tests"? or is it a rolling thing where as soon as a new revision passes it updates, or?
<goibhniu> maurer: it's automatic/rolling
systemfault has quit [(Quit: Bye!)]
<wrl> LnL: haha, that doesn't work
<contrapumpkin> maurer: hydra builds, and if a certain set of jobs passes, it updates the channel
<wrl> "the option value [...] is not a package"
willingc has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
i_rony|nb has joined #nixos
exarkun has joined #nixos
<contrapumpkin> niksnut: you have a moment to discuss nix shell vs nix use or whatever the new UI is going to call the two?
marsam has joined #nixos
<FRidh> looks like its nix run and so far it seems to do exactly the same as nix-shell
batdog has quit [(Ping timeout: 240 seconds)]
<copumpkin> yeah I just think there will need to be some changes in nixpkgs to support the one that's not like nix-shell
<FRidh> need agreement on what is expected in each case and what not. E.g., you don't want to have SOURCE_DATA_EPOCH=1 with `nix run`
<NixOS_GitHub> [nixpkgs] volth opened pull request #23956: icewm: fix CFGDIR (master...icewm-cfgdir) https://git.io/vy9o2
batdog has joined #nixos
timor has quit [(Ping timeout: 240 seconds)]
marsam has quit [(Remote host closed the connection)]
marsam has joined #nixos
<copumpkin> yeah, this ties into my questions about PYTHONPATH and JAVA_HOME if you saw those on the tracker
<copumpkin> some hooks are useful for everyone, whereas others are useful only for build environments
<copumpkin> and we should have a discipline for separating them out
<bennofs> should we perhaps call the not-like-nix-shell one differently?
ryanartecona has quit [(Quit: ryanartecona)]
<bennofs> or will there be a nix shell that is exactly-like-nix-shell ?
<copumpkin> yeah I think there will be one that behaves like today
<copumpkin> which is mostly for debugging nix builds
<copumpkin> that one will presumably also adopt the same sandboxing machinery as a proper nix build
<bennofs> copumpkin: what do you think about just adding a .env attribute to every derivation that does stuff in the shell hook to setup a dev environment?
<copumpkin> then another one that's more user-oriented
<bennofs> like Haskell pkgs currently have
<copumpkin> which allows you to use zsh and other crap
<bennofs> copumpkin: or perhaps we could just add another attribute to derivations, like dev-hook or something, that would be sourced by nix run to setup PYTHONPATH, GHC packages, JAVA_HOME etc
<bennofs> copumpkin: kinda like setup-hook just for interactive use
adfaure has joined #nixos
<copumpkin> yeah, perhaps
<copumpkin> just want some sort of standard
<copumpkin> so that nix-shell can use it, but so can systemd services
<copumpkin> I've been bitten a fair bit by setting systemd.services.foo.path = [ package ]
<bennofs> copumpkin: oh you want it for systemd services as well? hmm
<FRidh> Indeed, the PYTHONPATH hook should only be used for nix-shell and not nix use. That means you cannot use `nix use -p python python.pkgs.numpy` but only `nix-use -p 'python.withPackages(ps: [ps.numpy'])'`
<copumpkin> only to find that package doesn't work sensibly if it can't run its hook
dhess2 has joined #nixos
<copumpkin> like a lot of java programs care about the JAVA_HOME
<copumpkin> but it won't get set if you just do systemd.services.foo.path = [ openjdk ];
<bennofs> copumpkin: those packages should be wrapped IMO
<copumpkin> that isn't enough
<bennofs> copumpkin: because the hook isn't run when you nix-env it either
<copumpkin> oh true, I never use nix-env :P
<FRidh> :)
<copumpkin> so I largely pretend it doesn't exist
<bennofs> copumpkin: the right solution in that case is to wrap the executables in scripts that set JAVA_HOME or PYTHONPATH (although that has a few other problems)
<copumpkin> sure, but in some cases it's just someone running java inside the service script
<kragniz> I'm hitting the same problem
<bennofs> copumpkin: hmm, but since running `java` itself does not require you to set JAVA_HOME (does it?) then I don't see why we should set JAVA_HOME automatically?
civodul has quit [(Quit: ERC (IRC client for Emacs 25.1.1))]
digitus has joined #nixos
<bennofs> copumpkin: I think it's not properly defined where we should end here. Should we also set PKG_CONFIG_DIRS ?
lsix has quit [(Quit: Konversation terminated!)]
simendsjo has joined #nixos
dhess2 has quit [(Ping timeout: 264 seconds)]
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vy9P0
<NixOS_GitHub> nixpkgs/master fd61a33 Volth: icewm: fix CFGDIR
<NixOS_GitHub> nixpkgs/master 5795e5c Jörg Thalheim: Merge pull request #23956 from volth/icewm-cfgdir...
<wrl> hey, I'm trying to set `users.mutableUsers` to false and nixos-rebuild switch is saying "Neither the root account nor any wheel users has a password or SSH authorized key"
<wrl> but, in fact, both root and the one user in wheel have passwords set
phaebz has joined #nixos
<bennofs> wrl: did you set the passwords in configuration.nix?
<wrl> bennofs: I set them with passwd
<wrl> how do I move those into configuration.nix?
<wrl> if that's what I need to do
<bennofs> wrl: I think with mutableUsers = false, you cannot use passwd
<bennofs> wrl: see users.<name>.hashedPassword option
<LnL> wrl: it doesn't?
<wrl> LnL: nope
<LnL> wrl: does it fail or did nothing seem to happen?
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #23911: taskjuggler: remove 2.x series (master...taskjuggler) https://git.io/vyMQR
<wrl> LnL: it said something like "the option value [...] is not a package"
<wrl> bennofs: so users.<root>.hashedPassword will work there, presumably?
<wrl> err
<wrl> users.root
<bennofs> wrl: yeah that should work
<bennofs> might be users.users.root
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #23919: nomad: 0.5.4 -> 0.5.5 (master...nomad-v0.5.5) https://git.io/vyDlk
endformationage has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vy9Me
<NixOS_GitHub> nixpkgs/master 5d6ea2d Daniel Brockman: jshon: fix null termination in read_stream....
endformationage has quit [(Client Quit)]
<NixOS_GitHub> [nixpkgs] cko closed pull request #19705: spark: 1.6.0 -> 1.6.2 (master...spark-1.6.0) https://git.io/vPHJ1
endformationage has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #23727: jshon: 20140712 -> 20140712-nix1 (master...jshon) https://git.io/vyrHU
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to release-16.09: https://git.io/vy9Mq
<NixOS_GitHub> nixpkgs/release-16.09 fcec887 Daniel Brockman: jshon: fix null termination in read_stream....
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to release-17.03: https://git.io/vy9Ms
<NixOS_GitHub> nixpkgs/release-17.03 112e07c Daniel Brockman: jshon: fix null termination in read_stream....
revtintin has quit [(Ping timeout: 268 seconds)]
ambro718 has joined #nixos
<wrl> hey is there a quick way to delete old generations? i've done "nix-collect-garbage -d" but the old generations are still showing up in the bootloader
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to release-17.03: https://git.io/vy9Dp
<NixOS_GitHub> nixpkgs/release-17.03 3913327 Jörg Thalheim: taskjuggler: remove 2.x series...
<symphorien> there is --delete-older-than period
<wrl> ah, i needed to do a "nixos-rebuild switch" after
bennofs has quit [(Quit: WeeChat 1.7)]
bennofs has joined #nixos
takle has quit [(Remote host closed the connection)]
<NixOS_GitHub> [nixpkgs] Profpatsch closed pull request #23927: Mlmmj fixes (master...mlmmj-fixes) https://git.io/vyyfX
teknico has left #nixos []
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #23886: timewarrior: patch to install all themes; use default install target. (master...fix/timewarrior-install-docs-themes) https://git.io/vyX2v
<NixOS_GitHub> [nixpkgs] FRidh force-pushed python-wip from 837e0b3 to 03605ac: https://git.io/vzaOS
<NixOS_GitHub> nixpkgs/python-wip a86fb0b Frederik Rietdijk: Python: redo setuptools bootstrapping
<NixOS_GitHub> nixpkgs/python-wip 603a3ca Frederik Rietdijk: bootstrapped-pip: remove unnecessary dependencies
<NixOS_GitHub> nixpkgs/python-wip b0e7853 Frederik Rietdijk: pythonPackages.setuptools: pass --no-dependencies...
<copumpkin> FRidh: how's python-wip going nowadays?
sebastian_ has quit [(Ping timeout: 260 seconds)]
griff_ has quit [(Quit: griff_)]
<FRidh> copumpkin: well, occasionally things go there so they're build by a Hydra, and if all goes well it goes into master :)
<copumpkin> oh I thought it was the python3-by-default branch :)
mudri has quit [(Ping timeout: 258 seconds)]
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to release-17.03: https://git.io/vy9Sh
<NixOS_GitHub> nixpkgs/release-17.03 3879491 Will Dietz: timewarrior: patch to install all themes; use default install target....
MoreTea has quit [(Quit: Leaving)]
<FRidh> copumpkin: ahh no, I'm not working on that anymore.
<sphalerite> Anyone know anything about getting printing working? I've tried just enabling services.printing and plugging in my USB printer, but lpstat/lpinfo don't seem to list the printer.
<eacameron> Has anyone tried using VS code with Haskero on NixosL
<eacameron> ?
<fpletz> sphalerite: you can configure cups for example using its web interface at http://localhost:631/
<sphalerite> oh never mind there it is
<sphalerite> oh, sweet. Thanks fpletz
ThatDocsLady_afk is now known as ThatDocsLady
periklis has quit [(Ping timeout: 264 seconds)]
<wrl> what's the preferred way to install rust on nixos?
<wrl> I'm not seeing a package for rustup, but the rustc package is very old
<symphorien> I have heard about a dedicated overlay
FRidh has quit [(Ping timeout: 260 seconds)]
griff_ has joined #nixos
<LnL> or you can import the one from nixpkgs-unstable
ambro718 has quit [(Ping timeout: 240 seconds)]
mudri has joined #nixos
phaebz has quit [(Remote host closed the connection)]
dhess2 has joined #nixos
justbeingglad has joined #nixos
ndowens08 has joined #nixos
sivteck has joined #nixos
scealiontach has joined #nixos
k2s has joined #nixos
mudri has quit [(Ping timeout: 240 seconds)]
_deepfire has quit [(Ping timeout: 256 seconds)]
dhess2 has quit [(Ping timeout: 260 seconds)]
takle has joined #nixos
nschoe has quit [(Quit: Program. Terminated.)]
adfaure has quit [(Remote host closed the connection)]
danharaj has joined #nixos
takle has quit [(Ping timeout: 260 seconds)]
DutchWolfie has joined #nixos
DutchWolfie has quit [(Changing host)]
DutchWolfie has joined #nixos
<scealiontach> Hi, anyone have any experience with setting up channels? google has not been particularly helpful.
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vy9dR
<NixOS_GitHub> nixpkgs/master f28fe4c Antoine Eiche: pythonPackages.pycassa: init at 1.11.2...
georges-duperon has quit [(Ping timeout: 240 seconds)]
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #23920: pythonPackage.pycassa: init at 1.11.2 (master...pr/pycassa) https://git.io/vyD0E
takle has joined #nixos
tsmeets has joined #nixos
<scealiontach> what i mean is not using the existing channels, but setting up new ones.
willingc has joined #nixos
jophish has quit [(Quit: Lost terminal)]
jophish has joined #nixos
pie__ has joined #nixos
goibhniu has quit [(Ping timeout: 246 seconds)]
k2s has quit [(Ping timeout: 240 seconds)]
<scealiontach> is it just all the activities covered in nixos/lib/make-channel.nix or is there more?
marsam has quit [(Remote host closed the connection)]
<tjg1> I've been having issues with random freezes on a desktop system during heavy I/O on a dm-crypt partition. Disabling rngd seems to have remedied the problem. Not sure if I should open an issue, how to reliably test this or what information would help reproduce this.
mudri has joined #nixos
cpennington has quit [(Remote host closed the connection)]
griff_ has quit [(Quit: griff_)]
takle has quit [(Remote host closed the connection)]
takle has joined #nixos
odi_ has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
takle has joined #nixos
griff_ has joined #nixos
<dhess> Has anyone ever put together an out-of-repo "haskell-packages-lts-N" package that tracks Stackage LTS releases other than N == latest?
<dhess> Or even some tooling that will automatically generate such a set?
<bennofs> dhess: hmm well, I wrote https://github.com/bennofs/cabal2nix/tree/feature-stackage2nix but then got sidetracked
takle has quit [(Remote host closed the connection)]
<dhess> bennofs: Oh that looks very interesting
<dhess> probably even better than an LTS-tracking repo
<bennofs> dhess: i haven't tested it for older LTS versions, but for a relatively recent one, I was able to get 100% of the packages working on local hydra with only configuration-nix overrides
<bennofs> dhess: currently, there is no support in nixpkgs for overriding the package set to use (i.e. the "hackage-packages.nix" file)
dhess2 has joined #nixos
<bennofs> dhess: so you'll probably have to write a file like the default.nix file in haskell-modules yourself to use it
willingc has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<dhess> bennofs: primarily I would want to use this to build packages that I'm maintainig myself anyway, out of the nixpkgs tree; i.e., I have a project with a .cabal file and want to test the project against various LTS builds.
<dhess> bennofs: so this looks like it would fit the bill for that, no?
<dhess> Basically, it builds a default.nix for me, right?
ndowens08 has quit [(Ping timeout: 264 seconds)]
marsam has joined #nixos
<bennofs> dhess: it builds the equavilent of hackage-packages.nix
periklis has joined #nixos
<bennofs> dhess: you still need to do some wiring up to construct the fixpoint. Let me check if I can find the sample I used for my tests
<dhess> bennofs: hmm, I will build this and try it on one of my projects
<dhess> it's disappointing that automagic LTS tracking was removed from Nixpkgs and nothing has risen up to replace it. On the other hand, I guess that shows that the automagic LTS tracking wasn't that vaulable to people to begin with.
<dhess> and/or was frighteningly difficult to maintain
dhess2 has quit [(Ping timeout: 240 seconds)]
<bennofs> dhess: some stuff there is unnecessary, I only had to do it to avoid having packages for unsupported platforms in the output (passthruUnsupported and dependencies)
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #23877: iso-codes: 3.56 -> 3.74 (master...isocodes) https://git.io/vyP6r
<bennofs> dhess: stackage2nix will generate configuration-set.nix and what is called lts-7.16.nix in that example
JagaJaga has joined #nixos
<dhess> bennofs: I see. So then you pass this expression to ghcWithPackages in your config.nix when instantiating an environment?
proteusguy has joined #nixos
<bennofs> dhess: oh, I might have omited ghcWithPackages from that one
<bennofs> i really just used it as a hydra jobset
<bennofs> dhess: btw, do you want the behaviour as currently in nixpkgs, where for packages that are not part of stackage it uses the latest version on hackage?
willingc has joined #nixos
<dhess> bennofs: Ideally it would use the version bounds in the cabal file, if present. If not, then sure, latest would be fine.
<bennofs> dhess: then it might be easier to just use the script that generates the set in nixpkgs, as is already based on stackage
<dhess> bennofs: I'm not entirely sure how I would use this yet, but I'll give it a try later.
<dhess> bennofs: where is that script?
<bennofs> dhess: it's in standard cabal2nix, basically, you run update-stackage.sh from the cabal2nix repo and then hackage2nix i think
<dhess> bennofs: sure but it only uses latest LTS, right?
<bennofs> dhess: it has a line curl -L -s "https://www.stackage.org/lts/cabal.config" >"$tmpfile"
<bennofs> dhess: you can easily change that to another lts verson though
ugjka is now known as Lahey
katyucha is now known as Guest42574
katyucha_ is now known as katyucha
Lahey is now known as ugjka
<dhess> bennofs: Hmm. This is not meant to be snarky, though it may sound like it, but if it's so easy to change it to support different LTS versions, any idea why that hasn't already been done? :)
<bennofs> dhess: perhaps it has been done but because it's so easy there is just no "offical" support for it?
mudri has quit [(Ping timeout: 240 seconds)]
<bennofs> dhess: a problem could be that some overrides in nixpkgs may be wrong for older lts versions. also you might need to change the ghc version. etc
<bennofs> just lots of little things probably
<dhess> bennofs: yeah that's true
marsam has quit [(Remote host closed the connection)]
<bennofs> dhess: it would probably need some polish to make it official, right now it's more like "run this then this and edit this file and add this override"
<dhess> bennofs: basically what I'm looking for is a way to take a Haskell project, with a single .cabal file, and create a default.nix for it that will pin the Haskell package versions, automatically.
<dhess> bennofs: it *used* to be official ;)
<bennofs> dhess: if that's the case, you could just pin the nixpkgs version
<dhess> bennofs: No, not if nixpkgs never contained the entire set of dependencies I wanted
<bennofs> ah, so you want to pin a specific version
<dhess> yes.
<dhess> I want to say, here are the versions of each dependency that I *know* work, and do not ever change them.
<dhess> (until I change them myself)
<bennofs> dhess: yeah, so I think the most reliable way would be to check out a nixpkgs that is closest to your wanted version, and then regenerate the "hackage-packages.nix" file
<bennofs> (with hackage2nix and update-stackage.sh)
<dhess> bennofs: right, hence the "ugh" factor.
georges-duperon has joined #nixos
<bennofs> dhess: do you have a stack.yaml in your project?
<dhess> bennofs: Most of them do. And when they do, often several, for each LTS set I support.
<dhess> generally whatever is the latest for a particular GHC version (say, 8.0.1, 8.0.2, 7.10.3, 7.8,4, and maybe 7.6.3)
<bennofs> dhess: and you want to generate nix expressions for usage with hydra I suppose? (just gathering some infos here for future use cases of some tools)
<dhess> bennofs: I could use Stack of course, but I prefer to use Nix. In the past, when Nix supported LTS package sets, Nix could get me close enough (i.e., "yes, this builds successfully") to the point that I was comfortable commiting the changes in git. Then Travis-CI would take over and do the actual Stack builds as a final vetting step.
<dhess> bennofs: Eventually, yes. I haven't set up a Hydra yet but it's not too far out now.
<bennofs> dhess: so why you're using Nix in this case? (not to say that you shouldn't!)
<dhess> bennofs: because it's easier to use one environment than two.
<dhess> bennofs: see above. I *do* use Stack, just not on my local machine, if I can help it.
<dhess> only for the integration tests.
<bennofs> dhess: yeah. why would using Stack on your local machine be two environments? Sorry if I'm missing the point here
<bennofs> dhess: for example, could use stack on your local machine if stack had a "nix backend", basically creating nix expressions for the package version choice that it decided upon?
<bennofs> because there's also been some talk about such a tool
<dhess> bennofs: my workflow is, "nix shell" in the project directory, make changes, build, test, etc. Generally speaking I'm on nixpkgs unstable for that development because I want the latest/greatest.
<dhess> bennofs: once that's working, I want to test older LTSes for compilers I still support but don't use personally.
<NixOS_GitHub> [nixpkgs] vbgl pushed 1 new commit to master: https://git.io/vyHJo
<NixOS_GitHub> nixpkgs/master b13f408 Vincent Laporte: pythonPackages.pycassa: fix evaluation
<dhess> I don't want to use nix for the GHC 8.0.2 development and then switch to Stack for the older GHCs.
<bennofs> dhess: ah the alternative would be to use stack for everything, and don't use nix-shell at all
<dhess> bennofs: yes, and I don't want to do that, since I use Nix for literally everything else on my system.
marsam has joined #nixos
<bennofs> ah, that's what I was missing, thanks :)
<dhess> I only support Stack at all because so many others use it. Personally, I don't (and don't want to because Nix is much better.)
<chris|> is there any way I can define a systemd task that is not started by default but also not masked?
<dhess> bennofs: ok good :)
<bennofs> chris|: don't have it be dependend upon by anything?
mudri has joined #nixos
<dhess> bennofs: If Stack were *just* a better Cabal and could be taught to use the packages I've already built in my /nix/store, then I would probably switch. But until it can be taught to use those packages, I don't plan to use it for my own work.
<bennofs> dhess: so it's just about caching?
<bennofs> dhess: that could be solved with a nix backend for stack
<dhess> bennofs: No, also about dependencies on non-Haskell bits.
<dhess> bennofs: in fact that is the primary reason; caching is secondary.
<bennofs> dhess: yeah, that would be included in the idea. the advantage of using stack as the "frontend" for building haskell packages with nix is that some of the tooling that works with stack should "just work"
<dhess> bennofs: basically, the "100% reproducible builds" bit.
<bennofs> dhess: basically, I'm imagining a tool that just encodes whatever stack would do (stack generates a build plan where it decides to install package foo-1.0 etc) as nix expressions and then uses nix to perform the build. since the nix-expression generation can work with cabal2nix, it'll take all native deps from nixpkgs as well
<dhess> bennofs: If Stack could rely on Nix for the non-Haskell bits, I would be more inclined to use it.
<dhess> bennofs: yes, I would use that I think.
<dhess> bennofs: that would be lovely. I don't get the impression that FPC is at all interested in that, though.
<bennofs> the only problem with that is it won't help people who want to use hydra or nixpkgs
<bennofs> s/nixpkgs/nixops I meant
<dhess> bennofs: well I also use NixOps... but when I'm doing that, I don't care about supporting all the other GHC versions, or even different package sets. In those cases, as long as it builds and works properly, the Nixpkgs haskellPackages is fine.
<dhess> these are completely different workflows for me. One is basically my role as Haskell package maintainer, and the other is my role as user of that package for my own machines.
<bennofs> dhess: it's a problem with hydra though
<bennofs> it could work with recursive nix perhaps, running stack with nix backend as part of a nix build
<dhess> bennofs: I'm not using Hydra yet so I haven't encountered that. I guess my point is that I could use this imaginary Stack-based tool for interactive development, and standard Nix+Hydra-compatible tools for NixOps deployment.
<dhess> I don't particularly care if the NixOps deployment has to re-build everything
<dhess> bennofs: regardless, a Stack that produces Nix expressions with the proper versions wired-in would be fantastic.
scealiontach2 has joined #nixos
<bennofs> dhess: i don't think it would actually produce a nix expression visibly, just use some in the background with that approach. For example, I would let stack deal with checking out git dependencies etc and then just use local path deps to the checked out path
<bennofs> dhess: at least that would be much easier to integrate into stack
MP2E has joined #nixos
odi_ has quit [(Ping timeout: 260 seconds)]
scealiontach has quit [(Ping timeout: 246 seconds)]
<dhess> bennofs: Are you a Stack developer/contributor?
scealiontach2 is now known as scealiontach
mudri has quit [(Ping timeout: 256 seconds)]
<bennofs> dhess: not yet :) I have looked at the code a bit to see how it operates. I think I got stuck trying to figure out how it deals with the hfsevents/inotify issue on mac vs linux
<chris|> bennofs: I guess that'll work, thanks
<chris|> btw. is there a way to declare requirements to services as types instead of strings?
cmsky has joined #nixos
<bennofs> chris|: i don't think there is
<cmsky> hello, any people set up an android development environment with nix?
<cmsky> i'm wondering how to "accept the license"
willingc has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<chris|> bennofs: shame, so much for getting rid of typos ;)
ivan has joined #nixos
<steveeJ> I seem to be missing something in the nix-env manpage: if default.nix has an attribute A which is a derivation, how can I install it using $PWD/default.nix ?
<steveeJ> note that default.nix does not evaluate to a nixpkgs set if imported
<bennofs> steveeJ: nix-env -f default.nix -A 'A' ?
<dtzWill> steveeJ: nix-env -f $PWD/default.nix -A A ?
<dtzWill> xD
<steveeJ> dang, -f :D
mudri has joined #nixos
<steveeJ> thanks bennofs and dtzWill
sellout- has quit [(Ping timeout: 246 seconds)]
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #23823: qmetro: init at 0.7.1 (master...qmetro) https://git.io/vyKpu
dhess2 has joined #nixos
<NixOS_GitHub> [nixpkgs] jagajaga pushed 2 new commits to release-16.09: https://git.io/vyHt5
<NixOS_GitHub> nixpkgs/release-16.09 59282e1 Olegs Jeremejevs: sublime3: 3114 -> 3126
<NixOS_GitHub> nixpkgs/release-16.09 bd97f76 Arseniy Seroka: Merge pull request #23913 from jeremejevs/release-16.09...
civodul has joined #nixos
simendsjo has quit [(Quit: ERC (IRC client for Emacs 24.5.2))]
griff_ has quit [(Quit: griff_)]
<NixOS_GitHub> [nixpkgs] LnL7 opened pull request #23959: znc: 1.6.4 -> 1.6.5 (master...znc-1.6.5) https://git.io/vyHqV
dhess2 has quit [(Ping timeout: 256 seconds)]
sellout- has joined #nixos
JagaJaga has quit [(Ping timeout: 264 seconds)]
DutchWolfie has quit [(Quit: Konversation terminated!)]
cmsky has quit [(Quit: Page closed)]
fhoffmeyer1 has joined #nixos
zraexy has quit [(Ping timeout: 240 seconds)]
ndowens08 has joined #nixos
<eacameron> how do I specify that a mount should be owned by a user other than root?
fhoffmeyer has quit [(Ping timeout: 260 seconds)]
<eacameron> fileSystems.options is opaque to me
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #23747: evolution: Delete invalid option (master...patch-1) https://git.io/vyo6b
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vyH3u
<NixOS_GitHub> nixpkgs/master 2262855 butterflya: Delete invalid option...
<NixOS_GitHub> nixpkgs/master f940d9f Jörg Thalheim: Merge pull request #23747 from butterflya/patch-1...
ndowens08 has quit [(Client Quit)]
ndowens08 has joined #nixos
willingc has joined #nixos
tsmeets has quit [(Quit: leaving)]
<ndowens08> just love how oh-my-zsh says I dont have zsh installed
<samae> : )
<samae> how did you install it?
<LnL> lol
<ndowens08> i tried through repo, but doesnt seem to make any difference; install script from the site gives that error; and if you are referring to zsh itself, it was done though configuration.nix
<samae> er
alx741 has joined #nixos
<samae> ?
<samae> and note, you should have oh-my-zsh in your local profile
<samae> so nix-env -i oh-my-zsh
<NixOS_GitHub> [nixpkgs] LnL7 pushed 2 new commits to master: https://git.io/vyHGy
<NixOS_GitHub> nixpkgs/master f40b961 timor: couchdb: add support for version 2.0.0...
<NixOS_GitHub> nixpkgs/master 00ed0f7 Daiderd Jordan: Merge pull request #22897 from timor/couchdb-2.0.0...
<NixOS_GitHub> [nixpkgs] dtzWill opened pull request #23961: neo4j: increase file limit, per warning emitted at startup. (master...fix/neo4j-filelimit-upstream) https://git.io/vyHZn
<glines> has anyone else tried sway on wayland? it finally feels like I might be able to dogfood this
<NixOS_GitHub> [nixpkgs] oxij opened pull request #23962: nixos: tor: usability and security fixes (master...nixos/tor-sec) https://git.io/vyHnB
georges-duperon has quit [(Ping timeout: 240 seconds)]
ambro718 has joined #nixos
<NixOS_GitHub> [nixpkgs] vbgl pushed 1 new commit to master: https://git.io/vyHc3
<NixOS_GitHub> nixpkgs/master 14315cf ndowens: babl: 0.1.12 -> 0.1.24
ThatDocsLady has quit [(Quit: Arma-geddin-outta-here!)]
dhess2 has joined #nixos
dhess2 has quit [(Ping timeout: 246 seconds)]
periklis has quit [(Ping timeout: 256 seconds)]
Tsutsukakushi has left #nixos ["WeeChat 1.6"]
<NixOS_GitHub> [nixpkgs] dtzWill opened pull request #23963: irker: init at 2017-02-12 (master...feature/irkerd) https://git.io/vyHln
<dtzWill> weeee
hiratara has quit [(Ping timeout: 246 seconds)]
<NixOS_GitHub> [nixpkgs] benley opened pull request #23964: nixos: nix snowflake logo for the nixos manual launcher (master...nixos-manual-launcher) https://git.io/vyH8A
hiratara has joined #nixos
<Yaniel> aww, the talos principle won't run with the vulkan renderer on nixos :(
justbeingglad has left #nixos []
<benley> really? I think it works for me
* benley checks
<Yaniel> it fails to find any ICD here, presumably because the chroot doesn't contain vulkan-loader
* benley curses the slow-ass hard drive containing his steam library for its slowness
<benley> you're right, it fails. Turns out I had it in opengl mode before.
<benley> definitely appreciate it offering to start in Safe Mode after that failure
<NixOS_GitHub> [nixpkgs] ndowens opened pull request #23965: libgudev: 230 -> 231 (master...libgudev) https://git.io/vyHBU
<ndowens08> Can someone mark that PR i just did as wIP, got to package a dep of it
MP2E has quit [(Ping timeout: 246 seconds)]
sellout- has quit [(Quit: Leaving.)]
i_rony|nb has quit [(Ping timeout: 246 seconds)]
takle has joined #nixos
scealiontach has quit [(Ping timeout: 260 seconds)]
takle has quit [(Ping timeout: 264 seconds)]
pdobrogost has joined #nixos
_deepfire has joined #nixos
dhess has quit [(Remote host closed the connection)]
hyper_ch has quit [(Quit: ZNC - http://znc.sourceforge.net)]
takle has joined #nixos
hyper_ch has joined #nixos
dhess2 has joined #nixos
hiratara has quit [(Quit: ZNC - http://znc.in)]
dhess2 has quit [(Ping timeout: 240 seconds)]
hiratara has joined #nixos
<andymandias> is there anyone around that's got cups working properly?
<andymandias> I'm unable to see any printer I've set up, browsing true, listenAddresses set, and defaultShared true
<andymandias> looking at journalctl gives this message: cupsd[9389]: DNS-SD registration of "Dymo LabelWriter Twin Turbo @ kouan9ka" failed: Not permitted
<andymandias> which only leads me, so far, to someone with the same problem with no apparent solution
<clever> steveeJ: the runcommand you linked, will run the commands in "", which will fail to produce $out, its designed for use with nix-shell, which doesnt actualy run them
<clever> steveeJ: that allows routing a complex set of buildInputs into nix-shell
proteusguy has quit [(Ping timeout: 258 seconds)]
systemfault has joined #nixos
systemfault has quit [(Client Quit)]
<steveeJ> clever: thanks! I did understand it a while later when looking more into runcommand
<NixOS_GitHub> [nixpkgs] rycee pushed 1 new commit to master: https://git.io/vyHz6
<NixOS_GitHub> nixpkgs/master ca8a0e3 ndowens: libbson:1.1.10 -> 1.6.1...
<clever> steveeJ: nix-shell uses some perl code to assemble a nearly identical runCommand when you use -p
<NixOS_GitHub> [nixpkgs] rycee closed pull request #23904: libbson:1.1.10 -> 1.6.1 (master...libbson) https://git.io/vyMZm
<steveeJ> clever: I've been wondering how to install dependencies for the gccCrossStageStatic.
<clever> steveeJ: nix will just automaticaly download them
<ndowens08> anyone know which pkg provides libudev?
griff_ has joined #nixos
<clever> ndowens08: systemd
<ndowens08> thx clever
<clever> nix-repl> systemd.udev
<clever> { bin = «derivation /nix/store/iv73mdzcl2qy16vhn2y44ak2grbiqsa4-systemd-232.drv»; lib = «derivation /nix/store/iv73mdzcl2qy16vhn2y44ak2grbiqsa4-systemd-232.drv»; }
<ndowens08> so how do you figure out which package provides what?
<clever> ndowens08: the udev libs are in systemd.lib
<ndowens08> THing is, how do i search to find that out?
<clever> ls -l /nix/store/*/lib/libudev.so*
<clever> ndowens08: this is about the only way, other then guessing
civodul has quit [(Quit: ERC (IRC client for Emacs 25.1.1))]
<andymandias> okay, if anyone else comes across it I happened upon "avahi.publish.userServices = true" as the missing option
<andymandias> now I'm just running in to "Unable to encrypt connection: Unable to create server credentials"
<bennofs> ndowens08: there appears to be libudev.lib as well
<bennofs> ndowens08: btw, I'm working on https://github.com/bennofs/nix-index
ambro718 has quit [(Ping timeout: 268 seconds)]
<ndowens08> bennofs: that will be nice, when i am packaging sometimes i can figure it out but not always
digitus has quit [(Quit: digitus)]
<bennofs> ndowens08: it's becoming ready, just missing some documentation and some output niceties now
mizu_no_oto has joined #nixos
<NixOS_GitHub> [nixpkgs] ndowens opened pull request #23967: umockdev: init at 0.8.13 (master...umockdev) https://git.io/vyH2M
danielrf has quit [(Ping timeout: 260 seconds)]
<Yaniel> ndowens08: mind taking another look at my renderdoc PR?
<ndowens08> Yaniel: yeah will in a lil
Havvy has quit [(Read error: Connection reset by peer)]
<Yaniel> awshum
gridaphobe has quit [(Ping timeout: 252 seconds)]
gridaphobe has joined #nixos
dbmikus has quit [(Ping timeout: 260 seconds)]
systemfault has joined #nixos
<ndowens08> Yaniel: added a few comments, though I can't actually approve it though
<Yaniel> hmm urls don't need to be quoted like strings?
<ndowens08> Yaniel: yeah i didn't know that before either, but reviewer pointed that out to me once before
<ndowens08> on one of my pkgs
<ndowens08> which it makes it a little easier to highlight and go to the homepage when I am going through the repo updating packages :)
<Yaniel> okay, that's a quick fix anyway
marsam has quit [(Remote host closed the connection)]
<ndowens08> yep. Mostly I look at things that can be cosmetic improvements, and maybe other things if there is a better way, in which I am still fairly new to this myself
dhess2 has joined #nixos
willingc is now known as willingc_away
AllanEspinosa has joined #nixos
<ndowens08> compiled and ran fine as far as I can tell atleast :)
<Yaniel> if you can launch some modern gl or vulkan app and capture a frame then that's basically all it is supposed to do
erasmas has quit [(Quit: leaving)]
<Yaniel> (okay and inspecting said capture)
rui1 has quit [(Quit: WeeChat 1.5)]
<Yaniel> I used sasha willems's vulkan examples and some of my gl projects for testing
qewzee has quit [(Quit: ZNC 1.6.4 - http://znc.in)]
dhess2 has quit [(Ping timeout: 246 seconds)]
mexisme has joined #nixos
thc202 has quit [(Ping timeout: 240 seconds)]
<Yaniel> aand fixed
<andymandias> and for anyone who searches and finds "Unable to encrypt connection: Unable to create server credentials"
<andymandias> creating the directory /etc/cups/ssl did the trick (the certificate/key were created automatically afterwards)
<NixOS_GitHub> [nixpkgs] joachifm pushed 1 new commit to master: https://git.io/vyHo6
<NixOS_GitHub> nixpkgs/master ed7fb7a ndowens: bobcat: 4.02.00 -> 4.07.00 (#23742)
<bennofs> andymandias: can you open an issue afterwards with all the stuff you had to do to get cups working?
<bennofs> andymandias: so it's not lost in irc c
khlrbi has joined #nixos
<andymandias> bennofs: can do, is https://github.com/NixOS/nix/issues the appropriate place?
khlrbi has quit [(Quit: ZNC - http://znc.in)]
<bennofs> andymandias: thx
<andymandias> bennofs: gotcha, thanks
<NixOS_GitHub> [nixpkgs] joachifm pushed 1 new commit to master: https://git.io/vyHKR
<NixOS_GitHub> nixpkgs/master b760bfd Marti Serra: clementine: added switches for optional dependences (#23730)...
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
willingc_away is now known as willingc
willingc is now known as willingc_away
willingc_away is now known as willingc
proteusguy has joined #nixos
pxc has joined #nixos
eacameron has quit [(Remote host closed the connection)]
eacameron has joined #nixos
hiratara has quit [(Ping timeout: 246 seconds)]
digitalmentat has joined #nixos
<digitalmentat> Hydra provides a "one-click install package" feature for a successful jobset but that link has the build-job ID in the URL
<digitalmentat> is there a "pointer to the latest" that is hidden from the interface?
systemfault has quit [(Quit: Bye!)]