stages: - build - push variables: CACHIX_CACHE_NAME: robossembler default: image: nixpkgs/cachix-flakes:nixos-23.11 before_script: - mkdir -p /etc/nix - echo "experimental-features = nix-command flakes" >> /etc/nix/nix.conf - export NIXPKGS_ALLOW_UNFREE=1 - cachix use "$CACHIX_CACHE_NAME" general-packages: stage: build inherit: default: [before_script, image] script: - cachix watch-exec robossembler -- nix develop .#all --impure -c echo "General Packages is BUILT" ros-packages: stage: build inherit: default: [before_script, image] script: # Gazebo security freeimage-unstable-2021-11-01’ is marked as insecure # /nix/store/28gcncrir6wd8n6n762y92lbm632cxcy-gazebo-sim # └───/nix/store/bw3nx4nrvwbnj9b6hdg4p0iyxnakqca8-gz-common5-5.4.2 # └───/nix/store/hwr0f25hiqv1pjnqyg0sp1gv9grb198b-freeimage-unstable-2021-11-01 - export NIXPKGS_ALLOW_INSECURE=1 - cachix watch-exec robossembler -- nix develop .#ros --impure -c echo "ROS environment is BUILT" perception-packages: stage: build inherit: default: [before_script, image] script: - cachix watch-exec robossembler -- nix develop .#perception --impure -c echo "PERCEPTION packages is BUILT"