Guest User

guix dxkb graft

a guest
Jul 22nd, 2025
13
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.07 KB | None | 0 0
  1. (define dxkb (local-file "/home/alex/daselt/d-xkb/dxkb" "dxkb"))
  2.  
  3. (define xkeyboard-config-with-dxkb
  4. (package
  5. (inherit xkeyboard-config)
  6. (name "xkeyboard-config-with-dxkb")
  7. (arguments
  8. (list
  9. #:phases
  10. #~(modify-phases %standard-phases
  11. (add-after 'install 'install-dxkb
  12. (lambda* (#:key outputs #:allow-other-keys)
  13. (let* ((out (assoc-ref outputs "out"))
  14. (symbols-dir (string-append out "/share/X11/xkb/symbols/")))
  15. (copy-file
  16. ;; "/home/alex/daselt/d-xkb/dxkb"
  17. #$dxkb
  18. (string-append symbols-dir "dxkb"))))))))))
  19.  
  20. (define xkeyboard-config
  21. (package
  22. (inherit xkeyboard-config)
  23. (replacement xkeyboard-config-with-dxkb)))
Advertisement
Add Comment
Please, Sign In to add comment