gchristensen changed the topic of #nixos to: NixOS stable: 18.09, beta: 19.03 https://discourse.nixos.org/t/nixos-19-03-feature-freeze/1950 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat, #nixcon ... nixcon videos: https://tinyurl.com/nixcon2018
<aanderse> which is one of the many reasons i like nixos :)
<aanderse> the module system takes care of you most of the time
<AlexRice[m]> also I've currently reused the windows efi partition, I'm not sure if this is correct and I think it might be what is causing problems
<jasongrossman> Even if you don't use refind (I don't), its web pages have very good documentation on how various bootloaders work.
<clever> AlexRice[m]: windows may overwrite files in there
day|flip has joined #nixos
<samueldr> I use simple refind without it being managed by nixos, which then uses the nixos-installed grub to boot nixos; refind is at the default fallback location...
aloiscochard has joined #nixos
<AlexRice[m]> I'll try to make another efi partition then
<samueldr> ... that is because at least two of my EFI machines have bad implementations, which can lose the settings :/
<samueldr> ... the other two have not yet failed me, though one of those two did fail me on firmware upgrade :/
xkapastel has joined #nixos
pxc has quit [Ping timeout: 246 seconds]
<GlennS> Hi, I'm wondering about `python3 setup,py develop`. In the manual it suggests to instead do buildPythonPackage inside your shell.nix, but this is a bad solution because you have to kick your shell and rebuild every time you make a code change.
<GlennS> I've been fiddling around with `python3 setup.py develop --install-dir staging --script-dir bin` and then adding those to PYTHONPATH and PATH in my shell hook, but having some trouble and wondering if anyone has a better/working solution?
kgz has quit [Ping timeout: 250 seconds]
<GlennS> The specific problem I'm running into is that setuptools is somehow broken and it can't find the pkg_resources module when I run my command that I built. I'll keep investigating that.
thc202 has quit [Ping timeout: 245 seconds]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/38ae3fe584e (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
Rusty1 has quit [Quit: Konversation terminated!]
T_S_ has joined #nixos
o1lo01ol1o has joined #nixos
kgz has joined #nixos
fresheyeball has quit [Quit: WeeChat 2.2]
o1lo01ol1o has quit [Ping timeout: 245 seconds]
T_S_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Rusty1 has joined #nixos
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/46d3867a08a (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
silver_ has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fjqBM
fendor__ has joined #nixos
silver has quit [Read error: Connection reset by peer]
kreisys has quit [Read error: Connection reset by peer]
fendor_ has quit [Remote host closed the connection]
mmlb977450853050 has quit [Quit: Ping timeout (120 seconds)]
callahad has quit [Quit: Ping timeout (120 seconds)]
hke has quit [Quit: Ping timeout (120 seconds)]
mbrgm has quit [Quit: ZNC 1.7.2 - https://znc.in]
buffet has quit [Quit: ZNC 1.7.2 - https://znc.in]
mbrgm_ has joined #nixos
callahad has joined #nixos
hke has joined #nixos
mmlb977450853050 has joined #nixos
mbrgm_ is now known as mbrgm
sigtrm has quit [Quit: No Ping reply in 180 seconds.]
InFlames has joined #nixos
laalf has quit [Quit: No Ping reply in 180 seconds.]
laalf has joined #nixos
buffet has joined #nixos
day|flip has quit [Ping timeout: 245 seconds]
sigtrm has joined #nixos
day|flip has joined #nixos
ericnoan has quit [Ping timeout: 246 seconds]
delan has quit [Ping timeout: 246 seconds]
Xal has quit [Ping timeout: 246 seconds]
Qubasa has quit [Read error: Connection reset by peer]
Qubasa has joined #nixos
delan has joined #nixos
delan has joined #nixos
delan has quit [Changing host]
ericnoan has joined #nixos
Xal has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer merged pull request #59278 → netbsd.mkDerivation: fix darwin build → https://git.io/fjqlc
<{^_^}> [nixpkgs] @matthewbauer pushed 3 commits to master: https://git.io/fjqB5
<{^_^}> [nixpkgs] @bendlas pushed to master « cask: clean up and byte compile »: https://git.io/fjqBd
jybs has quit [Quit: leaving]
jasongrossman has quit [Quit: ERC (IRC client for Emacs 26.1)]
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/1acf6547d0f (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
day|flip has left #nixos [#nixos]
day|flip has joined #nixos
InFlames has quit [Ping timeout: 268 seconds]
o1lo01ol1o has joined #nixos
ddellacosta has joined #nixos
jackdk has quit [Ping timeout: 255 seconds]
<{^_^}> [nixpkgs] @jonafato opened pull request #59290 → vocal: 2.3.0 -> 2.4.0 → https://git.io/fjqRq
uranther has quit [Quit: Connection closed for inactivity]
jackdk has joined #nixos
tmaekawa has quit [Ping timeout: 246 seconds]
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
infinee has joined #nixos
Erasmus has joined #nixos
sigmundv_ has quit [Ping timeout: 250 seconds]
sheeldotme has joined #nixos
<sheeldotme> hi all, I'm getting an error where cmake requires ps as a runtime dependency. It was suggested that I could use stdenv so that the darwin.ps input would propogate (https://bit.ly/2Ggt3vO). I made this change: https://bit.ly/2G7E4xQ, and still no luck. I'd really appreciate any help as I'm still not very familiar with nix.
alex`` has joined #nixos
<buckley310> sheeldotme: i think just add procps as a build input
InFlames has joined #nixos
<buckley310> see if that works, if not then maybe ill poke at it
silver_ has quit [Read error: Connection reset by peer]
<infinisil> sheeldotme: Oh, setting `builder`, `args` and `system` isn't needed, and that's probably what makes it fail
<infinisil> You should use the standard builder (which is used by default), and use the phases to change behavior or do specific stuff
<infinisil> And to get ps, you should just add `ps` to buildInputs, not `procps` (because that's linux specific)
buffet_ has joined #nixos
drakonis has joined #nixos
buffet has quit [Ping timeout: 245 seconds]
<sheeldotme> Thanks for your help buckley310 and infinisil, I really appreciate it! Simply removing those properties did the trick. https://bit.ly/2ImWKfW I assume this is because I was overriding standard behaviour?
<buckley310> nice
<infinisil> sheeldotme: Indeed, mkDerivation really only does the buildInput magic if you don't set those properties
work_ has quit [Quit: Connection closed for inactivity]
<infinisil> sheeldotme: And actually, I think you can remove all buildInputs now, give it a try
<infinisil> Well except cmake, but cmake should be in `nativeBuildInputs`
<sheeldotme> Yeah I can! That makes sense, I guess that sets the architecture to be used? Is there any other difference?
<sheeldotme> is there an easy way to see what else is included in stdenv?
<sheeldotme> by easy way, I mean via command-line as opposed to reading the source.
<infinisil> mkDerivation does a lot of things, like also handling cross compilation correctly, making sure you get the correct output of derivations, header files and such, strips binaries to make them much smaller, fix up runtime paths, and maybe more
<infinisil> sheeldotme: Nope
<infinisil> But there's the manual
Qubasa has quit [Ping timeout: 255 seconds]
basvandijk has joined #nixos
<sheeldotme> Excellent, exactly what I needed, thanks!
<infinisil> :)
<{^_^}> [nixpkgs] @steve-chavez opened pull request #59292 → pgrouting: init at 2.6.2 → https://git.io/fjqR4
Qubasa has joined #nixos
basvandijk has quit [Ping timeout: 255 seconds]
orivej has quit [Ping timeout: 246 seconds]
<infinisil> sheeldotme: Did you get to the initial version of your nix derivation by reading the nix pills?
<sheeldotme> Yes, I did, I'm working through the pills right now.
<sheeldotme> Why do you ask?
jackdk_ has joined #nixos
jackdk has quit [Disconnected by services]
jackdk_ is now known as jackdk
<infinisil> I see, well while the pills give a good understanding of nix, I think they're not as good if you actually want to start packaging things
<sheeldotme> Is there another resource you suggest going through? (Other than the manual)
<infinisil> Unfortunately I don't know any
<sheeldotme> That's ok, the manual + source code it is! No problem there :)
<infinisil> Yeah, I wish we had more well-written up-to-date tutorials
sheeldotme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sheeldotme has joined #nixos
<sheeldotme> I'll try to keep track of any areas I feel there may be gaps in / where things may be out of date.
<sheeldotme> Maybe that info could be put to good use :)
tdbgamer has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
dycan has joined #nixos
hlolli_ has joined #nixos
hlolli__ has quit [Ping timeout: 246 seconds]
sheeldotme has quit [Quit: Textual IRC Client: www.textualapp.com]
ddellacosta has quit [Ping timeout: 245 seconds]
alex`` has quit [Ping timeout: 246 seconds]
<{^_^}> Channel nixos-18.09 advanced to https://github.com/NixOS/nixpkgs/commit/46d3867a08a (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-18.09)
nD5Xjz_ has joined #nixos
nD5Xjz has quit [Ping timeout: 246 seconds]
nD5Xjz_ has quit [Ping timeout: 250 seconds]
nD5Xjz has joined #nixos
ryantrinkle has joined #nixos
tdeo` has joined #nixos
InFlames has quit [Ping timeout: 246 seconds]
drakonis has quit [Quit: WeeChat 2.3]
alex`` has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @MetaDark opened pull request #59293 → qbittorrent: add python as a runtime dependency for search → https://git.io/fjqRo
nD5Xjz has quit [Ping timeout: 245 seconds]
o1lo01ol1o has joined #nixos
nD5Xjz has joined #nixos
lovesegfault has quit [Ping timeout: 240 seconds]
lovesegfault has joined #nixos
o1lo01ol1o has quit [Ping timeout: 246 seconds]
alex`` has quit [Ping timeout: 246 seconds]
o1lo01ol1o has joined #nixos
<alunduil> Does anyone know if there are plans to integrate lorri into nixpkgs and home-manager? I'd love to use it but having it installed without one of these sources doesn't make it desirable at this time.
Qubasa has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<{^_^}> [nixpkgs] @matthewbauer opened pull request #59294 → clang8: apply patch to disable xpc → https://git.io/fjqRM
Qubasa has joined #nixos
<infinisil> alunduil: You can still just add it to your NixOS' configuration.nix or your home-managers home.nix
xkapastel has quit [Quit: Connection closed for inactivity]
<alunduil> infinisil: through a fetchGithub or some simpler mechanism?
<infinisil> Something like this: `let src = fetchTarball "https://github.com/target/lorri/tarball/rolling-release"; lorri = import src { inherit src; }; in ...`
drakonis has joined #nixos
<infinisil> And the ... is the rest of your config where you can add lorri to systemPackages/packages
<alunduil> infinisil: I thought about that but was hoping it'd be packaged or likewise to make it simpler than that. If not, that's fine. I can probably live with that.
<OmnipotentEntity> Is there an example in nixpkgs of a firefox addon that has a companion app? I'm trying to package video download helper.
<infinisil> alunduil: Well it *is* packaged, it just lives outside of nixpkgs for now, and that's not necessarily a bad thing
<alunduil> infinisil: nope, what advantages am I not thinking of for having a package outside nixpkgs?
<infinisil> alunduil: For one the package can independently be updated, not constrained by having to PR updates to nixpkgs
<infinisil> They can also guarantee that the package actually builds. nixpkgs constantly changes, potentially breaking your package in hundred ways
<alunduil> infinisil: I hadn't thought of that second point.
<infinisil> It could be added to NUR though
<infinisil> ,NUR
<{^_^}> Nix User Repository: User contributed nix packages, https://github.com/nix-community/NUR
<infinisil> Which would be neat
<alunduil> infinisil: that does sound interesting, but that's still subject to the pull request issue isn't it?
<infinisil> Then you get these advantages too, but end users can use a centralized place of getting external packages
<infinisil> alunduil: Nope, with NUR you can just tell it "Here's my repo", and it auto-updates every hour or so
<infinisil> (look at the commit history)
<alunduil> infinisil: that's slick. I should look at moving a few packages to that.
<infinisil> I should too, I have a couple I could add :)
<infinisil> Unfortunately it's kinda hard to discover packages in NUR currently
<alunduil> infinisil: I need to get back into the habit of keeping up with all of the NixOS improvements.
<alunduil> infinisil: why is that? Couldn't we setup a similar system to the online package search you get from nixpkgs?
<infinisil> Yeah that would be possible, but nobody has done it yet
<infinisil> Mic92 (who was the original creator of NUR) has been wanting that for a while
<infinisil> Ah there's even a prototype: https://nix-community.github.io/nur-search/repos/
<{^_^}> nix-community/NUR#83 (by Mic92, 27 weeks ago, open): Improve design of NUR search
<alunduil> infinisil: nice! I'll have to digest a bit of this.
<alunduil> infinisil: thanks for catching me up a little bit.
<{^_^}> [nixpkgs] @sveitser opened pull request #59295 → python.pkgs.pytest-watch: init at 4.2.0 → https://git.io/fjqR5
InFlames has joined #nixos
slack1256 has joined #nixos
Arahael has quit [Remote host closed the connection]
ryantrinkle has quit [Ping timeout: 245 seconds]
slack1256 has quit [Remote host closed the connection]
Mateon2 has joined #nixos
Mateon1 has quit [Ping timeout: 268 seconds]
Mateon2 is now known as Mateon1
<InFlames> is there a good way to centralize my nix shells and enter them within different directories? Like say I have one for node development, but I don't really want to symlink it into each directory manually, I know I can just symlink the directory above all my projects and then navigate into them to run the shell, but is there a better way?
drakonis has quit [Quit: WeeChat 2.3]
drakonis has joined #nixos
<simpson> InFlames: The `direnv` utility is third-party to us but offers Nix integration: https://github.com/direnv/direnv/wiki/Nix
<simpson> I have used it a bit and it is relatively nice.
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @adisbladis merged pull request #59272 → go-ethereum: 1.8.25 -> 1.8.26 → https://git.io/fjqZY
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/fjq0f
<alienpirate5> TIL Target (the store) has made a nix-shell replacement
basvandijk has joined #nixos
basvandijk has quit [Ping timeout: 250 seconds]
jeff__ has joined #nixos
<{^_^}> [nixpkgs] @bendlas pushed to master « cask: use emacsPackagesNg instead of emacsPackages »: https://git.io/fjq0k
<{^_^}> [nixpkgs] @Quiark opened pull request #59296 → WIP: keepassxc: 2.3.4 -> 2.4.0 → https://git.io/fjq0t
<{^_^}> [nixpkgs] @ryantm merged pull request #49868 → nixos/triggerhappy: add option user → https://git.io/fpJFn
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fjq03
mtjmullen has joined #nixos
stepcut_ has joined #nixos
stepcut has quit [Ping timeout: 245 seconds]
hlolli__ has joined #nixos
mtjmullen has quit [Quit: WeeChat 2.4]
hlolli_ has quit [Ping timeout: 240 seconds]
drakonis_ has joined #nixos
gyroninja has joined #nixos
drakonis has quit [Ping timeout: 252 seconds]
aloiscochard has quit [Quit: Connection closed for inactivity]
mtjmullen has joined #nixos
stepcut_ has quit [Remote host closed the connection]
stepcut has joined #nixos
endformationage has quit [Quit: WeeChat 2.4]
<{^_^}> [nixpkgs] @cdepillabout opened pull request #59297 → haskell-generic-builder: disable library-for-ghci by default → https://git.io/fjq0H
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
stepcut has quit [Ping timeout: 255 seconds]
stepcut has joined #nixos
o1lo01ol1o has quit [Ping timeout: 246 seconds]
<kandinski> hey folks, which nix-cookbook url is the bet maintained? readthebooks.io, nixos.wiki, other?
<kandinski> funops.co seems no longer live
<{^_^}> [nixpkgs] @veprbl merged pull request #57888 → drawpile: add architecture unix → https://git.io/fjvxT
<{^_^}> [nixpkgs] @veprbl pushed commit from @tobiasBora to master « drawpile: set meta.platforms (#57888) »: https://git.io/fjq05
noonien has quit [Quit: Connection closed for inactivity]
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
nD5Xjz has quit [Ping timeout: 255 seconds]
kreisys has joined #nixos
stepcut has quit [Ping timeout: 246 seconds]
nD5Xjz has joined #nixos
nD5Xjz_ has joined #nixos
nD5Xjz has quit [Ping timeout: 246 seconds]
Rusty1 has quit [Quit: Konversation terminated!]
Arahael has joined #nixos
Arahael has quit [Client Quit]
<mabel> I'm building my first Nix module, one to specify a set of docker containers to build!
Arahael has joined #nixos
<mabel> it will have some slightly nicer syntax than dockerTools, namely file."/etc/nsswitch.conf".text = "hosts: file dns"; sort of syntax
<mabel> but built upon them of course
<mabel> I'm finding myself fighting with the module system a bit though, so I think I'm doing something wrong
wfranzini has quit [Remote host closed the connection]
<mabel> in particular, I'm not sure 1. how to pass "internal" configuration up without declaring it with mkOption (and is that an anti-pattern?)
<mabel> and 2. how to marshal configs into json so they can be passed to my builder
<mabel> I guess I should use jq or something?
shabius_ has joined #nixos
<mabel> tbh I'm new to the Linux world so I'm easily confused and frightened by bash
kyren has quit [Quit: ZNC 1.7.2 - https://znc.in]
nD5Xjz_ has quit [Ping timeout: 250 seconds]
nD5Xjz has joined #nixos
domogled has joined #nixos
shabius has quit [Ping timeout: 258 seconds]
domogled has quit [Client Quit]
domogled has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer merged pull request #58625 → aria2: Add sphinx build dependency to generate man pages → https://git.io/fjk6s
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fjqEk
<{^_^}> [nixpkgs] @worldofpeace merged pull request #59290 → vocal: 2.3.0 -> 2.4.0 → https://git.io/fjqRq
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to master: https://git.io/fjqEL
<Arahael> mabel: I personally prefer the fish shell, but it's worth learning bash. If you're familiar with powershell, you could install that instead.
<Arahael> The thing about bash is that it's ubiquitious - it's the default shell everywhere (except windows), and even with windows, if you install git, you will typically have it installed.
<mabel> oh, I mean to use bash for my builder
<Arahael> Ah, yeah, use bash for that.
<mtjmullen> Hey all, thanks for making ACME so easy to get up and running :)
<{^_^}> [nixpkgs] @veprbl merged pull request #57743 → ffmpeg_4: build with videotoolbox on darwin → https://git.io/fjvUO
<{^_^}> [nixpkgs] @veprbl pushed commit from @ryan4729 to master « ffmpeg_4: build with videotoolbox on darwin (#57743) »: https://git.io/fjqEq
leotaku has quit [Quit: ZNC 1.7.1 - https://znc.in]
leotaku has joined #nixos
ninjin has quit [Ping timeout: 256 seconds]
<mabel> arahael: so I'm not exactly sure where to put the builder.. my thought is that I should keep my module pure and include no derivations there (other than simple things like writeText), then make like a buildContainerImage function which 1. calls evalModules [ ./my-module.nix callerModule ] and 2. builds a derivation out of the resulting config
<mabel> does that seem roughly like the right direction?
kyren has joined #nixos
<Arahael> mabel: I'm afraid I'm still very new to nixos, and nix in general, however I'm not sure if you're using "pure" in the "minimalist" sense, or in the nix sense of the word where you have deterministic builds.
<mabel> pure in the separation of concerns sense
gagbo has joined #nixos
fendor__ has quit [Ping timeout: 268 seconds]
gspia_ has joined #nixos
<InFlames> simpson: thanks, that looks promising, for now I'm just still making symlinks, haha
rjmill has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @srhb merged pull request #59077 → libow: init at 3.2p1 → https://git.io/fjLHM
<{^_^}> [nixpkgs] @srhb pushed 3 commits to master: https://git.io/fjqEW
rjmill has joined #nixos
ninjin has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace pushed to staging-next « font-manager: 0.7.4.3 -> 0.7.5, fix build »: https://git.io/fjqE4
dycan has quit [Remote host closed the connection]
rjmill has quit [Ping timeout: 240 seconds]
nD5Xjz has quit [Ping timeout: 250 seconds]
nD5Xjz has joined #nixos
basvandijk has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace pushed to staging-next « plasma5.plasma-workspace: fix patch »: https://git.io/fjqER
basvandijk has quit [Ping timeout: 246 seconds]
kyren has quit [Quit: ZNC 1.7.2 - https://znc.in]
<{^_^}> [nixpkgs] @FRidh pushed 155 commits to staging-next: https://git.io/fjqEz
kreisys has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kyren has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed 159 commits to staging: https://git.io/fjqEg
znc-user has quit [Ping timeout: 246 seconds]
jackdk has quit [Remote host closed the connection]
jackdk has joined #nixos
kyren[m] has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #59050 → pipenv: Ignore Python site-packages → https://git.io/fjL1q
<{^_^}> [nixpkgs] @FRidh pushed commit from Väinö Järvelä to master « pipenv: Ignore Python site-packages »: https://git.io/fjqED
alexozer has quit [Ping timeout: 245 seconds]
jmgai_ has quit [Ping timeout: 245 seconds]
aloiscochard has joined #nixos
jmgai has joined #nixos
znc-user has joined #nixos
rauno has joined #nixos
orivej has joined #nixos
teto has quit [Ping timeout: 244 seconds]
jasongrossman has joined #nixos
ayerhart has quit [Remote host closed the connection]
kleisli has joined #nixos
nD5Xjz has quit [Ping timeout: 245 seconds]
hyper_ch has quit [Quit: ZNC 1.7.2 - https://znc.in]
nD5Xjz has joined #nixos
hyper_ch has joined #nixos
<chrisaw> Does anyone know how I can override the *full* systemd.services.*.preStart script? I know I can extend it but I need to replace the full script.
nD5Xjz_ has joined #nixos
<Akii> I've a thing that builds fine locally but on the server it suddenly says that The option value `environment.systemPackages.[definition 1-entry 4]' in `/etc/nixos/packages.nix' is not of type `package'.
nD5Xjz has quit [Ping timeout: 268 seconds]
kleisli has quit [Ping timeout: 250 seconds]
<gyroninja> I'm trying to use nix on my gentoo machine and am running into a couple problems
<gyroninja> the first seemed to be fixed by setting my NIX_PATH, but I'm still getting this error "error: unable to start build process" when I try to install a package
nD5Xjz has joined #nixos
ayerhart has joined #nixos
nD5Xjz_ has quit [Ping timeout: 255 seconds]
day|flip has quit [Quit: leaving]
Ariakenom has joined #nixos
periklis has joined #nixos
<gyroninja> I'm using version 2.2.1 if that is relavent
<gyroninja> but the error still appears when trying to run the latest from git
Anton-Latukha has joined #nixos
goibhniu1 has joined #nixos
fusion809 has quit [Remote host closed the connection]
AxiomaticEspress has quit [Quit: WeeChat 2.4]
<Akii> ist it somehow possible to debug any of this?
m0rphism has joined #nixos
<Akii> I want to print this variable that is supposedly not a package
amfdsrt^ has quit [Read error: Connection reset by peer]
<mpickering> In which package can I find `perf`?
<etu> ,locate perf
<{^_^}> [nixpkgs] @basvandijk merged pull request #59263 → dune: 1.8.2 -> 1.9.0 → https://git.io/fjqmT
<{^_^}> Found in packages: pig, atom, jzmq, storm, brackets, dart_dev, dart_old, sonic-pi, atom-beta, linux.dev, dart_stable, bitwarden-cli, intel-gpu-tools, linux_mptcp.dev, nodePackages.bower, python27Packages.perf, python37Packages.perf, linuxPackages_4_4.perf, linuxPackages_4_9.perf, linuxPackages_4_14.perf, linuxPackages_4_20.perf, linuxPackages-libre.perf, linuxPackages_xen_dom0.perf, linuxPackages_4_4.kernel.dev, and 16 more
<{^_^}> [nixpkgs] @basvandijk pushed 2 commits to master: https://git.io/fjquF
<etu> mpickering: Unclear :D
<Akii> I'm really at a loss. The very same thing works perfectly in another project: https://gist.github.com/Akii/2a45b05635a3b2511c064ccdb134b0cf
<ivan> chrisaw: does mkForce work?
mounty has joined #nixos
<Akii> just checked the repo out myself on the server nix-build works
<Akii> what the f
<ivan> pkgs.lib.mkForce
<chrisaw> ivan: Yep, I had just not run nix-collect-garbage -d so I guess it was using the cached systemd service. Working now. Thanks!
<ivan> cool
<Akii> I must be missing something obvious, right?
teto1 has joined #nixos
teto1 has quit [Client Quit]
<mabel> Akii:nix repl
<Akii> and then?
<mabel> :l <nixpkgs>, then you can tab around and print expressions
<mabel> if you need to debug the value of a config, you can use the "nixos" pkg
<Akii> can I load a file?
<Akii> like I'd like to "evaluate" the overlay
<Akii> which should download the thing
<Akii> and do the thing
jackdk has quit [Ping timeout: 250 seconds]
wfranzini has joined #nixos
linarcx has joined #nixos
<mabel> you can use it to load files, just import
<mabel> module = import /path/to/your/module.nix {}; then pass that in
<Akii> oooh
<Akii> I see
kgz has quit [Ping timeout: 245 seconds]
<mabel> the way NixOS evaluates modules is by calling lib.evalModules on them, which is the machinery that understands imports / options / config
<mabel> there's some setup it does for NixOS options, which is why I recommend pkgs.nixos
<Akii> module = import /etc/nixos/overlays/haas-form-submit.nix {}
<Akii> made that without the ; at the end
<Akii> and that is now «lambda @ /etc/nixos/overlays/haas-form-submit.nix:1:7»
<Akii> since that is an overlay I'd suspect I need to call it with parameters
<mabel> nix-repl> pkgs.nixos
<mabel> «lambda @ /nix/store/ci7jcfzcmfwsawfs30ihy9csk5qpnpav-nixpkgs-19.09pre173720.d73f16d6767/nixpkgs/pkgs
<mabel> so that's what I've done to see where the nixos module is located. I use master, so it's defined in pkgs/top-level/all-packages.nix:22720
<Akii> okay, that evaluates to { haas-form-submit = { ... }; }
<mabel> so according to the comments, you'll probably want to call myOS = pkgs.nixos (module)
<mabel> and then look into module.config. fortunately, nix repl has tab completion
<Akii> okay, I see
<Akii> just checked with another package
<Akii> { haas-backend = «derivation /nix/store/l9c28x791mc9c1vc3whlllpyf3bs3lp9-haas-backend-0.1.0.0.drv»; }
<mabel> if you're using overlays, you'll have a different pkg than the one you get just by doing :l <nixpkgs>
Ariakenom has quit [Read error: Connection reset by peer]
<Akii> that evaluated to that where as my form thing evaluates to { haas-form-submit = { ... }; }
<Akii> which is.. not a package lol
<Akii> ha
<mabel> :D
<mabel> debugging is fun!
<Akii> not sure why but module.haas-form-submit is the derivation
<Akii> maybe I need to somehow unwrap that
<mabel> that makes sense. you probably declared haas-form-submit as an mkOption with type = types.package, right?
<Akii> I think that's all done by yarn2nix
<Akii> works btw
<mabel> aah makes sense. and excellent!
* mabel goes back to fighting with bash and jq
<Akii> I just set it to 'foo.foo' which is ugly but I can fix that late
<Akii> r
<Akii> thank you very much! I now know how to debug this stuff :D
<mabel> you're welcome! :D I'm a huge fan of nix repl, I owe it my sanity
civodul has joined #nixos
kgz has joined #nixos
arjen-jonathan has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace opened pull request #59298 → gnome3.pomodoro: 0.13.4 -> 0.15.1 → https://git.io/fjqzW
dnlkrgr has joined #nixos
nD5Xjz has quit [Ping timeout: 246 seconds]
JaakkoLuttinen[m has joined #nixos
lejonet has quit [Ping timeout: 252 seconds]
knupfer has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace pushed to staging-next « plasma5.xdg-desktop-portal-kde: fix build »: https://git.io/fjqzg
gentauro has quit [Read error: Connection reset by peer]
gentauro has joined #nixos
drakonis_ has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @FRidh pushed to master « hiredis-vip: init at 0.3.0 »: https://git.io/fjqza
kleisli has joined #nixos
nD5Xjz has joined #nixos
linarcx has quit [Ping timeout: 245 seconds]
linarcx has joined #nixos
linarcx has quit [Ping timeout: 244 seconds]
linarcx has joined #nixos
<JaakkoLuttinen[m> I have a script defined by writeScript. Why does nix-shell run it at build time???
<JaakkoLuttinen[m> #59299
<{^_^}> https://github.com/NixOS/nixpkgs/issues/59299 (by jluttine, 7 minutes ago, open): Script created by writeScript run at build time
gyroninja has quit [Ping timeout: 246 seconds]
Makaveli7 has joined #nixos
ninjin has quit [Remote host closed the connection]
<Akii> anyone got selenium working?
ninjin has joined #nixos
<{^_^}> #12505 (by meteficha, 3 years ago, open): chromedriver can't find Chromium
<Akii> so that they can find the chromium binary
crmlt has joined #nixos
jfroche has joined #nixos
<mabel> JaakkoLuttinen[m: iirc, stdenv calls source on each build input, so that build inputs get added to the path. I think there's a variant called writeScriptDir or something that will put the script in a dir rather than the build input pointing to the script directly
gyroninja has joined #nixos
teto1 has joined #nixos
crmlt has quit [Ping timeout: 250 seconds]
polman has quit [Ping timeout: 246 seconds]
<Akii> ah ok, I think I know what's wrong: the chromedriver and the current chromium are incompatible
<Akii> is there a quick way of installing a specific chromium version?
polman has joined #nixos
<mabel> Akii: yup! you can override the package to pin the version
linarcx has quit [Ping timeout: 255 seconds]
<mabel> yup! it's also worth hunting in nixpkgs to find the nix expression so you know what to override
linarcx has joined #nixos
<mabel> for instance, I have:
<mabel> bspwm = pkgs.bspwm.overrideAttrs ({...}: rec {
<mabel> version = "0.9.7";
<mabel> src = pkgs.fetchFromGitHub {
<mabel> in my home.nix, where I fetch a specific version of bspwm by overriding the "src" attribute of the derivation
<mabel> there are three hooks: override, overrideAttrs and overrideDerivation. overrideAttrs overrides the attributes that are passed into stdenv.mkDerivation, overrideDerivation overrides the derivation itself (mkDerivation is a wrapper on the real derivation {}), and override lets you mess with the closure that goes into the package
<mabel> another trick I use is to search gist.github.com for language:nix package_I'm_interested_in, to see if someone's done it before
Izorkin has quit [Ping timeout: 244 seconds]
<Akii> interesting
Izorkin has joined #nixos
<mabel> ah, so if you wanted to change the channel, you could call chromium.override { channel = "unstable"; } for instance
<Akii> I need a specific version that works with the chromedriver for selenium
InFlames has quit [Ping timeout: 246 seconds]
Shouou has quit [Quit: Leaving]
noctux has quit [Quit: WeeChat 2.3]
Jetien_ has joined #nixos
drakonis_ has joined #nixos
<Akii> what is this: chromium.browser.version
lovesegfault has quit [Quit: WeeChat 2.4]
InFlames has joined #nixos
<Taneb> Are there any caveats I might not be aware of with building docker images on remote builders? Our local Hydra server seems to be refusing to do it
<srhb> Taneb: You need kvm for runAsRoot.
<srhb> Taneb: That's about it.
<srhb> Check the queue runner status for unrunnables because of that feature I guess.
<Taneb> srhb: I think that's likely it. Is that a supportedFeature?
Izorkin has quit [Quit: ZNC 1.7.3 - https://znc.in]
<srhb> Yes.
<Taneb> Yeah, that's almost certainly it, thank you
arjen-jonathan has quit [Ping timeout: 268 seconds]
<srhb> Sure thing. Do holler back.
Izorkin has joined #nixos
knupfer has quit [Ping timeout: 250 seconds]
<mabel> ooh another Hydra user
teto1 is now known as saber
saber is now known as Guest27063
<Taneb> mabel: we use it as our CI at work
pi1 has joined #nixos
<mabel> ooh neat! I'm in the process of trying to use Hydra for CI/CD for my personal Kubernetes cluster
<Taneb> I hope it goes well for you :)
<srhb> mabel: Quite a few Hydra users in here :)
<Taneb> srhb: I imagine this is one of the IRC channels with the highest densities of Hydra users ;)
<srhb> Noooo. :-P
pi1 has quit [Client Quit]
pi_ has joined #nixos
<mabel> thanks! it is an adventure. apparently Nix needs privileges to run sandboxed builds so it's tricky to run Hydra within docker, but I can trust myself so I'll be okay
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/11d491dce56 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<mabel> my first step is to make a Nix expression for putting Hydra in a docker container, so I decided to make modularized config for containers so I can make little Alpine-like base derivations, and so on and so forth until it becomes like the Xkcd system for passing arbitrary condiments :?
<srhb> lo
<srhb> l
<Taneb> I guess the question is are you doing this for fun or for practicality
<mabel> fun!
<Taneb> Then overengineer away!
<Taneb> :)
<mabel> totally! :D
<Taneb> Something on my todo list is getting the configuration for the server which runs the CI at work into CI itself, and make it automatically deploy to itself
<{^_^}> [nixpkgs] @peti merged pull request #59297 → haskell-generic-builder: disable library-for-ghci by default → https://git.io/fjq0H
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/fjqgs
<{^_^}> [nixpkgs] @dotlambda merged pull request #59265 → repology: fix homepage for a few packages - nothing else → https://git.io/fjqYu
<{^_^}> [nixpkgs] @dotlambda pushed 5 commits to master: https://git.io/fjqgn
<{^_^}> [nixpkgs] @peti pushed 2 commits to release-19.03: https://git.io/fjqgc
<{^_^}> [nixpkgs] @peti merged pull request #59146 → haskell-generic-builder: backport to 19.03 add option to disable library-for-ghci → https://git.io/fjtcZ
<mabel> that sounds ideal. I'm excited to get to the CD part of my project so I can figure out how to securely stuff secrets into Nix derivations
<{^_^}> [nixpkgs] @worldofpeace pushed to master « lollypop: 1.0.3 -> 1.0.5 »: https://git.io/fjqg8
sigmundv_ has joined #nixos
<mabel> probably something like passing fetchers in as build inputs
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/fjqg4
<Akii> overwriting the version does nothing unfortunately
<Akii> need to debug this later
<Akii> with the new debugging skillz I've acquired
<mabel> :D that's the spirit!
<Akii> alternatively I could update the chromedriver
<{^_^}> [nixpkgs] @peti pushed 12 commits to haskell-updates: https://git.io/fjqg0
<{^_^}> [nixpkgs] @peti pushed 5 commits to haskell-updates: https://git.io/fjqgE
thc202 has joined #nixos
<jboy> I'm running into this error trying to install python36Packages.python-igraph: https://github.com/NixOS/nixpkgs/issues/57028#issuecomment-471002511 Is there an easy way to instruct nix to skip unit tests when installing the package?
reivilibre has quit [Quit: No Ping reply in 180 seconds.]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #58798 → python37Packages.ldap3: 2.5.2 -> 2.6 → https://git.io/fjIcE
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjqg2
amfabaiste has joined #nixos
Erasmus has quit [Quit: END-AUMF]
reivilibre has joined #nixos
<emilsp> what's the nix to get a line like "swap /dev/disk/by-label/id /dev/urandom swap,cipher=aes-xts-plain64,size=256" end up in ones /etc/crypttab ?
<emilsp> thanks, clever!
<clever> WARNING #2: Do not use /dev/disk/by-uuid/… or /dev/disk/by-label/… as your swap device when using randomEncryption as the UUIDs and labels will get erased on every boot when the partition is encrypted. Best to use /dev/disk/by-partuuid/…
<emilsp> Yep, saw that.
<{^_^}> [nixpkgs] @bobvanderlinden closed pull request #59280 → mkchromecast: init at 5872a246 → https://git.io/fjq8s
gal_bolle has joined #nixos
teto1 has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #58969 → pythonPackages.awkward: 0.8.7 -> 0.8.14, enable more tests → https://git.io/fjLqJ
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjqgD
rjmill has joined #nixos
<{^_^}> [nixpkgs] @xrelkd opened pull request #59302 → cargo-make: init at 0.17.1 → https://git.io/fjqgd
ubert has joined #nixos
mojjo has joined #nixos
<mojjo> hi! does anyone have a nixos sample config for using german umlauts with a US keyboard? It's kind of a jungle and no solutions seems to work for me.
<makefu> mojjo: you probably want "US-international" as keyboard layout
pie_ has joined #nixos
<makefu> services.xserver = { enable = true; layout = "us"; xkbVariant = "altgr-intl"; xkbOptions = "ctrl:nocaps, eurosign:e"; }
orivej has quit [Ping timeout: 246 seconds]
arjen-jonathan has joined #nixos
rjmill has quit [Ping timeout: 245 seconds]
<mojjo> ok, which would be the key combination to get an umlaut with this? do I have to restart the display-manager?
noctux has joined #nixos
<m0rphism> mojjo: I think the xkbVariant "altgr-intel" is responsible for this, see https://zuttobenkyou.wordpress.com/2011/08/24/xorg-using-the-us-international-altgr-intl-variant-keyboard-layout/
<m0rphism> mojjo: An alternative would be to use the xmodmap tool to map RightAlt+a to ä, etc.
<m0rphism> mojjo: For this I use an xmodmap file with the following content: https://pastebin.com/PuJCS92m
<m0rphism> mojjo: Note, that the keycodes may be different on your keyboard. I'm actually using a german keyboard, but using actual umlaut keys as alternatives for control and tab ;)
<m0rphism> also hjkl is jklö in my layout. People hate using my computer :3
<mabel> is there a trim operator I can use to remove leading /?
<mabel> I'm having a // problem :(
<{^_^}> [nixpkgs] @cdepillabout opened pull request #59303 → haskell-generic-builder: backport disable-library-for-ghci → https://git.io/fjq2G
<m0rphism> mojjo: (If you go the xmodmap road, you may find the `xev` tool helpful which lets you press keys and prints their keycodes and other info)
<mabel> it is!
<mabel> thank you!
<equivrel> mojjo: I have services.xserver.xkbOptions = "compose:ralt", which then lets me use the right alt as a compose key, so that e.g. ü can be inputed by doing holding ralt and typing: u"
<equivrel> I find that this is versatile and supports a łøt öf æccéntß intuitively
<{^_^}> [nixpkgs] @t184256 opened pull request #59304 → python3Packages.nixpkgs: 0.2.2 -> 0.2.3 → https://git.io/fjq28
<makefu> mojjo: altright-q -> ä
buffet_ is now known as buffet
Glider_IRC__ has joined #nixos
<makefu> so it seems there are a couple of ways to handle it :)
petrkr has joined #nixos
<mabel> is types.lines not nullable?
<mabel> I'm getting "Error: the option value `file./data.text is not of type types.lines'
<Taneb> Why would it be nullable? It's empty-string-able
<mabel> ahh
Glider_IRC_ has quit [Ping timeout: 250 seconds]
<teto1> mabel: you can use types.nullOr types.lines
<mabel> I think empty string should work okay for my use case
<eyJhb> Does the hosts override support wildcards?
<Akii> within an overlay
Qubasa has quit [Ping timeout: 255 seconds]
gal_bolle has quit [Ping timeout: 246 seconds]
emacsomancer has quit [Ping timeout: 244 seconds]
thblt has joined #nixos
kleisli has quit [Ping timeout: 250 seconds]
<Akii> so I downloaded the file now and I'd like to import it from a local file
<Akii> I think I need callPackage for that
<Akii> callPackage ./packages/chromedriver.nix { }
<Akii> error: anonymous function at /etc/nixos/packages/chromedriver.nix:1:1 called without required argument 'gconf'
<AlexRice[m]> Akii: How are you calling the package?
<thblt> I'm trying to install a newer version of Zotero than what nixpkgs provide, like this: https://paste.thb.lt/1554977258.nix.html and nix-env -i all fails with: error: anonymous function at /nix/store/7qvd11gb3nvgqdvgs1apv7hjzp5a4laz-nixos-19.09pre174426.acbdaa569f4/nixos/pkgs/applications/office/zotero/default.nix:1:1 called with unexpected argument 'version', at
<thblt> /nix/store/7qvd11gb3nvgqdvgs1apv7hjzp5a4laz-nixos-19.09pre174426.acbdaa569f4/nixos/lib/customisation.nix:69:12
dnlkrgr has quit [Ping timeout: 255 seconds]
<Akii> AlexRice[m] what do you mean by that?
<thblt> Full disclosure: I have no idea what i'm doing
dnlkrgr has joined #nixos
<Akii> thblt lol trying the same thing atm; have you tried overrideAttrs?
<Akii> neither works for me unfortunately
<AlexRice[m]> as in have you just put callPackage ./packages/chromedriver.nix {} in configuration.nix?
<Akii> no I'm in the nix repl
<Akii> having loaded nixpkgs
seanparsons has quit [Remote host closed the connection]
<thblt> Akii: This https://paste.thb.lt/1554977703.nix.html succeeds, but install the default version
<Akii> yeah, same here
<Akii> I don't get any of this lol
<Akii> why is this so complicated
seanparsons has joined #nixos
mojjo has left #nixos ["Killed buffer"]
<pie_> where the heck is it described how to compile nix?
<AlexRice[m]> you need to pass the argument in
<pie_> which is to say, I'm compiling on debian
Qubasa has joined #nixos
<Akii> thanks AlexRice[m]
<arq1> hello, i have a problem, when i installed and tried to run eclipse i got a java runtime error https://pastebin.com/8UsPDecF
<AlexRice[m]> thblt: Try changing the name to zotero-5.0.65 instead of changing the version
rjmill has joined #nixos
teto1 has quit [Quit: WeeChat 2.4]
<AlexRice[m]> though I just tried this and it claimed to build the right thing but the version number still shows the wrong thing when I run it
<chaker> Hey, is there a way to specify a params to the kernel without using nixos-rebuild? I know that the cmdline arguments can be found at /proc/cmdline but that's a virtual file that can't be changed without running update-grub
johanot has joined #nixos
<thblt> AlexRice[m]: same result.
<thblt> It does something with the override since it complains if the SHA is wrong
jtojnar has joined #nixos
<AlexRice[m]> Mine downloaded the correct source
<AlexRice[m]> but the output program looked wrong
rjmill has quit [Ping timeout: 246 seconds]
<AlexRice[m]> I don't really know what is going on, sorry
<thblt> What's the git branch of NixOS unstable? master?
<thblt> Because the structue of the derivation has changed
<AlexRice[m]> whatever the commit says https://howoldis.herokuapp.com/ I think
alex`` has joined #nixos
<AlexRice[m]> i think it's currently on the old version
fendor has joined #nixos
<AlexRice[m]> unstable hasn't updated in a few days
<Akii> hm I think I'm starting to get a hang of it
<thblt> Yes it's the version with the strange zoteroSrc = …
gal_bolle has joined #nixos
<thblt> Which I really suspect is the culprit here
<AlexRice[m]> sounds right
<AlexRice[m]> try overriding zoteroSrc instead and see what happens?
<AlexRice[m]> though that will break when unstable advances
<emilsp> clever: regarding randomly encrypted swap - a there's actually an assertion that forbids one from specifying the swap device by label or uuid during eval time.
<thblt> I tried, it breaks. But it's in a let block
<AlexRice[m]> honestly I would just copy the file from master, change what you want then callPackage
Soo_Slow has joined #nixos
Makaveli7 has quit [Quit: WeeChat 2.4]
<{^_^}> [nixpkgs] @FRidh merged pull request #59304 → python3Packages.nixpkgs: 0.2.2 -> 0.2.3 → https://git.io/fjq28
<{^_^}> [nixpkgs] @FRidh pushed commit from @t184256 to master « python3Packages.nixpkgs: 0.2.2 -> 0.2.3 »: https://git.io/fjqaA
<AlexRice[m]> on a different note has anyone managed to fix problems with their boot loader not displaying anything? the only reason I can think of is nvidia graphics being funny
<thblt> AlexRice[m]: Trying this, thanks
<{^_^}> [nixpkgs] @FRidh merged pull request #59070 → python3Packages.papis: provide as a library too → https://git.io/fjL9M
<{^_^}> [nixpkgs] @FRidh pushed commit from @teto to master « python3Packages.papis: provide as a library too (#59070) »: https://git.io/fjqaj
<Akii> yay got selenium to work \o/ whooo!
<Akii> thanks again AlexRice[m]
<Akii> was able to adapt that and make it into an overlay
<Akii> that basically also updated selenium standalone server
<Akii> very, very nice
<thblt> No it complains about some strange cache issue...
<thblt> warning: unable to download 'https://cache.nixos.org/jy6pvb5klh6z4h9a1pflr35rjna4f8gk.narinfo': SSL peer certificate or SSH remote key was not OK (60); retrying in 315 ms
<thblt>
<thblt> Nevermind it may be my stupid ISP being stupid
<thblt> Yes this is it
civodul has quit [Ping timeout: 240 seconds]
<thblt> How do I flush the DNS cache nix uses (I guess it's curl's)?
<thblt> systemctl restart nscd.service
<jasongrossman> AlexRice[m]: I recall someone having trouble with an nvidia card and their boot graphics. You could search the logs for that. Also, you could try a separate boot manager, like refind.
<thblt> And it worked! Thanks all!
<AlexRice[m]> jasongrossman: I might see if I can work out what refind is, thanks
rrrojo has joined #nixos
<pie_> joepie91, have you ever tried to use the nix debian package?
<rrrojo> Hello
<rrrojo> I hadn't upgraded NixOS for a long time, because for some reason the newer repos didn't give me video, whatever driver I tried.
<jasongrossman> AlexRice[m]: NVIDIA
<jasongrossman> Whoops.
<jasongrossman> AlexRice[m]: http://www.rodsbooks.com/refind/
<jasongrossman> Did you know that you have to copy text BEFORE pasting it?
<rrrojo> Now I was about to attempt again, and there are additional problems that (I imagine) are due using a very old nix version to update nix
<rrrojo> I imagine updating it in stages could work. But anyway. I just installed Fedora on another partition.
<rrrojo> and for some reason, I lost the NixOS booting option in GRUB
fendor has quit [Remote host closed the connection]
<joepie91> pie_: nope, did not even know there was one
civodul has joined #nixos
<pie_> crap xD
<rrrojo> Is there some way to, from Fedora, reinstall NixOS on its own partition? Ideally, not losing the store, and having it fix the boot (without killing my Fedora)
<rrrojo> or what do you suggest
<AlexRice[m]> https://nixos.wiki/wiki/REFInd I will try the instructions here and see how it goes
fendor has joined #nixos
dnlkrgr has quit [Ping timeout: 255 seconds]
<{^_^}> [nixpkgs] @mdorman opened pull request #59305 → taffybar: unbreak package by default → https://git.io/fjqVC
<jasongrossman> AlexRice[m]: Yes, good. Please report back.
rjmill has joined #nixos
<AlexRice[m]> jasongrossman: seemed to do the same thing as before, is there some log which would say if it actually used refind
zupo has joined #nixos
<fendor> can I write fish-config in an nix overlay?
<AlexRice[m]> jasongrossman: I think it is working
<AlexRice[m]> jasongrossman: I installed refind and efibootmgr using nix-env then ran refind-install
<JaakkoLuttinen[m> What is the correct way to write a simple derivation for a script so that I can add the script to build inputs and have it in the PATH in the build environment? writeScript is bad because it leads to executing the script at build time.
<AlexRice[m]> jasongrossman: I just need to find a way to clear up the mess I've made putting different broken bootloaders everywhere and I think it will work
rjmill has quit [Ping timeout: 246 seconds]
<jasongrossman> AlexRice[m]: I hear you. I've been there.
<AlexRice[m]> jasongrossman: thanks for the help
Qubasa has quit [Ping timeout: 244 seconds]
<jasongrossman> No worries. I agree that it should be fine now. Hope so.
<AlexRice[m]> everything that I want to boot boots, I just have extra entries that don't
srid has quit [Ping timeout: 250 seconds]
nD5Xjz has quit [Ping timeout: 255 seconds]
iyzsong has joined #nixos
nD5Xjz has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zupo has joined #nixos
zupo has quit [Client Quit]
srid has joined #nixos
Xal has quit [Ping timeout: 255 seconds]
<{^_^}> [nixpkgs] @FRidh pushed to release-19.03 « hiredis-vip: init at 0.3.0 »: https://git.io/fjqwf
Xal has joined #nixos
kreisys has joined #nixos
emacsomancer has joined #nixos
pie_ has quit [Ping timeout: 250 seconds]
rrrojo has quit [Quit: WeeChat 2.4]
kleisli has joined #nixos
Makaveli7 has joined #nixos
orivej has joined #nixos
ng0 has joined #nixos
linarcx has quit [Ping timeout: 255 seconds]
civodul has quit [Ping timeout: 268 seconds]
linarcx has joined #nixos
coconnor has quit [Ping timeout: 255 seconds]
InFlames has quit [Ping timeout: 245 seconds]
coconnor has joined #nixos
drakonis has joined #nixos
drakonis_ has quit [Ping timeout: 246 seconds]
YanMinari[c][m] has quit [Ping timeout: 240 seconds]
dtz has quit [Ping timeout: 240 seconds]
xenofungus[m] has quit [Ping timeout: 252 seconds]
sneknek[m] has quit [Ping timeout: 252 seconds]
tbenst[m] has quit [Ping timeout: 252 seconds]
linarcx has quit [Ping timeout: 250 seconds]
stammon has quit [Ping timeout: 252 seconds]
laas has quit [Ping timeout: 250 seconds]
wak-work has quit [Ping timeout: 240 seconds]
copy` has quit [Ping timeout: 240 seconds]
thefloweringash has quit [Ping timeout: 250 seconds]
bennofs[m] has quit [Ping timeout: 250 seconds]
Dandellion[m] has quit [Ping timeout: 252 seconds]
yangm97 has quit [Ping timeout: 252 seconds]
travelion[m] has quit [Ping timeout: 264 seconds]
atopuzov[m] has quit [Ping timeout: 264 seconds]
kaychaks[m] has quit [Ping timeout: 264 seconds]
florianjacob has quit [Ping timeout: 264 seconds]
bbigras has quit [Ping timeout: 240 seconds]
philipp[m] has quit [Ping timeout: 240 seconds]
ptotter[m] has quit [Ping timeout: 240 seconds]
bb010g has quit [Ping timeout: 240 seconds]
submoo[m] has quit [Ping timeout: 252 seconds]
olejorgenb[m] has quit [Ping timeout: 252 seconds]
kyren[m] has quit [Ping timeout: 252 seconds]
Flip[m]1 has quit [Ping timeout: 252 seconds]
MiloIgnis[m] has quit [Ping timeout: 252 seconds]
Ericson2314 has quit [Ping timeout: 252 seconds]
weebull[m] has quit [Ping timeout: 268 seconds]
nh2[m] has quit [Ping timeout: 268 seconds]
Noughtmare[m] has quit [Ping timeout: 250 seconds]
teh[m] has quit [Ping timeout: 265 seconds]
rnhmjoj has quit [Ping timeout: 265 seconds]
rdes[m] has quit [Ping timeout: 265 seconds]
aissat[m] has quit [Ping timeout: 265 seconds]
hylshols7qui[m] has quit [Ping timeout: 265 seconds]
vaibhavsagar has quit [Ping timeout: 265 seconds]
siraben has quit [Ping timeout: 265 seconds]
sm[m] has quit [Ping timeout: 265 seconds]
JaakkoLuttinen[m has quit [Ping timeout: 265 seconds]
hiroshi[m] has quit [Ping timeout: 265 seconds]
orospakr[m] has quit [Ping timeout: 250 seconds]
jonge[m] has quit [Ping timeout: 250 seconds]
timclassic has quit [Ping timeout: 250 seconds]
contrun[m] has quit [Ping timeout: 250 seconds]
MayeulC has quit [Ping timeout: 250 seconds]
Brio[m] has quit [Ping timeout: 252 seconds]
dkellner[m] has quit [Ping timeout: 252 seconds]
craige[m] has quit [Ping timeout: 252 seconds]
sjy[m] has quit [Ping timeout: 240 seconds]
badmutex[m] has quit [Ping timeout: 240 seconds]
nokomprendo[m] has quit [Ping timeout: 240 seconds]
isgy[m] has quit [Ping timeout: 240 seconds]
moope[m] has quit [Ping timeout: 240 seconds]
escaP[m] has quit [Ping timeout: 240 seconds]
ponpinu[m] has quit [Ping timeout: 240 seconds]
Seb[m]1 has quit [Ping timeout: 240 seconds]
MerlinGttlinger[ has quit [Ping timeout: 240 seconds]
opan has quit [Ping timeout: 240 seconds]
cornu has quit [Ping timeout: 240 seconds]
Minijackson[m] has quit [Ping timeout: 240 seconds]
fgaz has quit [Ping timeout: 240 seconds]
kevincox[m] has quit [Ping timeout: 252 seconds]
snupples[m] has quit [Ping timeout: 252 seconds]
mara[m] has quit [Ping timeout: 252 seconds]
bobvanderlinden_ has quit [Ping timeout: 252 seconds]
M0ddba11[m] has quit [Ping timeout: 252 seconds]
alienpirate5 has quit [Ping timeout: 252 seconds]
ejpcmac has quit [Ping timeout: 252 seconds]
rycee has quit [Ping timeout: 252 seconds]
bpye has quit [Ping timeout: 252 seconds]
alj[m] has quit [Ping timeout: 252 seconds]
offlinehacker has quit [Ping timeout: 252 seconds]
tokudan[m] has quit [Ping timeout: 252 seconds]
jonreeve[m] has quit [Ping timeout: 264 seconds]
zurdo has quit [Ping timeout: 264 seconds]
lycium[m] has quit [Ping timeout: 264 seconds]
otini has quit [Ping timeout: 264 seconds]
therealwaphire[m has quit [Ping timeout: 264 seconds]
leons has quit [Ping timeout: 264 seconds]
bachp has quit [Ping timeout: 264 seconds]
exarkun has quit [Ping timeout: 264 seconds]
WilliamHamilton[ has quit [Ping timeout: 264 seconds]
NickHu has quit [Ping timeout: 250 seconds]
torched[m] has quit [Ping timeout: 250 seconds]
corpix[m] has quit [Ping timeout: 250 seconds]
aaronduino[m] has quit [Ping timeout: 250 seconds]
hackeryarn[m] has quit [Ping timeout: 250 seconds]
juliendehos[m] has quit [Ping timeout: 250 seconds]
bricewge has quit [Ping timeout: 250 seconds]
theseriousadult[ has quit [Ping timeout: 250 seconds]
cejota[m] has quit [Ping timeout: 250 seconds]
jmchapman[m] has quit [Ping timeout: 250 seconds]
thequux[m] has quit [Ping timeout: 250 seconds]
am3on[m] has quit [Ping timeout: 250 seconds]
momack2[m] has quit [Ping timeout: 250 seconds]
clacke[m] has quit [Ping timeout: 250 seconds]
tdeo` has quit [Ping timeout: 252 seconds]
utdemir[m] has quit [Ping timeout: 252 seconds]
d_g[m] has quit [Ping timeout: 252 seconds]
dmitry-zen[m] has quit [Ping timeout: 252 seconds]
benkerry[m] has quit [Ping timeout: 252 seconds]
iraems[m] has quit [Ping timeout: 252 seconds]
linarcx[m] has quit [Ping timeout: 252 seconds]
zaphar_ps[m] has quit [Ping timeout: 252 seconds]
pleeplop has quit [Ping timeout: 252 seconds]
klDen[m] has quit [Ping timeout: 252 seconds]
atgo[m] has quit [Ping timeout: 252 seconds]
bkchr has quit [Ping timeout: 252 seconds]
sitischu[m] has quit [Ping timeout: 252 seconds]
jpo-joyent has quit [Ping timeout: 252 seconds]
billsun has quit [Ping timeout: 252 seconds]
attero[m] has quit [Ping timeout: 252 seconds]
AntonSchirg[m] has quit [Ping timeout: 250 seconds]
peter2121[m] has quit [Ping timeout: 250 seconds]
Josh[m] has quit [Ping timeout: 250 seconds]
makaveli[m]1 has quit [Ping timeout: 250 seconds]
metasyntactic[m] has quit [Ping timeout: 250 seconds]
attente[m] has quit [Ping timeout: 250 seconds]
IslandUsurper has quit [Ping timeout: 250 seconds]
bkl[m] has quit [Ping timeout: 250 seconds]
worldofpeace has quit [Ping timeout: 250 seconds]
sylvie[m] has quit [Ping timeout: 250 seconds]
Moredread[m] has quit [Ping timeout: 250 seconds]
luftmensch[m] has quit [Ping timeout: 250 seconds]
matthewbauer has quit [Ping timeout: 250 seconds]
marko[m]1 has quit [Ping timeout: 252 seconds]
ststefa[m] has quit [Ping timeout: 252 seconds]
Criena[m] has quit [Ping timeout: 252 seconds]
grahamc[m] has quit [Ping timeout: 252 seconds]
henrytill[m] has quit [Ping timeout: 252 seconds]
melchips[m] has quit [Ping timeout: 252 seconds]
benwaffle[m] has quit [Ping timeout: 252 seconds]
infinisil-m has quit [Ping timeout: 252 seconds]
sphalerit has quit [Ping timeout: 252 seconds]
simbergm has quit [Ping timeout: 252 seconds]
spacekitteh[m] has quit [Ping timeout: 252 seconds]
Jorik[m] has quit [Ping timeout: 264 seconds]
kjuvi[m] has quit [Ping timeout: 264 seconds]
balsoft[m] has quit [Ping timeout: 264 seconds]
AlexRice[m] has quit [Ping timeout: 264 seconds]
sputny[m] has quit [Ping timeout: 264 seconds]
lurpahi has quit [Ping timeout: 264 seconds]
das-g[m] has quit [Ping timeout: 264 seconds]
nyanloutre[m] has quit [Ping timeout: 264 seconds]
macerbi[m] has quit [Ping timeout: 264 seconds]
nbardiuk has quit [Ping timeout: 264 seconds]
aquarial has quit [Ping timeout: 264 seconds]
thaddeusmaddeus[ has quit [Ping timeout: 264 seconds]
cyberwolf[m][m] has quit [Ping timeout: 264 seconds]
musicmatze has quit [Ping timeout: 264 seconds]
Ralith has quit [Ping timeout: 264 seconds]
tet[m] has quit [Ping timeout: 264 seconds]
bobmolson[m] has quit [Ping timeout: 268 seconds]
ninjatrappeur[m] has quit [Ping timeout: 268 seconds]
JaredM[m] has quit [Ping timeout: 268 seconds]
sierraDelta has quit [Ping timeout: 268 seconds]
capslock3[m] has quit [Ping timeout: 268 seconds]
jak[m] has quit [Ping timeout: 268 seconds]
neonfuz__ has quit [Ping timeout: 268 seconds]
jschievink[m] has quit [Ping timeout: 268 seconds]
Tony[m]3 has quit [Ping timeout: 268 seconds]
tfc[m] has quit [Ping timeout: 268 seconds]
bee[m]1 has quit [Ping timeout: 268 seconds]
nocent has quit [Ping timeout: 268 seconds]
haslersn[m] has quit [Ping timeout: 268 seconds]
slabity has quit [Ping timeout: 268 seconds]
abbafei[m] has quit [Ping timeout: 268 seconds]
timokau[m] has quit [Ping timeout: 268 seconds]
BinkyTheClown has quit [Ping timeout: 268 seconds]
Barnabas[m] has quit [Ping timeout: 268 seconds]
Rich[m] has quit [Ping timeout: 268 seconds]
malteof[m] has quit [Ping timeout: 268 seconds]
wolfman12345[m] has quit [Ping timeout: 252 seconds]
smolboye[m] has quit [Ping timeout: 252 seconds]
Purple-mx has quit [Ping timeout: 264 seconds]
Dan[m]3 has quit [Ping timeout: 264 seconds]
gudea[m] has quit [Ping timeout: 264 seconds]
domenkozar[m] has quit [Ping timeout: 264 seconds]
gallexme[m] has quit [Ping timeout: 264 seconds]
fearlessKim[m] has quit [Ping timeout: 264 seconds]
Vskilet has quit [Ping timeout: 264 seconds]
tuxubuntu[m] has quit [Ping timeout: 264 seconds]
Thinkofname[m] has quit [Ping timeout: 264 seconds]
icetan has quit [Ping timeout: 264 seconds]
asthma[m] has quit [Ping timeout: 264 seconds]
jyvrmn2[m] has quit [Ping timeout: 264 seconds]
codyopel has quit [Ping timeout: 264 seconds]
roberth has quit [Ping timeout: 264 seconds]
uvnikita[m] has quit [Ping timeout: 264 seconds]
linarcx has joined #nixos
chaker has quit [Quit: WeeChat 1.4]
Xal has quit [Ping timeout: 255 seconds]
delan has quit [Ping timeout: 255 seconds]
irdr_ has quit [Remote host closed the connection]
Xal has joined #nixos
irdr has joined #nixos
Makaveli7 has quit [Quit: WeeChat 2.4]
delan has joined #nixos
delan has joined #nixos
delan has quit [Changing host]
Makaveli7 has joined #nixos
Soo_Slow has quit [Remote host closed the connection]
Erasmus has joined #nixos
<{^_^}> [nixpkgs] @xrelkd opened pull request #59306 → just: init at 0.3.13 → https://git.io/fjqwV
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/44588a4b976 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
<emilsp> is there a way to enable gnome-shell with wayland?
<{^_^}> [nixpkgs] @pSub pushed 4 commits to master: https://git.io/fjqwy
<{^_^}> [nixpkgs] @pSub merged pull request #59296 → keepassxc: 2.3.4 -> 2.4.0 → https://git.io/fjq0t
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/bbe83c05205 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
Rusty1 has joined #nixos
<{^_^}> [nixpkgs] @WilliButz opened pull request #59307 → grafana: 6.1.2 -> 6.1.3 → https://git.io/fjqw7
silver has joined #nixos
siers has joined #nixos
tdbgamer has joined #nixos
camsbury has quit [Ping timeout: 250 seconds]
<jasongrossman> emilsp: Doesn't gnome shell default to Wayland?
<etu> jasongrossman: I don't think it does on 18.09, but it should do that on more recent versions
Erasmus has quit [Quit: END-AUMF]
<emilsp> are more recent versions somewhat useable? I'm currently on 18.09
<{^_^}> [nixpkgs] @pSub merged pull request #58705 → sstp: 1.0.11 -> 1.0.12 → https://git.io/fjIv5
<{^_^}> [nixpkgs] @pSub pushed 2 commits to master: https://git.io/fjqrG
Erasmus has joined #nixos
<gchristensen> 19.03 is imminent
<jasongrossman> I seem to remember being given a choice of X11 or Wayland when I used gnome shell. The choice comes in the greeter (login screen), which may not be obvious.
<niksnut> \o/
<emilsp> jasongrossman: yes, but regardless of what choice I make there, I still get given an X instance of gnome-shell :)
<jasongrossman> emilsp: Oh! That's weird.
<emilsp> or maybe the 3.28 nixos gnome-shell on wayland has implemented alt-f2+r, but I doubt it :)
<emilsp> And yes, I too found this to be rather weird.
aloiscochard has quit [Quit: Connection closed for inactivity]
<etu> jasongrossman: Yeah, that doesn't work on 18.09
<siers> I tried suspending my t480 within a xfce session and it died because it ran out of battery twice now, but it seems like it suspends properly, because the music stops after a second.
<etu> emilsp: I have used gnome on wayland in nixos on unstable in december
<etu> So it's been fixed more recently
<{^_^}> [nixpkgs] @pSub merged pull request #59273 → snakemake: 5.2.2 -> 5.4.4 → https://git.io/fjqnN
<{^_^}> [nixpkgs] @pSub pushed 3 commits to master: https://git.io/fjqrc
<emilsp> etu: fair. I've had nixos on my laptop for less than 6 hours, so this is all an adventure to me
<etu> emilsp: And since 19.03 is imminent as gchristensen says, it may be worth a shot. It's not "stable just yet, but very soon."
<etu> Today is the 42'nd of March, so I hope we get 19.03 out this month ;)
<siers> how unstable is it?
<gchristensen> etu: :D
<{^_^}> [nixpkgs] @cawilliamson opened pull request #59308 → Add ipset to dependencies for sshguard → https://git.io/fjqrC
<etu> siers: It should be very stable since it's about to be released any day now afaik
mmlb977450853050 has quit [Ping timeout: 245 seconds]
drewr has quit [Remote host closed the connection]
camsbury_ has joined #nixos
drakonis has quit [Read error: Connection reset by peer]
drakonis_ has joined #nixos
<{^_^}> [nixos-homepage] @lheckemann opened pull request #271 → 19.03 release → https://git.io/fjqrX
<gchristensen> sphalerite, samueldr, niksnut: butt.holdings
<gchristensen> sphalerite, samueldr, niksnut: https://butt.holdings
<sphalerite> hahahaha
<Taneb> :O
<{^_^}> [nixpkgs] @lheckemann pushed 0 commits to refs/tags/19.03: https://git.io/fjqry
dunk has left #nixos [#nixos]
<sphalerite> thanks {^_^}!
<gchristensen> niksnut: https://github.com/NixOS/nixos-homepage/pull/271 would you like to do the honors?
<{^_^}> nixos-homepage#271 (by lheckemann, 5 minutes ago, open): 19.03 release
<{^_^}> [nixpkgs] @aszlig pushed to master « wordgrinder: Fix sha256 hash »: https://git.io/fjqr7
<{^_^}> [nixos-homepage] @edolstra merged pull request #271 → 19.03 release → https://git.io/fjqrX
<{^_^}> [nixos-homepage] @edolstra pushed 3 commits to master: https://git.io/fjqrd
linarcx has quit [Ping timeout: 268 seconds]
drewr has joined #nixos
Netsu has joined #nixos
<Taneb> :O
<Netsu> Hello. Can package download by curl something during build phase?
<{^_^}> [nixpkgs] @cawilliamson closed pull request #59308 → Add ipset to dependencies for sshguard → https://git.io/fjqrC
<manveru> Netsu: in theory... yes, in practice it's a usually a bad idea :)
<Netsu> I have 'CURL exited with code 6' while trying to make request in configurePhase
<manveru> Netsu: what's your use-case?
<Netsu> manveru: looks like I have no other options. I made nix derivation to work on ocaml project to maintain dynamically linked dependencies
<Netsu> manveru: so I need to build docker file from that nix derivation
<gchristensen> sphalerite++
<{^_^}> sphalerite's karma got increased to 48
<gchristensen> samueldr++
<{^_^}> samueldr's karma got increased to 73
<gchristensen> sphalerite++
<{^_^}> sphalerite's karma got increased to 49
<manveru> Netsu: not sure i understand, your ocaml build script uses curl?
<Netsu> manveru: for this moment I can't completely use nix for ocaml packages as well (their versions upgraded pretty often, so they outdated there)
<makefu> sphalerite++
<{^_^}> sphalerite's karma got increased to 50
<emilsp> Another weird gnomey question - on other distros, I can configure more keyboard shortcuts for gnome-shell than I can on nix - specifically shortcuts for moving between workspaces and moving windows around
<Netsu> manveru: to build ocaml project I use OPAM package manager, and it trying to update list of ocaml recipes, and load necessary packages
znc-user has quit [Remote host closed the connection]
<Netsu> but for binary dependencies I use nix
npmccallum has quit [Ping timeout: 246 seconds]
<Netsu> sadly, I don't know better way to handle it
<manveru> is the output of the opam package manager deterministic?
znc-user has joined #nixos
<Netsu> manveru: more or less -- I use pinned versions of packages
<manveru> then you could use a fixed-output derivation that has internet access during the build, but must match a specific hash once it's done
<manveru> that's how the different fetch* functions in nixpkgs work
<manveru> but it will be slow and brittle... so that's why i wouldn't recommend it :)
<Taneb> I don't think I would recommend a fixed-output derivation in this use case
<Taneb> Like, at all
<Netsu> manveru: any example how to use it in one of build phases?
<manveru> Taneb: i don't know anything about the state of ocaml in nixpkgs, is there a better way?
<manveru> looks like the ocaml-modules are also all written by hand
<manveru> i wouldn't wanna put Netsu through that :|
<Netsu> Well, I know, there's https://github.com/timbertson/opam2nix here. But it looks pretty unstable. And do by hand ocaml.buildDunePackage {...derivation here...} for each dependecy on every update...
knupfer has joined #nixos
znc-user has quit [Quit: ZNC 1.7.3 - https://znc.in]
<Netsu> ...would be hard for single one project
Makaveli7 has quit [Quit: WeeChat 2.4]
<manveru> did you try opam2nix?
<manveru> seems like it's been actively maintained for a long time now
znc-user has joined #nixos
<manveru> though its readme doesn't look inviting :P
<rycwo> congrats on 19.03!
<manveru> symphorien: you around?
<symphorien> yes
mm_ has joined #nixos
<manveru> just saw your commits in opam2nix, i guess it works for you?
<mm_> hi
<{^_^}> [nixpkgs] @timokau closed pull request #57299 → cargo-vendor: 0.1.13 -> 0.1.23 → https://git.io/fhhhX
<Netsu> manveru: yeah, that's why I even didn't try =) Which way you guess could be recommended here?
<symphorien> I used to use it
<mm_> matrix is down for maintenance, so I am here via the webcaht
<symphorien> (nowadays I don't do ocaml anymore)
<mm_> how can I call a function in nixpkgs and pass an attribute as argument?
<symphorien> it was better than nothing but not perfect
<mm_> is that possible with nix commandline tools?
<manveru> mm_: check `man nix-build`, it has the `--arg` and `--argstr` flags
<mm_> like `nix-build some.func --arg foo pkgs.somepackage` or something like that?
<symphorien> It seems like there are more opam packages in nixpkgs now, so if this is enough for you, stick with it
ym555 has joined #nixos
<symphorien> they (used to) work great
<mm_> manveru: yes, I know about that, but I cannot pass a pkgs.foobar with that, can I?
<eyJhb> Has 19.0 been released as latest stable?
<gchristensen> 19.03 has been released as stable!
<Netsu> symphorien: is opam2nix any production-ready, or usable withoud hard maintaince at least?
<manveru> mm_: uh... i don't think --arg can be that complex
<averell> whoooooo
<averell> topic is full of lies then
<gchristensen> it was released about 21min ago, and the people who can change it have been in a meeting since 25 minutes ago :)
<eyJhb> Can I just change my nixos channel to 19.03?
<symphorien> Netsu: The problem is more of the form "this package does not build". Once it builds, it might be good enough.
<mm_> gchristensen: 19.03 is out?
<{^_^}> [nixos-org-configurations] @lheckemann opened pull request #83 → tarball-mirror: use 19.03 → https://git.io/fjqoB
<gchristensen> as of 21 minutes ago
<mm_> WOW! I just received my new notebook!
jfroche has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<averell> aren't meetings made for secretly being on IRC?
<mm_> nixos install party at my place tonight!
<manveru> mm_: actually it can
<mm_> manveru: huh, how?
<manveru> mm_: nix-build foo.nix --arg hi '((import <nixpkgs> {}).hello)'
<manveru> like that...
<gchristensen> sphalerite: ping?
<mm_> manveru: awesome
<eyJhb> gchristensen: who can change it? Isn't it already available ?
<jasongrossman> gchristensen: Congratulations!
<gchristensen> jasongrossman: congratulations to sphalerite and samueldr! :)
<jasongrossman> sphalerite++ samueldr++
<{^_^}> samueldr's karma got increased to 74, sphalerite's karma got increased to 51
<gchristensen> eyjhb: the question was with regards to the very slightly stale channel topic, which is a pretty small deal :P
<niksnut> sphalerite: samueldr: thank you so much for you hard work!
<eyJhb> Ahhhh.....
<eyJhb> So the topic of the IRC channel?
<gchristensen> yes
<Netsu> symphorien: are you tolkien about opam's "depexts" (external dependencies)?
<symphorien> yes, also pathching shebangs, fhs paths...
<symphorien> do you have many dependencies which are not in nixpkgs ?
<symphorien> packaging ocaml packages by hand is usually easy.
<Netsu> symphorien: I have more fresh ocaml dependencies actually
<symphorien> ah I see
<sphalerite> gchristensen: pong?
<symphorien> then overriding the src and name attributes on nixpkgs packages could be enough
<gchristensen> sphalerite: would you like to do the honors of updating the channel topic?
<sphalerite> gchristensen: do I have ops?
<symphorien> well, it would be fragile, so maybe not better than opam2nix
<Netsu> symphorien: Also some nixpkgs's ocaml packages miss native dependencies
<gchristensen> sphalerite: yes
<sphalerite> Oh, I need to finish the discourse post first so I can link it ;)
nD5Xjz has quit [Ping timeout: 246 seconds]
<symphorien> then you can make a PR to fix this :)
<gchristensen> I'll re-op you when you're ready :)
nD5Xjz has joined #nixos
<averell> release notes date is also ??
<Netsu> symphorien: Actually I can BUILD my project inside the nix derivation. And for deploy Docker would be enough. So could you suggest, in which way it could be done properly? E.g. to let nix build docker file with all the non-ocaml libraries, and my binary?
mm_ has quit [Ping timeout: 256 seconds]
<symphorien> there is a docker to nix thing in nixpkgs
<symphorien> gchristensen may have more information about it
<Netsu> symphorien: it shouldn't be fragile and hard to maintain, unfortunately
<Netsu> gchristensen: ?
<symphorien> sorry, I meant nix to docker
<Netsu> symphorien: understood, thx
<{^_^}> [nixpkgs] @cawilliamson opened pull request #59309 → jenkins: 2.164.1 -> 2.164.2 → https://git.io/fjqoM
_Geeko_ has joined #nixos
<Netsu> gchristensen: thanks. If it need to have in that Docker binary that could be build inside nix derivation, but couldn't by nix itself, how it could be done?
<_Geeko_> anyone else playing games on nixos? :D
<gchristensen> sorry, I can't help right now
<symphorien> Netsu: I don't understand
<Netsu> gchristensen: it's ok, sorry for disturb
<Taneb> _Geeko_: yeah, a little
<_Geeko_> Taneb you play csgo?
<Taneb> No, I'm not a fan of shooters, I'm afraid
rjmill has joined #nixos
<_Geeko_> i am wondering how i can fix some stutter
<manveru> _Geeko_: i just started risk of rain 2 :)
<buffet> what was the env var to surpress `allowUnfree = false;` for a single nix-shell?
<_Geeko_> bc i got some stutter whiile playing sometimes
<manveru> _Geeko_: come join #nixos-chat
domogled has quit [Remote host closed the connection]
<Netsu> symphorien: I mean, I can build project inside nix shell. And so create docker image of that nix shell with extra dependencies. But can I add compiled binary of my project then here as well in declarative way?
jabranham has joined #nixos
<manveru> buffet: NIXPKGS_ALLOW_UNFREE=1
<buffet> thanks
<symphorien> Netsu: if you can build your project with nix-build (not nix-shell) then you can easily convert it in a docker image with pkgs.dockerTools
infandum has joined #nixos
<Netsu> symphorien: looks like I can't (because of fragileness of ocaml's ecosystem in nix). That's why I would prefer to do it in imperative way by opam the ocaml's package manager, but inside nix-shell for external libraries...
<symphorien> If it is not too much of an upfront cost, fixing the ocaml packages in nixpkgs would be the best way I think.
<infandum> I have two problems which I think have the same cause: 1. keepass keeps forgetting the database I opened while on Arch and Ubuntu it opens the last opened database. 2. rclone works for the remote (Box) once, then later (might be on reboot or might be a day, not sure) it no longer works (mount will hang, for instance, maybe the key expired?). It works forever on multiple Arch machines, so I think it has to do with nixos. I think
<infandum> something about these programs in nixos makes them "forget" things. Is there a way around this?
<Netsu> symphorien: I would be happy with any better solution. Do you recommend opam2nix as usable option yet?
<Netsu> Oh, missed the "fixing the ocaml packages in nixpkgs would be the best way I think" part
<Netsu> symphorien: thanks for your help & advice
vidbina has joined #nixos
ryantrinkle has joined #nixos
jtojnar has quit [Remote host closed the connection]
<Taneb> I'm having trouble using fetchpatch
<Taneb> With an "extraPrefix", which I may have not understood properly
alexozer has joined #nixos
<spacekookie> Does anyone here use emacs to write Rust and have a nix/emacs config I could have a look at?
stepcut has joined #nixos
znc-user has quit [Quit: ZNC 1.7.3 - https://znc.in]
<{^_^}> [nixpkgs] @AmineChikhaoui opened pull request #59310 → pythonPackages.azure-mgmt-storage: remove patch. → https://git.io/fjqKr
znc-user has joined #nixos
<Taneb> I've got «extraPrefix = "utils/haddock/"» but I end up with a/utils/haddock/a/haddock-api/src/Haddock.hs rather than a/utils/haddock/haddock-api/src/Haddock.hs
o1lo01ol1o has joined #nixos
petrkr has quit [Remote host closed the connection]
nD5Xjz_ has joined #nixos
<Taneb> Any clue what I could be doing wrong?
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
nD5Xjz has quit [Ping timeout: 268 seconds]
work_ has joined #nixos
znc-user has quit [Client Quit]
znc-user has joined #nixos
<{^_^}> [nixpkgs] @sondr3 opened pull request #59311 → hugo: 0.54 -> 0.55 → https://git.io/fjqK9
znc-user has quit [Client Quit]
znc-user has joined #nixos
npmccallum has joined #nixos
<sphalerite> gchristensen: ok, I can set teh topic now :D
jasongro` has joined #nixos
sphalerite changed the topic of #nixos to: NixOS stable: 19.03 \o/ https://discourse.nixos.org/t/nixos-19-03-release/2652 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat, #nixcon ... nixcon videos: https://tinyurl.com/nixcon2018
<gchristensen> <3 sphalerite <D
<{^_^}> sphalerite's karma got increased to 52
<sphalerite> Thanks!
xkapastel has joined #nixos
jasongrossman has quit [Ping timeout: 246 seconds]
<sphalerite> huh, <3 gchristensen gives karma too?
<{^_^}> gchristensen's karma got increased to 99
<sphalerite> :D
<sphalerite> <3 infinisil
<{^_^}> infinisil's karma got increased to 83
fusion809 has joined #nixos
<tilpner> \o/
<Taneb> ...apparently giving the patch a name fixed things?
lionello has joined #nixos
znc-user has quit [Quit: ZNC 1.7.3 - https://znc.in]
znc-user has joined #nixos
jasongro` has quit [Ping timeout: 252 seconds]
znc-user has quit [Client Quit]
jasongrossman has joined #nixos
<yorick> is there a nix run --pure?
mthst has joined #nixos
<yorick> oh, -i
ddellacosta has joined #nixos
<emilsp> how does one upgrade from one release to another?
<emilsp> I want to switch over to not-yet-entirely-stable 19.03
mmlb977450853050 has joined #nixos
<gchristensen> it is stable!
<gchristensen> a to-do thing for that could be to make it for the new channel
johanot has quit [Quit: WeeChat 2.4]
<mthst> hello! i have a problem configuring znc
<mthst> with services.znc
alex``2 has joined #nixos
<mthst> it names the defined user "znc" no matter what
alex`` has quit [Quit: WeeChat 2.4]
<mthst> and ignores nicks, replacing them with "znc-user" apparently
alex`` has joined #nixos
alex`` has quit [Client Quit]
alex``2 has quit [Client Quit]
<{^_^}> [nixpkgs] @FRidh merged pull request #59310 → pythonPackages.azure-mgmt-storage: remove patch. → https://git.io/fjqKr
alex`` has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed commit from @AmineChikhaoui to master « pythonPackages.azure-mgmt-storage: remove patch. »: https://git.io/fjq6D
<emilsp> thanks, jasongrossman
<tilpner> Might be relevant: "Options services.znc.confOptions.networks.name.userName and services.znc.confOptions.networks.name.modulePackages were removed. They were never used for anything and can therefore safely be removed."
<{^_^}> [nixpkgs] @FRidh pushed commit from @AmineChikhaoui to release-19.03 « pythonPackages.azure-mgmt-storage: remove patch. »: https://git.io/fjq69
iyzsong has quit [Ping timeout: 258 seconds]
<{^_^}> #45470 (by Infinisil, 33 weeks ago, merged): nixos/znc: More flexible module, cleanups
tdbgamer has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
nD5Xjz_ has quit [Ping timeout: 240 seconds]
<yurb> Hi everyone. I'm hitting an error with nix-env -u: https://bpaste.net/show/3108c4369c37
<infinisil> mthst: There were a couple options that didn't even have an effect previously
<{^_^}> [hydra] @globin opened pull request #649 → Create a gitlab status plugin → https://git.io/fjq6d
<mthst> infinisil: thanks, i saw that already. my config uses the `config` option, but it's still not working
<infinisil> mthst: Can you show it?
nD5Xjz has joined #nixos
<eyJhb> Anyone have a Displaylink USB 3.0 DOck available, who can test something?
<mthst> infinisil: right away. looking for a paste service
<infinisil> ,paste
<{^_^}> Use a website such as [ https://gist.github.com/ http://ix.io/ https://hastebin.com/ https://paste.ee/ ] or similar services to share anything that's longer than a couple lines.
alex`` has quit [Quit: The Lounge - https://thelounge.chat]
<mthst> infinisil: https://0x0.st/zZFk.nix
<Taneb> I'm planning on submitting a possibly Controversial Patch soon
jfroche has joined #nixos
<Taneb> Well, a Rebuild A Lot For Not Much Gain patch
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/eb3a5b863e5 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
<infinisil> mthst: Oh, I guess this isn't mentioned in the PR, but you need to set `services.znc.mutable = false` if you want to use the config specified in NixOS
<tilpner> yurb: Can reproduce, it might just be broken
sigmundv_ has quit [Ping timeout: 245 seconds]
<yurb> tilpner: I'd be happy to fix it, but not sure where to start
Anton-Latukha has quit [Quit: Leaving.]
alex`` has joined #nixos
endformationage has joined #nixos
<mthst> infinisil: why isn't this on by default?
<infinisil> mthst: And it's `Chan = { "#nixos" = {}; ... }`, not a list
<mthst> infinisil: also, thanks a lot
<infinisil> mthst: Because backwards compatibility
<infinisil> If we default this to true, everybody's stateful configuration will break
<infinisil> I guess we could remove the default for a couple versions (such that the user has to set either mutable = true or false), and then make it false by default some time after that
<{^_^}> [nixpkgs] @eyJhb opened pull request #59313 → displaylink: mark broken on 19.03 → https://git.io/fjqik
<{^_^}> [nixpkgs] @thoughtpolice opened pull request #59314 → chez: 9.5.1 -> 9.5.2 → https://git.io/fjqiI
Anton-Latukha has joined #nixos
pie_ has joined #nixos
<mthst> infinisil: that sounds good to me
<tilpner> yurb: I would begin by replacing the fetchurl with a fetchTarball
<tilpner> I don't know how this passed ofborg though
<tilpner> The last commit suspiciously doesn't update the cargoSha, maybe it used cached deps?
<{^_^}> [nixpkgs] @Infinisil opened pull request #59315 → nixos/znc: Fix URL XML for config option → https://git.io/fjqiZ
<tilpner> Well, this is weird
<mthst> infinisil: it would be helpful if this was mentioned somewhere in the wiki. can i create a page for znc there?
<infinisil> mthst: It is mentioned in the option description at least, but yeah feel free to make a wiki article if you want to
BlessJah has quit [Remote host closed the connection]
srid has quit [Ping timeout: 240 seconds]
logzet has joined #nixos
ym555 has quit [Ping timeout: 264 seconds]
ym555_ has joined #nixos
sigmundv_ has joined #nixos
<tilpner> yurb: So... it just built on master
<tilpner> I have no idea why thoigh
<{^_^}> [nixpkgs] @timokau merged pull request #57201 → unity3d: 2017.4.10f1 -> 2018.3.0f2 → https://git.io/fhhPb
<{^_^}> [nixpkgs] @timokau pushed 4 commits to master: https://git.io/fjqi4
i1nfusion has quit [Remote host closed the connection]
<tilpner> When I tried building it from master on my server it failed during unpacking as expecte
Dan_ has joined #nixos
<tilpner> ...d. But when I build it manually form a nixpkgs checkout, it works
Dan_ is now known as Guest5330
<Guest5330> I'm having some issues with home-manager
mthst- has joined #nixos
<tilpner> And the cargoSha was correct
i1nfusion has joined #nixos
<{^_^}> rycee/home-manager#646 (by WhosCounting, 6 days ago, closed): Invalid package attribute when installing home-manager as a nixos module
mthst has quit [Quit: mthst]
<Guest5330> is like exactly what's happening, but I am using the 18.09 branch
srid has joined #nixos
BlessJah has joined #nixos
<Guest5330> nix-channel --list17:07:41 home-manager https://github.com/rycee/home-manager/archive/release-18.09.tar.gz
<tilpner> Have you updated the channel after adding itß
<tilpner> *?
mthst- has quit [Client Quit]
<Guest5330> potentially not
<tilpner> Try doing that :)
mthst has joined #nixos
i1nfusion has quit [Remote host closed the connection]
sigmundv_ has quit [Ping timeout: 250 seconds]
ym555_ has quit [Ping timeout: 252 seconds]
i1nfusion has joined #nixos
<infinisil> Taneb: What's the controversial patch?
nakkle has quit [Ping timeout: 245 seconds]
<Taneb> infinisil: applying https://github.com/haskell/haddock/pull/983 to Haddock
<{^_^}> haskell/haddock#983 (by harpocrates, 15 weeks ago, merged): Load plugins when compiling each module
Guest5330 has quit [Ping timeout: 256 seconds]
<yurb> tilpner: interesting. I'm curious what's going on
<Taneb> infinisil: I need to check it works for my use case
Netsu has quit [Ping timeout: 256 seconds]
nD5Xjz_ has joined #nixos
nD5Xjz has quit [Ping timeout: 252 seconds]
<Taneb> But I believe it's the main thing preventing us from upgrading in the office to 19.03
<tilpner> Yeah, me too
<tilpner> It's the exact same derivation, and it builds on my laptop, but not the server
<tilpner> With sandboxing
<infinisil> Taneb: I see
biopandemic has joined #nixos
<Taneb> (haddock and doctest are broken with GHC 8.6 if you use typechecker plugins)
nD5Xjz has joined #nixos
pie__ has joined #nixos
Guest___ has joined #nixos
nD5Xjz_ has quit [Ping timeout: 252 seconds]
pie_ has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @FRidh pushed to release-19.03 « flatcc: init at 0.5.2 »: https://git.io/fjqi7
<Guest___> alright
<Guest___> I updated with nix-channel --update
<Guest___> then exited my X session and logged back in
<Guest___> same result :/
thblt has left #nixos ["ERC (IRC client for Emacs 26.1)"]
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to release-19.03: https://git.io/fjqiN
<tilpner> yurb: I wonder if it's an impurity about xz/tar being available to the daemon
sigmundv_ has joined #nixos
thblt has joined #nixos
thblt has left #nixos ["ERC (IRC client for Emacs 26.1)"]
thblt has joined #nixos
thblt has left #nixos ["ERC (IRC client for Emacs 26.1)"]
pie__ has quit [Ping timeout: 250 seconds]
<tilpner> Except that doesn't make any sense because <nix/config.nix> provides both of them
pie_ has joined #nixos
<Taneb> Is it known what the longest dependency chain in nixpkgs is?
<tilpner> Unlikely
tilpner has quit [Quit: WeeChat 2.4]
pie_ has quit [Read error: Connection reset by peer]
pie__ has joined #nixos
ayerhart has quit [Read error: Connection reset by peer]
jb55 has joined #nixos
gal_bolle has quit [Ping timeout: 246 seconds]
tilpner has joined #nixos
tdbgamer has joined #nixos
<tilpner> That's reassuring, a reboot *doesn't* fix it
pie__ has quit [Ping timeout: 250 seconds]
<siers> If I want to declare the channel my system's going to be built from in configuration.nix. Do I just set nix.nixPath to the next channel? I asked this once and I had saved the configs, but they're 404 now. :D
ayerhart has joined #nixos
<infinisil> Taneb: This can tell you how long a dependency chain is for a drv: nix-store -q --tree /nix/store/*-*.drv | tr -cd '|\n' | sort -u | tail -1 | tr -d '\n' | wc -c
<siers> Can that be done at all? Won't it build the system from that channel only the second time arond?
<{^_^}> [nix] @grahamc opened pull request #2761 → nix: trivial instantiation timing experiment → https://git.io/fjqP3
<infinisil> siers: By setting `nix.nixPath = [ "nixpkgs=${some nixpkgs}" ]` you can only tell the system to apply this NIX_PATH after the next rebuild, and only then you can rebuild it again with the changed NIX_PATH, which specifies the channel
<siers> Right. Question, do you do that? :D
<infinisil> siers: If you wish to declaratively say that a certain configuration.nix should be built with a certain nixpkgs, you'll have to do this outside of configuration.nix, e.g. with a nixos-rebuild wrapper that sets NIX_PATH correctly
<siers> I'll try out setting it with nixPath and see whether anything breaks.
<tilpner> Ohh, there's a difference between "nix-store -r" as root and as nobody
pie_ has joined #nixos
<tilpner> yurb: Are you either root, or are using a single-user installation?
lionello has quit [Quit: leaving]
<{^_^}> [nixpkgs] @dotlambda pushed to master « home-assistant: 0.91.2 -> 0.91.3 »: https://git.io/fjqP4
biopandemic has quit [Quit: .]
<infinisil> Idea: Split `man configuration.nix` into a man page for every module, and an overview manpage
<infinisil> The module-specific man page can then also contain general module information, tutorials, how-to's, etc.
* tilpner relies on full-text search over all options
<infinisil> tilpner: You could still use the overview man page to find a module, and then refer to the module-specific man-page
<siers> is there something faster than nix-prefetch-git for getting nixos-19.03 from nixpkgs-channels?
<tilpner> But I won't be able to find that module if my match is only found in the description of an option
<infinisil> And we could even have an option -> module man-page which lists all options and the man page where you can find info on them
<infinisil> Hmm I guess
<tilpner> siers: git ls-remote https://github.com/nixos/nixpkgs-channels nixos-19.03
<infinisil> tilpner: But the idea of embedding other kinds of docs into the man pages sounds really nice imo
<tilpner> Assuming you wanted the revision to then fetch with http
<tilpner> It does, and it should be possible to strip all that extra info and still give me my single manpage
<tilpner> Or even leave it all in
<infinisil> tilpner: I personally am a bit overwhelmed with navigating a million line man page
<infinisil> If I have a single man page for a module, I know that I can just hit gg to get to the top where the introduction could be
<tilpner> And I might be overwhelmed with navigating a thousand thousand-line manpages :)
<DigitalKiwi> just be glad it's not info pages?
<infinisil> But when do you need to navigate all of them at once?
<infinisil> I personally often just want to use a single module
<tilpner> When I don't know which module I want
kyren has quit [Remote host closed the connection]
<tilpner> D:
<infinisil> I'd think a module overview man page would work well to discover modules
<infinisil> They could have a list of tags too there
<infinisil> ANd a short description
arjen-jonathan has quit [Ping timeout: 245 seconds]
<tilpner> With a list of all option names, that should be fine
<infinisil> We could even have a `nixos-man` command, which you can use to interactively select an option/module to see docs for
<{^_^}> [nixpkgs] @eri451 opened pull request #59316 → torcs: anonscm.debian.org has moved → https://git.io/fjqPH
<infinisil> Like the options page online
kyren has joined #nixos
wfranzini has quit [Remote host closed the connection]
wolfman154 has joined #nixos
<{^_^}> [nixpkgs] @Taneb opened pull request #59317 → ghc: apply fix to Haddock in relation to typechecker plugins → https://git.io/fjqPx
aanderse-work has joined #nixos
analogical has joined #nixos
mthst has quit [Quit: ZNC 1.7.3 - https://znc.in]
mthst has joined #nixos
hoijui has joined #nixos
nD5Xjz has quit [Ping timeout: 252 seconds]
shabius has joined #nixos
<tilpner> That would be a lot more work though
wolfman154 has quit [Quit: Mutter: www.mutterirc.com]
<tilpner> yurb: ?
nD5Xjz has joined #nixos
<tilpner> Does nix-store as root bypass the daemon?
shabius_ has quit [Ping timeout: 258 seconds]
i1nfusion has quit [Remote host closed the connection]
i1nfusion has joined #nixos
thomas` has joined #nixos
<thomas`> q
ym555_ has joined #nixos
knupfer has quit [Remote host closed the connection]
<thomas`> Is there a way to force clean the nix store when the partition it's on is 100% full?
knupfer has joined #nixos
<tilpner> Did you run nix-collect-garbage, and it errored?
<thomas`> Aye.
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/02bb5e35eae (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<tilpner> You can check /tmp for things you don't need, and that might help enough to get the gc going (if /tmp is not on a tmpfs)
<thomas`> Oh, right. It ... might be. Hang on.
<thomas`> Yeah, it is, I'm afraid.
erasmas has joined #nixos
<tilpner> Any other files you don't need? You can always copy something out, gc, and copy it back in
<thomas`>
<thomas`> I found a github issue for making the gc work when the disk is full, but it's still open with no resolution I think. (https://github.com/NixOS/nix/issues/564)
<{^_^}> nix#564 (by edolstra, 3 years ago, open): Make garbage collector work if there is no free space
<tilpner> (I know that's awkward, but I don't know if it's possible to gc with 100% disk usage)
<thomas`> And oh, Can I?
<thomas`> Am I allowed to remove things from that partition at all?
InFlames has joined #nixos
<tilpner> I was referring to other things on the same partition
<{^_^}> [nixpkgs] @FRidh merged pull request #59098 → Staging next → https://git.io/fjLpZ
_Geeko_ has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @FRidh pushed 469 commits to master: https://git.io/fjqXC
<tilpner> Did you give the store its own partition?
<{^_^}> [nixpkgs] @dotlambda merged pull request #57469 → python37Packages.zeep: 3.2.0 -> 3.3.0 → https://git.io/fhjuP
<{^_^}> [nixpkgs] @dotlambda pushed 4 commits to master: https://git.io/fjqXW
<{^_^}> [nixpkgs] @FRidh pushed 34 commits to staging-next: https://git.io/fjqXl
<{^_^}> [nixpkgs] @FRidh pushed 36 commits to staging: https://git.io/fjqX8
<thomas`> Yeah, pretty much.
<tilpner> What filesystem is it?
ixxie has joined #nixos
<{^_^}> [nixpkgs] @aanderse opened pull request #59318 → perlPackages.CGIMinimal: init at 1.29 (19.03 backport of #58935) → https://git.io/fjqX4
<{^_^}> [nixpkgs] @aanderse opened pull request #59319 → perlPackages.DBDOracle: init at 1.76 (19.03 backport) → https://git.io/fjqX0
tdbgamer has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<thomas`> Listed as 'linux root' when running fdisk.
nD5Xjz has quit [Ping timeout: 252 seconds]
rcshm has joined #nixos
<tilpner> df -hT should give the correct type
nD5Xjz has joined #nixos
<tilpner> But it's probably ext4 if you don't know which filesystem it is
<thomas`> Yeah, thanks. ext4 it is.
Jetien_ has quit [Ping timeout: 246 seconds]
<mthst> infinisil: i've tried to setup sasl for znc, but apparently you can't do it from the configuration
<mthst> you have to /msg *sasl
<tilpner> Does /nix/var/nix/db/reserved still exist? If yes, you can just delete that
<infinisil> mthst: Indeed, I have plans to make it possible to set this in configuration.nix as well
PC__ has joined #nixos
knupfer has quit [Quit: knupfer]
<{^_^}> [nixpkgs] @dotlambda merged pull request #59279 → python3Packages.nixpkgs-pytools: init at 1.0.0 → https://git.io/fjq8m
<{^_^}> [nixpkgs] @dotlambda pushed commit from @costrouc to master « python3Packages.nixpkgs-pytools: init at 1.0.0 (#59279) »: https://git.io/fjqXw
<thomas`> Yeah, it did, but deleting it didn't seem to make any difference.
knupfer has joined #nixos
__monty__ has joined #nixos
<tilpner> thomas`: df should now show a little free space
<thomas`> Hmm,
<thomas`> well, it didn't really make a difference, I'm afraid.
<tilpner> Can you paste the output of it?
<tilpner> ,paste
<{^_^}> Use a website such as [ https://gist.github.com/ http://ix.io/ https://hastebin.com/ https://paste.ee/ ] or similar services to share anything that's longer than a couple lines.
PC_ has quit [Ping timeout: 268 seconds]
<tilpner> Or did it increase the free space shown, but nix still errors during gc?
<thomas`> Is there a way to format it or just paste it raw?
<thomas`> Filesystem Type Size Used Avail Use% Mounted on
<thomas`> tmpfs tmpfs 7.8G 7.1M 7.8G 1% /run
<thomas`> tmpfs tmpfs 16G 560M 15G 4% /dev/shm
<thomas`> devtmpfs devtmpfs 1.6G 0 1.6G 0% /dev
<thomas`> tmpfs tmpfs 16G 360K 16G 1% /run/wrappers
<thomas`> /dev/nvme0n1p9 ext4 31G 31G 0 100% /
<thomas`> /dev/nvme0n1p11 fuseblk 380G 3.0G 377G 1% /shared
<thomas`> tmpfs tmpfs 16G 0 16G 0% /sys/fs/cgroup
<tilpner> That's what I activated ,paste for :/
<{^_^}> [nixpkgs] @aanderse opened pull request #59320 → phpPackages.sqlsrv & phpPackages.pdo_sqlsrv: 5.6.0 -> 5.6.1 → https://git.io/fjqX6
<thomas`> tmpfs tmpfs 16G 88K 16G 1% /tmp
<thomas`> /dev/nvme0n1p7 vfat 500M 14M 486M 3% /boot
<thomas`> /dev/nvme0n1p8 ext4 240G 13G 216G 6% /home
<thomas`> tmpfs tmpfs 3.2G 4.0K 3.2G 1% /run/user/1000
<thomas`>
<thomas`>
periklis has quit [Remote host closed the connection]
<gchristensen> ,paste thomas`
<{^_^}> thomas`: Use a website such as [ https://gist.github.com/ http://ix.io/ https://hastebin.com/ https://paste.ee/ ] or similar services to share anything that's longer than a couple lines.
<gchristensen> oh
<gchristensen> sorry :)
<thomas`> Right, apologies. Figured it'd be short enough to qualify as 'a couple of lines'
<tilpner> A couple is usually 2 or 3
<gchristensen> I think usually couple means 2 here fwiw ;)
<gchristensen> no worrise though, no harm done
lovesegfault has joined #nixos
<thomas`> Gotcha. Cheers. I'll get it right this time.
<tilpner> No, it's fine
judson has joined #nixos
<judson> When is it appropriate to issue a PR against NUR vs. nixpkgs?
<tilpner> I see a few options
grischeg has quit [Remote host closed the connection]
<tilpner> 1. Delete things and hope it doesn't break anything (check if /nix/store/trash exists)
<tilpner> 2. Enlarge the partition
<tilpner> 3. Copy parts of it to a ramdisk or external storage, delete it, mount-bind the copy to the right place, gc, copy everything back (but eww!)
<judson> I'm realizing that there are things in my /etc/nixos that are "behaviors" for my laptop especially. For instance, I've got a tricky setup with NetworkManager, unbound, and dns-crypt that I really like... but it seems too peculiar for nixpkgs. NUR?
waleee has joined #nixos
<tilpner> judson: None of those sound like they belong on the NUR issue tracker
<judson> Do I misunderstand NUR?
wolfman154 has joined #nixos
sigmundv_ has quit [Ping timeout: 264 seconds]
<tilpner> I can only answer that after you explain your understanding of the NUR
<judson> Fair!
<judson> NUR: user contributed NixOS packages. Outside of normal review.
zupo has joined #nixos
<thomas`> tilpner Right. /nix/store/trash doesn't exist. Enlarging the partition ... could be done? I'd have to look it up, but not a bad idea. Probably have to resize adjacent partitions though, no? Can you somehow override the os and clean out what's in the store? You should be able to just reinstall it, right?
<judson> What I'm contemplating is a NixOS module for a particular behavior, that would affect the config of 3-4 service modules.
<__monty__> judson: NUR is just for personal projects people want to share. You'd PR that repo if you had a project of your own to share or if you improved a project already in NUR.
<tilpner> nixpkgs packages are user-contributed too. NUR repos don't receive any reviewing
<{^_^}> [nixpkgs] @Anton-Latukha opened pull request #59321 → wmctrl: upd upstream links, clean-up, adopt package → https://git.io/fjqX1
<judson> So, if I've got a little program I like but I don't want to go through a nixpkgs review, I could push it to NUR?
chreekat has joined #nixos
<tilpner> Yes
<judson> (Like the Rust nursery, almost)
<judson> Is there a process of getting NUR stuff into nixpkgs, beyond "oh, hey, this is cool enough to champion!" ?
<gchristensen> NUR is wild west
<gchristensen> go crazy, be safe, don't use stuff you don't trust
<judson> More to my immediate case: is there a place for "Do you have this problem too? Here's a module for it."? Outside of clever's NixOS repo?
<tilpner> thomas`: I don't know your partition layout, but yes, probably. Before you reinstall, I would try the ugly option 3
InFlames has quit [Ping timeout: 240 seconds]
jabranham has quit [Quit: ERC (IRC client for Emacs 27.0.50)]
<tilpner> Or even 1, you don't have that much to lose if you're considering reinstallation
<thomas`> Err, okay. That sounds rather complicated though. Is number two not possible without a reinstallation? Because if I wipe it, it should be fine again. Also, is there anything else I should be able to delete that you know of?
<wolfman154> 10:46 wolfman154: In my custom keyboard layout I switched the symbols row with the numbers row, now when I press: mod + shift + number, to switch to a different workspace it does not work, how do I fix this ?
<tilpner> thomas`: Yes, if your partition layout allows it, enlarging the partition and then the filesystem are possible without reinstallation
ubert has quit [Quit: Leaving]
<tilpner> You might have to do it from a live system though
<tilpner> thomas`: Oh, of course!
<Rusty1> nix-env --uninstall <something> leaves garbage behind,? could incrementally free up space?
ckauhaus has quit [Quit: WeeChat 2.2]
<tilpner> thomas`: sudo journalctl --vacuum-size=1K
<thomas`> Oh, my god, yes! Thank you so much!
<thomas`> Just--I'm stil new to linux--what does that do?
<tilpner> It deletes all logs
<tilpner> (Or... almost all of them)
<tilpner> Which is fine, you probably weren't going to look at them
xkapastel has quit [Quit: Connection closed for inactivity]
nD5Xjz has quit [Ping timeout: 264 seconds]
nD5Xjz_ has joined #nixos
<wolfman154> In my custom keyboard layout I switched the symbols row with the numbers row, now in xmonad when I press: mod + shift + number, to switch to a different workspace it does not work, how do I fix this ?
mthst has quit [Quit: ZNC 1.7.3 - https://znc.in]
mthst has joined #nixos
<tilpner> thomas`: Are you trying a bunch of distros right now? 31G for / can be done, but NixOS trades disk space for sanity, so a little (or a lot) more would be a good idea if you decide to stick with it
nD5Xjz has joined #nixos
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/246ac89c2b0 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
philippupgrade has joined #nixos
nD5Xjz_ has quit [Ping timeout: 250 seconds]
<thomas`> No, I've pretty much settled on NixOS. I've got loads of space, though, so I could def rejig it if need be.
<pie_> if only nix had proof carrying code
<pie_> or capabilities or something
<philippupgrade> Anybody else here having trouble with matrix-synapse after the upgrade to 19.03? https://share.xndr.de/chaeW2ho6ue3heibo3pahze0Oosaph/synapse-error.log
<pie_> * nix / nixpkgs#
<{^_^}> [nixpkgs] @acowley opened pull request #59322 → vulkan-tools: add dependency on vulkan-headers → https://git.io/fjq1e
<wolfman154> Is nixos 19.03 stable now?
PC__ has quit [Ping timeout: 252 seconds]
<tilpner> thomas`: More space would allow you to keep more generations of your system, and it's generally a nicer experience to not have to gc every day
<ar> wolfman154: not yet
<ar> wolfman154: but supposedly close to being stable
<tilpner> Look at the topic
<wolfman154> ar: cool
<tilpner> Hmm, that makes me sound very grumpy, sorry
<tilpner> It's released :)
<wolfman154> tilpner: what’s released?
<tilpner> 19.03
<wolfman154> tilpner: 19.03 stable?
<tilpner> Yes
<tilpner> 3 hours ago
<thomas`> tilpner: yea, that makes sense. I generally don't want to keep a bunch of generations, but I have had some issues with it filling up. I suspect it'd be a lot of work, though? At least with moving files and stuff. That said, all my important stuff is in git, so it should be fine. That's what nixos is made for, right?
<wolfman154> tilpner: sounds good
<ar> oh, 3h ago? cool
<thomas`> Oh, and one more thing: Is it possible to get the config for the current generation of the system? I ... might have deleted the config before being able to add the latest changes ...
<tilpner> thomas`: I'll need your partition layout to answer that question. With gist.github.com, this time :P
tomberek has joined #nixos
ee1943 has quit [Ping timeout: 255 seconds]
<tilpner> thomas`: And no, while there is a feature to save the configuration.nix with each generation, it is off by default to prevent unpleasant surprises
<tilpner> (Like "I put all my passwords into configuration.nix, and now it's world-public in the store!")
EoF has quit [Quit: eof]
<philippupgrade> Ah! Misconfiguration on my part. Had some stuff in `database_args` as a string that should have been integers.
<tilpner> philippupgrade: Huh, are you not using the default postgres?
<thomas`> Haha, yeah, it's here (hastebin, though): https://hastebin.com/gusohobili.sql
<thomas`> And yeah, that makes sense.
<philippupgrade> tilpner: I was already using postgres, but I had database_args{cp_min,cp_max} set to "10" and "20" and that got the type system confused. Should have been just 10 and 20.
<waleee> tilpner: which option enables saving configuration.nix with each generation?
<tilpner> thomas`: Sorry, df -hT doesn't print the layout. lsblk does though
<tilpner> waleee: system.copySystemConfiguration
<emilsp> is there a pacman -Qi equivalent? I want to look at the dir structure of a specific package
<tilpner> waleee: But note that it only saves configuration.nix, not any additional files
wolfman154 has quit [Quit: Mutter: www.mutterirc.com]
<{^_^}> [nixpkgs] @grahamc opened pull request #59323 → check-env: don't execute check-meta.nix 15,000 times → https://git.io/fjq1q
<tilpner> emilsp: With or without building/downloading that package?
tomberek_ has joined #nixos
<tilpner> philippupgrade: Ahh, okay
<waleee> tilpner: thanks (and configuration.nix would be enough for me)
work_ has quit [Quit: Connection closed for inactivity]
tomberek_ has quit [Client Quit]
<emilsp> tilpner: I already have built a package
siers has quit [Ping timeout: 252 seconds]
<tilpner> emilsp: I don't know the output format of pacman. Would something like tree $(nix-build --no-out-link '<nixpkgs>' -A gcc) work for you?
<thomas`> tilpner: ah, my bad. Here: https://hastebin.com/lohagavefo.nginx
<thomas`>
pie_ has quit [Ping timeout: 240 seconds]
<tilpner> emilsp: That will require tree to be installed. You can add an alias/function/wrapper if that's too long to type
<emilsp> well, ideally I'd be able to just cd to the specific package root that I've just built.
dnlkrgr has joined #nixos
<tilpner> thomas`: Oh, that's convenient. You could kill the swap, enlarge nvme0n1p9, resize the contained FS (resize2fs?), and then either live without/less swap or put it somewhere else
shibboleth has joined #nixos
<tilpner> emilsp: So: cd $(nix-build --no-out-link '<nixpkgs>' -A gcc)
<emilsp> yay, thanks tilpner
<{^_^}> [nixpkgs] @NathanielHill opened pull request #59324 → now-cli: 15.0.3 -> 15.0.4 → https://git.io/fjq1Z
<thomas`> tilpner: Yeah, looking at that, I think it'd make sense to double the size of nvme0n1p9 and shrink nvme0n1p11 by the same amount. Guess I'd just move the swap 'down'.
<thomas`>
mthst has quit [Quit: ZNC 1.7.3 - https://znc.in]
mthst has joined #nixos
wolfman154 has joined #nixos
xkapastel has joined #nixos
<tilpner> thomas`: What's nvme0n1p11 being used for? Why are you mounting it with FUSE?
<tilpner> I assumed it was ext4 too, but apparently not
<wolfman154> tilpner: it’s the name of the hardware partition (I’m using System76 galago pro)
<tilpner> I don't understand what you mean
<tilpner> I know that nvme0n1p11 is a partition name
<tilpner> But why it it listed as fuseblk above?
<{^_^}> [nixpkgs] @xeji pushed commit from @WilliButz to master « grafana: 6.1.2 -> 6.1.3 (#59307) »: https://git.io/fjq1l
<{^_^}> [nixpkgs] @xeji merged pull request #59307 → grafana: 6.1.2 -> 6.1.3 → https://git.io/fjqw7
<thomas`> Ah, yeah, it's because I still have a windows partition lying around (needed it for some work before Christmas), and I wanted to be able to share files between them.
<tilpner> That's important because now I can't help at all with resizing that windows partition
<tilpner> Which I probably wouldn't even attempt if there's anything valuable in there
<thomas`> Well, luckily, there isn't.
<thomas`> I still have a separate windows partition too, but I've not touched it in months now.
<tilpner> So can you just delete all of nvme0n1p11 too?
<thomas`> Might be time to commit, actually, and just remove windows completely. And yeah, that I can.
<tilpner> 444GB is better than 64GB
<tilpner> So... do that, if you can
<philippupgrade> Ah, matrix.org is down. This is why federation isn't working any more.
<{^_^}> [nixpkgs] @xeji pushed 2 commits to release-19.03: https://git.io/fjq1B
<Yaniel> *federation is working but since matrix.org hosts most bridges those don't work
<andi-> yeah, great concept ;-)
<thomas`> Wait, 444GB for the store alone? That sounds like overkill, but might be alright.
<andi-> the bridges could be their own homeserver but well
<tilpner> thomas`: No, for /, which I used to also put my /home on
<Yaniel> well, and then there's my server that hasn't been federating properly for weeks and I haven't figured out why
<tilpner> Yaniel: Did you miss the deadline for well-known?
<{^_^}> [nixpkgs] @dotlambda pushed to master « python.pkgs.pylama: 7.6.6 -> 7.7.1 »: https://git.io/fjq1E
<tilpner> ... I was going to link the federation tester, but it's down too
<Yaniel> federation tester would just timeout on me
<Yaniel> even before today
<tilpner> Uh oh
<thomas`> Ah, yeah, cool. I've got a separate /home, though, at 250GB or so, so I'm not super worried about that. But thanks for all your insights; I know what I'm doing this weekend ;)
<tilpner> Yaniel: There's a new manual section on setting up Synapse, if you want to try to fix it
<Yaniel> to be honest I don't really want to touch it at all :D
<Yaniel> that always ends up taking most of the day
<Yaniel> and then I feel like I wasted my time on something that nobody uses anyway
<tilpner> It's a little more than nobody, but yes... it's not that popular yet
<Yaniel> nobody that I'd care about anyway
<tilpner> :(
<Yaniel> If I wanted traffic there's always matrix hq, ready to overload the server :P
slack1256 has joined #nixos
domogled has joined #nixos
<Yaniel> anyway I *think* I have .well-known set up properly
<wolfman154> In my custom keyboard layout I switched the symbols row with the numbers row, now in xmonad when I press: mod + shift + number, to switch to a different workspace it does not work, how do I fix this ?
<Yaniel> no wait actually I missed one part
mm_ has joined #nixos
<mm_> manveru: hey
<mm_> manveru: are you here?
<mm_> and if yes, is your nick on hackernews also manveru?
<mm_> If not... does someone here use tuxedo hardware?
<mm_> I just received mine and I fail to get nixos to boot from USB ...
<tilpner> Does it work with e.g. a Ubuntu stick?
<mm_> I do not have one...
<tilpner> Did you get into the BIOS/UEFI and change the boot order?
<mm_> hyper_ch: you had the same issue on 2018-07-31 according to IRC logs
<goibhniu1> Hi mm_, I have some experience with Tuxedo (myself and two friends)
<manveru> mm_: Not here at the moment, but I'm the same
<mm_> tilpner: yes, I already selected the boot option in the bootloader, but from what I see it does not work...
<mm_> it has been 10 minutes ago and I just see the "_" and a black screen
<tilpner> mm_: Can you test the stick in another machine to verify you created it correctly?
<goibhniu1> a few other people here have them too, hyper_ch got one fairly recently
<mm_> manveru: okay, thanks. Maybe someone else can help me
<{^_^}> [nixpkgs] @matthewbauer merged pull request #59294 → clang8: apply patch to disable xpc → https://git.io/fjqRM
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fjq1P
eri451 has joined #nixos
<mm_> So, any ideas?
<tilpner> mm_: Can you test the stick in another machine to verify you created it correctly?
<mm_> my most recent attempt was using the debug boot, but nothing changed
<mm_> tilpner: I got to select the boot option from the bootloader... so I'd guess that the stick was prepared correctly, ... ?
apaul1729 has joined #nixos
<mm_> or is there a way I can see the bootloader but nothing boots then?
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ayerhart_ has joined #nixos
<tilpner> mm_: Anything could happen if the image was corrupted during download or written improperly
siers has joined #nixos
<tilpner> But if you saw grub (and not some BIOS/UEFI menu), it seems likely you did it correctly
<wolfman154> I was wondering if you guys could take a look at my partition to see if I installed nixos correctly on my System76 galago pro?
<tilpner> Especially if you verified the hash of the downloaded ISO
pxc has joined #nixos
<tilpner> wolfman154: Do you feel like you installed it incorrectly?
srk has quit [Ping timeout: 250 seconds]
hoijui has quit [Ping timeout: 268 seconds]
ayerhart has quit [Ping timeout: 252 seconds]
Thra11 has joined #nixos
<mm_> tilpner: yes the sha256 was correct
PC__ has joined #nixos
<wolfman154> tilpner: I don’t trust my feelings (only logic), so I don’t know that’s why I’m asking here?
<tilpner> wolfman154: I guess I can have a quick look and tell if anything looks horribly wrong
Erasmus has quit [Read error: Connection reset by peer]
<mm_> tilpner: LOL! I chose the "refind" option and am one step further now!
snajpa has quit [Quit: ZNC 1.7.1 - https://znc.in]
<mm_> but it fails to mount the /mnt-root/iso
snajpa has joined #nixos
<tilpner> Huh
srk has joined #nixos
<mm_> sounds strange, doesnt it
mthst has quit [Quit: ZNC 1.7.3 - https://znc.in]
<wolfman154> That’s my partition if anyone else wants to take a look
<tilpner> wolfman154: That is not horribly wrong, AFAICT
ayerhart has joined #nixos
<mm_> tilpner: whenever I select any option in the grub menu I get "Error: unknown filesystem" ... but then it continues...
rjmill has quit [Ping timeout: 250 seconds]
<mm_> not sure where this comes from
<wolfman154> tilpner: sounds good, I was just making sure
<wolfman154> tilpner+*
gagbo has quit [Ping timeout: 245 seconds]
<wolfman154> tilpner++
<{^_^}> tilpner's karma got increased to 21
ayerhart_ has quit [Ping timeout: 240 seconds]
<mm_> tilpner: refind also tells me: No such device: 1234-5678
<tilpner> mm_: I don't have any good guesses, and I have never used refind
<tilpner> mm_: Did you create the stick with dd, and sync before ejection?
<tilpner> (Or cp, or cat, those are fine too)
<wolfman154> What do you guys think of guixsd?
<mm_> tilpner: I created it with unetbootin because dd did result in not working at all
<mm_> tilpner: from what I see, I get to stage1 in the boot process with refind
BlessJah has quit [Remote host closed the connection]
<mm_> because the error message is "an error occurred in stage 1 of the boot process which must mount the root filesystem on ..."
<tilpner> mm_: I would try re-creating it with dd. A few years ago I tried unetbootin for something, and I never got it to work
<mm_> oky, I'll try that
<mm_> I guess...
<tilpner> I don't know if/what unetbootin actually does
<tilpner> ... anything different
thomas` has quit [Remote host closed the connection]
wolfman154 has quit [Quit: Mutter: www.mutterirc.com]
fendor has quit [Ping timeout: 246 seconds]
BlessJah has joined #nixos
<mm_> tilpner: okay... now the whole boot screen looks _entirely_ different
<mm_> with graphics and so on
<tilpner> That's good
<mm_> strange
<mm_> sounds like its working now
<mm_> nice, systemd!
<mm_> login.
<mm_> AWESOME
<mm_> tilpner++
<{^_^}> tilpner's karma got increased to 22
devhell has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #59274 → [backport] renpy: 7.1.3 -> 7.2.0 → https://git.io/fjqcz
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to release-19.03: https://git.io/fjqM8
varvir has joined #nixos
Soo_Slow has joined #nixos
<varvir> i have a question
aloiscochard has joined #nixos
<devhell> congrats on the release everyone! \o/ wooooooop
<varvir> wow! congratulations!
ayerhart has quit [Read error: Connection reset by peer]
ayerhart has joined #nixos
<infinisil> Ah I didn't even notice, awesome!
<varvir> well.. how different "nix-env -iA nixpkgs.foo" and ".. -iA (attrsets)"?
<infinisil> sphalerite++ samueldr++ for managing this release
<{^_^}> samueldr's karma got increased to 75, sphalerite's karma got increased to 53
analogical has left #nixos [#nixos]
everybodyHertz has joined #nixos
varvir has quit [Quit: Page closed]
<{^_^}> [nixpkgs] @puffnfresh opened pull request #59326 → steam: fix steamrt trying to use a missing setup.sh → https://git.io/fjqMo
<{^_^}> [nixpkgs] @primeos opened pull request #59327 → jekyll: Switch from bundlerEnv to bundlerApp → https://git.io/fjqM7
ym555_ has quit [Ping timeout: 250 seconds]
zupo has joined #nixos
Guest___ has quit [Ping timeout: 256 seconds]
ym555_ has joined #nixos
domogled has quit [Ping timeout: 264 seconds]
zupo has quit [Client Quit]
arjen-jonathan has joined #nixos
kreisys has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
domogled has joined #nixos
<{^_^}> [nixpkgs] @peti pushed commit from @jabranham to master « R: update CRAN and Bioconductor package sets »: https://git.io/fjqDZ
hoijui has joined #nixos
domogled has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @peti pushed 5 commits to haskell-updates: https://git.io/fjqDc
<{^_^}> [nixpkgs] @xrelkd opened pull request #59328 → cargo-xbuild: 0.5.7 -> 0.5.8 → https://git.io/fjqDC
<{^_^}> [nixpkgs] @peti closed pull request #59186 → R: update CRAN and Bioconductor package sets → https://git.io/fjtaB
philippupgrade has quit [Ping timeout: 256 seconds]
ixxie has quit [Ping timeout: 264 seconds]
kleisli has quit [Ping timeout: 264 seconds]
mm_ has quit [Quit: Page closed]
kreisys has joined #nixos
_Geeko_ has joined #nixos
ixxie has joined #nixos
tdbgamer has joined #nixos
mthst has joined #nixos
goibhniu1 has quit [Ping timeout: 245 seconds]
hoijui has quit [Ping timeout: 264 seconds]
zupo has joined #nixos
m0rphism has quit [Quit: WeeChat 2.2]
m0rphism has joined #nixos
mthst has quit [Quit: ZNC 1.7.3 - https://znc.in]
siers has quit [Ping timeout: 250 seconds]
mthst has joined #nixos
wolfman154 has joined #nixos
wfranzini has joined #nixos
<wolfman154> Does anyone know a way to change key bindings in xmonad?
<infinisil> wolfman154: Look at the xmonad docs
mthst has quit [Quit: disconnect]
mthst has joined #nixos
<wolfman154> infinisil: thanks to rycee I finally got my keyboard layout working, the only problem I have is with the symbols and numbers row because I switched them. Ok I’ll look in the xmonad documents for help.
<{^_^}> [nixpkgs] @xeji closed pull request #57228 → dub: 1.13.0 -> 1.14.0 → https://git.io/fhhyG
<hlolli__> do patchShebangs leave `#!/usr/bin/env bash` untouched?
ixxie has quit [Ping timeout: 250 seconds]
armin has joined #nixos
domogled has joined #nixos
<hlolli__> ah it doesn't leave it untouched, for some reason patchShebangs is skipping a file
_Geeko_ has quit [Ping timeout: 250 seconds]
<hlolli__> just fails isScript test, fixed it by chmod +x the file in question
<{^_^}> [nixpkgs] @peti pushed commit from @Taneb to haskell-updates « ghc-8.6.4: patch to fix haddock bug with typechecker plugins »: https://git.io/fjqDQ
xkapastel has quit [Quit: Connection closed for inactivity]
equivrel has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @peti closed pull request #59317 → ghc: apply fix to Haddock in relation to typechecker plugins → https://git.io/fjqPx
equivrel has joined #nixos
rjmill has joined #nixos
m0rphism has quit [Quit: WeeChat 2.4]
m0rphism has joined #nixos
gagbo has joined #nixos
wolfman154 has quit [Quit: Mutter: www.mutterirc.com]
equivrel has quit [Read error: Connection reset by peer]
equivrel has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « ghc: add release candidate for 8.6.5 and a corresponding package set »: https://git.io/fjqDp
<makefu> hey, anybody got an idea to find out why my system derivation depends on some python library? i know `nix why-depends` exists, however i am unsure how i can define the system derivation (config.system.topLevel) as target
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/d934d0818b3 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
<tilpner> makefu: You can use /run/current-system and /run/booted-system during comparison
ym555_ has quit [Quit: leaving...]
<tilpner> If you don't want to switch to the system, you can of course build it separately
parsnip has joined #nixos
<tilpner> So nix-build --no-out-link '<nixpkgs/nixos>' -A system
djanatyn has joined #nixos
<makefu> but i am unable to get to that point (because the python python library does not build in 19.03
<djanatyn> hey, i saw that there was a proposal (that was funded with $4k!) for types in nix - is this a part of the language? https://typing-nix.regnat.ovh / https://www.gofundme.com/typing-nix
<tilpner> Ahh, the "why does it need to build this" problem
m0rphism has quit [Quit: WeeChat 2.4]
<tilpner> That's different from the "why is this in the closure" problem
<djanatyn> i'm looking to replace ansible in my infrastructure with something that accomplishes simlar tasks with a better type system
<makefu> tilpner: https://hydra.nixos.org/build/90312059 is the library in question
m0rphism has joined #nixos
m0rphism has quit [Client Quit]
<tilpner> djanatyn: Types are not (yet) in the official Nix language
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
m0rphism has joined #nixos
<djanatyn> thanks! i'll take a look at using dhall-to-nix
aanderse-work has quit []
kreisys has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
m0rphism has quit [Client Quit]
m0rphism has joined #nixos
<infinisil> djanatyn: I doubt they'll ever be implemented and used tbh..
<infinisil> And the benefit is marginal
pie_ has joined #nixos
m0rphism has quit [Client Quit]
<infinisil> The cost immense
<makefu> infinisil: type hinting like python has it would be nice
<gchristensen> and Nix provides soooo many benefits without them
stepcut has quit [Ping timeout: 250 seconds]
<gchristensen> ansible makes all the interesting stuff happen right at the end in production, Nix makes almost everything happen before production is even touched, and then the "interesting" part is almost trivial
<djanatyn> when i checked out nix a few years ago, it was a bit rough using the nix package manager without NixOS. are there people having success running nix on standard linux distributions, like CentOS or RH?
<tilpner> Gradual typing, only for the library functions could totally work
m0rphism has joined #nixos
<djanatyn> gchristensen: that's what led me here
<tilpner> The user-written code would still be untyped, and they would still get most of the benefits
<simpson> djanatyn: fu'inai Yeah, but it's not great. It's not that Nix has trouble on those distros, but that people want integration with the distro's DE and configuration.
<djanatyn> yeah, the lack of integration (with the maintenance required) is completely understandable
dm9 has joined #nixos
<simpson> Frankly, TBH, I think that folks should band together and produce a nix-rpm for RHEL/CentOS, ala nix-darwin for OSX, if they want that deep integration. It seems both possible and beneficial.
<simpson> But the first step starts with treating other distros as inherently alien, rather than pretending that they're not there.
ixxie has joined #nixos
<emilsp> Say I wanted to do a nix-shell and get a shell where I have access to tmux and nvim, what would I write in the shell.nix file?
m0rphism has quit [Quit: WeeChat 2.4]
<{^_^}> [nixpkgs] @xeji merged pull request #59309 → jenkins: 2.164.1 -> 2.164.2 → https://git.io/fjqoM
<{^_^}> [nixpkgs] @xeji pushed commit from @cawilliamson to master « jenkins: 2.164.1 -> 2.164.2 (#59309) »: https://git.io/fjqyc
m0rphism has joined #nixos
Soo_Slow has quit [Remote host closed the connection]
<infinisil> emilsp: Something like this would work: mkShell { buildInputs = [ tmux nvim ]; }
<{^_^}> [nixpkgs] @xeji pushed commit from @cawilliamson to release-19.03 « jenkins: 2.164.1 -> 2.164.2 (#59309) »: https://git.io/fjqy4
<emilsp> infinisil: and what if I wanted to specify some options for both of those packages?
<infinisil> options like?
<infinisil> Oh, like configuration
<emilsp> a list of plugins and appending ad hoc configs
<emilsp> I've been eyeballing multiple different configs I found in the wild but everything looks like black magic to me for now.
<{^_^}> [nixpkgs] @xeji merged pull request #59199 → cargo-expand: init at 0.4.10 → https://git.io/fjtPP
<{^_^}> [nixpkgs] @xeji pushed commit from @xrelkd to master « cargo-expand: init at 0.4.10 (#59199) »: https://git.io/fjqyE
<{^_^}> [nixpkgs] @xeji pushed commit from @NathanielHill to master « now-cli: 15.0.3 -> 15.0.4 (#59324) »: https://git.io/fjqyu
<{^_^}> [nixpkgs] @xeji merged pull request #59324 → now-cli: 15.0.3 -> 15.0.4 → https://git.io/fjq1Z
elux has joined #nixos
<infinisil> emilsp: For neovim it seems that here's an example: https://nixos.wiki/wiki/Vim#Customizations
<elux> hi guys
<infinisil> The neovim.override thing
<infinisil> You can but that in buildInputs
<infinisil> put*
_kwstas has joined #nixos
<elux> just wondering if home-manager supports, `home.file."config/kitty/kitty.conf".text = builtins.readFile kitty.conf;` -- this works for just one file, but it doesnt work with config/path/file.conf -- any suggestions pls?
<symphorien> start the path with ./
<symphorien> ./config/path/file.conf
<elux> fancy
<elux> ill try
<symphorien> a path in nix must start with . or / irrc
<infinisil> emilsp: And tmux seems to take a -f argument for changing the config file, you could make a tmux wrapper that passes that flag (a shell alias would work too)
<{^_^}> [nixpkgs] @xeji merged pull request #59318 → perlPackages.CGIMinimal: init at 1.29 (19.03 backport) → https://git.io/fjqX4
<{^_^}> [nixpkgs] @xeji pushed commit from @aanderse to release-19.03 « perlPackages.CGIMinimal: init at 1.29 (#59318) »: https://git.io/fjqyw
lopsided98 has quit [Quit: Disconnected]
<{^_^}> [nixpkgs] @xeji merged pull request #59319 → perlPackages.DBDOracle: init at 1.76 (19.03 backport) → https://git.io/fjqX0
<{^_^}> [nixpkgs] @xeji pushed commit from @aanderse to release-19.03 « perlPackages.DBDOracle: init at 1.76 (#59319) »: https://git.io/fjqy6
<infinisil> symphorien: Actually a ./ is only needed when there's no other slash in it
<infinisil> > foo/bar
<{^_^}> /var/lib/nixbot/state/nixpkgs/foo/bar
<infinisil> > ./foo/bar
<{^_^}> /var/lib/nixbot/state/nixpkgs/foo/bar
<emilsp> infinisil: see, I might appear rather clueless, but just putting that neovim example in a file and running nix-shell does not work :/
lopsided98 has joined #nixos
<infinisil> emilsp: Show the file and the error, I can't do anything with "does not work"
wfranzini has quit [Remote host closed the connection]
<mthst> is there a page like https://nixos.org/nixos/options.html for unstable?
<infinisil> mthst: Nope
<tilpner> mthst: Not that I know of, but you can just use "man configuration.nix"
<tilpner> (Which is much quicker to use than a browser anyway)
ryantrinkle has quit [Ping timeout: 264 seconds]
<emilsp> infinisil: see, I might appear rather clueless, but just putting that neovim example in a file and running nix-shell doesn't quite work.
<emilsp> Oh god, sorry for the repost
Ariakenom has joined #nixos
<infinisil> Np :)
<tilpner> Can someone else try building newsboat from master, as root?
<mthst> tilpner: ahh thanks
<tilpner> The person who asked about this disappeared, but I'm still curious why it doesn't work
<m0rphism> Has anyone a working SteamVR with a HTC Vive? For some time I had it working by overriding the `steam` package with `nativeOnly = true` and a bunch of `extraPkgs`, but this broke down quite a while ago.
<emilsp> infinisil: I think mulling around with which examples fail in which specific ways won't really help. Is there a good guide that might help me go from the absolute basics of building a toy deriviation to being able to use said deriviation in shells ?
<infinisil> emilsp: Well there are the nix pills, but they're a bit too indepth and not that practical imo
<emilsp> yes, I can agree with that assesment :/
alexozer has quit [Remote host closed the connection]
alexozer has joined #nixos
<infinisil> I think just trying to do what you want (having neovim + tmux in a nix-shell) and asking here if you're stuck will be a good learning experience
drakonis_ has quit [Ping timeout: 252 seconds]
<emilsp> Then it'll be a learning experience for tomorrow - I've really got to catch up with some sleep. Thank you very much for the help! Have a nice night guys.
kyren has quit [Ping timeout: 250 seconds]
<infinisil> You too!
work_ has joined #nixos
slack1256 has quit [Remote host closed the connection]
<m0rphism> jb55: Is your SteamVR still working? In #32881 you were reporting success.
<{^_^}> https://github.com/NixOS/nixpkgs/issues/32881 (by uwap, 1 year ago, open): steam / steam-run: make it possible / document how to override steamrt dependencies
mm_ has joined #nixos
<mm_> good evening again
<mm_> I installed my device
<tilpner> Okay, I have a minimal-ish test case now
<mm_> although I'm running into an issue where I'm not sure whether this is because of the 19.03 being brand-new or not
<{^_^}> #59330 (by matthiasbeyer, 7 minutes ago, open): [19.03] nix repl errors
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<mm_> when loading nixpkgs in nix-repl or trying to install something with nix-env (I know, shame on me)
i1nfusion has quit [Remote host closed the connection]
<mm_> I get "attempt to call something which is not a function but a path"
<mm_> maybe someone has an idea about that
i1nfusion has joined #nixos
<infinisil> mm_: Can you run just `nix-info`?
vidbina has quit [Ping timeout: 252 seconds]
<manveru> mm_: so i'm back again, what did you wanna know?
<mm_> infinisil: it tells me the same error message but then prints some output, so no/yes ?
<mm_> manveru: about nixos on tuxedo, that was cleared already, thank you!
<manveru> cool :)
<tilpner> Could someone please explain https://gist.github.com/tilpner/dbb9b1e9ce406c2b7408098b144300fa to me? :/
<infinisil> mm_: What's the output?
dm9 has quit [Quit: WeeChat 2.4]
<tilpner> (Or just confirm that this happens on your system too!)
<mm_> infinisil: a oneliner saying "system:0 multi-user?: no, version: nix-env (Nix) 2.2, channels(m): "", channels(root): "nixos-19.03...", nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos
<infinisil> mm_: Those are some weird dots there
<mm_> yea, I typed taht by hand
<parsnip> how do i nuke all these nixops UUIDs i made while screwing around
<mm_> and didn't want to type the whole thing
<mm_> infinisil: ^
<infinisil> mm_: Yeah but that's the important part
<mm_> ok
<mm_> it says
<mm_> nixos-19.03.172138.5c52b25283a
<{^_^}> [nixpkgs] @dotlambda merged pull request #59231 → tahoe-lafs: clean up inputs → https://git.io/fjtNN
<{^_^}> [nixpkgs] @dotlambda pushed commit from @exarkun to master « tahoe-lafs: clean up inputs (#59231) »: https://git.io/fjqyH
zupo has joined #nixos
<manveru> tilpner: works here
<tilpner> manveru: As root?
<parsnip> ah, `man nixops` looks good
<manveru> tilpner: why would you ever run nix-build as root?
knupfer has quit [Quit: knupfer]
<tilpner> manveru: Because it makes a difference here
<tilpner> It might also apply to single-user installations
<infinisil> mm_: Do you have anything special in your configuration.nix?
<mm_> what qualifies as "special"?
chessai has joined #nixos
kisik21` has joined #nixos
<manveru> tilpner: i can't even do the nix-store --delete :P
<chessai> hi, does anyone know of a recent version of nixpkgs.pkgsMusl that has a cache available?
<infinisil> mm_: Hmm never mind
PC__ has quit [Ping timeout: 268 seconds]
<chessai> there's the one associated with static-haskell-nix, but it doesn't have a new enough version of GHC
<tilpner> manveru: That's weird. But if you alter the installPhase to write something else it should let you test it
<infinisil> mm_: Do you get an error when you run `nix-instantiate '<nixpkgs>' -A hello --show-trace`? Can you share that error?
kisik21 has quit [Ping timeout: 258 seconds]
<manveru> tilpner: jup, it fails with sudo
<mm_> infinisil: I get an error when doing that... some traceback...
<tilpner> Isn't that curious?
<{^_^}> [nixpkgs] @xeji pushed commit from @lsix to release-19.03 « pythonPackages.qscintilla: fix build »: https://git.io/fjqyb
<tilpner> I don't need this to work, but I really want to know why it doesn't
<tilpner> I suspect nix-store as root bypasses the daemon
<manveru> well... i'm too tired to figure this out today :|
<mm_> infinisil:
<gchristensen> it does, tilpner
<mm_> infinisil: found it
<chessai> should i be using pkgsStatic instead of pkgsMusl...?
<mm_> infinisil: the problem was that I had a dead symlink in my ~/config (where my configuration.nix is)
<tilpner> gchristensen: If this also happens on single-user installations, this is a problem™
kisik21`` has joined #nixos
<infinisil> mm_: Huh, I'm not sure what this has to do with that
<mm_> the dead symlink was in nixpkgs/overlays/rust-overlay.nix which pointed to the non-existing nixpkgs-mozilla-repo
<infinisil> Oh
<infinisil> The impure arguments to nixpkgs strike again..
<tilpner> Now that manveru has confirmed the behaviour (thank you!), I might open an issue about it
<gchristensen> tilpner: single-user nix as root is not supported
<mm_> infinisil: yup.
<mm_> I don't know how to do better though
<manveru> tilpner: it gets weirder
kisik21` has quit [Ping timeout: 252 seconds]
<manveru> tilpner: if i run `sudo strace -s9999 -f nix-build weird.nix`, it builds :P
<tilpner> gchristensen: So it falls into the category of "faulty Nix installation, not supported"?
siers has joined #nixos
<gchristensen> not sure what is happening :)
<tilpner> gchristensen: I'm not making this up, a user had this issue earlier
<gchristensen> what is the issue?
<{^_^}> [nixpkgs] @erosennin opened pull request #59332 → gitAndTools.git-remote-hg: 0.2 -> 1.0.0 → https://git.io/fjqyp
<tilpner> This builds with the daemon, but not as root
<tilpner> Possibly due to differences in the environment of the daemon service and the root shell
<gchristensen> not sure...
<{^_^}> [nixpkgs] @xeji merged pull request #59328 → cargo-xbuild: 0.5.7 -> 0.5.8 → https://git.io/fjqDC
<{^_^}> [nixpkgs] @xeji pushed commit from @xrelkd to master « cargo-xbuild: 0.5.7 -> 0.5.8 (#59328) »: https://git.io/fjqyh
knupfer has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #59246 → crawl: 0.22.1 -> 0.23.2 → https://git.io/fjqfU
<{^_^}> [nixpkgs] @xeji pushed commit from @lightbulbjim to master « crawl: 0.22.1 -> 0.23.2 (#59246) »: https://git.io/fjqyj
<parsnip> I installed nix and nixops on macos, and now I get an error.
<gchristensen> no harm in an issue, for sure, tilpner
<parsnip> `error: 'ec2' at /Users/iam/code/nixops/ec2.nix:7:3 called with unexpected argument 'lib', at /Users/iam/.nix-defexpr/channels/nixpkgs/lib/modules.nix:170:8`
<tilpner> gchristensen: I'll just install single-user Nix into a VM to verify
<parsnip> Maybe I need to check out another version of nixops?
<parsnip> Tempted to just run nixops from a Dockerfile, in case I run into issues.
<emilsp> is there a package that's similar to build-essentials on debian in nix?
<pie_> emilsp, maybe stdenv, but probably not really
<gchristensen> ,libraries emilsp
<{^_^}> emilsp: Don't install libraries through nix-env or systemPackages, use nix-shell instead. See https://nixos.wiki/wiki/FAQ/Libraries for details.
<pie_> i should have just stayed quet and waited for someone else to answer
<gchristensen> Nix works differently, and ^ has some info about that
<emilsp> I'll stop abusing nixos once I get my head around all the new things, I promise {^_^}. In the meantime, I'd rather not starve because I can't compile things because I can't figure out how to work this beast :)
everybodyHertz has quit [Ping timeout: 256 seconds]
<pie_> emilsp, been there kind of, 'cept i wasnt working at the time
<tilpner> gchristensen: Yes, it also affects single-user installations
<pie_> emilsp, do you know about nix-shell -E yet? youre also going to want to start learning how to write nix expressions
<tilpner> Now... where do I file that issue
_h3x has joined #nixos
<pie_> i only got better recently when i really started needing to dig around
<emilsp> pie_: it's all in the cards now, yes.
<infinisil> tilpner: NixOS/nix ?
<pie_> theres a decent amount of ground to cover to proficiency, but my stockholm syndrome says it has to be worth it ;P
andymandias has quit [Remote host closed the connection]
<pie_> emilsp, start with pkoing around stdenv.mkDerivation, peek through the documentation on phases
<pie_> peek through what exists in lib
andymandias has joined #nixos
<pie_> look at nix repl
<pie_> note that you have to reload nix repl sometimes because some things are sticky
<emilsp> isn't the repl deprecated now?
<pie_> theres nix-repl and nix repl i think
<pie_> you want the latter
hoijui has joined #nixos
<infinisil> nix-repl is the deprecated one
<pie_> start. packaging. all. the. things.
<pie_> :D
<emilsp> that's good to know
knupfer has quit [Remote host closed the connection]
<pie_> annoy people constantly^W^W^W
<pie_> Write Moar Docs
<pie_> Upstream All The Things
drakonis_ has joined #nixos
<pie_> Open Github Issues
waleee has quit [Quit: WeeChat 2.4]
<pie_> man this seems like an awful lot of work 'xD it cant be this bad right?
drakonis has joined #nixos
<pie_> extra credit: work on simplifying things and improving usability
<pie_> emilsp, anyway, hows your progress
<pie_> emilsp, you know theres like 3 manuals, a wiki, and irc logs right?
__monty__ has quit [Quit: leaving]
<yurb> tilpner: sorry I had to go afk. Now I tried cloning nixpkgs master and building as non-root (I'm using a single-user installation of nix on fedora) and I get the same error.
<yurb> (this is about newsboat)
gratto has joined #nixos
<tilpner> yurb: Yes, I'm currently failing an issue. Do you have a Github account I can ping?
<emilsp> pie_: very slow - this all started yesterday when my btrfs partition got borked and I've not slept since. Not necessarily because I was busy fixing the partition or installing nix mind you
<tilpner> *filing, but failing works too
<yurb> tilpner: yes, yurkobb - thanks! :)
siers has quit [Ping timeout: 252 seconds]
<pie_> emilsp, ;D
<pie_> emilsp, get some sleep dude, you need to sleep on nix
<{^_^}> [nixpkgs] @Infinisil merged pull request #59044 → strongswan module: use strings for secrets. → https://git.io/fjLXJ
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fjqSG
<parsnip> so is my mistake thinking nix works on other oses?
<pie_> emilsp, also some people do some weird shit with nix so hang around and keep your eyes open
drakonis_ has quit [Ping timeout: 264 seconds]
<pie_> :D
<infinisil> On that note I have something
gratto has quit [Read error: Connection reset by peer]
<emilsp> hmm, even with a nix-shell with a build input of `dbus`, cargo fails to build the thing because pkg-config fails to find `dbus-1`
<infinisil> Have you ever wanted to use Nix for general purpose programming?
gratto has joined #nixos
<pie_> infinisil, but but but dhall
<infinisil> Did you look at hackerrank and think "Man, I wish I could solve these in Nix"?
<infinisil> Fear not, I got you covered: https://github.com/infinisil/nix-rts
<pie_> emilsp, ok i have no idea how the cargo stuff works, i think rust was rather troublesome at some point but that might have been fixed, i defer to other people. anyway, welcome!
<infinisil> With nix-rts, you can write programs and run them with a simple nix-instantiate!
<pie_> infinisil, nix-yts, why time system ;P (jk)
<infinisil> No more bash/haskell/c/python, Nix is the way to go!
<yurb> parsnip: what other oses do you have in mind? I'm using nix on Fedora mostly fine.
<emilsp> pie_: thanks for hte help anyway :) This wouldn't really be a rust issue so much as it's an issue of using pkg-config to build things on nix, I'd assume.
<pie_> infinisil, dhall on the nix virtual machine
infandum has quit [Remote host closed the connection]
<pie_> infinisil, can i compile idris to nix yet
hoijui has quit [Remote host closed the connection]
<infinisil> Soon
<pie_> infinisil, w-....w-wait what "--option allow-unsafe-native-code-during-evaluation true"
<infinisil> Just ignore that!
<infinisil> Nothing to worry
<pie_> also lassulus made some nix-writers thing which i think lets you kind of use inline other-language-code at...nix time i think?
<lassulus> yip
<infinisil> pie_: Well that just compiles stuff at build time
<pie_> yeah i know its not the same
<infinisil> But nix-rts runs programs at evaluation time!
<pie_> jus saiyan
<lassulus> cool features
<infinisil> You could add this to your configuration.nix such that you need to win a short game every time you want to rebuild your system!
<infinisil> The default.nix includes a short demo game https://github.com/Infinisil/nix-rts/blob/master/default.nix
<pie_> infinisil, lmao#
timokau has joined #nixos
Anton-Latukha has quit [Quit: Leaving.]
timokau has quit [Client Quit]
mm_ has quit [Quit: Page closed]
<pie_> infinisil, you are allowed to rebuild your system if you can win nethack
<{^_^}> [nixpkgs] @vaibhavsagar opened pull request #59333 → haskellPackages.zeromq4-haskell_0_8_0: unbreak → https://git.io/fjqSB
<infinisil> Perfect
<tilpner> nix#2762
<{^_^}> https://github.com/NixOS/nix/issues/2762 (by tilpner, 24 seconds ago, open): Build fails in single-user mode, but works with a daemon
<pie_> HR needs to get more crowd sourced outsourced tech wizards to increase parallelism so *someone* can get the amulet of yendor so we can bump a package version
<{^_^}> [nixpkgs] @burke closed pull request #59284 → When packaging rubygems, prune git repos from the bundler cache → https://git.io/fjq85
<{^_^}> [nix] @edolstra pushed to master « Add environment variable NIX_SHOW_SYMBOLS for dumping the symbol table »: https://git.io/fjqSE
<parsnip> what's a good workflow for just a single VPS with like, weechat, taskserver, etc?
<parsnip> do i write my configuration on the server?
<parsnip> or do i need nixops for this to make sense?
<tilpner> I keep my configs on my laptop and do remote deploys
<{^_^}> [nixpkgs] @primeos merged pull request #59327 → jekyll: Switch from bundlerEnv to bundlerApp → https://git.io/fjqM7
<{^_^}> [nixpkgs] @primeos pushed to master « jekyll: Switch from bundlerEnv to bundlerApp (#59327) »: https://git.io/fjqSz
<tilpner> Works wonderfully
<parsnip> tried to start nixops today on macos, i have issues i've no idea how to troubleshoot
<tilpner> I use a thin script around nix-instantiate, nix-copy-closure and ssh, because nixops was too stateful for my taste
<infinisil> I can recommend the same
<tilpner> (And I didn't need the provisioning. I sort-of miss the secret management though))
<{^_^}> [nixpkgs] @timokau merged pull request #58295 → vscode-extensions.ms-vscode.cpptools: 0.21.0 -> 0.22.1 → https://git.io/fjUmu
<{^_^}> [nixpkgs] @timokau pushed commit from @eadwu to master « vscode-extensions.ms-vscode.cpptools: 0.21.0 -> 0.22.1 (#58295) »: https://git.io/fjqSg
<infinisil> Wasn't there some nixos secrets management project shared here recently
<parsnip> Okay, thanks all
<pie_> tilpner, maybe look into krops, i think they did something for secret management
<pie_> dunno if itll help tho
<infinisil> Ohh right that was it
<tilpner> I did look at krops, but I forgot why I decided against adopting it
orivej has quit [Ping timeout: 246 seconds]
<tilpner> parsnip: nixos-rebuild has a --target-host flag you can use
arjen-jonathan has quit [Ping timeout: 250 seconds]
<parsnip> does nix-copy-closure make sense if i don't plan to use nix software installation locally?
<parsnip> i mean, i'm still using homebrew, etc, on local
<tilpner> It does to me
<freusque> hi! any way to start nix-shell without loading .bashrc ?
kleisli has joined #nixos
<tilpner> Try nix-shell --run 'bash --norc'
<tilpner> No idea if that works
<parsnip> tilpner: do you manage the remote `etc/nixos/configuration.nix` locally?
<infinisil> tilpner: I think it would then run `bash -c "bash --norc"`
<tilpner> No, there is no remote configuration.nix
<parsnip> oh, `--target-host`
<tilpner> infinisil: Oh :/
<freusque> tilpner: it works, thanks.
<infinisil> Huh
<infinisil> Ah, I guess it doesn't matter if the inner bash doesn't read the file
* tilpner always looks up the difference between --command and --run
<parsnip> tilpner: hmm, but if i'm on macos, not sure how i would run `nixos-rebuild` from there
elux has quit [Ping timeout: 250 seconds]
<tilpner> parsnip: You can install nixos-rebuild with Nix
drakonis has quit [Ping timeout: 264 seconds]
<tilpner> > let c = import <nixpkgs/nixos> { configuration = {}; }; in c.config.system.build.nixos-rebuild
<{^_^}> "<derivation /nix/store/fv43zc72ylqsdrxfgmlwy8nqmrj7ssvx-nixos-rebuild.drv>"
<parsnip> hmm, interesting, thank you
<tilpner> Or... you write your own five-line script and are responsible for all the bugs later
<tilpner> :)
orivej has joined #nixos
kreisys has joined #nixos
drakonis has joined #nixos
<jb55> m0rphism: I got it working at one point, yes
<jb55> although performance was disappointing
xkapastel has joined #nixos
<emilsp> has anyone ever successfully ran electron-builder? It seems to fail when it tries to execute a 7za binary from node_modules/7zip-bin/linux/x64/7za
<parsnip> hmm, this is interesting
<parsnip> the idea that i don't have to worry about how small my VPS is for buildings things seems a plus
<parsnip> i know i've seen `nix-env -i` fail on small VPS before
<m0rphism> jb55: I see, so I assume you've stopped using it then due to the performance?
<jb55> m0rphism: I stopped using it because my cats at the wires
<jb55> ate*
<m0rphism> darn it :3
<m0rphism> I got it working thanks to the documentation you provided in the issue, but unfortunately it stopped a few months ago
<mthst> infinisil: https://nixos.wiki/wiki/ZNC feel free to review
<pie_> parsnip, in terms of size, theres "nixos on your router" which i think also uses nixo to build somethingorother as opposed to actually running nix on the target system
<infinisil> mthst: One small thing is that useLegacyConfig doesn't make it use .config instead of .confOptions, rather it just turns off the effect of .confOptions
<m0rphism> jb55: it ran even at a decent performance. I guess due to changes in later versions.
<infinisil> With useLegacyConfig = true; you can use both .config and .confOptions
<mthst> infinisil: is there no difference wrt defaults?
<m0rphism> jb55: Well, nonetheless thanks for responding and the documentation leading to brief moments of virtual happyness :)
rcshm has quit [Ping timeout: 240 seconds]
Ariakenom has quit [Quit: Leaving]
phreedom_ has joined #nixos
<infinisil> So i guess yeah there are some defaults, but mostly from the .confOptions.* you set
phreedom has quit [Ping timeout: 256 seconds]
<mthst> infinisil: "If this is turned on,"
<mthst> the znc config will contain a user with the default name "znc", global
<mthst> modules "webadmin" and "adminlog" will be enabled by default
<infinisil> Ah yeah, guess it does specify a couple defaults you're right
Glider_IRC_ has joined #nixos
rjmill has quit [Ping timeout: 250 seconds]
<mthst> infinisil: i edited the comment
<infinisil> Nice
<infinisil> mthst++
<{^_^}> mthst's karma got increased to 1
<infinisil> for writing docs :)
elux has joined #nixos
d10n-work has joined #nixos
rjmill has joined #nixos
Glider_IRC__ has quit [Ping timeout: 268 seconds]
pie_ has quit [Ping timeout: 252 seconds]
growpotkin has joined #nixos
<growpotkin> Not at all a NixOS question, but I just luv y'all: does anybody have good suggestions for a better manpage navigation tool?
rjmill has quit [Read error: Connection reset by peer]
rjmill has joined #nixos
<growpotkin> I love the one for Fish shell... but there's no way I'm actually going to use Fish Shell lol
<growpotkin> I imagine there has to be some nice tools to fuzzy search and jump between manpages
<growpotkin> (beyond Fish's little completion engine I mean)
wolfman154 has joined #nixos
<infinisil> growpotkin: #nixos-chat?
<wolfman154> I was thinking of trying out nixos unstable, will it crash to much because I am going to be doing a lot of coding?
<growpotkin> infinisil: is that an alternative channel for more general discussion?
chreekat has quit [Ping timeout: 264 seconds]
<growpotkin> wolfman154: nah you should be fine
<infinisil> growpotkin: Yeah, #nixos-chat is for offtopic stuff
<Yaniel> wolfman154: haven't really had crashes so far
<growpotkin> infinisil: ty :)
chreekat has joined #nixos
<Yaniel> worst case some updates have failed to build which held back the entire system
<Yaniel> but that was resolved with the next update and didn't prevent me from actually using the thing
<{^_^}> [nixpkgs] @NeQuissimus pushed 2 commits to master: https://git.io/fjq9O
<wolfman154> Ok , I’ll think about trying it out, thanks for the tips
<wolfman154> growpotkin++
<{^_^}> growpotkin's karma got increased to 4
<wolfman154> Yaniel++
<{^_^}> Yaniel's karma got increased to 3
<emilsp> ah, so what do I do if I'm in a desparate need to run something which wasn't built for nix and ldd can't find a suitable libstdc++ for it?
npmccallum has quit [Ping timeout: 252 seconds]
sigmundv_ has joined #nixos
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « linux: 5.1-rc3 -> 5.1-rc4 »: https://git.io/fjq9W
<sphalerite> ,binary
wolfman154 has quit [Quit: Mutter: www.mutterirc.com]
ng0 has quit [Ping timeout: 256 seconds]
_kwstas has quit [Quit: _kwstas]
ng0 has joined #nixos
<sphalerite> emilsp: https://nixos.wiki/wiki/FAQ#I.27ve_downloaded_a_binary.2C_but_I_can.27t_run_it.2C_what_can_I_do.3F
nD5Xjz_ has joined #nixos
nD5Xjz has quit [Ping timeout: 252 seconds]
elux has quit [Ping timeout: 252 seconds]
<tilpner> emilsp: Running it with steam-run is worth a shot
aloiscochard has quit [Quit: Connection closed for inactivity]
<tilpner> Does the same thing as the FAQ entry, but is quicker to try
<emilsp> sphalerite: I'm currently sort of trying to make that happen. It's rather egregious - it's a nodejs dependency that actually is just a bunch of 7z binaries executed by some go code that panics when it can't fork the 7z, thus failing the javascript build tool :/
<emilsp> so steam-run would be out of the question because I'm not the one actually executing the binary directly.
<sphalerite> emilsp: that seems like a great case for steam-run actually
nD5Xjz has joined #nixos
<sphalerite> since the child processes are in the namespace too, thus having the same view of the filesystem
<emilsp> ok, will try that out :)
nD5Xjz_ has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @eadwu opened pull request #59334 → vscode: 1.33.0 -> 1.33.1 → https://git.io/fjq9a
dnlkrgr has quit [Ping timeout: 264 seconds]
nD5Xjz_ has joined #nixos
nD5Xjz has quit [Ping timeout: 250 seconds]
rpg has joined #nixos
<emilsp> oh boy, is this one hell of a build dependency.
<emilsp> And I really should've been sleeping since forever.
<tilpner> You can always slim it down if it works
nD5Xjz has joined #nixos
nD5Xjz_ has quit [Ping timeout: 252 seconds]
_Geeko_ has joined #nixos
_Geeko_ has left #nixos [#nixos]
erasmas has quit [Quit: leaving]
tomberek has quit [Ping timeout: 240 seconds]
_Geeko_ has joined #nixos
_Geeko_ has left #nixos [#nixos]
rj1 has joined #nixos
_Geeko_ has joined #nixos
_Geeko_ has left #nixos [#nixos]
ng0 has quit [Quit: Alexa, when is the end of world?]
_Geeko_ has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Ping timeout: 252 seconds]
ixxie has quit [Ping timeout: 240 seconds]
<mpickering> What's the deal with the tinfo library on nixos? is it replaced with something else?
schneid3306 has joined #nixos
<parsnip> Hmm, when I try to mosh into a nixos server, it doesn't succeed, although `ps aux | grep mosh` reveals mosh-server is started.
<parsnip> the ports are open
<jasongrossman> parsnip: Same. (I just gave up.)
dnlkrgr has joined #nixos
<mpickering> adding ncurses to the env fix the linking issue
<nh2> how was that shortcut
<nh2> ,locate libtinfo.so
<{^_^}> Found in packages: ncurses, ncurses5
<nh2> mpickering: ^
_Geeko_ has left #nixos [#nixos]
<mpickering> right thanks nh2
nD5Xjz has quit [Ping timeout: 252 seconds]
<parsnip> jasongrossman: heh, `programs.mosh.enable = true` fixed it
nD5Xjz has joined #nixos
<parsnip> Hmm, is there a way to search the options from cli?
alex``6 has joined #nixos
<growpotkin> yeah
alex`` has quit [Ping timeout: 252 seconds]
<growpotkin> `nixos-option programs.mosh`
gratto has quit [Quit: Quit]
stepcut has joined #nixos
<growpotkin> parsnip: I have a handy fuzzy finder tool that I posted on Discourse that you might like. It's a little pop up fuzzy search for options and packages that can read your current configs.
nD5Xjz has quit [Ping timeout: 255 seconds]
growpotkin has quit [Quit: WeeChat 2.4]
<jasongrossman> parsnip++
<{^_^}> parsnip's karma got increased to 1
rjmill has quit [Ping timeout: 264 seconds]
nD5Xjz has joined #nixos
rcshm has joined #nixos
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/bc5e2df902b (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
rcshm has quit [Client Quit]
<{^_^}> [nixpkgs] @srhb merged pull request #52021 → fltrator : init at 2.3 → https://git.io/fpFzI
<{^_^}> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/fjqHo
nD5Xjz has quit [Ping timeout: 268 seconds]
dycan has joined #nixos
nD5Xjz has joined #nixos
<parsnip> i think i'll just use the "alice" example user configuration, for science
<parsnip> i'll use bob's key
jasongrossman has quit [Ping timeout: 264 seconds]
<gchristensen> man, a ssh-dss key in the docs? yikes :)
dnlkrgr has quit [Ping timeout: 252 seconds]
rardiol1 has joined #nixos
kreisys has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<emilsp> nah, even with steam-run, the binary fails to run. Is there anything that could possibly provide libstdc++.so.6?
<infinisil> ,locate libstdc++.so.6
<{^_^}> Found in packages: robo3t, gcc-unwrapped.lib
gentauro has quit [*.net *.split]
polman has quit [*.net *.split]
amfabaiste has quit [*.net *.split]
buffet has quit [*.net *.split]
hlolli__ has quit [*.net *.split]
callahad has quit [*.net *.split]
hke has quit [*.net *.split]
cyraxjoe has quit [*.net *.split]
slyfox has quit [*.net *.split]
vk3wtf has quit [*.net *.split]
buckley310 has quit [*.net *.split]
lassulus has quit [*.net *.split]
bbarker has quit [*.net *.split]
wpcarro has quit [*.net *.split]
page has quit [*.net *.split]
ekleog has quit [*.net *.split]
MasseR has quit [*.net *.split]
lrvick has quit [*.net *.split]
the-kenny has quit [*.net *.split]
Enzime has quit [*.net *.split]
charukiewicz has quit [*.net *.split]
MoreTea has quit [*.net *.split]
DavidEGr1yson has quit [*.net *.split]
stites has quit [Ping timeout: 246 seconds]
ekleog has joined #nixos
amfabaiste has joined #nixos
<emilsp> substituting gcc for gcc-unwrapped still leaves the poor 7za binary without it's c++ stdlib
polman has joined #nixos
slyfox has joined #nixos
vk3wtf has joined #nixos
buckley310 has joined #nixos
cyraxjoe has joined #nixos
gentauro has joined #nixos
buffet has joined #nixos
hlolli__ has joined #nixos
callahad has joined #nixos
hke has joined #nixos
MasseR has joined #nixos
bbarker has joined #nixos
wpcarro has joined #nixos
the-kenny has joined #nixos
page has joined #nixos
lassulus has joined #nixos
DavidEGr1yson has joined #nixos
Enzime has joined #nixos
charukiewicz has joined #nixos
MoreTea has joined #nixos
lrvick has joined #nixos
stites has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ddellacosta has quit [Ping timeout: 250 seconds]
<Aleksejs> makefu: I tried to create a derivation for rpi_ws281x with python-package-init as you recommended but I'm getting an error /nix/store/x94blqsqq862bxbmk76izrjnsxacp2hd-binutils-2.30/bin/ld: cannot find -lws2811
freeman42x has joined #nixos
sigmundv__ has joined #nixos
flexw has joined #nixos
kreisys has joined #nixos
reivilibre has quit [Quit: No Ping reply in 180 seconds.]
reivilibre has joined #nixos
<flexw> hello, I'm trying to install the haskell package intero. The install fails with a missing dependency: ghc >=7.8 && <=8.4.3
sigmundv_ has quit [Ping timeout: 268 seconds]
<flexw> I'm on on the channel 18.09. Is there a way to install this packages?
stepcut has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @grahamc merged pull request #59323 → check-meta: don't execute check-meta.nix 15,000 times → https://git.io/fjq1q
<{^_^}> [nixpkgs] @grahamc pushed 2 commits to master: https://git.io/fjqQI
stepcut has joined #nixos
sigmundv_ has joined #nixos
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/002ad2e5611 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
<{^_^}> [nixpkgs] @dhruvio opened pull request #59335 → Add Elm 0.18 and update misc Haskell packages. → https://git.io/fjqQL
<{^_^}> [nixpkgs] @grahamc opened pull request #59336 → check-meta: don't execute check-meta.nix 15,000 times (backport) → https://git.io/fjqQq
jfroche has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
sigmundv__ has quit [Ping timeout: 252 seconds]
stepcut has quit [Ping timeout: 255 seconds]
mbrgm_ has joined #nixos
mbrgm has quit [Ping timeout: 255 seconds]
mbrgm_ is now known as mbrgm
<parsnip> flexw: with cabal? stack? nix-env?
<parsnip> i mean, which one did you have that error message from?
yurb has quit [Ping timeout: 252 seconds]
<flexw> I typed: nix-shell -p "haskellPackages.intero"
i1nfusion has quit [Remote host closed the connection]
m0rphism has quit [Ping timeout: 240 seconds]
yurb has joined #nixos
slack1256 has joined #nixos
i1nfusion has joined #nixos