Giter Site home page Giter Site logo

bbp-nixpkgs's Introduction

BBP NIXPKGS

Contains all the nix expressions for the Blue Brain Project.

  • See pkgs/top-level/all-packages.nix for a complete list of supported software.

  • See pkgs/bbp/* for the list of the specific BBP softwares.

For any information about nix usage in the BBP, please check https://bbpteam.epfl.ch/project/spaces/display/BBPHPC/Nix+Package+Manager

Version Update Workflow

If you have updated software package and would like to deploy new version via nix, follow below steps :

Step 1

Clone bbp-nixpkgs repository :

git clone https://github.com/BlueBrain/bbp-nixpkgs.git

Step 2

Update revision-id for your software package. For example, for ReportingLib you have to edit below section in bbp-nixpkgs/bbp/hpc/neurodamus/default.nix :

  src = fetchgitExternal {
    url = "ssh://bbpcode.epfl.ch/sim/reportinglib/bbp";
    rev = "98f5b5869ad3a2c741e847a658d2bb75986ed05f";
    sha256 = "1a3p7rl2ic1x3g0xhzxh8psbq6z97qvxs60r3zlsc08y83fink4f";
  };

Replace rev with new commit-id. You have to also update sha256 (just update few characters for now).

Step 3

Now execute below command to get correct SHA :

cd bbp-nixpkgs
nix-build ./ -A reportinglib.src

You will get an error message like :

output path ‘/gpfs/bbp.cscs.ch/apps/bgq/nix/nix-root/store/rl1yi89nh-bbp-fb5c1b5’ has r:sha256 hash ‘1m87s31wjyv5kz33pv9s139mbyn3j1bxgj2ivgy1dgcmcc7lr1xq’ when ‘10g0rm3l0qbgk7ylqsa38bpylnz4329ckr7y42rax586ay7zp51g’ was expected

Copy the hash (1m87s31wjyv5k..... in this case) and replace sha256 filled in Step 2.

Step 4

If you have multiple packages to update, update them as above.

Step 5

Now build your software package :

nix-build ./ -A reportinglib

Step 6

Once everything is built successfully, commit the changes and submit a pull request on Github.

Info

Note: Based on a direct fork of the nixos nixpkgs branch https://nixos.org/nixos

bbp-nixpkgs's People

Contributors

adevress avatar tristan0x avatar ppodhajski avatar arsenius7 avatar genric avatar timocafe avatar favreau avatar matz-e avatar mgeplf avatar ferdonline avatar tribal-tec avatar pramodk avatar wvangeit avatar fouriaux avatar jamesgking avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.