Sridhar Ratnakumar
Sridhar Ratnakumar
Comment from @roberth on Matrix, for reference:
A naive and quick-n-dirty implementation: https://github.com/nammayatri/common/commit/77fbb94fd5ec5f7a31293e86e18335fef19e6990 & [example](https://github.com/nammayatri/beckn-gateway/blob/nixdev/nix/docker-compose.nix) (Just to get something immediately working for sharing between our repos) A better implementation would include possibly: - A `flake` (rather than...
FWIW: on my macOS, ``` ❯ sw_vers ProductName: macOS ProductVersion: 13.1 BuildVersion: 22C65 ❯ ls -ld ~/Applications/Home\ Manager\ Apps lrwxr-xr-x 93 srid 8 Mar 10:04 /Users/srid/Applications/Home Manager Apps -> /nix/store/d05ssz859zi0bbwra1ybniq21xs18vrm-home-manager-files/Applications/Home...
https://github.com/srid/nixos-config/commit/8472de8993ec181837bfaf068263610ded34e0b0
Re-opening because we need https://github.com/nix-community/home-manager/issues/3324 to be able to do this.
or, ``` nix run nixpkgs#nixos-rebuild -- switch --fast --flake .#pinch --target-host root@pinch --build-host root@pinch ``` https://www.haskellforall.com/2023/01/announcing-nixos-rebuild-new-deployment.html
This works for non-trivial configurations: https://github.com/srid/nixos-config/blob/0196461adb922b294b64b33a4262ab66247636f4/justfile#L4-L9 But not when using certain packages, like nixvim: https://nixos.zulipchat.com/#narrow/stream/413948-nixos/topic/NixOS.20tutorial.20series/near/422506285
I'd think `--fast` actually helps. If I remove it, it will try to build the Linux configuration on macOS (not what I want), > Note that, if --no-build-nix is not...
Resolved in https://github.com/srid/nixos-flake/pull/54
> We have a couple of instances in NixOS where we let users declare partial orderings using before or after attributes. The pre-commit.nix module could provide that functionality. +1 If...