Yann Büchau :python: on Nostr: TIL that you can rebuild a :nixos: nixpkgs package locally and tinker with it like ...
TIL that you can rebuild a
nixpkgs package locally and tinker with it like this:
nix develop nixpkgs#PACKAGENAME
Then in the shell you're dropped into:
> genericBuild
(or any of the other build phases like configurePhase, buildPhase, etc.)
#NixOS #nix
Published at
2023-11-22 15:50:42Event JSON
{
"id": "3f547ca14cf2f46c5f8547e9eb51401d195912e61a92ff4f65f4028100a9fac0",
"pubkey": "0abc897a05eca0849f658dc45fb983e46041d357150b09df857131e7a7552848",
"created_at": 1700664642,
"kind": 1,
"tags": [
[
"t",
"nixos"
],
[
"t",
"nix"
],
[
"emoji",
"nixos",
"https://cdn.fosstodon.org/custom_emojis/images/000/062/778/original/48d6a1983312ea5a.png"
],
[
"proxy",
"https://fosstodon.org/users/nobodyinperson/statuses/111454758041081624",
"activitypub"
]
],
"content": "TIL that you can rebuild a :nixos: nixpkgs package locally and tinker with it like this:\n\nnix develop nixpkgs#PACKAGENAME\n\nThen in the shell you're dropped into:\n\n\u003e genericBuild\n\n(or any of the other build phases like configurePhase, buildPhase, etc.)\n\n#NixOS #nix",
"sig": "0a4c2c6b1f470f2ddfc10fda8d8011658fcdfa75f4f72161f3c61595087049a3695dc76a6d0366d83403375eb6d662a2676f5e9e62bd5a5dd366c00956313bd0"
}