Skip to content

crftbt/UpdateNixPackage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 

Repository files navigation

Update Nix Package to New Version

  1. Open to fork: https://github.com/NixOS/nixpkgs/fork
  2. Download your repo clone: git clone https://github.com/PUT_YOUR_DINGUS_GIT_USERNAME_HERE/nixpkgs.git
  3. Edit the default.nix file for the package updating the version and emptying out any sha256 strings. Example: ./nixpkgs/pkgs/applications/display-managers/greetd/default.nix
  4. To get any sha256 that were emptied out cd nixpkgs && nix-build -a PACKAGE_NAME
  5. Fill in the sha256 with the provided strings from the nix-build in the default.nix file.
  6. Run nix-build -a PACKAGE_NAME to see if the build completes with the new sha256.
  7. If build completes successfully submit a Pull Request. Commit Title package: old_version -> new_version example: greetd: 0.9.0 -> 0.10.0
  8. Find package in https://search.nixos.org/packages and click source
  9. Click Edit then set Branch in the top left to master.

nurl for sha256

  • Nurl can be used to fetch a sha256. Example: nurl https://git.sr.ht/~kennylevinsen/greetd 0.10.0

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published