Open nakoo opened 1 month ago
nixpkgs has been merged. https://github.com/NixOS/nixpkgs/pull/334078
nix build github:Riey/kime/refs/pull/682/head
성공적으로 빌드되는 것을 확인했습니다.
변경사항에 반대하는 건 아니지만, 여기서 finalAttrs를 사용하는 이유가 있나요? 그리고 기존의 rec도 필요가 없는 것처럼 보입니다.
nix build github:Riey/kime/refs/pull/682/head
성공적으로 빌드되는 것을 확인했습니다.
변경사항에 반대하는 건 아니지만, 여기서 finalAttrs를 사용하는 이유가 있나요? 그리고 기존의 rec도 필요가 없는 것처럼 보입니다.
You're right. I moved src following your advice. I did this is because I wanted to use flake so don't have to wait nixpkgs merge. I also changed flake.nix to match current spec.
Summary
This PR includes
with
keywordNote
mkDerivation finalAttrs
makes it possible to useoverrideAttrs
properly unlikerec
. It's current recommendation model of nixpkgs and there's ongoing discussion to replacerec
automatically.https://github.com/NixOS/nixpkgs/pull/119942 https://github.com/NixOS/nixpkgs/issues/293452#issuecomment-2209394047
Checklist