<arcnmx>
ohh I was really confused about trying to follow along and I just realised why - I meant nixos-unstable and all those links are regarding nixpkgs-unstable
<arcnmx>
the howoldis link maybe just indicates that one's been stuck because of disk space issues? there's one test that's been consistently failing from what I can tell.
<arcnmx>
ah, yeah
<gchristensen>
I think/hope disk space issues are resolved
qubasa_ has joined #nixos
drakonis1 has joined #nixos
<infinisil>
My suspects for the containers-imperative tests failing (after looking at the commits that happened): #66775 and #67795
<arcnmx>
hm yeah the qemu one is perfect timing, it was merged like an hour after 19.09 split off hah
<arcnmx>
not sure how to try running that test locally though :(
<{^_^}>
[nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/Je3tQ
Cale has quit [Remote host closed the connection]
infinisil has quit [Quit: Configuring ZNC, sorry for the joins/quits!]
stzsch has quit [Ping timeout: 246 seconds]
infinisil has joined #nixos
stzsch has joined #nixos
ris has quit [Ping timeout: 246 seconds]
srl295 has joined #nixos
Cale has joined #nixos
<infinisil>
arcnmx: I just tried to run the test with it reverted, it still fails :(
<arcnmx>
yeah I got it working, just took a few tries because sometimes nix messes with kvm on my system for some reason. it was fine up until a few PRs after the qemu update, then a busybox update broke it but for different reasons...
<ivan>
arcnmx: I've tested qemu 4.1.0 on release-19.09 already
<ivan>
just cherry-pick, YOLO :-)
<{^_^}>
[nixpkgs] @matthewbauer merged pull request #69039 → vboot_reference: use the right ar when cross-compiling → https://git.io/Je3Ui
<{^_^}>
[nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/Je3tb
<{^_^}>
[nixpkgs] @worldofpeace pushed 158 commits to gnome-3.34: https://git.io/Je3tA
pamplemousse has quit [Ping timeout: 268 seconds]
<jackdk>
I am looking for a password manager that is a) in nixpkgs, b) can do TOTP c) can import a keepassX DB (though I'll do it manually if necessary). Any recommendations?
<DigitalKiwi>
do you like it? is it easy to use/setup?
<infinisil>
Well it's simple, but it does have some problems and doesn't seem to be maintained too well
<DigitalKiwi>
will it make the tanks or do you make the tanks and tell it about them
<infinisil>
It works okay though
<jackdk>
drakonis1: oh, I had my eye on that but didn't realise it was packaged. awesome, thanks.
<infinisil>
DigitalKiwi: With autoCreation enabled it creates datasets on destinations
<DigitalKiwi>
jackdk: i packaged it :)
<infinisil>
DigitalKiwi: But zpools aren't created (that's what my tank is)
<DigitalKiwi>
ok
<arcnmx>
worldofpeace: I'm not sure how these tests work but I don't think so? I'm running it locally
kleisli has joined #nixos
<DigitalKiwi>
infinisil: i guess the real question is how many times have you successfully restored with it :D
<DigitalKiwi>
err, i can't read
<DigitalKiwi>
i packaged bitwarden
<infinisil>
DigitalKiwi: It doesn't do the restoring for you, but with its snapshots I've been able to restore a full backup a couple times already
<infinisil>
And every so often I use its local snapshots to recover some accidentally deleted file
<DigitalKiwi>
has anyone used the declarative configuration options in the new syncthing? it looks...intimidating. i have a hard enough time configuring it with the gui :|
<DigitalKiwi>
infinisil: nice
<DigitalKiwi>
i've been meaning to set it up for...about 9 months now
<infinisil>
I will make my own backup tool for zfs though, and it's gonna be so much better!
<DigitalKiwi>
i know we've all thought that lol
<arcnmx>
worldofpeace: that particular change causes the test to attempt to access the network when it has no access, it seems like?
<worldofpeace>
arc: yeah that sounds completely different, how did you determine it (the change) was related?
<arcnmx>
worldofpeace: comparing 7256d10d009a22738793641d25e57ad78af14232 vs 7256d10d009a22738793641d25e57ad78af14232
<arcnmx>
worldofpeace: the problem is basically the test spawns containers with a different stateVersion than its own so it's missing some x packages the containers need, then fails to get them from the cache?
<arcnmx>
is my understanding
<worldofpeace>
if they depend on having xterm enabled then probably
<acowley>
I wanted to include a video in a LibreOffice Impress slide deck and had to modify the still.nix derivation to include the right plugins. This required re-building LibreOffice. Is there an existing nixpkgs definition that inludes useful Impress plugins to support eg h264 videos?
sigmundv has quit [Ping timeout: 276 seconds]
guest24323 has joined #nixos
liberiga has joined #nixos
guest24323 has left #nixos [#nixos]
drakonis_ has quit [Ping timeout: 276 seconds]
drakonis_ has joined #nixos
MmeQuignon has quit [Ping timeout: 240 seconds]
slack1256 has joined #nixos
justanotheruser has quit [Ping timeout: 245 seconds]
<{^_^}>
[nixpkgs] @Anton-Latukha opened pull request #69070 → qt-gstreamer: drop → https://git.io/Je3mJ
selfsymmetric-mu has joined #nixos
felixfoertsch23 has joined #nixos
stzsch has quit [Ping timeout: 246 seconds]
<gyroninja>
Looks like it was changed to be a default font 20 days ago with the reason "These days, emoji are ubiqitous so we need to add emoji font."
aw has quit [Quit: Quitting.]
spacefrogg has quit [Quit: Gone.]
* DigitalKiwi
sees no lies
dycan has quit [Ping timeout: 265 seconds]
aw has joined #nixos
Walker3R has quit [Ping timeout: 246 seconds]
felixfoertsch has quit [Ping timeout: 258 seconds]
spacefrogg has joined #nixos
stzsch has joined #nixos
justanotheruser has joined #nixos
<{^_^}>
[nixpkgs] @marsam opened pull request #69071 → cascadia-code: init at 1909.16 → https://git.io/Je3m0
buckley310 has quit [Remote host closed the connection]
buckley310 has joined #nixos
fusion809 has quit [Remote host closed the connection]
<gyroninja>
It seems to "crash" st (it exits due to an xlib error) when it tries to load /nix/store/hl1fplgnvbc7fbh7k8b228h1a0g13zr0-noto-fonts-emoji-2018-08-10-unicode11/share/fonts/noto/NotoColorEmoji.ttf
Walker3R has joined #nixos
dansho has joined #nixos
mac10688 has joined #nixos
<mac10688>
hello, I'm working to create a container to run mysql but when I login to the container it prompts me for a username and password when I enter and I don't know what it is or how I should set it
<buckley310>
what kind of container?
<buckley310>
docker?
<mac10688>
nixos-container
<mac10688>
i switched to nixos just to get away from docker
<buckley310>
ah
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
<buckley310>
im not sure about nixos-container :(
<buckley310>
meybe `sudo nixos-container root-login [container]` and then set a password?
<drakonis1>
that's systemd-nspawn based
pamplemousse has joined #nixos
kvda has joined #nixos
Walker3R has quit [Ping timeout: 246 seconds]
slack1256 has quit [Remote host closed the connection]
<{^_^}>
[nixpkgs] @thoughtpolice opened pull request #69072 → terra updates → https://git.io/Je3mD
slack1256 has joined #nixos
<{^_^}>
[nixpkgs] @craigem opened pull request #69074 → buildkite-agent-metrics: init at 5.1.0 → https://git.io/Je3mA
Walker3R has joined #nixos
<worldofpeace>
gyroninja: that's likely a bug in that terminal program. There's no issue with the font.
<contrun[m]>
clever: Thanks for the explanation. I still got `sandbox-fallback = false` in my nix.conf after `nixos-rebuild switch`. Do I need to set `useSandbox = true`?
<clever>
it looks like it detects failure to make a namespace (due to debian sillyness) and then turns off the sandbox
gxt has quit [Ping timeout: 260 seconds]
<contrun[m]>
clever: My nix version is 2.2.2. So it seems to be a problem of the inconsistency of nix and nixpkgs. But why is `sandbox-fallback` set even though I an running nix 2.2.2. How does nixpkgs obtain the nix version
<contrun[m]>
I ran `nix --version` and it printed `nix (NIX) 2.2.2`
<clever>
contrun[m]: what does `type nix` return?
<contrun[m]>
nix is /home/e/.nix-profile/bin/nix
<clever>
you have 2 copies of nix installed, on your user, and on nixos
<clever>
you need to do `nix-env -e nix`
pamplemousse has quit [Ping timeout: 276 seconds]
<{^_^}>
[nixpkgs] @worldofpeace pushed 6 commits to gnome-3.34: https://git.io/Je3YO
<clever>
nixos cant touch the version in nix-env, so that version is lagging behind and causing problems
<contrun[m]>
clever: That's it. Thank you very much. Problem solved.
Okinan has quit [Quit: Konversation terminated!]
zacts has quit [Quit: WeeChat 2.4]
vonfry has joined #nixos
vonfry has quit [Client Quit]
vonfry has joined #nixos
Rusty1 has quit [Quit: Konversation terminated!]
<{^_^}>
[nixpkgs] @worldofpeace pushed 3 commits to gnome-3.34: https://git.io/Je3Yc
<{^_^}>
[nixpkgs] @peterhoeg pushed 4 commits to staging-19.09: https://git.io/Je3O2
<clever>
Ariakenom: it will just replace the currently running os, but it wont touch configuration.nix
<clever>
Ariakenom: and you can still nixos-rebuild --rollback to undo it
<clever>
Ariakenom: the main things you want to pay attention to, is to get the bootloader, fileSystems., and network config right, then you can incrementally finish everything else
<Ariakenom>
clever: in the nixops config? I don't quite udnerstand
graf_blutwurst has joined #nixos
iqubic` has joined #nixos
rauno has joined #nixos
iqubic has quit [Ping timeout: 264 seconds]
Ariakenom_ has joined #nixos
Zer0xp is now known as Guest66661
Zer0xp has joined #nixos
<Zer0xp>
Hey, does anyone here use minikube on NixOS ?
<Zer0xp>
Or does anyone know how to install KVM on NixOS ?
mexisme has joined #nixos
<angerman>
clever: I can't summon you on irc to haskell.nix :p But maybe you've got some better understanding of what manveru wants to achieve :D
<manveru>
hehe
Jackneill has joined #nixos
<{^_^}>
[nixpkgs] @avdv opened pull request #69080 → ntopng: Add patch needed to build with newer libpcap → https://git.io/Je3OF
veske has joined #nixos
civodul has joined #nixos
Jackneill has quit [Remote host closed the connection]
kleisli has quit [Ping timeout: 276 seconds]
jgt has joined #nixos
Jackneill has joined #nixos
o1lo01ol1o has joined #nixos
dansho has quit [Ping timeout: 240 seconds]
liberiga has joined #nixos
Jackneill has quit [Remote host closed the connection]
FRidh has joined #nixos
Jackneill has joined #nixos
o1lo01ol1o has quit [Ping timeout: 245 seconds]
<clever>
Zer0xp: kvm should just work out of the box, does /dev/kvm exist?
<Zer0xp>
clever: I just checked, kvm does not exist in dev.
<Zer0xp>
cleverL I'm using Nix 19.03
FRidh has quit [Quit: Konversation terminated!]
jtojnar22 has joined #nixos
Ariakenom has quit [Remote host closed the connection]
<clever>
Zer0xp: intel or amd cpu?
jtojnar2 has quit [Read error: Connection reset by peer]
<Zer0xp>
I have to either use kvm with minikube or I need to figure out a way how to install the latest version of minikube because the current version is causing virtualbox issues
<Zer0xp>
clever: Intel
<clever>
Zer0xp: what does `sudo modprobe -v kvm_intel` say?
<Zer0xp>
It returns nothing
<Zer0xp>
clever: There is no output
captn3m0- has quit [Ping timeout: 240 seconds]
dermetfan has joined #nixos
<clever>
Zer0xp: does /dev/kvm exist now? what about `lsmod | grep kvm` ?
Ariakenom has joined #nixos
<Zer0xp>
clever: Yes it returned some values
<clever>
Zer0xp: does /dev/kvm exist?
<Zer0xp>
clever: The directory still doesn't exist though
<Ariakenom_>
I enabled services.openssh and i can log into user@machine but i can't log into root@machine
dycan has joined #nixos
<clever>
services.openssh.permitRootLogin
<clever>
Type: one of "yes", "without-password", "prohibit-password", "forced-commands-only", "no"
<clever>
Ariakenom_: look this up in the nixos docs
<Ariakenom_>
oh there was a permotrootlogin option. i missed it when looking
<Ariakenom_>
thanks
<clever>
Ariakenom_: i prefer to configure it to only accept ssh keys, for all users
<clever>
brute-focing a 2048 bit key, is going to be near-imposible, and is way more secure then having passwords allowed at all
<Ariakenom_>
clever: yeah. im just doing some testing
<Zer0xp>
clever: How do I add myself to the libvirtd group ? Apparently my username has to be in this user group to use kvm. Is this something that can be added to the configuration.nix file ?
<clever>
Zer0xp: on nixos, you dont have to
<clever>
Zer0xp: look at the permissions on the kvm device, its 666, so any user can use it
<symphorien>
It still goes in the world readable store, doesn't it ?
<clever>
symphorien: yeah, but these are all single-user machines
<clever>
and for more automated things, where ssh isnt public (or is secure initially), you can also use users.extraUsers.clever.initialPassword = "hunter2";
<clever>
and make a note to fix it asap :P
<clever>
if you had to use hunter2 to login, change it asap, and review the ssh logs
nikivi has joined #nixos
<clever>
and find out what you did wrong to reset the pw to default
* clever
heads off to bed
<Ariakenom_>
how does this relate to mutableUsers. does mutableUsers not apply to adding users or not to users added via configuration.nix?
Shell has joined #nixos
<hyperfekt>
haha, reviewing the logs is my least favorite way to recover from potential compromise :b
<clever>
Ariakenom_: if mutableUsers = true; then the initial password only applies when first creating the user, and wont have any future effect
qyliss has joined #nixos
<clever>
Ariakenom_: if mutableUsers = false; i think you just use password/passwordHash instead, not entirely sure, i just always leave it mutable
<Ariakenom_>
clever: I meant that nixops removed the user with mutable on
<clever>
Ariakenom_: its more about the difference, between the old and new config
<Ariakenom_>
oh. it looks at that?
<Ariakenom_>
so option 2 then. it matters from where the user was added
Di4nao has joined #nixos
ng0 has joined #nixos
<{^_^}>
[nixpkgs] @peti opened pull request #69087 → Merge haskell-updates into master. → https://git.io/Je3ZU
<{^_^}>
[nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/Je3ZT
hyper_ch2 has quit [Remote host closed the connection]
<contrun[m]>
manveru: This is much faster. But it seems to be not working Here is my default.nix http://ix.io/1luE/nix I ran `nix-shell -p bundix zlib libiconv --run 'bundix --magic'`. I still got an error.
<ddima>
Hm. It seems like the most recent linux_5_2 is not reproducible or the version in the binary cache is different for other reasons - I dont think I observed this before (also with 5_2, but there was a patch version bump) a few days ago. Has anyone else observed this?
<gchristensen>
what exactly are you observing?
<ddima>
seems like the difference is in kheaders.ko according to diffoscope.
<ddima>
gchristensen: one moment, I'll make a gist
rauno has quit [Ping timeout: 276 seconds]
<{^_^}>
[nixpkgs] @alexarice opened pull request #69093 → xterm: Set default to xserver.enable → https://git.io/Je3Z7
<contrun[m]>
manveru: Here is my nix-shell output. I am not able to build pg_query. https://clbin.com/iwcBM I think I have to override the packages in `gemset.nix` first
<{^_^}>
[nixpkgs] @teto merged pull request #69080 → ntopng: Add patch needed to build with newer libpcap → https://git.io/Je3OF
<ddima>
maybe it's entirely expected - I just could have sworn that I was running --check against linux_5_2 a few times last week (for benchmarking a new rig) and didnt get mismatches, but could also be random ofc.
LangeOortjes has joined #nixos
<contrun[m]>
manveru: Thanks. How does bundix works anyway? Why my new attrs in default.nix does not work for digest-sha3. The CC flags does not seem to be changed.
karetsu has quit [Quit: WeeChat 2.4]
arianvp has quit [Quit: WeeChat 2.6]
<LangeOortjes>
I want to file a pull request for a python library which requires another 3 dependencies to be added to nixpkgs. Do I file one big pull request or do I file on per dependency and one for the library
arianvp has joined #nixos
arianvp has quit [Client Quit]
<{^_^}>
[nixpkgs] @peti pushed to master « haskell-cabal-plan: add override to fix the build »: https://git.io/Je3nq
<{^_^}>
[nixpkgs] @peti pushed 49 commits to haskell-updates: https://git.io/Je3nm
<{^_^}>
[nixpkgs] @vbgl pushed commit from @maximedenes to master « ocamlPackages.ppx_deriving_yojson: 3.3 -> 3.5.1 »: https://git.io/Je3nO
arianvp has joined #nixos
veske has quit [Quit: This computer has gone to sleep]
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<teto>
LangeOortjes: depends on the complexity of the other 3 libraries and how confident you are in your nix skills. If you feel confident, a single PR is fine
arianvp has quit [Client Quit]
jtojnar22 has joined #nixos
<{^_^}>
[nixpkgs] @madjar opened pull request #69094 → httpie: add missing 'setuptools' to propagatedBuildInputs → https://git.io/Je3n3
<manveru>
as for your other problem, please tell me the exact nixpkgs version so i can reproduce it
<{^_^}>
[patchelf] @edolstra pushed to master « flake.nix: Provide a Nixpkgs overlay »: https://git.io/Je3nV
<{^_^}>
[nixpkgs] @peti pushed commit from @jbgi to haskell-updates « haskellPackages: unbreak amazonka (and other packages that use it) »: https://git.io/Je3nw
<manveru>
bundix itself is pretty simple... it just fetches .gem files and writes the hash for them in the gemset.nix (more or less)
jtojnar2 has joined #nixos
<contrun[m]>
manveru: Cool. Thanks. I am using nixos-19.09pre192418.e19054ab3cd.
<tobiasBora>
Some people asked me to enable back the checks to push it on nixpkgs repo. However, just putting `doChecks = true;` is not enough, as I've an error: nix_run_setup: error: unrecognized arguments: test
abathur has joined #nixos
<tobiasBora>
test (unittest.loader.ModuleImportFailure) ... ERROR
<tobiasBora>
I'm still very new with tests
<tobiasBora>
and I've no idea how buildPythonPackage actually run tests, so it's hard for me to debug
<tobiasBora>
I can just say that there is a test.py file in picos source ^^'
<alexarice[m]>
I'm looking at #69088 which is building a python application and it expects to find `g++` in `$CC`. Is this normal and is there a nice way to sort it out
<gk_>
Hello everyone, I got interested in NixOS and searched the packages and I wonder why plasma-desktop is not more recent? Meainng 5.14.5 shows up in search while 5.16 is released.
<gk_>
I was under the impression that NixOs would be more recent, maybe not quite like Arch but still..
<alexarice[m]>
gk_: how did you search the packages?
<alexarice[m]>
It's possible you were searching the stable branch
<Taneb>
gk_: the stable version of NixOS has a roughly 6-month cycle, which we're currently right at the end of
<gk_>
ah, thanks
polman has joined #nixos
<Taneb>
The unstable branch has version 5.15.5 which is more recent
Myhlamaeus has quit [Ping timeout: 240 seconds]
mtetreault has joined #nixos
<hc>
hi all, the garbage collector seems to collect packages installed via "nix-shell -p" right away. is there any way to make the --delete-older-than flag work for it?
Shell has joined #nixos
<alexarice[m]>
hc: I think the delete-older-than flag only refers to profile generations
<hc>
yeah, so all packages I install temporarily are collected daily, because the gc runs daily here
<mtetreault>
Howdy, I am trying to debug an issue that I am having with plymouth. I was wondering if there is an easy way to see if another package depend on it^
qyliss has joined #nixos
<gk_>
Is unstable really unstable(=things are likely to break) or like debian testing (=not as stable as stable but still) ?
<gchristensen>
nixos-unstable at least boots and passes some tsets
sigmundv has joined #nixos
M-Gregoire49 has joined #nixos
mtetreault has quit [Remote host closed the connection]
Okinan has joined #nixos
<hyperfekt>
hc: There's --add-root which you can use, or lorri, which does that for you.
mtetreault has joined #nixos
<gk_>
What about security patches? Are they included asap in stable?
<manveru>
hc: you can also pass options to it
<hc>
I don't see any of these options on nix-collect-garbage
<gchristensen>
gk_: on a best effort basis, yeah
<manveru>
if you have automatic collection, that means you set `nix.gc.automatic`, right?
<gk_>
ok
<manveru>
hc: so you can set `nix.gc.options`, with something like `--delete-older-than 12d` or the like
drakonis has joined #nixos
<hc>
yeah, but, that is only used for normal generations, not for packages installed via nix-shell
<{^_^}>
[nixpkgs] @teto merged pull request #69096 → ntopng: Add patch needed to build with newer libpcap → https://git.io/Je3cu
<{^_^}>
[nixpkgs] @teto pushed commit from @avdv to release-19.09 « ntopng: Add patch needed to build with newer libpcap »: https://git.io/Je3CD
drakonis has quit [Read error: Connection reset by peer]
drakonis1 has joined #nixos
Soo_Slow has quit [Remote host closed the connection]
drakonis_ has quit [Ping timeout: 276 seconds]
<disasm>
in a container I'm getting `warning: Nix search path entry '/run/current-system/nixpkgs' does not exist, ignoring`. I tried setting nixpkgs.pkgs = pkgs; in my config, but that didn't do it. Is there a better way to do this?
mtetreault has quit [Remote host closed the connection]
<disasm>
gchristensen: would that be preferential to doing a bind mount from the host nixpkgs into the container or would either be acceptable?
Walker3R has joined #nixos
<gchristensen>
dunno :)
drakonis_ has joined #nixos
drakonis1 has quit [Ping timeout: 250 seconds]
drakonis has quit [Ping timeout: 276 seconds]
<eraserhd>
Are rust crates manually added to crates-io.nix?
ng0 has quit [Remote host closed the connection]
<eraserhd>
Actually, to avoid the XY problem, I'm trying to make a local derivation for a rust package, and when I use nix-shell and run cargo, it works, but when I use nix-build, it can't find one crate "in crates.io".
<{^_^}>
[nixpkgs] @peti merged pull request #69091 → haskellPackages.shh: mark not broken → https://git.io/Je3Z2
<{^_^}>
[nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/Je3WW
<manveru>
eraserhd: you have to regenerate the file
<manveru>
eraserhd: using something like crate2nix
jtojnar2 has quit [Ping timeout: 245 seconds]
Shell has joined #nixos
qyliss has joined #nixos
jtojnar2 has joined #nixos
jtojnar23 has quit [Ping timeout: 245 seconds]
Shell has quit [Client Quit]
qyliss has quit [Client Quit]
asymptotically2 has joined #nixos
<eraserhd>
manveru: well, first, does this happen on a regular basis? And, if I just want to add a crate, can I do it for a local derivation in an overlay or (better) my derivation?
justanotheruser has quit [Ping timeout: 276 seconds]
veske has quit [Quit: This computer has gone to sleep]
<kraem>
i have a question about the immutability of packages and their updates; i run chromium - because of nix's feature of immutability, does it mean i can't run the latest security patches without creating an own derivation for it?
<{^_^}>
[nixpkgs] @matthewbauer pushed to master « stdenv/adapters.nix: remove static from makeStaticLibraries »: https://git.io/Je3BP
ng0 has quit [Quit: Alexa, when is the end of world?]
graf_blutwurst has quit [Remote host closed the connection]
asymptotically is now known as needasymptotes90
<neonfuz2>
Hello
polman has quit [Ping timeout: 258 seconds]
<neonfuz2>
does anyone know how to enable nvidia bumblebee graphics on non nixos?
<neonfuz2>
I'm using debian + nix, and any programs that need to use the gpu fail to launch
<neonfuz2>
EG mpv, retroarch
judson__ has quit [Ping timeout: 265 seconds]
judson has quit [Ping timeout: 265 seconds]
<{^_^}>
[nixos-homepage] @edolstra pushed to flake « Add a NixOS container config for testing »: https://git.io/Je3BM
Ilya_G has joined #nixos
<johnw>
Is there any good guidance these days for building .rpm files using Nix?
<johnw>
on the NixOS Wiki, for example, it seems like it uses Qemu to spin up a CentOS VM to run the build? Is that really necessary?
drewr has quit [Ping timeout: 264 seconds]
judson has joined #nixos
<Ilya_G>
I have a build that is fetching data from GitLab and failing to build the packet afterwards. I want to change what is being fetched from gitlab so I changed the parameters being passed in. However nix-build is failing to rerun data fetch. What cache should I clear out for it to perform the data fetch again?
polman has joined #nixos
judson__ has joined #nixos
<Ilya_G>
I did 'nix-store --delete` on the resulting DRV but to no avail
<{^_^}>
[nixpkgs] @worldofpeace merged pull request #69093 → nixos/xterm: Set default to xserver.enable → https://git.io/Je3Z7
<{^_^}>
[nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/Je3Bd
<{^_^}>
[nixpkgs] @worldofpeace pushed to revert-69093-xterm-default « Revert "nixos/xterm: Set default to xserver.enable" »: https://git.io/Je3BF
iqubic` has left #nixos ["ERC (IRC client for Emacs 27.0.50)"]
jtojnar_ has joined #nixos
<{^_^}>
[nixpkgs] @worldofpeace pushed 0 commits to revert-69093-xterm-default: https://git.io/Je3Bp
<alexarice[m]>
Ilya_G: you could set the hash to `lib.fakeSha256` and then it will refetch
Ariakenom has quit [Remote host closed the connection]
<Ilya_G>
alexarice[m]: I don't think the sha256 ends up changing
<Ilya_G>
I end up altering only the params in URL and it appears to continue computing to the same sha256 value
<Ilya_G>
I'm going to try that now
xwvvvvwx has quit [Client Quit]
xwvvvvwx has joined #nixos
<alexarice[m]>
Ilya_G: maybe I'm confused, I assumed you had changed the `rev` field of a `fetchFromGitLab` call and needed it to refetch
drewr has joined #nixos
<Ilya_G>
So it get's worse :D I had to create my own derivation as I am fetching out of a private gitLab repo
<Ilya_G>
while I can pass the token header to the curl it appears that API only supports fetching project by project ID and not a "path"
<Ilya_G>
meaning "owner/group/repo"
sigmundv has joined #nixos
<alexarice[m]>
Ilya_G: basically if the sha256 hasn't changed then whatever you changed in the inputs actually had no affect and it isn't just a caching problem
<Ilya_G>
The change I am making however is similar to changing the rev parameter, I am using '<url>/archive.tar.gz?ref=<tag_name>'
<Ilya_G>
I am also realizing that this is an exercise in futility and I am waisting your time. :D master branch I am fetching is exactly the same as `sample_tag` I created to fetch from. I assume it will result in computing the same hash...
<{^_^}>
[nixpkgs] @worldofpeace merged pull request #68983 → Touchups for nixos/xfce4-14 for 19.09 → https://git.io/JeOyC
<Ilya_G>
The exercise with fake sha256 however triggered refetch, so I think I am in good shape there. I'll keep fixing other things. Thanks for your help.
<{^_^}>
[nixpkgs] @worldofpeace pushed 6 commits to master: https://git.io/Je3RZ
<exarkun>
I'm trying to define a package in one overlay and use it in another overlay, then apply both of those overlays to a nixpkgs import. but I get an attribute error. is this a kind of thing that is possible?
<exarkun>
how are multiple overlays handled?
<elvishjerricco>
pie_: I keep /nix/store on a separate dataset in my zfs pool in a similar fashion
<elvishjerricco>
But it's still all one pool. I'll probably never have my full system split outside one zfs pool.
pamplemousse has quit [Ping timeout: 245 seconds]
<emily>
I have snapshots turned off for my /nix/store
<emily>
well, /nix altogether I guess
kleisli has quit [Ping timeout: 245 seconds]
<emily>
since, y'know, purely functional and all that
<manveru>
but will have to clean that up... and get it going with DynamicUser for some added peace of mind
<ajs124>
wordpress or nixos module?
<manveru>
nixos module
<ajs124>
I think we're mostly there, when it comes to that stuff. I'm kind of procrastinating by hacking up this wordpress plugin+theme packageset generation thing
<rmk35>
I might have a use-case for impureEnvVars for non-fixed-output derivations: license servers, e.g. it is an environment variable of the server to contact, but it doesn't change the output (apart from failing to build if you don't have the license)
growpotkin has quit [Ping timeout: 268 seconds]
<rmk35>
Or I might be being silly; currently I have "LICENSE_FILE = import ./my-secret-stuff;" so that I don't have the text of my-secret-stuff in the derivation source
buckley310 has quit [Read error: Connection reset by peer]
<rmk35>
I was just wondering if there is an alternative way; e.g. impureEnvVars
<catern>
eraserhd: it looks like your kakoune plugin change doesn't include the plugins/autoloads that kakoune usually has by default; the generated plugins.kak is empty by default and the default autoload directory isn't symlinked in; is that deliberate?
<catern>
(i don't use kakoune but one of my users noticed it and, sigh, they didn't file the bug I told them to file)
vika_nezrimaya has quit [Ping timeout: 265 seconds]
justanotheruser has quit [Ping timeout: 240 seconds]
slack1256 has quit [Remote host closed the connection]
dbyte has quit [Ping timeout: 276 seconds]
domogled has quit [Quit: domogled]
dbyte has joined #nixos
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
shibboleth has quit [Quit: shibboleth]
polman has quit [Ping timeout: 276 seconds]
needasymptotes90 has quit [Quit: Leaving]
peel_ has joined #nixos
<eraserhd>
catern: interesting. I'm not sure why it would behave differently when ~/.config/kak doesn't exist, but I'll check.
<{^_^}>
[nixpkgs] @worldofpeace pushed to gnome-3.34 « fixup! fixup! gnome3.gnome-initial-setup: init at 3.34.0 »: https://git.io/Je3gq
<eraserhd>
catern: The docs seem to claim it'll still load site wide files, unless ~/.config/kak/autoload exists, then it will load from there. Does it exist, and is it linked to the right place?
<catern>
That likely does exist, but what do you mean by linked to the right place?
<catern>
I expect that users typically use .config/kak/autoload for plugins
<{^_^}>
[nixpkgs] @sdier opened pull request #69121 → duplicity: Add backblaze-b2 as a build input to duplicity. → https://git.io/Je3gn
erasmas has quit [Quit: leaving]
gloaming has joined #nixos
dbyte has joined #nixos
THFKA4 has left #nixos ["WeeChat 2.4"]
ng0 has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
drk_lrd_877_ has joined #nixos
<eraserhd>
catern: Kakoune is intentionally designed so that, if that exists, the system autoload is not loaded. If you want both the defaults and your own autoload stuff, you are supposed to symlink the system's autoload directory to something like ~/.config/kak/autoload/system
silver has quit [Read error: Connection reset by peer]
knupfer has quit [Read error: Connection reset by peer]
knupfer has joined #nixos
knupfer has quit [Client Quit]
<catern>
eraserhd: that sounds awkward for users that don't want to use the Nix plugin management then - where are they supposed to symlink ~/.config/kak/autoload/system ?
<catern>
don't they have to update that each time the kakoune package updates?
knupfer has joined #nixos
kleisli has quit [Ping timeout: 250 seconds]
bew has left #nixos ["Leaving"]
bew has joined #nixos
bew has left #nixos ["Leaving"]
o1lo01ol1o has joined #nixos
bew has joined #nixos
drakonis_ has quit [Ping timeout: 258 seconds]
drakonis_ has joined #nixos
<{^_^}>
[nixpkgs] @grahamc merged pull request #68991 → chromium: add patch to fix performance regression with fonts → https://git.io/JeO9w
<dfranke_>
I just upgraded to 19.09 and found that emacsPackages.proofgeneral_HEAD no longer exists. melpaStablePackages.proof-general does exist but after including it in my emacsWithPackages recipe I still can't pg-init. Is there new magic for making this work?